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",
        });
    }

}

Coming soon!

import pulumi
import pulumi_openstack as openstack

group1 = openstack.vpnaas.EndpointGroup("group1",
    endpoints=[
        "10.2.0.0/24",
        "10.3.0.0/24",
    ],
    type="cidr")
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";

const group1 = new openstack.vpnaas.EndpointGroup("group_1", {
    endpoints: [
        "10.2.0.0/24",
        "10.3.0.0/24",
    ],
    type: "cidr",
});

Create a EndpointGroup Resource

def EndpointGroup(resource_name, opts=None, description=None, endpoints=None, name=None, region=None, tenant_id=None, type=None, value_specs=None, __props__=None);
public EndpointGroup(string name, EndpointGroupArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args EndpointGroupArgs
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 EndpointGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EndpointGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

EndpointGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The EndpointGroup resource accepts the following input properties:

Description string

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

Endpoints List<string>

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

Name string

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

Region string

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.

TenantId string

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

Type string

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

ValueSpecs Dictionary<string, object>

Map of additional options.

Description string

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

Endpoints []string

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

Name string

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

Region string

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.

TenantId string

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

Type string

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

ValueSpecs map[string]interface{}

Map of additional options.

description string

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

endpoints string[]

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

name string

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

region string

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.

tenantId string

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

type string

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

valueSpecs {[key: string]: any}

Map of additional options.

description str

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

endpoints List[str]

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

name str

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

region str

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.

tenant_id str

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

type str

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

value_specs Dict[str, Any]

Map of additional options.

Outputs

All input properties are implicitly available as output properties. Additionally, the EndpointGroup resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing EndpointGroup Resource

Get an existing EndpointGroup 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?: EndpointGroupState, opts?: CustomResourceOptions): EndpointGroup
static get(resource_name, id, opts=None, description=None, endpoints=None, name=None, region=None, tenant_id=None, type=None, value_specs=None, __props__=None);
func GetEndpointGroup(ctx *Context, name string, id IDInput, state *EndpointGroupState, opts ...ResourceOption) (*EndpointGroup, error)
public static EndpointGroup Get(string name, Input<string> id, EndpointGroupState? 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:

Description string

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

Endpoints List<string>

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

Name string

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

Region string

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.

TenantId string

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

Type string

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

ValueSpecs Dictionary<string, object>

Map of additional options.

Description string

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

Endpoints []string

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

Name string

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

Region string

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.

TenantId string

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

Type string

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

ValueSpecs map[string]interface{}

Map of additional options.

description string

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

endpoints string[]

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

name string

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

region string

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.

tenantId string

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

type string

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

valueSpecs {[key: string]: any}

Map of additional options.

description str

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

endpoints List[str]

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

name str

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

region str

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.

tenant_id str

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

type str

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

value_specs Dict[str, Any]

Map of additional options.

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes
This Pulumi package is based on the openstack Terraform Provider.