Expand description
A Global Network endpoint represents a IP address and port combination that exists outside of GCP. NOTE: Global network endpoints cannot be created outside of a global network endpoint group.
To get more information about GlobalNetworkEndpoint, see:
- API documentation
- How-to Guides
§Example Usage
§Global Network Endpoint
resources:
default-endpoint:
type: gcp:compute:GlobalNetworkEndpoint
properties:
globalNetworkEndpointGroup: ${neg.name}
fqdn: www.example.com
port: 90
neg:
type: gcp:compute:GlobalNetworkEndpointGroup
properties:
name: my-lb-neg
defaultPort: '90'
networkEndpointType: INTERNET_FQDN_PORT
§Import
GlobalNetworkEndpoint can be imported using any of these accepted formats:
-
projects/{{project}}/global/networkEndpointGroups/{{global_network_endpoint_group}}/{{ip_address}}/{{fqdn}}/{{port}}
-
{{project}}/{{global_network_endpoint_group}}/{{ip_address}}/{{fqdn}}/{{port}}
-
{{global_network_endpoint_group}}/{{ip_address}}/{{fqdn}}/{{port}}
When using the pulumi import
command, GlobalNetworkEndpoint can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/globalNetworkEndpoint:GlobalNetworkEndpoint default projects/{{project}}/global/networkEndpointGroups/{{global_network_endpoint_group}}/{{ip_address}}/{{fqdn}}/{{port}}
$ pulumi import gcp:compute/globalNetworkEndpoint:GlobalNetworkEndpoint default {{project}}/{{global_network_endpoint_group}}/{{ip_address}}/{{fqdn}}/{{port}}
$ pulumi import gcp:compute/globalNetworkEndpoint:GlobalNetworkEndpoint default {{global_network_endpoint_group}}/{{ip_address}}/{{fqdn}}/{{port}}
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments