pulumi-gcp 7.0.0a1699651384__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.0a1699651384.dist-info → pulumi_gcp-7.1.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.0.0a1699651384.dist-info → pulumi_gcp-7.1.0.dist-info}/RECORD +678 -650
- {pulumi_gcp-7.0.0a1699651384.dist-info → pulumi_gcp-7.1.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.0.0a1699651384.dist-info → pulumi_gcp-7.1.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1921 @@
|
|
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__ = ['ConnectionArgs', 'Connection']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class ConnectionArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
connector_version: pulumi.Input[str],
|
20
|
+
location: pulumi.Input[str],
|
21
|
+
auth_config: Optional[pulumi.Input['ConnectionAuthConfigArgs']] = None,
|
22
|
+
config_variables: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionConfigVariableArgs']]]] = None,
|
23
|
+
description: Optional[pulumi.Input[str]] = None,
|
24
|
+
destination_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]]] = None,
|
25
|
+
eventing_config: Optional[pulumi.Input['ConnectionEventingConfigArgs']] = None,
|
26
|
+
eventing_enablement_type: Optional[pulumi.Input[str]] = None,
|
27
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
|
+
lock_config: Optional[pulumi.Input['ConnectionLockConfigArgs']] = None,
|
29
|
+
log_config: Optional[pulumi.Input['ConnectionLogConfigArgs']] = None,
|
30
|
+
name: Optional[pulumi.Input[str]] = None,
|
31
|
+
node_config: Optional[pulumi.Input['ConnectionNodeConfigArgs']] = None,
|
32
|
+
project: Optional[pulumi.Input[str]] = None,
|
33
|
+
service_account: Optional[pulumi.Input[str]] = None,
|
34
|
+
ssl_config: Optional[pulumi.Input['ConnectionSslConfigArgs']] = None,
|
35
|
+
suspended: Optional[pulumi.Input[bool]] = None):
|
36
|
+
"""
|
37
|
+
The set of arguments for constructing a Connection resource.
|
38
|
+
:param pulumi.Input[str] connector_version: connectorVersion of the Connector.
|
39
|
+
:param pulumi.Input[str] location: Location in which Connection needs to be created.
|
40
|
+
:param pulumi.Input['ConnectionAuthConfigArgs'] auth_config: authConfig for the connection.
|
41
|
+
Structure is documented below.
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConnectionConfigVariableArgs']]] config_variables: Config Variables for the connection.
|
43
|
+
Structure is documented below.
|
44
|
+
:param pulumi.Input[str] description: An arbitrary description for the Conection.
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]] destination_configs: Define the Connectors target endpoint.
|
46
|
+
Structure is documented below.
|
47
|
+
:param pulumi.Input['ConnectionEventingConfigArgs'] eventing_config: Eventing Configuration of a connection
|
48
|
+
Structure is documented below.
|
49
|
+
:param pulumi.Input[str] eventing_enablement_type: Eventing enablement type. Will be nil if eventing is not enabled.
|
50
|
+
Possible values are: `EVENTING_AND_CONNECTION`, `ONLY_EVENTING`.
|
51
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user provided metadata.
|
52
|
+
|
53
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
54
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
55
|
+
:param pulumi.Input['ConnectionLockConfigArgs'] lock_config: Determines whether or no a connection is locked. If locked, a reason must be specified.
|
56
|
+
Structure is documented below.
|
57
|
+
:param pulumi.Input['ConnectionLogConfigArgs'] log_config: Log configuration for the connection.
|
58
|
+
Structure is documented below.
|
59
|
+
:param pulumi.Input[str] name: Name of Connection needs to be created.
|
60
|
+
|
61
|
+
|
62
|
+
- - -
|
63
|
+
:param pulumi.Input['ConnectionNodeConfigArgs'] node_config: Node configuration for the connection.
|
64
|
+
Structure is documented below.
|
65
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
66
|
+
If it is not provided, the provider project is used.
|
67
|
+
:param pulumi.Input[str] service_account: Service account needed for runtime plane to access Google Cloud resources.
|
68
|
+
:param pulumi.Input['ConnectionSslConfigArgs'] ssl_config: SSL Configuration of a connection
|
69
|
+
Structure is documented below.
|
70
|
+
:param pulumi.Input[bool] suspended: Suspended indicates if a user has suspended a connection or not.
|
71
|
+
"""
|
72
|
+
pulumi.set(__self__, "connector_version", connector_version)
|
73
|
+
pulumi.set(__self__, "location", location)
|
74
|
+
if auth_config is not None:
|
75
|
+
pulumi.set(__self__, "auth_config", auth_config)
|
76
|
+
if config_variables is not None:
|
77
|
+
pulumi.set(__self__, "config_variables", config_variables)
|
78
|
+
if description is not None:
|
79
|
+
pulumi.set(__self__, "description", description)
|
80
|
+
if destination_configs is not None:
|
81
|
+
pulumi.set(__self__, "destination_configs", destination_configs)
|
82
|
+
if eventing_config is not None:
|
83
|
+
pulumi.set(__self__, "eventing_config", eventing_config)
|
84
|
+
if eventing_enablement_type is not None:
|
85
|
+
pulumi.set(__self__, "eventing_enablement_type", eventing_enablement_type)
|
86
|
+
if labels is not None:
|
87
|
+
pulumi.set(__self__, "labels", labels)
|
88
|
+
if lock_config is not None:
|
89
|
+
pulumi.set(__self__, "lock_config", lock_config)
|
90
|
+
if log_config is not None:
|
91
|
+
pulumi.set(__self__, "log_config", log_config)
|
92
|
+
if name is not None:
|
93
|
+
pulumi.set(__self__, "name", name)
|
94
|
+
if node_config is not None:
|
95
|
+
pulumi.set(__self__, "node_config", node_config)
|
96
|
+
if project is not None:
|
97
|
+
pulumi.set(__self__, "project", project)
|
98
|
+
if service_account is not None:
|
99
|
+
pulumi.set(__self__, "service_account", service_account)
|
100
|
+
if ssl_config is not None:
|
101
|
+
pulumi.set(__self__, "ssl_config", ssl_config)
|
102
|
+
if suspended is not None:
|
103
|
+
pulumi.set(__self__, "suspended", suspended)
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="connectorVersion")
|
107
|
+
def connector_version(self) -> pulumi.Input[str]:
|
108
|
+
"""
|
109
|
+
connectorVersion of the Connector.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "connector_version")
|
112
|
+
|
113
|
+
@connector_version.setter
|
114
|
+
def connector_version(self, value: pulumi.Input[str]):
|
115
|
+
pulumi.set(self, "connector_version", value)
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter
|
119
|
+
def location(self) -> pulumi.Input[str]:
|
120
|
+
"""
|
121
|
+
Location in which Connection needs to be created.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "location")
|
124
|
+
|
125
|
+
@location.setter
|
126
|
+
def location(self, value: pulumi.Input[str]):
|
127
|
+
pulumi.set(self, "location", value)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="authConfig")
|
131
|
+
def auth_config(self) -> Optional[pulumi.Input['ConnectionAuthConfigArgs']]:
|
132
|
+
"""
|
133
|
+
authConfig for the connection.
|
134
|
+
Structure is documented below.
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "auth_config")
|
137
|
+
|
138
|
+
@auth_config.setter
|
139
|
+
def auth_config(self, value: Optional[pulumi.Input['ConnectionAuthConfigArgs']]):
|
140
|
+
pulumi.set(self, "auth_config", value)
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter(name="configVariables")
|
144
|
+
def config_variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionConfigVariableArgs']]]]:
|
145
|
+
"""
|
146
|
+
Config Variables for the connection.
|
147
|
+
Structure is documented below.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "config_variables")
|
150
|
+
|
151
|
+
@config_variables.setter
|
152
|
+
def config_variables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionConfigVariableArgs']]]]):
|
153
|
+
pulumi.set(self, "config_variables", value)
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
158
|
+
"""
|
159
|
+
An arbitrary description for the Conection.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "description")
|
162
|
+
|
163
|
+
@description.setter
|
164
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
165
|
+
pulumi.set(self, "description", value)
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter(name="destinationConfigs")
|
169
|
+
def destination_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]]]:
|
170
|
+
"""
|
171
|
+
Define the Connectors target endpoint.
|
172
|
+
Structure is documented below.
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "destination_configs")
|
175
|
+
|
176
|
+
@destination_configs.setter
|
177
|
+
def destination_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]]]):
|
178
|
+
pulumi.set(self, "destination_configs", value)
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter(name="eventingConfig")
|
182
|
+
def eventing_config(self) -> Optional[pulumi.Input['ConnectionEventingConfigArgs']]:
|
183
|
+
"""
|
184
|
+
Eventing Configuration of a connection
|
185
|
+
Structure is documented below.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "eventing_config")
|
188
|
+
|
189
|
+
@eventing_config.setter
|
190
|
+
def eventing_config(self, value: Optional[pulumi.Input['ConnectionEventingConfigArgs']]):
|
191
|
+
pulumi.set(self, "eventing_config", value)
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="eventingEnablementType")
|
195
|
+
def eventing_enablement_type(self) -> Optional[pulumi.Input[str]]:
|
196
|
+
"""
|
197
|
+
Eventing enablement type. Will be nil if eventing is not enabled.
|
198
|
+
Possible values are: `EVENTING_AND_CONNECTION`, `ONLY_EVENTING`.
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "eventing_enablement_type")
|
201
|
+
|
202
|
+
@eventing_enablement_type.setter
|
203
|
+
def eventing_enablement_type(self, value: Optional[pulumi.Input[str]]):
|
204
|
+
pulumi.set(self, "eventing_enablement_type", value)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter
|
208
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
209
|
+
"""
|
210
|
+
Resource labels to represent user provided metadata.
|
211
|
+
|
212
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
213
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "labels")
|
216
|
+
|
217
|
+
@labels.setter
|
218
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
219
|
+
pulumi.set(self, "labels", value)
|
220
|
+
|
221
|
+
@property
|
222
|
+
@pulumi.getter(name="lockConfig")
|
223
|
+
def lock_config(self) -> Optional[pulumi.Input['ConnectionLockConfigArgs']]:
|
224
|
+
"""
|
225
|
+
Determines whether or no a connection is locked. If locked, a reason must be specified.
|
226
|
+
Structure is documented below.
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "lock_config")
|
229
|
+
|
230
|
+
@lock_config.setter
|
231
|
+
def lock_config(self, value: Optional[pulumi.Input['ConnectionLockConfigArgs']]):
|
232
|
+
pulumi.set(self, "lock_config", value)
|
233
|
+
|
234
|
+
@property
|
235
|
+
@pulumi.getter(name="logConfig")
|
236
|
+
def log_config(self) -> Optional[pulumi.Input['ConnectionLogConfigArgs']]:
|
237
|
+
"""
|
238
|
+
Log configuration for the connection.
|
239
|
+
Structure is documented below.
|
240
|
+
"""
|
241
|
+
return pulumi.get(self, "log_config")
|
242
|
+
|
243
|
+
@log_config.setter
|
244
|
+
def log_config(self, value: Optional[pulumi.Input['ConnectionLogConfigArgs']]):
|
245
|
+
pulumi.set(self, "log_config", value)
|
246
|
+
|
247
|
+
@property
|
248
|
+
@pulumi.getter
|
249
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
250
|
+
"""
|
251
|
+
Name of Connection needs to be created.
|
252
|
+
|
253
|
+
|
254
|
+
- - -
|
255
|
+
"""
|
256
|
+
return pulumi.get(self, "name")
|
257
|
+
|
258
|
+
@name.setter
|
259
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
260
|
+
pulumi.set(self, "name", value)
|
261
|
+
|
262
|
+
@property
|
263
|
+
@pulumi.getter(name="nodeConfig")
|
264
|
+
def node_config(self) -> Optional[pulumi.Input['ConnectionNodeConfigArgs']]:
|
265
|
+
"""
|
266
|
+
Node configuration for the connection.
|
267
|
+
Structure is documented below.
|
268
|
+
"""
|
269
|
+
return pulumi.get(self, "node_config")
|
270
|
+
|
271
|
+
@node_config.setter
|
272
|
+
def node_config(self, value: Optional[pulumi.Input['ConnectionNodeConfigArgs']]):
|
273
|
+
pulumi.set(self, "node_config", value)
|
274
|
+
|
275
|
+
@property
|
276
|
+
@pulumi.getter
|
277
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
278
|
+
"""
|
279
|
+
The ID of the project in which the resource belongs.
|
280
|
+
If it is not provided, the provider project is used.
|
281
|
+
"""
|
282
|
+
return pulumi.get(self, "project")
|
283
|
+
|
284
|
+
@project.setter
|
285
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
286
|
+
pulumi.set(self, "project", value)
|
287
|
+
|
288
|
+
@property
|
289
|
+
@pulumi.getter(name="serviceAccount")
|
290
|
+
def service_account(self) -> Optional[pulumi.Input[str]]:
|
291
|
+
"""
|
292
|
+
Service account needed for runtime plane to access Google Cloud resources.
|
293
|
+
"""
|
294
|
+
return pulumi.get(self, "service_account")
|
295
|
+
|
296
|
+
@service_account.setter
|
297
|
+
def service_account(self, value: Optional[pulumi.Input[str]]):
|
298
|
+
pulumi.set(self, "service_account", value)
|
299
|
+
|
300
|
+
@property
|
301
|
+
@pulumi.getter(name="sslConfig")
|
302
|
+
def ssl_config(self) -> Optional[pulumi.Input['ConnectionSslConfigArgs']]:
|
303
|
+
"""
|
304
|
+
SSL Configuration of a connection
|
305
|
+
Structure is documented below.
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "ssl_config")
|
308
|
+
|
309
|
+
@ssl_config.setter
|
310
|
+
def ssl_config(self, value: Optional[pulumi.Input['ConnectionSslConfigArgs']]):
|
311
|
+
pulumi.set(self, "ssl_config", value)
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter
|
315
|
+
def suspended(self) -> Optional[pulumi.Input[bool]]:
|
316
|
+
"""
|
317
|
+
Suspended indicates if a user has suspended a connection or not.
|
318
|
+
"""
|
319
|
+
return pulumi.get(self, "suspended")
|
320
|
+
|
321
|
+
@suspended.setter
|
322
|
+
def suspended(self, value: Optional[pulumi.Input[bool]]):
|
323
|
+
pulumi.set(self, "suspended", value)
|
324
|
+
|
325
|
+
|
326
|
+
@pulumi.input_type
|
327
|
+
class _ConnectionState:
|
328
|
+
def __init__(__self__, *,
|
329
|
+
auth_config: Optional[pulumi.Input['ConnectionAuthConfigArgs']] = None,
|
330
|
+
config_variables: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionConfigVariableArgs']]]] = None,
|
331
|
+
connection_revision: Optional[pulumi.Input[str]] = None,
|
332
|
+
connector_version: Optional[pulumi.Input[str]] = None,
|
333
|
+
connector_version_infra_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionConnectorVersionInfraConfigArgs']]]] = None,
|
334
|
+
connector_version_launch_stage: Optional[pulumi.Input[str]] = None,
|
335
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
336
|
+
description: Optional[pulumi.Input[str]] = None,
|
337
|
+
destination_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]]] = None,
|
338
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
339
|
+
eventing_config: Optional[pulumi.Input['ConnectionEventingConfigArgs']] = None,
|
340
|
+
eventing_enablement_type: Optional[pulumi.Input[str]] = None,
|
341
|
+
eventing_runtime_datas: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionEventingRuntimeDataArgs']]]] = None,
|
342
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
343
|
+
location: Optional[pulumi.Input[str]] = None,
|
344
|
+
lock_config: Optional[pulumi.Input['ConnectionLockConfigArgs']] = None,
|
345
|
+
log_config: Optional[pulumi.Input['ConnectionLogConfigArgs']] = None,
|
346
|
+
name: Optional[pulumi.Input[str]] = None,
|
347
|
+
node_config: Optional[pulumi.Input['ConnectionNodeConfigArgs']] = None,
|
348
|
+
project: Optional[pulumi.Input[str]] = None,
|
349
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
350
|
+
service_account: Optional[pulumi.Input[str]] = None,
|
351
|
+
service_directory: Optional[pulumi.Input[str]] = None,
|
352
|
+
ssl_config: Optional[pulumi.Input['ConnectionSslConfigArgs']] = None,
|
353
|
+
statuses: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionStatusArgs']]]] = None,
|
354
|
+
subscription_type: Optional[pulumi.Input[str]] = None,
|
355
|
+
suspended: Optional[pulumi.Input[bool]] = None,
|
356
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
357
|
+
"""
|
358
|
+
Input properties used for looking up and filtering Connection resources.
|
359
|
+
:param pulumi.Input['ConnectionAuthConfigArgs'] auth_config: authConfig for the connection.
|
360
|
+
Structure is documented below.
|
361
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConnectionConfigVariableArgs']]] config_variables: Config Variables for the connection.
|
362
|
+
Structure is documented below.
|
363
|
+
:param pulumi.Input[str] connection_revision: Connection revision. This field is only updated when the connection is created or updated by User.
|
364
|
+
:param pulumi.Input[str] connector_version: connectorVersion of the Connector.
|
365
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConnectionConnectorVersionInfraConfigArgs']]] connector_version_infra_configs: This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version.
|
366
|
+
Structure is documented below.
|
367
|
+
:param pulumi.Input[str] connector_version_launch_stage: Flag to mark the version indicating the launch stage.
|
368
|
+
:param pulumi.Input[str] create_time: Time the Namespace was created in UTC.
|
369
|
+
:param pulumi.Input[str] description: An arbitrary description for the Conection.
|
370
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]] destination_configs: Define the Connectors target endpoint.
|
371
|
+
Structure is documented below.
|
372
|
+
: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.
|
373
|
+
:param pulumi.Input['ConnectionEventingConfigArgs'] eventing_config: Eventing Configuration of a connection
|
374
|
+
Structure is documented below.
|
375
|
+
:param pulumi.Input[str] eventing_enablement_type: Eventing enablement type. Will be nil if eventing is not enabled.
|
376
|
+
Possible values are: `EVENTING_AND_CONNECTION`, `ONLY_EVENTING`.
|
377
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConnectionEventingRuntimeDataArgs']]] eventing_runtime_datas: Eventing Runtime Data.
|
378
|
+
Structure is documented below.
|
379
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user provided metadata.
|
380
|
+
|
381
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
382
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
383
|
+
:param pulumi.Input[str] location: Location in which Connection needs to be created.
|
384
|
+
:param pulumi.Input['ConnectionLockConfigArgs'] lock_config: Determines whether or no a connection is locked. If locked, a reason must be specified.
|
385
|
+
Structure is documented below.
|
386
|
+
:param pulumi.Input['ConnectionLogConfigArgs'] log_config: Log configuration for the connection.
|
387
|
+
Structure is documented below.
|
388
|
+
:param pulumi.Input[str] name: Name of Connection needs to be created.
|
389
|
+
|
390
|
+
|
391
|
+
- - -
|
392
|
+
:param pulumi.Input['ConnectionNodeConfigArgs'] node_config: Node configuration for the connection.
|
393
|
+
Structure is documented below.
|
394
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
395
|
+
If it is not provided, the provider project is used.
|
396
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
397
|
+
and default labels configured on the provider.
|
398
|
+
:param pulumi.Input[str] service_account: Service account needed for runtime plane to access Google Cloud resources.
|
399
|
+
:param pulumi.Input[str] service_directory: The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address.
|
400
|
+
e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
|
401
|
+
:param pulumi.Input['ConnectionSslConfigArgs'] ssl_config: SSL Configuration of a connection
|
402
|
+
Structure is documented below.
|
403
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConnectionStatusArgs']]] statuses: (Output)
|
404
|
+
Current status of eventing.
|
405
|
+
Structure is documented below.
|
406
|
+
:param pulumi.Input[str] subscription_type: This subscription type enum states the subscription type of the project.
|
407
|
+
:param pulumi.Input[bool] suspended: Suspended indicates if a user has suspended a connection or not.
|
408
|
+
:param pulumi.Input[str] update_time: Time the Namespace was updated in UTC.
|
409
|
+
"""
|
410
|
+
if auth_config is not None:
|
411
|
+
pulumi.set(__self__, "auth_config", auth_config)
|
412
|
+
if config_variables is not None:
|
413
|
+
pulumi.set(__self__, "config_variables", config_variables)
|
414
|
+
if connection_revision is not None:
|
415
|
+
pulumi.set(__self__, "connection_revision", connection_revision)
|
416
|
+
if connector_version is not None:
|
417
|
+
pulumi.set(__self__, "connector_version", connector_version)
|
418
|
+
if connector_version_infra_configs is not None:
|
419
|
+
pulumi.set(__self__, "connector_version_infra_configs", connector_version_infra_configs)
|
420
|
+
if connector_version_launch_stage is not None:
|
421
|
+
pulumi.set(__self__, "connector_version_launch_stage", connector_version_launch_stage)
|
422
|
+
if create_time is not None:
|
423
|
+
pulumi.set(__self__, "create_time", create_time)
|
424
|
+
if description is not None:
|
425
|
+
pulumi.set(__self__, "description", description)
|
426
|
+
if destination_configs is not None:
|
427
|
+
pulumi.set(__self__, "destination_configs", destination_configs)
|
428
|
+
if effective_labels is not None:
|
429
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
430
|
+
if eventing_config is not None:
|
431
|
+
pulumi.set(__self__, "eventing_config", eventing_config)
|
432
|
+
if eventing_enablement_type is not None:
|
433
|
+
pulumi.set(__self__, "eventing_enablement_type", eventing_enablement_type)
|
434
|
+
if eventing_runtime_datas is not None:
|
435
|
+
pulumi.set(__self__, "eventing_runtime_datas", eventing_runtime_datas)
|
436
|
+
if labels is not None:
|
437
|
+
pulumi.set(__self__, "labels", labels)
|
438
|
+
if location is not None:
|
439
|
+
pulumi.set(__self__, "location", location)
|
440
|
+
if lock_config is not None:
|
441
|
+
pulumi.set(__self__, "lock_config", lock_config)
|
442
|
+
if log_config is not None:
|
443
|
+
pulumi.set(__self__, "log_config", log_config)
|
444
|
+
if name is not None:
|
445
|
+
pulumi.set(__self__, "name", name)
|
446
|
+
if node_config is not None:
|
447
|
+
pulumi.set(__self__, "node_config", node_config)
|
448
|
+
if project is not None:
|
449
|
+
pulumi.set(__self__, "project", project)
|
450
|
+
if pulumi_labels is not None:
|
451
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
452
|
+
if service_account is not None:
|
453
|
+
pulumi.set(__self__, "service_account", service_account)
|
454
|
+
if service_directory is not None:
|
455
|
+
pulumi.set(__self__, "service_directory", service_directory)
|
456
|
+
if ssl_config is not None:
|
457
|
+
pulumi.set(__self__, "ssl_config", ssl_config)
|
458
|
+
if statuses is not None:
|
459
|
+
pulumi.set(__self__, "statuses", statuses)
|
460
|
+
if subscription_type is not None:
|
461
|
+
pulumi.set(__self__, "subscription_type", subscription_type)
|
462
|
+
if suspended is not None:
|
463
|
+
pulumi.set(__self__, "suspended", suspended)
|
464
|
+
if update_time is not None:
|
465
|
+
pulumi.set(__self__, "update_time", update_time)
|
466
|
+
|
467
|
+
@property
|
468
|
+
@pulumi.getter(name="authConfig")
|
469
|
+
def auth_config(self) -> Optional[pulumi.Input['ConnectionAuthConfigArgs']]:
|
470
|
+
"""
|
471
|
+
authConfig for the connection.
|
472
|
+
Structure is documented below.
|
473
|
+
"""
|
474
|
+
return pulumi.get(self, "auth_config")
|
475
|
+
|
476
|
+
@auth_config.setter
|
477
|
+
def auth_config(self, value: Optional[pulumi.Input['ConnectionAuthConfigArgs']]):
|
478
|
+
pulumi.set(self, "auth_config", value)
|
479
|
+
|
480
|
+
@property
|
481
|
+
@pulumi.getter(name="configVariables")
|
482
|
+
def config_variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionConfigVariableArgs']]]]:
|
483
|
+
"""
|
484
|
+
Config Variables for the connection.
|
485
|
+
Structure is documented below.
|
486
|
+
"""
|
487
|
+
return pulumi.get(self, "config_variables")
|
488
|
+
|
489
|
+
@config_variables.setter
|
490
|
+
def config_variables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionConfigVariableArgs']]]]):
|
491
|
+
pulumi.set(self, "config_variables", value)
|
492
|
+
|
493
|
+
@property
|
494
|
+
@pulumi.getter(name="connectionRevision")
|
495
|
+
def connection_revision(self) -> Optional[pulumi.Input[str]]:
|
496
|
+
"""
|
497
|
+
Connection revision. This field is only updated when the connection is created or updated by User.
|
498
|
+
"""
|
499
|
+
return pulumi.get(self, "connection_revision")
|
500
|
+
|
501
|
+
@connection_revision.setter
|
502
|
+
def connection_revision(self, value: Optional[pulumi.Input[str]]):
|
503
|
+
pulumi.set(self, "connection_revision", value)
|
504
|
+
|
505
|
+
@property
|
506
|
+
@pulumi.getter(name="connectorVersion")
|
507
|
+
def connector_version(self) -> Optional[pulumi.Input[str]]:
|
508
|
+
"""
|
509
|
+
connectorVersion of the Connector.
|
510
|
+
"""
|
511
|
+
return pulumi.get(self, "connector_version")
|
512
|
+
|
513
|
+
@connector_version.setter
|
514
|
+
def connector_version(self, value: Optional[pulumi.Input[str]]):
|
515
|
+
pulumi.set(self, "connector_version", value)
|
516
|
+
|
517
|
+
@property
|
518
|
+
@pulumi.getter(name="connectorVersionInfraConfigs")
|
519
|
+
def connector_version_infra_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionConnectorVersionInfraConfigArgs']]]]:
|
520
|
+
"""
|
521
|
+
This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version.
|
522
|
+
Structure is documented below.
|
523
|
+
"""
|
524
|
+
return pulumi.get(self, "connector_version_infra_configs")
|
525
|
+
|
526
|
+
@connector_version_infra_configs.setter
|
527
|
+
def connector_version_infra_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionConnectorVersionInfraConfigArgs']]]]):
|
528
|
+
pulumi.set(self, "connector_version_infra_configs", value)
|
529
|
+
|
530
|
+
@property
|
531
|
+
@pulumi.getter(name="connectorVersionLaunchStage")
|
532
|
+
def connector_version_launch_stage(self) -> Optional[pulumi.Input[str]]:
|
533
|
+
"""
|
534
|
+
Flag to mark the version indicating the launch stage.
|
535
|
+
"""
|
536
|
+
return pulumi.get(self, "connector_version_launch_stage")
|
537
|
+
|
538
|
+
@connector_version_launch_stage.setter
|
539
|
+
def connector_version_launch_stage(self, value: Optional[pulumi.Input[str]]):
|
540
|
+
pulumi.set(self, "connector_version_launch_stage", value)
|
541
|
+
|
542
|
+
@property
|
543
|
+
@pulumi.getter(name="createTime")
|
544
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
545
|
+
"""
|
546
|
+
Time the Namespace was created in UTC.
|
547
|
+
"""
|
548
|
+
return pulumi.get(self, "create_time")
|
549
|
+
|
550
|
+
@create_time.setter
|
551
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
552
|
+
pulumi.set(self, "create_time", value)
|
553
|
+
|
554
|
+
@property
|
555
|
+
@pulumi.getter
|
556
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
557
|
+
"""
|
558
|
+
An arbitrary description for the Conection.
|
559
|
+
"""
|
560
|
+
return pulumi.get(self, "description")
|
561
|
+
|
562
|
+
@description.setter
|
563
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
564
|
+
pulumi.set(self, "description", value)
|
565
|
+
|
566
|
+
@property
|
567
|
+
@pulumi.getter(name="destinationConfigs")
|
568
|
+
def destination_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]]]:
|
569
|
+
"""
|
570
|
+
Define the Connectors target endpoint.
|
571
|
+
Structure is documented below.
|
572
|
+
"""
|
573
|
+
return pulumi.get(self, "destination_configs")
|
574
|
+
|
575
|
+
@destination_configs.setter
|
576
|
+
def destination_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]]]):
|
577
|
+
pulumi.set(self, "destination_configs", value)
|
578
|
+
|
579
|
+
@property
|
580
|
+
@pulumi.getter(name="effectiveLabels")
|
581
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
582
|
+
"""
|
583
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
584
|
+
"""
|
585
|
+
return pulumi.get(self, "effective_labels")
|
586
|
+
|
587
|
+
@effective_labels.setter
|
588
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
589
|
+
pulumi.set(self, "effective_labels", value)
|
590
|
+
|
591
|
+
@property
|
592
|
+
@pulumi.getter(name="eventingConfig")
|
593
|
+
def eventing_config(self) -> Optional[pulumi.Input['ConnectionEventingConfigArgs']]:
|
594
|
+
"""
|
595
|
+
Eventing Configuration of a connection
|
596
|
+
Structure is documented below.
|
597
|
+
"""
|
598
|
+
return pulumi.get(self, "eventing_config")
|
599
|
+
|
600
|
+
@eventing_config.setter
|
601
|
+
def eventing_config(self, value: Optional[pulumi.Input['ConnectionEventingConfigArgs']]):
|
602
|
+
pulumi.set(self, "eventing_config", value)
|
603
|
+
|
604
|
+
@property
|
605
|
+
@pulumi.getter(name="eventingEnablementType")
|
606
|
+
def eventing_enablement_type(self) -> Optional[pulumi.Input[str]]:
|
607
|
+
"""
|
608
|
+
Eventing enablement type. Will be nil if eventing is not enabled.
|
609
|
+
Possible values are: `EVENTING_AND_CONNECTION`, `ONLY_EVENTING`.
|
610
|
+
"""
|
611
|
+
return pulumi.get(self, "eventing_enablement_type")
|
612
|
+
|
613
|
+
@eventing_enablement_type.setter
|
614
|
+
def eventing_enablement_type(self, value: Optional[pulumi.Input[str]]):
|
615
|
+
pulumi.set(self, "eventing_enablement_type", value)
|
616
|
+
|
617
|
+
@property
|
618
|
+
@pulumi.getter(name="eventingRuntimeDatas")
|
619
|
+
def eventing_runtime_datas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionEventingRuntimeDataArgs']]]]:
|
620
|
+
"""
|
621
|
+
Eventing Runtime Data.
|
622
|
+
Structure is documented below.
|
623
|
+
"""
|
624
|
+
return pulumi.get(self, "eventing_runtime_datas")
|
625
|
+
|
626
|
+
@eventing_runtime_datas.setter
|
627
|
+
def eventing_runtime_datas(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionEventingRuntimeDataArgs']]]]):
|
628
|
+
pulumi.set(self, "eventing_runtime_datas", value)
|
629
|
+
|
630
|
+
@property
|
631
|
+
@pulumi.getter
|
632
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
633
|
+
"""
|
634
|
+
Resource labels to represent user provided metadata.
|
635
|
+
|
636
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
637
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
638
|
+
"""
|
639
|
+
return pulumi.get(self, "labels")
|
640
|
+
|
641
|
+
@labels.setter
|
642
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
643
|
+
pulumi.set(self, "labels", value)
|
644
|
+
|
645
|
+
@property
|
646
|
+
@pulumi.getter
|
647
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
648
|
+
"""
|
649
|
+
Location in which Connection needs to be created.
|
650
|
+
"""
|
651
|
+
return pulumi.get(self, "location")
|
652
|
+
|
653
|
+
@location.setter
|
654
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
655
|
+
pulumi.set(self, "location", value)
|
656
|
+
|
657
|
+
@property
|
658
|
+
@pulumi.getter(name="lockConfig")
|
659
|
+
def lock_config(self) -> Optional[pulumi.Input['ConnectionLockConfigArgs']]:
|
660
|
+
"""
|
661
|
+
Determines whether or no a connection is locked. If locked, a reason must be specified.
|
662
|
+
Structure is documented below.
|
663
|
+
"""
|
664
|
+
return pulumi.get(self, "lock_config")
|
665
|
+
|
666
|
+
@lock_config.setter
|
667
|
+
def lock_config(self, value: Optional[pulumi.Input['ConnectionLockConfigArgs']]):
|
668
|
+
pulumi.set(self, "lock_config", value)
|
669
|
+
|
670
|
+
@property
|
671
|
+
@pulumi.getter(name="logConfig")
|
672
|
+
def log_config(self) -> Optional[pulumi.Input['ConnectionLogConfigArgs']]:
|
673
|
+
"""
|
674
|
+
Log configuration for the connection.
|
675
|
+
Structure is documented below.
|
676
|
+
"""
|
677
|
+
return pulumi.get(self, "log_config")
|
678
|
+
|
679
|
+
@log_config.setter
|
680
|
+
def log_config(self, value: Optional[pulumi.Input['ConnectionLogConfigArgs']]):
|
681
|
+
pulumi.set(self, "log_config", value)
|
682
|
+
|
683
|
+
@property
|
684
|
+
@pulumi.getter
|
685
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
686
|
+
"""
|
687
|
+
Name of Connection needs to be created.
|
688
|
+
|
689
|
+
|
690
|
+
- - -
|
691
|
+
"""
|
692
|
+
return pulumi.get(self, "name")
|
693
|
+
|
694
|
+
@name.setter
|
695
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
696
|
+
pulumi.set(self, "name", value)
|
697
|
+
|
698
|
+
@property
|
699
|
+
@pulumi.getter(name="nodeConfig")
|
700
|
+
def node_config(self) -> Optional[pulumi.Input['ConnectionNodeConfigArgs']]:
|
701
|
+
"""
|
702
|
+
Node configuration for the connection.
|
703
|
+
Structure is documented below.
|
704
|
+
"""
|
705
|
+
return pulumi.get(self, "node_config")
|
706
|
+
|
707
|
+
@node_config.setter
|
708
|
+
def node_config(self, value: Optional[pulumi.Input['ConnectionNodeConfigArgs']]):
|
709
|
+
pulumi.set(self, "node_config", value)
|
710
|
+
|
711
|
+
@property
|
712
|
+
@pulumi.getter
|
713
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
714
|
+
"""
|
715
|
+
The ID of the project in which the resource belongs.
|
716
|
+
If it is not provided, the provider project is used.
|
717
|
+
"""
|
718
|
+
return pulumi.get(self, "project")
|
719
|
+
|
720
|
+
@project.setter
|
721
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
722
|
+
pulumi.set(self, "project", value)
|
723
|
+
|
724
|
+
@property
|
725
|
+
@pulumi.getter(name="pulumiLabels")
|
726
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
727
|
+
"""
|
728
|
+
The combination of labels configured directly on the resource
|
729
|
+
and default labels configured on the provider.
|
730
|
+
"""
|
731
|
+
return pulumi.get(self, "pulumi_labels")
|
732
|
+
|
733
|
+
@pulumi_labels.setter
|
734
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
735
|
+
pulumi.set(self, "pulumi_labels", value)
|
736
|
+
|
737
|
+
@property
|
738
|
+
@pulumi.getter(name="serviceAccount")
|
739
|
+
def service_account(self) -> Optional[pulumi.Input[str]]:
|
740
|
+
"""
|
741
|
+
Service account needed for runtime plane to access Google Cloud resources.
|
742
|
+
"""
|
743
|
+
return pulumi.get(self, "service_account")
|
744
|
+
|
745
|
+
@service_account.setter
|
746
|
+
def service_account(self, value: Optional[pulumi.Input[str]]):
|
747
|
+
pulumi.set(self, "service_account", value)
|
748
|
+
|
749
|
+
@property
|
750
|
+
@pulumi.getter(name="serviceDirectory")
|
751
|
+
def service_directory(self) -> Optional[pulumi.Input[str]]:
|
752
|
+
"""
|
753
|
+
The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address.
|
754
|
+
e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
|
755
|
+
"""
|
756
|
+
return pulumi.get(self, "service_directory")
|
757
|
+
|
758
|
+
@service_directory.setter
|
759
|
+
def service_directory(self, value: Optional[pulumi.Input[str]]):
|
760
|
+
pulumi.set(self, "service_directory", value)
|
761
|
+
|
762
|
+
@property
|
763
|
+
@pulumi.getter(name="sslConfig")
|
764
|
+
def ssl_config(self) -> Optional[pulumi.Input['ConnectionSslConfigArgs']]:
|
765
|
+
"""
|
766
|
+
SSL Configuration of a connection
|
767
|
+
Structure is documented below.
|
768
|
+
"""
|
769
|
+
return pulumi.get(self, "ssl_config")
|
770
|
+
|
771
|
+
@ssl_config.setter
|
772
|
+
def ssl_config(self, value: Optional[pulumi.Input['ConnectionSslConfigArgs']]):
|
773
|
+
pulumi.set(self, "ssl_config", value)
|
774
|
+
|
775
|
+
@property
|
776
|
+
@pulumi.getter
|
777
|
+
def statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionStatusArgs']]]]:
|
778
|
+
"""
|
779
|
+
(Output)
|
780
|
+
Current status of eventing.
|
781
|
+
Structure is documented below.
|
782
|
+
"""
|
783
|
+
return pulumi.get(self, "statuses")
|
784
|
+
|
785
|
+
@statuses.setter
|
786
|
+
def statuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionStatusArgs']]]]):
|
787
|
+
pulumi.set(self, "statuses", value)
|
788
|
+
|
789
|
+
@property
|
790
|
+
@pulumi.getter(name="subscriptionType")
|
791
|
+
def subscription_type(self) -> Optional[pulumi.Input[str]]:
|
792
|
+
"""
|
793
|
+
This subscription type enum states the subscription type of the project.
|
794
|
+
"""
|
795
|
+
return pulumi.get(self, "subscription_type")
|
796
|
+
|
797
|
+
@subscription_type.setter
|
798
|
+
def subscription_type(self, value: Optional[pulumi.Input[str]]):
|
799
|
+
pulumi.set(self, "subscription_type", value)
|
800
|
+
|
801
|
+
@property
|
802
|
+
@pulumi.getter
|
803
|
+
def suspended(self) -> Optional[pulumi.Input[bool]]:
|
804
|
+
"""
|
805
|
+
Suspended indicates if a user has suspended a connection or not.
|
806
|
+
"""
|
807
|
+
return pulumi.get(self, "suspended")
|
808
|
+
|
809
|
+
@suspended.setter
|
810
|
+
def suspended(self, value: Optional[pulumi.Input[bool]]):
|
811
|
+
pulumi.set(self, "suspended", value)
|
812
|
+
|
813
|
+
@property
|
814
|
+
@pulumi.getter(name="updateTime")
|
815
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
816
|
+
"""
|
817
|
+
Time the Namespace was updated in UTC.
|
818
|
+
"""
|
819
|
+
return pulumi.get(self, "update_time")
|
820
|
+
|
821
|
+
@update_time.setter
|
822
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
823
|
+
pulumi.set(self, "update_time", value)
|
824
|
+
|
825
|
+
|
826
|
+
class Connection(pulumi.CustomResource):
|
827
|
+
@overload
|
828
|
+
def __init__(__self__,
|
829
|
+
resource_name: str,
|
830
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
831
|
+
auth_config: Optional[pulumi.Input[pulumi.InputType['ConnectionAuthConfigArgs']]] = None,
|
832
|
+
config_variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionConfigVariableArgs']]]]] = None,
|
833
|
+
connector_version: Optional[pulumi.Input[str]] = None,
|
834
|
+
description: Optional[pulumi.Input[str]] = None,
|
835
|
+
destination_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionDestinationConfigArgs']]]]] = None,
|
836
|
+
eventing_config: Optional[pulumi.Input[pulumi.InputType['ConnectionEventingConfigArgs']]] = None,
|
837
|
+
eventing_enablement_type: Optional[pulumi.Input[str]] = None,
|
838
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
839
|
+
location: Optional[pulumi.Input[str]] = None,
|
840
|
+
lock_config: Optional[pulumi.Input[pulumi.InputType['ConnectionLockConfigArgs']]] = None,
|
841
|
+
log_config: Optional[pulumi.Input[pulumi.InputType['ConnectionLogConfigArgs']]] = None,
|
842
|
+
name: Optional[pulumi.Input[str]] = None,
|
843
|
+
node_config: Optional[pulumi.Input[pulumi.InputType['ConnectionNodeConfigArgs']]] = None,
|
844
|
+
project: Optional[pulumi.Input[str]] = None,
|
845
|
+
service_account: Optional[pulumi.Input[str]] = None,
|
846
|
+
ssl_config: Optional[pulumi.Input[pulumi.InputType['ConnectionSslConfigArgs']]] = None,
|
847
|
+
suspended: Optional[pulumi.Input[bool]] = None,
|
848
|
+
__props__=None):
|
849
|
+
"""
|
850
|
+
An Integration connectors Connection.
|
851
|
+
|
852
|
+
To get more information about Connection, see:
|
853
|
+
|
854
|
+
* [API documentation](https://cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.connections)
|
855
|
+
* How-to Guides
|
856
|
+
* [Official Documentation](https://cloud.google.com/integration-connectors/docs/createconnection)
|
857
|
+
|
858
|
+
## Example Usage
|
859
|
+
### Integration Connectors Connection Basic
|
860
|
+
|
861
|
+
```python
|
862
|
+
import pulumi
|
863
|
+
import pulumi_gcp as gcp
|
864
|
+
|
865
|
+
test_project = gcp.organizations.get_project()
|
866
|
+
pubsubconnection = gcp.integrationconnectors.Connection("pubsubconnection",
|
867
|
+
config_variables=[
|
868
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
869
|
+
key="project_id",
|
870
|
+
string_value="connectors-example",
|
871
|
+
),
|
872
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
873
|
+
key="topic_id",
|
874
|
+
string_value="test",
|
875
|
+
),
|
876
|
+
],
|
877
|
+
connector_version=f"projects/{test_project.project_id}/locations/global/providers/gcp/connectors/pubsub/versions/1",
|
878
|
+
description="tf created description",
|
879
|
+
location="us-central1")
|
880
|
+
```
|
881
|
+
### Integration Connectors Connection Advanced
|
882
|
+
|
883
|
+
```python
|
884
|
+
import pulumi
|
885
|
+
import pulumi_gcp as gcp
|
886
|
+
|
887
|
+
test_project = gcp.organizations.get_project()
|
888
|
+
secret_basic = gcp.secretmanager.Secret("secret-basic",
|
889
|
+
secret_id="test-secret",
|
890
|
+
replication=gcp.secretmanager.SecretReplicationArgs(
|
891
|
+
user_managed=gcp.secretmanager.SecretReplicationUserManagedArgs(
|
892
|
+
replicas=[gcp.secretmanager.SecretReplicationUserManagedReplicaArgs(
|
893
|
+
location="us-central1",
|
894
|
+
)],
|
895
|
+
),
|
896
|
+
))
|
897
|
+
secret_version_basic = gcp.secretmanager.SecretVersion("secret-version-basic",
|
898
|
+
secret=secret_basic.id,
|
899
|
+
secret_data="dummypassword")
|
900
|
+
secret_iam = gcp.secretmanager.SecretIamMember("secretIam",
|
901
|
+
secret_id=secret_basic.id,
|
902
|
+
role="roles/secretmanager.admin",
|
903
|
+
member=f"serviceAccount:{test_project.number}-compute@developer.gserviceaccount.com",
|
904
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_basic]))
|
905
|
+
zendeskconnection = gcp.integrationconnectors.Connection("zendeskconnection",
|
906
|
+
description="tf updated description",
|
907
|
+
location="us-central1",
|
908
|
+
service_account=f"{test_project.number}-compute@developer.gserviceaccount.com",
|
909
|
+
connector_version=f"projects/{test_project.project_id}/locations/global/providers/zendesk/connectors/zendesk/versions/1",
|
910
|
+
config_variables=[
|
911
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
912
|
+
key="proxy_enabled",
|
913
|
+
boolean_value=False,
|
914
|
+
),
|
915
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
916
|
+
key="sample_integer_value",
|
917
|
+
integer_value=1,
|
918
|
+
),
|
919
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
920
|
+
key="sample_encryption_key_value",
|
921
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionConfigVariableEncryptionKeyValueArgs(
|
922
|
+
type="GOOGLE_MANAGED",
|
923
|
+
kms_key_name="sampleKMSKkey",
|
924
|
+
),
|
925
|
+
),
|
926
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
927
|
+
key="sample_secret_value",
|
928
|
+
secret_value=gcp.integrationconnectors.ConnectionConfigVariableSecretValueArgs(
|
929
|
+
secret_version=secret_version_basic.name,
|
930
|
+
),
|
931
|
+
),
|
932
|
+
],
|
933
|
+
suspended=False,
|
934
|
+
auth_config=gcp.integrationconnectors.ConnectionAuthConfigArgs(
|
935
|
+
additional_variables=[
|
936
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
937
|
+
key="sample_string",
|
938
|
+
string_value="sampleString",
|
939
|
+
),
|
940
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
941
|
+
key="sample_boolean",
|
942
|
+
boolean_value=False,
|
943
|
+
),
|
944
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
945
|
+
key="sample_integer",
|
946
|
+
integer_value=1,
|
947
|
+
),
|
948
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
949
|
+
key="sample_secret_value",
|
950
|
+
secret_value=gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableSecretValueArgs(
|
951
|
+
secret_version=secret_version_basic.name,
|
952
|
+
),
|
953
|
+
),
|
954
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
955
|
+
key="sample_encryption_key_value",
|
956
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableEncryptionKeyValueArgs(
|
957
|
+
type="GOOGLE_MANAGED",
|
958
|
+
kms_key_name="sampleKMSKkey",
|
959
|
+
),
|
960
|
+
),
|
961
|
+
],
|
962
|
+
auth_type="USER_PASSWORD",
|
963
|
+
auth_key="sampleAuthKey",
|
964
|
+
user_password=gcp.integrationconnectors.ConnectionAuthConfigUserPasswordArgs(
|
965
|
+
username="user@xyz.com",
|
966
|
+
password=gcp.integrationconnectors.ConnectionAuthConfigUserPasswordPasswordArgs(
|
967
|
+
secret_version=secret_version_basic.name,
|
968
|
+
),
|
969
|
+
),
|
970
|
+
),
|
971
|
+
destination_configs=[gcp.integrationconnectors.ConnectionDestinationConfigArgs(
|
972
|
+
key="url",
|
973
|
+
destinations=[gcp.integrationconnectors.ConnectionDestinationConfigDestinationArgs(
|
974
|
+
host="https://test.zendesk.com",
|
975
|
+
port=80,
|
976
|
+
)],
|
977
|
+
)],
|
978
|
+
lock_config=gcp.integrationconnectors.ConnectionLockConfigArgs(
|
979
|
+
locked=False,
|
980
|
+
reason="Its not locked",
|
981
|
+
),
|
982
|
+
log_config=gcp.integrationconnectors.ConnectionLogConfigArgs(
|
983
|
+
enabled=True,
|
984
|
+
),
|
985
|
+
node_config=gcp.integrationconnectors.ConnectionNodeConfigArgs(
|
986
|
+
min_node_count=2,
|
987
|
+
max_node_count=50,
|
988
|
+
),
|
989
|
+
labels={
|
990
|
+
"foo": "bar",
|
991
|
+
},
|
992
|
+
ssl_config=gcp.integrationconnectors.ConnectionSslConfigArgs(
|
993
|
+
additional_variables=[
|
994
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
995
|
+
key="sample_string",
|
996
|
+
string_value="sampleString",
|
997
|
+
),
|
998
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
999
|
+
key="sample_boolean",
|
1000
|
+
boolean_value=False,
|
1001
|
+
),
|
1002
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
1003
|
+
key="sample_integer",
|
1004
|
+
integer_value=1,
|
1005
|
+
),
|
1006
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
1007
|
+
key="sample_secret_value",
|
1008
|
+
secret_value=gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableSecretValueArgs(
|
1009
|
+
secret_version=secret_version_basic.name,
|
1010
|
+
),
|
1011
|
+
),
|
1012
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
1013
|
+
key="sample_encryption_key_value",
|
1014
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableEncryptionKeyValueArgs(
|
1015
|
+
type="GOOGLE_MANAGED",
|
1016
|
+
kms_key_name="sampleKMSKkey",
|
1017
|
+
),
|
1018
|
+
),
|
1019
|
+
],
|
1020
|
+
client_cert_type="PEM",
|
1021
|
+
client_certificate=gcp.integrationconnectors.ConnectionSslConfigClientCertificateArgs(
|
1022
|
+
secret_version=secret_version_basic.name,
|
1023
|
+
),
|
1024
|
+
client_private_key=gcp.integrationconnectors.ConnectionSslConfigClientPrivateKeyArgs(
|
1025
|
+
secret_version=secret_version_basic.name,
|
1026
|
+
),
|
1027
|
+
client_private_key_pass=gcp.integrationconnectors.ConnectionSslConfigClientPrivateKeyPassArgs(
|
1028
|
+
secret_version=secret_version_basic.name,
|
1029
|
+
),
|
1030
|
+
private_server_certificate=gcp.integrationconnectors.ConnectionSslConfigPrivateServerCertificateArgs(
|
1031
|
+
secret_version=secret_version_basic.name,
|
1032
|
+
),
|
1033
|
+
server_cert_type="PEM",
|
1034
|
+
trust_model="PRIVATE",
|
1035
|
+
type="TLS",
|
1036
|
+
use_ssl=True,
|
1037
|
+
),
|
1038
|
+
eventing_enablement_type="EVENTING_AND_CONNECTION",
|
1039
|
+
eventing_config=gcp.integrationconnectors.ConnectionEventingConfigArgs(
|
1040
|
+
additional_variables=[
|
1041
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1042
|
+
key="sample_string",
|
1043
|
+
string_value="sampleString",
|
1044
|
+
),
|
1045
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1046
|
+
key="sample_boolean",
|
1047
|
+
boolean_value=False,
|
1048
|
+
),
|
1049
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1050
|
+
key="sample_integer",
|
1051
|
+
integer_value=1,
|
1052
|
+
),
|
1053
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1054
|
+
key="sample_secret_value",
|
1055
|
+
secret_value=gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableSecretValueArgs(
|
1056
|
+
secret_version=secret_version_basic.name,
|
1057
|
+
),
|
1058
|
+
),
|
1059
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1060
|
+
key="sample_encryption_key_value",
|
1061
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs(
|
1062
|
+
type="GOOGLE_MANAGED",
|
1063
|
+
kms_key_name="sampleKMSKkey",
|
1064
|
+
),
|
1065
|
+
),
|
1066
|
+
],
|
1067
|
+
registration_destination_config=gcp.integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigArgs(
|
1068
|
+
key="registration_destination_config",
|
1069
|
+
destinations=[gcp.integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs(
|
1070
|
+
host="https://test.zendesk.com",
|
1071
|
+
port=80,
|
1072
|
+
)],
|
1073
|
+
),
|
1074
|
+
auth_config=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigArgs(
|
1075
|
+
auth_type="USER_PASSWORD",
|
1076
|
+
auth_key="sampleAuthKey",
|
1077
|
+
user_password=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigUserPasswordArgs(
|
1078
|
+
username="user@xyz.com",
|
1079
|
+
password=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs(
|
1080
|
+
secret_version=secret_version_basic.name,
|
1081
|
+
),
|
1082
|
+
),
|
1083
|
+
additional_variables=[
|
1084
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1085
|
+
key="sample_string",
|
1086
|
+
string_value="sampleString",
|
1087
|
+
),
|
1088
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1089
|
+
key="sample_boolean",
|
1090
|
+
boolean_value=False,
|
1091
|
+
),
|
1092
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1093
|
+
key="sample_integer",
|
1094
|
+
integer_value=1,
|
1095
|
+
),
|
1096
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1097
|
+
key="sample_secret_value",
|
1098
|
+
secret_value=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableSecretValueArgs(
|
1099
|
+
secret_version=secret_version_basic.name,
|
1100
|
+
),
|
1101
|
+
),
|
1102
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1103
|
+
key="sample_encryption_key_value",
|
1104
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueArgs(
|
1105
|
+
type="GOOGLE_MANAGED",
|
1106
|
+
kms_key_name="sampleKMSKkey",
|
1107
|
+
),
|
1108
|
+
),
|
1109
|
+
],
|
1110
|
+
),
|
1111
|
+
enrichment_enabled=True,
|
1112
|
+
))
|
1113
|
+
```
|
1114
|
+
|
1115
|
+
## Import
|
1116
|
+
|
1117
|
+
Connection can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/connections/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Connection using one of the formats above. For exampletf import {
|
1118
|
+
|
1119
|
+
id = "projects/{{project}}/locations/{{location}}/connections/{{name}}"
|
1120
|
+
|
1121
|
+
to = google_integration_connectors_connection.default }
|
1122
|
+
|
1123
|
+
```sh
|
1124
|
+
$ pulumi import gcp:integrationconnectors/connection:Connection When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Connection can be imported using one of the formats above. For example
|
1125
|
+
```
|
1126
|
+
|
1127
|
+
```sh
|
1128
|
+
$ pulumi import gcp:integrationconnectors/connection:Connection default projects/{{project}}/locations/{{location}}/connections/{{name}}
|
1129
|
+
```
|
1130
|
+
|
1131
|
+
```sh
|
1132
|
+
$ pulumi import gcp:integrationconnectors/connection:Connection default {{project}}/{{location}}/{{name}}
|
1133
|
+
```
|
1134
|
+
|
1135
|
+
```sh
|
1136
|
+
$ pulumi import gcp:integrationconnectors/connection:Connection default {{location}}/{{name}}
|
1137
|
+
```
|
1138
|
+
|
1139
|
+
:param str resource_name: The name of the resource.
|
1140
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
1141
|
+
:param pulumi.Input[pulumi.InputType['ConnectionAuthConfigArgs']] auth_config: authConfig for the connection.
|
1142
|
+
Structure is documented below.
|
1143
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionConfigVariableArgs']]]] config_variables: Config Variables for the connection.
|
1144
|
+
Structure is documented below.
|
1145
|
+
:param pulumi.Input[str] connector_version: connectorVersion of the Connector.
|
1146
|
+
:param pulumi.Input[str] description: An arbitrary description for the Conection.
|
1147
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionDestinationConfigArgs']]]] destination_configs: Define the Connectors target endpoint.
|
1148
|
+
Structure is documented below.
|
1149
|
+
:param pulumi.Input[pulumi.InputType['ConnectionEventingConfigArgs']] eventing_config: Eventing Configuration of a connection
|
1150
|
+
Structure is documented below.
|
1151
|
+
:param pulumi.Input[str] eventing_enablement_type: Eventing enablement type. Will be nil if eventing is not enabled.
|
1152
|
+
Possible values are: `EVENTING_AND_CONNECTION`, `ONLY_EVENTING`.
|
1153
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user provided metadata.
|
1154
|
+
|
1155
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1156
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1157
|
+
:param pulumi.Input[str] location: Location in which Connection needs to be created.
|
1158
|
+
:param pulumi.Input[pulumi.InputType['ConnectionLockConfigArgs']] lock_config: Determines whether or no a connection is locked. If locked, a reason must be specified.
|
1159
|
+
Structure is documented below.
|
1160
|
+
:param pulumi.Input[pulumi.InputType['ConnectionLogConfigArgs']] log_config: Log configuration for the connection.
|
1161
|
+
Structure is documented below.
|
1162
|
+
:param pulumi.Input[str] name: Name of Connection needs to be created.
|
1163
|
+
|
1164
|
+
|
1165
|
+
- - -
|
1166
|
+
:param pulumi.Input[pulumi.InputType['ConnectionNodeConfigArgs']] node_config: Node configuration for the connection.
|
1167
|
+
Structure is documented below.
|
1168
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
1169
|
+
If it is not provided, the provider project is used.
|
1170
|
+
:param pulumi.Input[str] service_account: Service account needed for runtime plane to access Google Cloud resources.
|
1171
|
+
:param pulumi.Input[pulumi.InputType['ConnectionSslConfigArgs']] ssl_config: SSL Configuration of a connection
|
1172
|
+
Structure is documented below.
|
1173
|
+
:param pulumi.Input[bool] suspended: Suspended indicates if a user has suspended a connection or not.
|
1174
|
+
"""
|
1175
|
+
...
|
1176
|
+
@overload
|
1177
|
+
def __init__(__self__,
|
1178
|
+
resource_name: str,
|
1179
|
+
args: ConnectionArgs,
|
1180
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
1181
|
+
"""
|
1182
|
+
An Integration connectors Connection.
|
1183
|
+
|
1184
|
+
To get more information about Connection, see:
|
1185
|
+
|
1186
|
+
* [API documentation](https://cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.connections)
|
1187
|
+
* How-to Guides
|
1188
|
+
* [Official Documentation](https://cloud.google.com/integration-connectors/docs/createconnection)
|
1189
|
+
|
1190
|
+
## Example Usage
|
1191
|
+
### Integration Connectors Connection Basic
|
1192
|
+
|
1193
|
+
```python
|
1194
|
+
import pulumi
|
1195
|
+
import pulumi_gcp as gcp
|
1196
|
+
|
1197
|
+
test_project = gcp.organizations.get_project()
|
1198
|
+
pubsubconnection = gcp.integrationconnectors.Connection("pubsubconnection",
|
1199
|
+
config_variables=[
|
1200
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
1201
|
+
key="project_id",
|
1202
|
+
string_value="connectors-example",
|
1203
|
+
),
|
1204
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
1205
|
+
key="topic_id",
|
1206
|
+
string_value="test",
|
1207
|
+
),
|
1208
|
+
],
|
1209
|
+
connector_version=f"projects/{test_project.project_id}/locations/global/providers/gcp/connectors/pubsub/versions/1",
|
1210
|
+
description="tf created description",
|
1211
|
+
location="us-central1")
|
1212
|
+
```
|
1213
|
+
### Integration Connectors Connection Advanced
|
1214
|
+
|
1215
|
+
```python
|
1216
|
+
import pulumi
|
1217
|
+
import pulumi_gcp as gcp
|
1218
|
+
|
1219
|
+
test_project = gcp.organizations.get_project()
|
1220
|
+
secret_basic = gcp.secretmanager.Secret("secret-basic",
|
1221
|
+
secret_id="test-secret",
|
1222
|
+
replication=gcp.secretmanager.SecretReplicationArgs(
|
1223
|
+
user_managed=gcp.secretmanager.SecretReplicationUserManagedArgs(
|
1224
|
+
replicas=[gcp.secretmanager.SecretReplicationUserManagedReplicaArgs(
|
1225
|
+
location="us-central1",
|
1226
|
+
)],
|
1227
|
+
),
|
1228
|
+
))
|
1229
|
+
secret_version_basic = gcp.secretmanager.SecretVersion("secret-version-basic",
|
1230
|
+
secret=secret_basic.id,
|
1231
|
+
secret_data="dummypassword")
|
1232
|
+
secret_iam = gcp.secretmanager.SecretIamMember("secretIam",
|
1233
|
+
secret_id=secret_basic.id,
|
1234
|
+
role="roles/secretmanager.admin",
|
1235
|
+
member=f"serviceAccount:{test_project.number}-compute@developer.gserviceaccount.com",
|
1236
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_basic]))
|
1237
|
+
zendeskconnection = gcp.integrationconnectors.Connection("zendeskconnection",
|
1238
|
+
description="tf updated description",
|
1239
|
+
location="us-central1",
|
1240
|
+
service_account=f"{test_project.number}-compute@developer.gserviceaccount.com",
|
1241
|
+
connector_version=f"projects/{test_project.project_id}/locations/global/providers/zendesk/connectors/zendesk/versions/1",
|
1242
|
+
config_variables=[
|
1243
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
1244
|
+
key="proxy_enabled",
|
1245
|
+
boolean_value=False,
|
1246
|
+
),
|
1247
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
1248
|
+
key="sample_integer_value",
|
1249
|
+
integer_value=1,
|
1250
|
+
),
|
1251
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
1252
|
+
key="sample_encryption_key_value",
|
1253
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionConfigVariableEncryptionKeyValueArgs(
|
1254
|
+
type="GOOGLE_MANAGED",
|
1255
|
+
kms_key_name="sampleKMSKkey",
|
1256
|
+
),
|
1257
|
+
),
|
1258
|
+
gcp.integrationconnectors.ConnectionConfigVariableArgs(
|
1259
|
+
key="sample_secret_value",
|
1260
|
+
secret_value=gcp.integrationconnectors.ConnectionConfigVariableSecretValueArgs(
|
1261
|
+
secret_version=secret_version_basic.name,
|
1262
|
+
),
|
1263
|
+
),
|
1264
|
+
],
|
1265
|
+
suspended=False,
|
1266
|
+
auth_config=gcp.integrationconnectors.ConnectionAuthConfigArgs(
|
1267
|
+
additional_variables=[
|
1268
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
1269
|
+
key="sample_string",
|
1270
|
+
string_value="sampleString",
|
1271
|
+
),
|
1272
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
1273
|
+
key="sample_boolean",
|
1274
|
+
boolean_value=False,
|
1275
|
+
),
|
1276
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
1277
|
+
key="sample_integer",
|
1278
|
+
integer_value=1,
|
1279
|
+
),
|
1280
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
1281
|
+
key="sample_secret_value",
|
1282
|
+
secret_value=gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableSecretValueArgs(
|
1283
|
+
secret_version=secret_version_basic.name,
|
1284
|
+
),
|
1285
|
+
),
|
1286
|
+
gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs(
|
1287
|
+
key="sample_encryption_key_value",
|
1288
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionAuthConfigAdditionalVariableEncryptionKeyValueArgs(
|
1289
|
+
type="GOOGLE_MANAGED",
|
1290
|
+
kms_key_name="sampleKMSKkey",
|
1291
|
+
),
|
1292
|
+
),
|
1293
|
+
],
|
1294
|
+
auth_type="USER_PASSWORD",
|
1295
|
+
auth_key="sampleAuthKey",
|
1296
|
+
user_password=gcp.integrationconnectors.ConnectionAuthConfigUserPasswordArgs(
|
1297
|
+
username="user@xyz.com",
|
1298
|
+
password=gcp.integrationconnectors.ConnectionAuthConfigUserPasswordPasswordArgs(
|
1299
|
+
secret_version=secret_version_basic.name,
|
1300
|
+
),
|
1301
|
+
),
|
1302
|
+
),
|
1303
|
+
destination_configs=[gcp.integrationconnectors.ConnectionDestinationConfigArgs(
|
1304
|
+
key="url",
|
1305
|
+
destinations=[gcp.integrationconnectors.ConnectionDestinationConfigDestinationArgs(
|
1306
|
+
host="https://test.zendesk.com",
|
1307
|
+
port=80,
|
1308
|
+
)],
|
1309
|
+
)],
|
1310
|
+
lock_config=gcp.integrationconnectors.ConnectionLockConfigArgs(
|
1311
|
+
locked=False,
|
1312
|
+
reason="Its not locked",
|
1313
|
+
),
|
1314
|
+
log_config=gcp.integrationconnectors.ConnectionLogConfigArgs(
|
1315
|
+
enabled=True,
|
1316
|
+
),
|
1317
|
+
node_config=gcp.integrationconnectors.ConnectionNodeConfigArgs(
|
1318
|
+
min_node_count=2,
|
1319
|
+
max_node_count=50,
|
1320
|
+
),
|
1321
|
+
labels={
|
1322
|
+
"foo": "bar",
|
1323
|
+
},
|
1324
|
+
ssl_config=gcp.integrationconnectors.ConnectionSslConfigArgs(
|
1325
|
+
additional_variables=[
|
1326
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
1327
|
+
key="sample_string",
|
1328
|
+
string_value="sampleString",
|
1329
|
+
),
|
1330
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
1331
|
+
key="sample_boolean",
|
1332
|
+
boolean_value=False,
|
1333
|
+
),
|
1334
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
1335
|
+
key="sample_integer",
|
1336
|
+
integer_value=1,
|
1337
|
+
),
|
1338
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
1339
|
+
key="sample_secret_value",
|
1340
|
+
secret_value=gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableSecretValueArgs(
|
1341
|
+
secret_version=secret_version_basic.name,
|
1342
|
+
),
|
1343
|
+
),
|
1344
|
+
gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableArgs(
|
1345
|
+
key="sample_encryption_key_value",
|
1346
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionSslConfigAdditionalVariableEncryptionKeyValueArgs(
|
1347
|
+
type="GOOGLE_MANAGED",
|
1348
|
+
kms_key_name="sampleKMSKkey",
|
1349
|
+
),
|
1350
|
+
),
|
1351
|
+
],
|
1352
|
+
client_cert_type="PEM",
|
1353
|
+
client_certificate=gcp.integrationconnectors.ConnectionSslConfigClientCertificateArgs(
|
1354
|
+
secret_version=secret_version_basic.name,
|
1355
|
+
),
|
1356
|
+
client_private_key=gcp.integrationconnectors.ConnectionSslConfigClientPrivateKeyArgs(
|
1357
|
+
secret_version=secret_version_basic.name,
|
1358
|
+
),
|
1359
|
+
client_private_key_pass=gcp.integrationconnectors.ConnectionSslConfigClientPrivateKeyPassArgs(
|
1360
|
+
secret_version=secret_version_basic.name,
|
1361
|
+
),
|
1362
|
+
private_server_certificate=gcp.integrationconnectors.ConnectionSslConfigPrivateServerCertificateArgs(
|
1363
|
+
secret_version=secret_version_basic.name,
|
1364
|
+
),
|
1365
|
+
server_cert_type="PEM",
|
1366
|
+
trust_model="PRIVATE",
|
1367
|
+
type="TLS",
|
1368
|
+
use_ssl=True,
|
1369
|
+
),
|
1370
|
+
eventing_enablement_type="EVENTING_AND_CONNECTION",
|
1371
|
+
eventing_config=gcp.integrationconnectors.ConnectionEventingConfigArgs(
|
1372
|
+
additional_variables=[
|
1373
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1374
|
+
key="sample_string",
|
1375
|
+
string_value="sampleString",
|
1376
|
+
),
|
1377
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1378
|
+
key="sample_boolean",
|
1379
|
+
boolean_value=False,
|
1380
|
+
),
|
1381
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1382
|
+
key="sample_integer",
|
1383
|
+
integer_value=1,
|
1384
|
+
),
|
1385
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1386
|
+
key="sample_secret_value",
|
1387
|
+
secret_value=gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableSecretValueArgs(
|
1388
|
+
secret_version=secret_version_basic.name,
|
1389
|
+
),
|
1390
|
+
),
|
1391
|
+
gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs(
|
1392
|
+
key="sample_encryption_key_value",
|
1393
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs(
|
1394
|
+
type="GOOGLE_MANAGED",
|
1395
|
+
kms_key_name="sampleKMSKkey",
|
1396
|
+
),
|
1397
|
+
),
|
1398
|
+
],
|
1399
|
+
registration_destination_config=gcp.integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigArgs(
|
1400
|
+
key="registration_destination_config",
|
1401
|
+
destinations=[gcp.integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs(
|
1402
|
+
host="https://test.zendesk.com",
|
1403
|
+
port=80,
|
1404
|
+
)],
|
1405
|
+
),
|
1406
|
+
auth_config=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigArgs(
|
1407
|
+
auth_type="USER_PASSWORD",
|
1408
|
+
auth_key="sampleAuthKey",
|
1409
|
+
user_password=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigUserPasswordArgs(
|
1410
|
+
username="user@xyz.com",
|
1411
|
+
password=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs(
|
1412
|
+
secret_version=secret_version_basic.name,
|
1413
|
+
),
|
1414
|
+
),
|
1415
|
+
additional_variables=[
|
1416
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1417
|
+
key="sample_string",
|
1418
|
+
string_value="sampleString",
|
1419
|
+
),
|
1420
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1421
|
+
key="sample_boolean",
|
1422
|
+
boolean_value=False,
|
1423
|
+
),
|
1424
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1425
|
+
key="sample_integer",
|
1426
|
+
integer_value=1,
|
1427
|
+
),
|
1428
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1429
|
+
key="sample_secret_value",
|
1430
|
+
secret_value=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableSecretValueArgs(
|
1431
|
+
secret_version=secret_version_basic.name,
|
1432
|
+
),
|
1433
|
+
),
|
1434
|
+
gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs(
|
1435
|
+
key="sample_encryption_key_value",
|
1436
|
+
encryption_key_value=gcp.integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueArgs(
|
1437
|
+
type="GOOGLE_MANAGED",
|
1438
|
+
kms_key_name="sampleKMSKkey",
|
1439
|
+
),
|
1440
|
+
),
|
1441
|
+
],
|
1442
|
+
),
|
1443
|
+
enrichment_enabled=True,
|
1444
|
+
))
|
1445
|
+
```
|
1446
|
+
|
1447
|
+
## Import
|
1448
|
+
|
1449
|
+
Connection can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/connections/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Connection using one of the formats above. For exampletf import {
|
1450
|
+
|
1451
|
+
id = "projects/{{project}}/locations/{{location}}/connections/{{name}}"
|
1452
|
+
|
1453
|
+
to = google_integration_connectors_connection.default }
|
1454
|
+
|
1455
|
+
```sh
|
1456
|
+
$ pulumi import gcp:integrationconnectors/connection:Connection When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Connection can be imported using one of the formats above. For example
|
1457
|
+
```
|
1458
|
+
|
1459
|
+
```sh
|
1460
|
+
$ pulumi import gcp:integrationconnectors/connection:Connection default projects/{{project}}/locations/{{location}}/connections/{{name}}
|
1461
|
+
```
|
1462
|
+
|
1463
|
+
```sh
|
1464
|
+
$ pulumi import gcp:integrationconnectors/connection:Connection default {{project}}/{{location}}/{{name}}
|
1465
|
+
```
|
1466
|
+
|
1467
|
+
```sh
|
1468
|
+
$ pulumi import gcp:integrationconnectors/connection:Connection default {{location}}/{{name}}
|
1469
|
+
```
|
1470
|
+
|
1471
|
+
:param str resource_name: The name of the resource.
|
1472
|
+
:param ConnectionArgs args: The arguments to use to populate this resource's properties.
|
1473
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
1474
|
+
"""
|
1475
|
+
...
|
1476
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
1477
|
+
resource_args, opts = _utilities.get_resource_args_opts(ConnectionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
1478
|
+
if resource_args is not None:
|
1479
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
1480
|
+
else:
|
1481
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
1482
|
+
|
1483
|
+
def _internal_init(__self__,
|
1484
|
+
resource_name: str,
|
1485
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
1486
|
+
auth_config: Optional[pulumi.Input[pulumi.InputType['ConnectionAuthConfigArgs']]] = None,
|
1487
|
+
config_variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionConfigVariableArgs']]]]] = None,
|
1488
|
+
connector_version: Optional[pulumi.Input[str]] = None,
|
1489
|
+
description: Optional[pulumi.Input[str]] = None,
|
1490
|
+
destination_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionDestinationConfigArgs']]]]] = None,
|
1491
|
+
eventing_config: Optional[pulumi.Input[pulumi.InputType['ConnectionEventingConfigArgs']]] = None,
|
1492
|
+
eventing_enablement_type: Optional[pulumi.Input[str]] = None,
|
1493
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1494
|
+
location: Optional[pulumi.Input[str]] = None,
|
1495
|
+
lock_config: Optional[pulumi.Input[pulumi.InputType['ConnectionLockConfigArgs']]] = None,
|
1496
|
+
log_config: Optional[pulumi.Input[pulumi.InputType['ConnectionLogConfigArgs']]] = None,
|
1497
|
+
name: Optional[pulumi.Input[str]] = None,
|
1498
|
+
node_config: Optional[pulumi.Input[pulumi.InputType['ConnectionNodeConfigArgs']]] = None,
|
1499
|
+
project: Optional[pulumi.Input[str]] = None,
|
1500
|
+
service_account: Optional[pulumi.Input[str]] = None,
|
1501
|
+
ssl_config: Optional[pulumi.Input[pulumi.InputType['ConnectionSslConfigArgs']]] = None,
|
1502
|
+
suspended: Optional[pulumi.Input[bool]] = None,
|
1503
|
+
__props__=None):
|
1504
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
1505
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
1506
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
1507
|
+
if opts.id is None:
|
1508
|
+
if __props__ is not None:
|
1509
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1510
|
+
__props__ = ConnectionArgs.__new__(ConnectionArgs)
|
1511
|
+
|
1512
|
+
__props__.__dict__["auth_config"] = auth_config
|
1513
|
+
__props__.__dict__["config_variables"] = config_variables
|
1514
|
+
if connector_version is None and not opts.urn:
|
1515
|
+
raise TypeError("Missing required property 'connector_version'")
|
1516
|
+
__props__.__dict__["connector_version"] = connector_version
|
1517
|
+
__props__.__dict__["description"] = description
|
1518
|
+
__props__.__dict__["destination_configs"] = destination_configs
|
1519
|
+
__props__.__dict__["eventing_config"] = eventing_config
|
1520
|
+
__props__.__dict__["eventing_enablement_type"] = eventing_enablement_type
|
1521
|
+
__props__.__dict__["labels"] = labels
|
1522
|
+
if location is None and not opts.urn:
|
1523
|
+
raise TypeError("Missing required property 'location'")
|
1524
|
+
__props__.__dict__["location"] = location
|
1525
|
+
__props__.__dict__["lock_config"] = lock_config
|
1526
|
+
__props__.__dict__["log_config"] = log_config
|
1527
|
+
__props__.__dict__["name"] = name
|
1528
|
+
__props__.__dict__["node_config"] = node_config
|
1529
|
+
__props__.__dict__["project"] = project
|
1530
|
+
__props__.__dict__["service_account"] = service_account
|
1531
|
+
__props__.__dict__["ssl_config"] = ssl_config
|
1532
|
+
__props__.__dict__["suspended"] = suspended
|
1533
|
+
__props__.__dict__["connection_revision"] = None
|
1534
|
+
__props__.__dict__["connector_version_infra_configs"] = None
|
1535
|
+
__props__.__dict__["connector_version_launch_stage"] = None
|
1536
|
+
__props__.__dict__["create_time"] = None
|
1537
|
+
__props__.__dict__["effective_labels"] = None
|
1538
|
+
__props__.__dict__["eventing_runtime_datas"] = None
|
1539
|
+
__props__.__dict__["pulumi_labels"] = None
|
1540
|
+
__props__.__dict__["service_directory"] = None
|
1541
|
+
__props__.__dict__["statuses"] = None
|
1542
|
+
__props__.__dict__["subscription_type"] = None
|
1543
|
+
__props__.__dict__["update_time"] = None
|
1544
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
1545
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
1546
|
+
super(Connection, __self__).__init__(
|
1547
|
+
'gcp:integrationconnectors/connection:Connection',
|
1548
|
+
resource_name,
|
1549
|
+
__props__,
|
1550
|
+
opts)
|
1551
|
+
|
1552
|
+
@staticmethod
|
1553
|
+
def get(resource_name: str,
|
1554
|
+
id: pulumi.Input[str],
|
1555
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
1556
|
+
auth_config: Optional[pulumi.Input[pulumi.InputType['ConnectionAuthConfigArgs']]] = None,
|
1557
|
+
config_variables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionConfigVariableArgs']]]]] = None,
|
1558
|
+
connection_revision: Optional[pulumi.Input[str]] = None,
|
1559
|
+
connector_version: Optional[pulumi.Input[str]] = None,
|
1560
|
+
connector_version_infra_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionConnectorVersionInfraConfigArgs']]]]] = None,
|
1561
|
+
connector_version_launch_stage: Optional[pulumi.Input[str]] = None,
|
1562
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
1563
|
+
description: Optional[pulumi.Input[str]] = None,
|
1564
|
+
destination_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionDestinationConfigArgs']]]]] = None,
|
1565
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1566
|
+
eventing_config: Optional[pulumi.Input[pulumi.InputType['ConnectionEventingConfigArgs']]] = None,
|
1567
|
+
eventing_enablement_type: Optional[pulumi.Input[str]] = None,
|
1568
|
+
eventing_runtime_datas: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionEventingRuntimeDataArgs']]]]] = None,
|
1569
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1570
|
+
location: Optional[pulumi.Input[str]] = None,
|
1571
|
+
lock_config: Optional[pulumi.Input[pulumi.InputType['ConnectionLockConfigArgs']]] = None,
|
1572
|
+
log_config: Optional[pulumi.Input[pulumi.InputType['ConnectionLogConfigArgs']]] = None,
|
1573
|
+
name: Optional[pulumi.Input[str]] = None,
|
1574
|
+
node_config: Optional[pulumi.Input[pulumi.InputType['ConnectionNodeConfigArgs']]] = None,
|
1575
|
+
project: Optional[pulumi.Input[str]] = None,
|
1576
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1577
|
+
service_account: Optional[pulumi.Input[str]] = None,
|
1578
|
+
service_directory: Optional[pulumi.Input[str]] = None,
|
1579
|
+
ssl_config: Optional[pulumi.Input[pulumi.InputType['ConnectionSslConfigArgs']]] = None,
|
1580
|
+
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionStatusArgs']]]]] = None,
|
1581
|
+
subscription_type: Optional[pulumi.Input[str]] = None,
|
1582
|
+
suspended: Optional[pulumi.Input[bool]] = None,
|
1583
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'Connection':
|
1584
|
+
"""
|
1585
|
+
Get an existing Connection resource's state with the given name, id, and optional extra
|
1586
|
+
properties used to qualify the lookup.
|
1587
|
+
|
1588
|
+
:param str resource_name: The unique name of the resulting resource.
|
1589
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1590
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
1591
|
+
:param pulumi.Input[pulumi.InputType['ConnectionAuthConfigArgs']] auth_config: authConfig for the connection.
|
1592
|
+
Structure is documented below.
|
1593
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionConfigVariableArgs']]]] config_variables: Config Variables for the connection.
|
1594
|
+
Structure is documented below.
|
1595
|
+
:param pulumi.Input[str] connection_revision: Connection revision. This field is only updated when the connection is created or updated by User.
|
1596
|
+
:param pulumi.Input[str] connector_version: connectorVersion of the Connector.
|
1597
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionConnectorVersionInfraConfigArgs']]]] connector_version_infra_configs: This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version.
|
1598
|
+
Structure is documented below.
|
1599
|
+
:param pulumi.Input[str] connector_version_launch_stage: Flag to mark the version indicating the launch stage.
|
1600
|
+
:param pulumi.Input[str] create_time: Time the Namespace was created in UTC.
|
1601
|
+
:param pulumi.Input[str] description: An arbitrary description for the Conection.
|
1602
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionDestinationConfigArgs']]]] destination_configs: Define the Connectors target endpoint.
|
1603
|
+
Structure is documented below.
|
1604
|
+
: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.
|
1605
|
+
:param pulumi.Input[pulumi.InputType['ConnectionEventingConfigArgs']] eventing_config: Eventing Configuration of a connection
|
1606
|
+
Structure is documented below.
|
1607
|
+
:param pulumi.Input[str] eventing_enablement_type: Eventing enablement type. Will be nil if eventing is not enabled.
|
1608
|
+
Possible values are: `EVENTING_AND_CONNECTION`, `ONLY_EVENTING`.
|
1609
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionEventingRuntimeDataArgs']]]] eventing_runtime_datas: Eventing Runtime Data.
|
1610
|
+
Structure is documented below.
|
1611
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user provided metadata.
|
1612
|
+
|
1613
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1614
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1615
|
+
:param pulumi.Input[str] location: Location in which Connection needs to be created.
|
1616
|
+
:param pulumi.Input[pulumi.InputType['ConnectionLockConfigArgs']] lock_config: Determines whether or no a connection is locked. If locked, a reason must be specified.
|
1617
|
+
Structure is documented below.
|
1618
|
+
:param pulumi.Input[pulumi.InputType['ConnectionLogConfigArgs']] log_config: Log configuration for the connection.
|
1619
|
+
Structure is documented below.
|
1620
|
+
:param pulumi.Input[str] name: Name of Connection needs to be created.
|
1621
|
+
|
1622
|
+
|
1623
|
+
- - -
|
1624
|
+
:param pulumi.Input[pulumi.InputType['ConnectionNodeConfigArgs']] node_config: Node configuration for the connection.
|
1625
|
+
Structure is documented below.
|
1626
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
1627
|
+
If it is not provided, the provider project is used.
|
1628
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
1629
|
+
and default labels configured on the provider.
|
1630
|
+
:param pulumi.Input[str] service_account: Service account needed for runtime plane to access Google Cloud resources.
|
1631
|
+
:param pulumi.Input[str] service_directory: The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address.
|
1632
|
+
e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
|
1633
|
+
:param pulumi.Input[pulumi.InputType['ConnectionSslConfigArgs']] ssl_config: SSL Configuration of a connection
|
1634
|
+
Structure is documented below.
|
1635
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionStatusArgs']]]] statuses: (Output)
|
1636
|
+
Current status of eventing.
|
1637
|
+
Structure is documented below.
|
1638
|
+
:param pulumi.Input[str] subscription_type: This subscription type enum states the subscription type of the project.
|
1639
|
+
:param pulumi.Input[bool] suspended: Suspended indicates if a user has suspended a connection or not.
|
1640
|
+
:param pulumi.Input[str] update_time: Time the Namespace was updated in UTC.
|
1641
|
+
"""
|
1642
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1643
|
+
|
1644
|
+
__props__ = _ConnectionState.__new__(_ConnectionState)
|
1645
|
+
|
1646
|
+
__props__.__dict__["auth_config"] = auth_config
|
1647
|
+
__props__.__dict__["config_variables"] = config_variables
|
1648
|
+
__props__.__dict__["connection_revision"] = connection_revision
|
1649
|
+
__props__.__dict__["connector_version"] = connector_version
|
1650
|
+
__props__.__dict__["connector_version_infra_configs"] = connector_version_infra_configs
|
1651
|
+
__props__.__dict__["connector_version_launch_stage"] = connector_version_launch_stage
|
1652
|
+
__props__.__dict__["create_time"] = create_time
|
1653
|
+
__props__.__dict__["description"] = description
|
1654
|
+
__props__.__dict__["destination_configs"] = destination_configs
|
1655
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
1656
|
+
__props__.__dict__["eventing_config"] = eventing_config
|
1657
|
+
__props__.__dict__["eventing_enablement_type"] = eventing_enablement_type
|
1658
|
+
__props__.__dict__["eventing_runtime_datas"] = eventing_runtime_datas
|
1659
|
+
__props__.__dict__["labels"] = labels
|
1660
|
+
__props__.__dict__["location"] = location
|
1661
|
+
__props__.__dict__["lock_config"] = lock_config
|
1662
|
+
__props__.__dict__["log_config"] = log_config
|
1663
|
+
__props__.__dict__["name"] = name
|
1664
|
+
__props__.__dict__["node_config"] = node_config
|
1665
|
+
__props__.__dict__["project"] = project
|
1666
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
1667
|
+
__props__.__dict__["service_account"] = service_account
|
1668
|
+
__props__.__dict__["service_directory"] = service_directory
|
1669
|
+
__props__.__dict__["ssl_config"] = ssl_config
|
1670
|
+
__props__.__dict__["statuses"] = statuses
|
1671
|
+
__props__.__dict__["subscription_type"] = subscription_type
|
1672
|
+
__props__.__dict__["suspended"] = suspended
|
1673
|
+
__props__.__dict__["update_time"] = update_time
|
1674
|
+
return Connection(resource_name, opts=opts, __props__=__props__)
|
1675
|
+
|
1676
|
+
@property
|
1677
|
+
@pulumi.getter(name="authConfig")
|
1678
|
+
def auth_config(self) -> pulumi.Output[Optional['outputs.ConnectionAuthConfig']]:
|
1679
|
+
"""
|
1680
|
+
authConfig for the connection.
|
1681
|
+
Structure is documented below.
|
1682
|
+
"""
|
1683
|
+
return pulumi.get(self, "auth_config")
|
1684
|
+
|
1685
|
+
@property
|
1686
|
+
@pulumi.getter(name="configVariables")
|
1687
|
+
def config_variables(self) -> pulumi.Output[Optional[Sequence['outputs.ConnectionConfigVariable']]]:
|
1688
|
+
"""
|
1689
|
+
Config Variables for the connection.
|
1690
|
+
Structure is documented below.
|
1691
|
+
"""
|
1692
|
+
return pulumi.get(self, "config_variables")
|
1693
|
+
|
1694
|
+
@property
|
1695
|
+
@pulumi.getter(name="connectionRevision")
|
1696
|
+
def connection_revision(self) -> pulumi.Output[str]:
|
1697
|
+
"""
|
1698
|
+
Connection revision. This field is only updated when the connection is created or updated by User.
|
1699
|
+
"""
|
1700
|
+
return pulumi.get(self, "connection_revision")
|
1701
|
+
|
1702
|
+
@property
|
1703
|
+
@pulumi.getter(name="connectorVersion")
|
1704
|
+
def connector_version(self) -> pulumi.Output[str]:
|
1705
|
+
"""
|
1706
|
+
connectorVersion of the Connector.
|
1707
|
+
"""
|
1708
|
+
return pulumi.get(self, "connector_version")
|
1709
|
+
|
1710
|
+
@property
|
1711
|
+
@pulumi.getter(name="connectorVersionInfraConfigs")
|
1712
|
+
def connector_version_infra_configs(self) -> pulumi.Output[Sequence['outputs.ConnectionConnectorVersionInfraConfig']]:
|
1713
|
+
"""
|
1714
|
+
This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version.
|
1715
|
+
Structure is documented below.
|
1716
|
+
"""
|
1717
|
+
return pulumi.get(self, "connector_version_infra_configs")
|
1718
|
+
|
1719
|
+
@property
|
1720
|
+
@pulumi.getter(name="connectorVersionLaunchStage")
|
1721
|
+
def connector_version_launch_stage(self) -> pulumi.Output[str]:
|
1722
|
+
"""
|
1723
|
+
Flag to mark the version indicating the launch stage.
|
1724
|
+
"""
|
1725
|
+
return pulumi.get(self, "connector_version_launch_stage")
|
1726
|
+
|
1727
|
+
@property
|
1728
|
+
@pulumi.getter(name="createTime")
|
1729
|
+
def create_time(self) -> pulumi.Output[str]:
|
1730
|
+
"""
|
1731
|
+
Time the Namespace was created in UTC.
|
1732
|
+
"""
|
1733
|
+
return pulumi.get(self, "create_time")
|
1734
|
+
|
1735
|
+
@property
|
1736
|
+
@pulumi.getter
|
1737
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
1738
|
+
"""
|
1739
|
+
An arbitrary description for the Conection.
|
1740
|
+
"""
|
1741
|
+
return pulumi.get(self, "description")
|
1742
|
+
|
1743
|
+
@property
|
1744
|
+
@pulumi.getter(name="destinationConfigs")
|
1745
|
+
def destination_configs(self) -> pulumi.Output[Optional[Sequence['outputs.ConnectionDestinationConfig']]]:
|
1746
|
+
"""
|
1747
|
+
Define the Connectors target endpoint.
|
1748
|
+
Structure is documented below.
|
1749
|
+
"""
|
1750
|
+
return pulumi.get(self, "destination_configs")
|
1751
|
+
|
1752
|
+
@property
|
1753
|
+
@pulumi.getter(name="effectiveLabels")
|
1754
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
1755
|
+
"""
|
1756
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
1757
|
+
"""
|
1758
|
+
return pulumi.get(self, "effective_labels")
|
1759
|
+
|
1760
|
+
@property
|
1761
|
+
@pulumi.getter(name="eventingConfig")
|
1762
|
+
def eventing_config(self) -> pulumi.Output[Optional['outputs.ConnectionEventingConfig']]:
|
1763
|
+
"""
|
1764
|
+
Eventing Configuration of a connection
|
1765
|
+
Structure is documented below.
|
1766
|
+
"""
|
1767
|
+
return pulumi.get(self, "eventing_config")
|
1768
|
+
|
1769
|
+
@property
|
1770
|
+
@pulumi.getter(name="eventingEnablementType")
|
1771
|
+
def eventing_enablement_type(self) -> pulumi.Output[Optional[str]]:
|
1772
|
+
"""
|
1773
|
+
Eventing enablement type. Will be nil if eventing is not enabled.
|
1774
|
+
Possible values are: `EVENTING_AND_CONNECTION`, `ONLY_EVENTING`.
|
1775
|
+
"""
|
1776
|
+
return pulumi.get(self, "eventing_enablement_type")
|
1777
|
+
|
1778
|
+
@property
|
1779
|
+
@pulumi.getter(name="eventingRuntimeDatas")
|
1780
|
+
def eventing_runtime_datas(self) -> pulumi.Output[Sequence['outputs.ConnectionEventingRuntimeData']]:
|
1781
|
+
"""
|
1782
|
+
Eventing Runtime Data.
|
1783
|
+
Structure is documented below.
|
1784
|
+
"""
|
1785
|
+
return pulumi.get(self, "eventing_runtime_datas")
|
1786
|
+
|
1787
|
+
@property
|
1788
|
+
@pulumi.getter
|
1789
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1790
|
+
"""
|
1791
|
+
Resource labels to represent user provided metadata.
|
1792
|
+
|
1793
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1794
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1795
|
+
"""
|
1796
|
+
return pulumi.get(self, "labels")
|
1797
|
+
|
1798
|
+
@property
|
1799
|
+
@pulumi.getter
|
1800
|
+
def location(self) -> pulumi.Output[str]:
|
1801
|
+
"""
|
1802
|
+
Location in which Connection needs to be created.
|
1803
|
+
"""
|
1804
|
+
return pulumi.get(self, "location")
|
1805
|
+
|
1806
|
+
@property
|
1807
|
+
@pulumi.getter(name="lockConfig")
|
1808
|
+
def lock_config(self) -> pulumi.Output[Optional['outputs.ConnectionLockConfig']]:
|
1809
|
+
"""
|
1810
|
+
Determines whether or no a connection is locked. If locked, a reason must be specified.
|
1811
|
+
Structure is documented below.
|
1812
|
+
"""
|
1813
|
+
return pulumi.get(self, "lock_config")
|
1814
|
+
|
1815
|
+
@property
|
1816
|
+
@pulumi.getter(name="logConfig")
|
1817
|
+
def log_config(self) -> pulumi.Output[Optional['outputs.ConnectionLogConfig']]:
|
1818
|
+
"""
|
1819
|
+
Log configuration for the connection.
|
1820
|
+
Structure is documented below.
|
1821
|
+
"""
|
1822
|
+
return pulumi.get(self, "log_config")
|
1823
|
+
|
1824
|
+
@property
|
1825
|
+
@pulumi.getter
|
1826
|
+
def name(self) -> pulumi.Output[str]:
|
1827
|
+
"""
|
1828
|
+
Name of Connection needs to be created.
|
1829
|
+
|
1830
|
+
|
1831
|
+
- - -
|
1832
|
+
"""
|
1833
|
+
return pulumi.get(self, "name")
|
1834
|
+
|
1835
|
+
@property
|
1836
|
+
@pulumi.getter(name="nodeConfig")
|
1837
|
+
def node_config(self) -> pulumi.Output['outputs.ConnectionNodeConfig']:
|
1838
|
+
"""
|
1839
|
+
Node configuration for the connection.
|
1840
|
+
Structure is documented below.
|
1841
|
+
"""
|
1842
|
+
return pulumi.get(self, "node_config")
|
1843
|
+
|
1844
|
+
@property
|
1845
|
+
@pulumi.getter
|
1846
|
+
def project(self) -> pulumi.Output[str]:
|
1847
|
+
"""
|
1848
|
+
The ID of the project in which the resource belongs.
|
1849
|
+
If it is not provided, the provider project is used.
|
1850
|
+
"""
|
1851
|
+
return pulumi.get(self, "project")
|
1852
|
+
|
1853
|
+
@property
|
1854
|
+
@pulumi.getter(name="pulumiLabels")
|
1855
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
1856
|
+
"""
|
1857
|
+
The combination of labels configured directly on the resource
|
1858
|
+
and default labels configured on the provider.
|
1859
|
+
"""
|
1860
|
+
return pulumi.get(self, "pulumi_labels")
|
1861
|
+
|
1862
|
+
@property
|
1863
|
+
@pulumi.getter(name="serviceAccount")
|
1864
|
+
def service_account(self) -> pulumi.Output[str]:
|
1865
|
+
"""
|
1866
|
+
Service account needed for runtime plane to access Google Cloud resources.
|
1867
|
+
"""
|
1868
|
+
return pulumi.get(self, "service_account")
|
1869
|
+
|
1870
|
+
@property
|
1871
|
+
@pulumi.getter(name="serviceDirectory")
|
1872
|
+
def service_directory(self) -> pulumi.Output[str]:
|
1873
|
+
"""
|
1874
|
+
The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address.
|
1875
|
+
e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
|
1876
|
+
"""
|
1877
|
+
return pulumi.get(self, "service_directory")
|
1878
|
+
|
1879
|
+
@property
|
1880
|
+
@pulumi.getter(name="sslConfig")
|
1881
|
+
def ssl_config(self) -> pulumi.Output[Optional['outputs.ConnectionSslConfig']]:
|
1882
|
+
"""
|
1883
|
+
SSL Configuration of a connection
|
1884
|
+
Structure is documented below.
|
1885
|
+
"""
|
1886
|
+
return pulumi.get(self, "ssl_config")
|
1887
|
+
|
1888
|
+
@property
|
1889
|
+
@pulumi.getter
|
1890
|
+
def statuses(self) -> pulumi.Output[Sequence['outputs.ConnectionStatus']]:
|
1891
|
+
"""
|
1892
|
+
(Output)
|
1893
|
+
Current status of eventing.
|
1894
|
+
Structure is documented below.
|
1895
|
+
"""
|
1896
|
+
return pulumi.get(self, "statuses")
|
1897
|
+
|
1898
|
+
@property
|
1899
|
+
@pulumi.getter(name="subscriptionType")
|
1900
|
+
def subscription_type(self) -> pulumi.Output[str]:
|
1901
|
+
"""
|
1902
|
+
This subscription type enum states the subscription type of the project.
|
1903
|
+
"""
|
1904
|
+
return pulumi.get(self, "subscription_type")
|
1905
|
+
|
1906
|
+
@property
|
1907
|
+
@pulumi.getter
|
1908
|
+
def suspended(self) -> pulumi.Output[Optional[bool]]:
|
1909
|
+
"""
|
1910
|
+
Suspended indicates if a user has suspended a connection or not.
|
1911
|
+
"""
|
1912
|
+
return pulumi.get(self, "suspended")
|
1913
|
+
|
1914
|
+
@property
|
1915
|
+
@pulumi.getter(name="updateTime")
|
1916
|
+
def update_time(self) -> pulumi.Output[str]:
|
1917
|
+
"""
|
1918
|
+
Time the Namespace was updated in UTC.
|
1919
|
+
"""
|
1920
|
+
return pulumi.get(self, "update_time")
|
1921
|
+
|