Show / Hide Table of Contents

Class EndpointGroup

Manages a V2 Neutron Endpoint Group resource within OpenStack.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var group1 = new OpenStack.VPNaaS.EndpointGroup("group1", new OpenStack.VPNaaS.EndpointGroupArgs
    {
        Endpoints = 
        {
            "10.2.0.0/24",
            "10.3.0.0/24",
        },
        Type = "cidr",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
EndpointGroup
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.OpenStack.VPNaaS
Assembly: Pulumi.OpenStack.dll
Syntax
public class EndpointGroup : CustomResource

Constructors

View Source

EndpointGroup(String, EndpointGroupArgs, CustomResourceOptions)

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

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

The unique name of the resource

EndpointGroupArgs 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

Description

The human-readable description for the group. Changing this updates the description of the existing group.

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

Endpoints

List of endpoints of the same type, for the endpoint group. The values will depend on the type. Changing this creates a new group.

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

Name

The name of the group. Changing this updates the name of the existing group.

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

Region

The region in which to obtain the V2 Networking client. A Networking client is needed to create an endpoint group. If omitted, the region argument of the provider is used. Changing this creates a new group.

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

TenantId

The owner of the group. Required if admin wants to create an endpoint group for another project. Changing this creates a new group.

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

Type

The type of the endpoints in the group. A valid value is subnet, cidr, network, router, or vlan. Changing this creates a new group.

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

ValueSpecs

Map of additional options.

Declaration
public Output<ImmutableDictionary<string, object>> ValueSpecs { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

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

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

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

EndpointGroupState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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