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",
});
}
}
Inherited Members
Namespace: Pulumi.OpenStack.VPNaaS
Assembly: Pulumi.OpenStack.dll
Syntax
public class EndpointGroup : CustomResource
Constructors
View SourceEndpointGroup(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 SourceDescription
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> |
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>> |
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> |
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> |
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> |
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> |
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 SourceGet(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 |