GlobalNetworkEndpoint
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
Create a GlobalNetworkEndpoint Resource
new GlobalNetworkEndpoint(name: string, args: GlobalNetworkEndpointArgs, opts?: CustomResourceOptions);def GlobalNetworkEndpoint(resource_name, opts=None, fqdn=None, global_network_endpoint_group=None, ip_address=None, port=None, project=None, __props__=None);func NewGlobalNetworkEndpoint(ctx *Context, name string, args GlobalNetworkEndpointArgs, opts ...ResourceOption) (*GlobalNetworkEndpoint, error)public GlobalNetworkEndpoint(string name, GlobalNetworkEndpointArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args GlobalNetworkEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GlobalNetworkEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GlobalNetworkEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
GlobalNetworkEndpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The GlobalNetworkEndpoint resource accepts the following input properties:
- Global
Network stringEndpoint Group The global network endpoint group this endpoint is part of.
- Port int
Port number of the external endpoint.
- Fqdn string
Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT.
- Ip
Address string IPv4 address external endpoint.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Global
Network stringEndpoint Group The global network endpoint group this endpoint is part of.
- Port int
Port number of the external endpoint.
- Fqdn string
Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT.
- Ip
Address string IPv4 address external endpoint.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- global
Network stringEndpoint Group The global network endpoint group this endpoint is part of.
- port number
Port number of the external endpoint.
- fqdn string
Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT.
- ip
Address string IPv4 address external endpoint.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- global_
network_ strendpoint_ group The global network endpoint group this endpoint is part of.
- port float
Port number of the external endpoint.
- fqdn str
Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT.
- ip_
address str IPv4 address external endpoint.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the GlobalNetworkEndpoint resource produces the following output properties:
Look up an Existing GlobalNetworkEndpoint Resource
Get an existing GlobalNetworkEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GlobalNetworkEndpointState, opts?: CustomResourceOptions): GlobalNetworkEndpointstatic get(resource_name, id, opts=None, fqdn=None, global_network_endpoint_group=None, ip_address=None, port=None, project=None, __props__=None);func GetGlobalNetworkEndpoint(ctx *Context, name string, id IDInput, state *GlobalNetworkEndpointState, opts ...ResourceOption) (*GlobalNetworkEndpoint, error)public static GlobalNetworkEndpoint Get(string name, Input<string> id, GlobalNetworkEndpointState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Fqdn string
Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT.
- Global
Network stringEndpoint Group The global network endpoint group this endpoint is part of.
- Ip
Address string IPv4 address external endpoint.
- Port int
Port number of the external endpoint.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Fqdn string
Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT.
- Global
Network stringEndpoint Group The global network endpoint group this endpoint is part of.
- Ip
Address string IPv4 address external endpoint.
- Port int
Port number of the external endpoint.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- fqdn string
Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT.
- global
Network stringEndpoint Group The global network endpoint group this endpoint is part of.
- ip
Address string IPv4 address external endpoint.
- port number
Port number of the external endpoint.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- fqdn str
Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT.
- global_
network_ strendpoint_ group The global network endpoint group this endpoint is part of.
- ip_
address str IPv4 address external endpoint.
- port float
Port number of the external endpoint.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.