Class 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
- Official Documentation
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public class GlobalNetworkEndpoint : CustomResource
Constructors
View SourceGlobalNetworkEndpoint(String, GlobalNetworkEndpointArgs, CustomResourceOptions)
Create a GlobalNetworkEndpoint resource with the given unique name, arguments, and options.
Declaration
public GlobalNetworkEndpoint(string name, GlobalNetworkEndpointArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| GlobalNetworkEndpointArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceFqdn
Fully qualified domain name of network endpoint. This can only be specified when network_endpoint_type of the NEG is INTERNET_FQDN_PORT.
Declaration
public Output<string> Fqdn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GlobalNetworkEndpointGroup
The global network endpoint group this endpoint is part of.
Declaration
public Output<string> GlobalNetworkEndpointGroup { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IpAddress
IPv4 address external endpoint.
Declaration
public Output<string> IpAddress { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Port
Port number of the external endpoint.
Declaration
public Output<int> Port { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, GlobalNetworkEndpointState, CustomResourceOptions)
Get an existing GlobalNetworkEndpoint resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static GlobalNetworkEndpoint Get(string name, Input<string> id, GlobalNetworkEndpointState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| GlobalNetworkEndpointState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| GlobalNetworkEndpoint |