Show / Hide Table of Contents

Class GlobalNetworkEndpointGroup

A global network endpoint group contains endpoints that reside outside of Google Cloud. Currently a global network endpoint group can only support a single endpoint.

To get more information about GlobalNetworkEndpointGroup, see:

  • API documentation
  • How-to Guides
  • Official Documentation

Example Usage - Global Network Endpoint Group

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var neg = new Gcp.Compute.GlobalNetworkEndpointGroup("neg", new Gcp.Compute.GlobalNetworkEndpointGroupArgs
    {
        DefaultPort = "90",
        NetworkEndpointType = "INTERNET_FQDN_PORT",
    });
}

}

Example Usage - Global Network Endpoint Group Ip Address

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var neg = new Gcp.Compute.GlobalNetworkEndpointGroup("neg", new Gcp.Compute.GlobalNetworkEndpointGroupArgs
    {
        DefaultPort = 90,
        NetworkEndpointType = "INTERNET_IP_PORT",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
GlobalNetworkEndpointGroup
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public class GlobalNetworkEndpointGroup : CustomResource

Constructors

View Source

GlobalNetworkEndpointGroup(String, GlobalNetworkEndpointGroupArgs, CustomResourceOptions)

Create a GlobalNetworkEndpointGroup resource with the given unique name, arguments, and options.

Declaration
public GlobalNetworkEndpointGroup(string name, GlobalNetworkEndpointGroupArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

GlobalNetworkEndpointGroupArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

DefaultPort

The default port used if the port number is not specified in the network endpoint.

Declaration
public Output<int?> DefaultPort { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Description

An optional description of this resource. Provide this property when you create the resource.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NetworkEndpointType

Type of network endpoints in this network endpoint group.

Declaration
public Output<string> NetworkEndpointType { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

SelfLink

The URI of the created resource.

Declaration
public Output<string> SelfLink { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, GlobalNetworkEndpointGroupState, CustomResourceOptions)

Get an existing GlobalNetworkEndpointGroup resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static GlobalNetworkEndpointGroup Get(string name, Input<string> id, GlobalNetworkEndpointGroupState 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.

GlobalNetworkEndpointGroupState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
GlobalNetworkEndpointGroup
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.