openstack

package
v5.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing OpenStack cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BgpvpnNetworkAssociateV2

type BgpvpnNetworkAssociateV2 struct {
	pulumi.CustomResourceState

	// The ID of the BGP VPN to which the network will be
	// associated. Changing this creates a new BGP VPN network association
	BgpvpnId pulumi.StringOutput `pulumi:"bgpvpnId"`
	// The ID of the network to be associated with the BGP
	// VPN. Changing this creates a new BGP VPN network association.
	NetworkId pulumi.StringOutput `pulumi:"networkId"`
	// The ID of the project that owns the BGP VPN network
	// association. Only administrative and users with `advsvc` role can specify a
	// project ID other than their own. Changing this creates a new BGP VPN network
	// association.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN network association. If
	// omitted, the `region` argument of the provider is used. Changing this creates
	// a new BGP VPN network association.
	Region pulumi.StringOutput `pulumi:"region"`
}

Manages a V2 BGP VPN network association resource within OpenStack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.NewBgpvpnNetworkAssociateV2(ctx, "association_1", &openstack.BgpvpnNetworkAssociateV2Args{
			BgpvpnId:  pulumi.String("e7189337-5684-46ee-bcb1-44f1a57066c9"),
			NetworkId: pulumi.String("de83d56c-4d2f-44f7-ac24-af393252204f"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

BGP VPN network associations can be imported using the BGP VPN ID and BGP VPN

network association ID separated by a slash, e.g.:

hcl

```sh $ pulumi import openstack:index/bgpvpnNetworkAssociateV2:BgpvpnNetworkAssociateV2 association_1 2145aaa9-edaa-44fb-9815-e47a96677a72/67bb952a-f9d1-4fc8-ae84-082253a879d4 ```

func GetBgpvpnNetworkAssociateV2

func GetBgpvpnNetworkAssociateV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BgpvpnNetworkAssociateV2State, opts ...pulumi.ResourceOption) (*BgpvpnNetworkAssociateV2, error)

GetBgpvpnNetworkAssociateV2 gets an existing BgpvpnNetworkAssociateV2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBgpvpnNetworkAssociateV2

func NewBgpvpnNetworkAssociateV2(ctx *pulumi.Context,
	name string, args *BgpvpnNetworkAssociateV2Args, opts ...pulumi.ResourceOption) (*BgpvpnNetworkAssociateV2, error)

NewBgpvpnNetworkAssociateV2 registers a new resource with the given unique name, arguments, and options.

func (*BgpvpnNetworkAssociateV2) ElementType

func (*BgpvpnNetworkAssociateV2) ElementType() reflect.Type

func (*BgpvpnNetworkAssociateV2) ToBgpvpnNetworkAssociateV2Output

func (i *BgpvpnNetworkAssociateV2) ToBgpvpnNetworkAssociateV2Output() BgpvpnNetworkAssociateV2Output

func (*BgpvpnNetworkAssociateV2) ToBgpvpnNetworkAssociateV2OutputWithContext

func (i *BgpvpnNetworkAssociateV2) ToBgpvpnNetworkAssociateV2OutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2Output

type BgpvpnNetworkAssociateV2Args

type BgpvpnNetworkAssociateV2Args struct {
	// The ID of the BGP VPN to which the network will be
	// associated. Changing this creates a new BGP VPN network association
	BgpvpnId pulumi.StringInput
	// The ID of the network to be associated with the BGP
	// VPN. Changing this creates a new BGP VPN network association.
	NetworkId pulumi.StringInput
	// The ID of the project that owns the BGP VPN network
	// association. Only administrative and users with `advsvc` role can specify a
	// project ID other than their own. Changing this creates a new BGP VPN network
	// association.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN network association. If
	// omitted, the `region` argument of the provider is used. Changing this creates
	// a new BGP VPN network association.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a BgpvpnNetworkAssociateV2 resource.

func (BgpvpnNetworkAssociateV2Args) ElementType

type BgpvpnNetworkAssociateV2Array

type BgpvpnNetworkAssociateV2Array []BgpvpnNetworkAssociateV2Input

func (BgpvpnNetworkAssociateV2Array) ElementType

func (BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutput

func (i BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutput() BgpvpnNetworkAssociateV2ArrayOutput

func (BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext

func (i BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2ArrayOutput

type BgpvpnNetworkAssociateV2ArrayInput

type BgpvpnNetworkAssociateV2ArrayInput interface {
	pulumi.Input

	ToBgpvpnNetworkAssociateV2ArrayOutput() BgpvpnNetworkAssociateV2ArrayOutput
	ToBgpvpnNetworkAssociateV2ArrayOutputWithContext(context.Context) BgpvpnNetworkAssociateV2ArrayOutput
}

BgpvpnNetworkAssociateV2ArrayInput is an input type that accepts BgpvpnNetworkAssociateV2Array and BgpvpnNetworkAssociateV2ArrayOutput values. You can construct a concrete instance of `BgpvpnNetworkAssociateV2ArrayInput` via:

BgpvpnNetworkAssociateV2Array{ BgpvpnNetworkAssociateV2Args{...} }

type BgpvpnNetworkAssociateV2ArrayOutput

type BgpvpnNetworkAssociateV2ArrayOutput struct{ *pulumi.OutputState }

func (BgpvpnNetworkAssociateV2ArrayOutput) ElementType

func (BgpvpnNetworkAssociateV2ArrayOutput) Index

func (BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutput

func (o BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutput() BgpvpnNetworkAssociateV2ArrayOutput

func (BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext

func (o BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2ArrayOutput

type BgpvpnNetworkAssociateV2Input

type BgpvpnNetworkAssociateV2Input interface {
	pulumi.Input

	ToBgpvpnNetworkAssociateV2Output() BgpvpnNetworkAssociateV2Output
	ToBgpvpnNetworkAssociateV2OutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2Output
}

type BgpvpnNetworkAssociateV2Map

type BgpvpnNetworkAssociateV2Map map[string]BgpvpnNetworkAssociateV2Input

func (BgpvpnNetworkAssociateV2Map) ElementType

func (BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutput

func (i BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutput() BgpvpnNetworkAssociateV2MapOutput

func (BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutputWithContext

func (i BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2MapOutput

type BgpvpnNetworkAssociateV2MapInput

type BgpvpnNetworkAssociateV2MapInput interface {
	pulumi.Input

	ToBgpvpnNetworkAssociateV2MapOutput() BgpvpnNetworkAssociateV2MapOutput
	ToBgpvpnNetworkAssociateV2MapOutputWithContext(context.Context) BgpvpnNetworkAssociateV2MapOutput
}

BgpvpnNetworkAssociateV2MapInput is an input type that accepts BgpvpnNetworkAssociateV2Map and BgpvpnNetworkAssociateV2MapOutput values. You can construct a concrete instance of `BgpvpnNetworkAssociateV2MapInput` via:

BgpvpnNetworkAssociateV2Map{ "key": BgpvpnNetworkAssociateV2Args{...} }

type BgpvpnNetworkAssociateV2MapOutput

type BgpvpnNetworkAssociateV2MapOutput struct{ *pulumi.OutputState }

func (BgpvpnNetworkAssociateV2MapOutput) ElementType

func (BgpvpnNetworkAssociateV2MapOutput) MapIndex

func (BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutput

func (o BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutput() BgpvpnNetworkAssociateV2MapOutput

func (BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutputWithContext

func (o BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2MapOutput

type BgpvpnNetworkAssociateV2Output

type BgpvpnNetworkAssociateV2Output struct{ *pulumi.OutputState }

func (BgpvpnNetworkAssociateV2Output) BgpvpnId

The ID of the BGP VPN to which the network will be associated. Changing this creates a new BGP VPN network association

func (BgpvpnNetworkAssociateV2Output) ElementType

func (BgpvpnNetworkAssociateV2Output) NetworkId

The ID of the network to be associated with the BGP VPN. Changing this creates a new BGP VPN network association.

func (BgpvpnNetworkAssociateV2Output) ProjectId

The ID of the project that owns the BGP VPN network association. Only administrative and users with `advsvc` role can specify a project ID other than their own. Changing this creates a new BGP VPN network association.

func (BgpvpnNetworkAssociateV2Output) Region

The region in which to obtain the V2 Networking client. A Networking client is needed to create a BGP VPN network association. If omitted, the `region` argument of the provider is used. Changing this creates a new BGP VPN network association.

func (BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2Output

func (o BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2Output() BgpvpnNetworkAssociateV2Output

func (BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2OutputWithContext

func (o BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2OutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2Output

type BgpvpnNetworkAssociateV2State

type BgpvpnNetworkAssociateV2State struct {
	// The ID of the BGP VPN to which the network will be
	// associated. Changing this creates a new BGP VPN network association
	BgpvpnId pulumi.StringPtrInput
	// The ID of the network to be associated with the BGP
	// VPN. Changing this creates a new BGP VPN network association.
	NetworkId pulumi.StringPtrInput
	// The ID of the project that owns the BGP VPN network
	// association. Only administrative and users with `advsvc` role can specify a
	// project ID other than their own. Changing this creates a new BGP VPN network
	// association.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN network association. If
	// omitted, the `region` argument of the provider is used. Changing this creates
	// a new BGP VPN network association.
	Region pulumi.StringPtrInput
}

func (BgpvpnNetworkAssociateV2State) ElementType

type BgpvpnPortAssociateV2

type BgpvpnPortAssociateV2 struct {
	pulumi.CustomResourceState

	// A boolean flag indicating whether fixed
	// IPs should be advertised. Defaults to true.
	AdvertiseFixedIps pulumi.BoolOutput `pulumi:"advertiseFixedIps"`
	// The ID of the BGP VPN to which the port will be
	// associated. Changing this creates a new BGP VPN port association.
	BgpvpnId pulumi.StringOutput `pulumi:"bgpvpnId"`
	// The ID of the port to be associated with the BGP VPN.
	// Changing this creates a new BGP VPN port association.
	PortId pulumi.StringOutput `pulumi:"portId"`
	// The ID of the project that owns the port
	// association. Only administrative and users with `advsvc` role can specify a
	// project ID other than their own. Changing this creates a new BGP VPN port
	// association.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN port association. If
	// omitted, the `region` argument of the provider is used. Changing this creates
	// a new BGP VPN port association.
	Region pulumi.StringOutput `pulumi:"region"`
	// A list of dictionaries containing the following keys:
	Routes BgpvpnPortAssociateV2RouteArrayOutput `pulumi:"routes"`
}

Manages a V2 BGP VPN port association resource within OpenStack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.NewBgpvpnPortAssociateV2(ctx, "association_1", &openstack.BgpvpnPortAssociateV2Args{
			BgpvpnId: pulumi.String("19382ec5-8098-47d9-a9c6-6270c91103f4"),
			PortId:   pulumi.String("b83a95b8-c2c8-4eac-9a9e-ddc85bd1266f"),
			Routes: openstack.BgpvpnPortAssociateV2RouteArray{
				&openstack.BgpvpnPortAssociateV2RouteArgs{
					Type:   pulumi.String("prefix"),
					Prefix: pulumi.String("192.168.170.1/32"),
				},
				&openstack.BgpvpnPortAssociateV2RouteArgs{
					Type:     pulumi.String("bgpvpn"),
					BgpvpnId: pulumi.String("35af1cc6-3d0f-4c5d-86f8-8cdb508d3f0c"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

BGP VPN port associations can be imported using the BGP VPN ID and BGP VPN port

association ID separated by a slash, e.g.:

hcl

```sh $ pulumi import openstack:index/bgpvpnPortAssociateV2:BgpvpnPortAssociateV2 association_1 5bb44ecf-f8fe-4d75-8fc5-313f96ee2696/8f8fc660-3f28-414e-896a-0c7c51162fcf ```

func GetBgpvpnPortAssociateV2

func GetBgpvpnPortAssociateV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BgpvpnPortAssociateV2State, opts ...pulumi.ResourceOption) (*BgpvpnPortAssociateV2, error)

GetBgpvpnPortAssociateV2 gets an existing BgpvpnPortAssociateV2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBgpvpnPortAssociateV2

func NewBgpvpnPortAssociateV2(ctx *pulumi.Context,
	name string, args *BgpvpnPortAssociateV2Args, opts ...pulumi.ResourceOption) (*BgpvpnPortAssociateV2, error)

NewBgpvpnPortAssociateV2 registers a new resource with the given unique name, arguments, and options.

func (*BgpvpnPortAssociateV2) ElementType

func (*BgpvpnPortAssociateV2) ElementType() reflect.Type

func (*BgpvpnPortAssociateV2) ToBgpvpnPortAssociateV2Output

func (i *BgpvpnPortAssociateV2) ToBgpvpnPortAssociateV2Output() BgpvpnPortAssociateV2Output

func (*BgpvpnPortAssociateV2) ToBgpvpnPortAssociateV2OutputWithContext

func (i *BgpvpnPortAssociateV2) ToBgpvpnPortAssociateV2OutputWithContext(ctx context.Context) BgpvpnPortAssociateV2Output

type BgpvpnPortAssociateV2Args

type BgpvpnPortAssociateV2Args struct {
	// A boolean flag indicating whether fixed
	// IPs should be advertised. Defaults to true.
	AdvertiseFixedIps pulumi.BoolPtrInput
	// The ID of the BGP VPN to which the port will be
	// associated. Changing this creates a new BGP VPN port association.
	BgpvpnId pulumi.StringInput
	// The ID of the port to be associated with the BGP VPN.
	// Changing this creates a new BGP VPN port association.
	PortId pulumi.StringInput
	// The ID of the project that owns the port
	// association. Only administrative and users with `advsvc` role can specify a
	// project ID other than their own. Changing this creates a new BGP VPN port
	// association.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN port association. If
	// omitted, the `region` argument of the provider is used. Changing this creates
	// a new BGP VPN port association.
	Region pulumi.StringPtrInput
	// A list of dictionaries containing the following keys:
	Routes BgpvpnPortAssociateV2RouteArrayInput
}

The set of arguments for constructing a BgpvpnPortAssociateV2 resource.

func (BgpvpnPortAssociateV2Args) ElementType

func (BgpvpnPortAssociateV2Args) ElementType() reflect.Type

type BgpvpnPortAssociateV2Array

type BgpvpnPortAssociateV2Array []BgpvpnPortAssociateV2Input

func (BgpvpnPortAssociateV2Array) ElementType

func (BgpvpnPortAssociateV2Array) ElementType() reflect.Type

func (BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutput

func (i BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutput() BgpvpnPortAssociateV2ArrayOutput

func (BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutputWithContext

func (i BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2ArrayOutput

type BgpvpnPortAssociateV2ArrayInput

type BgpvpnPortAssociateV2ArrayInput interface {
	pulumi.Input

	ToBgpvpnPortAssociateV2ArrayOutput() BgpvpnPortAssociateV2ArrayOutput
	ToBgpvpnPortAssociateV2ArrayOutputWithContext(context.Context) BgpvpnPortAssociateV2ArrayOutput
}

BgpvpnPortAssociateV2ArrayInput is an input type that accepts BgpvpnPortAssociateV2Array and BgpvpnPortAssociateV2ArrayOutput values. You can construct a concrete instance of `BgpvpnPortAssociateV2ArrayInput` via:

BgpvpnPortAssociateV2Array{ BgpvpnPortAssociateV2Args{...} }

type BgpvpnPortAssociateV2ArrayOutput

type BgpvpnPortAssociateV2ArrayOutput struct{ *pulumi.OutputState }

func (BgpvpnPortAssociateV2ArrayOutput) ElementType

func (BgpvpnPortAssociateV2ArrayOutput) Index

func (BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutput

func (o BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutput() BgpvpnPortAssociateV2ArrayOutput

func (BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutputWithContext

func (o BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2ArrayOutput

type BgpvpnPortAssociateV2Input

type BgpvpnPortAssociateV2Input interface {
	pulumi.Input

	ToBgpvpnPortAssociateV2Output() BgpvpnPortAssociateV2Output
	ToBgpvpnPortAssociateV2OutputWithContext(ctx context.Context) BgpvpnPortAssociateV2Output
}

type BgpvpnPortAssociateV2Map

type BgpvpnPortAssociateV2Map map[string]BgpvpnPortAssociateV2Input

func (BgpvpnPortAssociateV2Map) ElementType

func (BgpvpnPortAssociateV2Map) ElementType() reflect.Type

func (BgpvpnPortAssociateV2Map) ToBgpvpnPortAssociateV2MapOutput

func (i BgpvpnPortAssociateV2Map) ToBgpvpnPortAssociateV2MapOutput() BgpvpnPortAssociateV2MapOutput

func (BgpvpnPortAssociateV2Map) ToBgpvpnPortAssociateV2MapOutputWithContext

func (i BgpvpnPortAssociateV2Map) ToBgpvpnPortAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2MapOutput

type BgpvpnPortAssociateV2MapInput

type BgpvpnPortAssociateV2MapInput interface {
	pulumi.Input

	ToBgpvpnPortAssociateV2MapOutput() BgpvpnPortAssociateV2MapOutput
	ToBgpvpnPortAssociateV2MapOutputWithContext(context.Context) BgpvpnPortAssociateV2MapOutput
}

BgpvpnPortAssociateV2MapInput is an input type that accepts BgpvpnPortAssociateV2Map and BgpvpnPortAssociateV2MapOutput values. You can construct a concrete instance of `BgpvpnPortAssociateV2MapInput` via:

BgpvpnPortAssociateV2Map{ "key": BgpvpnPortAssociateV2Args{...} }

type BgpvpnPortAssociateV2MapOutput

type BgpvpnPortAssociateV2MapOutput struct{ *pulumi.OutputState }

func (BgpvpnPortAssociateV2MapOutput) ElementType

func (BgpvpnPortAssociateV2MapOutput) MapIndex

func (BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutput

func (o BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutput() BgpvpnPortAssociateV2MapOutput

func (BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutputWithContext

func (o BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2MapOutput

type BgpvpnPortAssociateV2Output

type BgpvpnPortAssociateV2Output struct{ *pulumi.OutputState }

func (BgpvpnPortAssociateV2Output) AdvertiseFixedIps

func (o BgpvpnPortAssociateV2Output) AdvertiseFixedIps() pulumi.BoolOutput

A boolean flag indicating whether fixed IPs should be advertised. Defaults to true.

func (BgpvpnPortAssociateV2Output) BgpvpnId

The ID of the BGP VPN to which the port will be associated. Changing this creates a new BGP VPN port association.

func (BgpvpnPortAssociateV2Output) ElementType

func (BgpvpnPortAssociateV2Output) PortId

The ID of the port to be associated with the BGP VPN. Changing this creates a new BGP VPN port association.

func (BgpvpnPortAssociateV2Output) ProjectId

The ID of the project that owns the port association. Only administrative and users with `advsvc` role can specify a project ID other than their own. Changing this creates a new BGP VPN port association.

func (BgpvpnPortAssociateV2Output) Region

The region in which to obtain the V2 Networking client. A Networking client is needed to create a BGP VPN port association. If omitted, the `region` argument of the provider is used. Changing this creates a new BGP VPN port association.

func (BgpvpnPortAssociateV2Output) Routes

A list of dictionaries containing the following keys:

func (BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2Output

func (o BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2Output() BgpvpnPortAssociateV2Output

func (BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2OutputWithContext

func (o BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2OutputWithContext(ctx context.Context) BgpvpnPortAssociateV2Output

type BgpvpnPortAssociateV2Route

type BgpvpnPortAssociateV2Route struct {
	// The ID of the BGP VPN to be advertised. Required
	// if `type` is `bgpvpn`. Conflicts with `prefix`.
	BgpvpnId *string `pulumi:"bgpvpnId"`
	// The BGP LOCAL\_PREF value of the routes that will
	// be advertised.
	LocalPref *int `pulumi:"localPref"`
	// The CIDR prefix (v4 or v6) to be advertised. Required
	// if `type` is `prefix`. Conflicts with `bgpvpnId`.
	Prefix *string `pulumi:"prefix"`
	// Can be `prefix` or `bgpvpn`. For the `prefix` type, the
	// CIDR prefix (v4 or v6) must be specified in the `prefix` key. For the
	// `bgpvpn` type, the BGP VPN ID must be specified in the `bgpvpnId` key.
	Type string `pulumi:"type"`
}

type BgpvpnPortAssociateV2RouteArgs

type BgpvpnPortAssociateV2RouteArgs struct {
	// The ID of the BGP VPN to be advertised. Required
	// if `type` is `bgpvpn`. Conflicts with `prefix`.
	BgpvpnId pulumi.StringPtrInput `pulumi:"bgpvpnId"`
	// The BGP LOCAL\_PREF value of the routes that will
	// be advertised.
	LocalPref pulumi.IntPtrInput `pulumi:"localPref"`
	// The CIDR prefix (v4 or v6) to be advertised. Required
	// if `type` is `prefix`. Conflicts with `bgpvpnId`.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// Can be `prefix` or `bgpvpn`. For the `prefix` type, the
	// CIDR prefix (v4 or v6) must be specified in the `prefix` key. For the
	// `bgpvpn` type, the BGP VPN ID must be specified in the `bgpvpnId` key.
	Type pulumi.StringInput `pulumi:"type"`
}

func (BgpvpnPortAssociateV2RouteArgs) ElementType

func (BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutput

func (i BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutput() BgpvpnPortAssociateV2RouteOutput

func (BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutputWithContext

func (i BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteOutput

type BgpvpnPortAssociateV2RouteArray

type BgpvpnPortAssociateV2RouteArray []BgpvpnPortAssociateV2RouteInput

func (BgpvpnPortAssociateV2RouteArray) ElementType

func (BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutput

func (i BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutput() BgpvpnPortAssociateV2RouteArrayOutput

func (BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext

func (i BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteArrayOutput

type BgpvpnPortAssociateV2RouteArrayInput

type BgpvpnPortAssociateV2RouteArrayInput interface {
	pulumi.Input

	ToBgpvpnPortAssociateV2RouteArrayOutput() BgpvpnPortAssociateV2RouteArrayOutput
	ToBgpvpnPortAssociateV2RouteArrayOutputWithContext(context.Context) BgpvpnPortAssociateV2RouteArrayOutput
}

BgpvpnPortAssociateV2RouteArrayInput is an input type that accepts BgpvpnPortAssociateV2RouteArray and BgpvpnPortAssociateV2RouteArrayOutput values. You can construct a concrete instance of `BgpvpnPortAssociateV2RouteArrayInput` via:

BgpvpnPortAssociateV2RouteArray{ BgpvpnPortAssociateV2RouteArgs{...} }

type BgpvpnPortAssociateV2RouteArrayOutput

type BgpvpnPortAssociateV2RouteArrayOutput struct{ *pulumi.OutputState }

func (BgpvpnPortAssociateV2RouteArrayOutput) ElementType

func (BgpvpnPortAssociateV2RouteArrayOutput) Index

func (BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutput

func (o BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutput() BgpvpnPortAssociateV2RouteArrayOutput

func (BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext

func (o BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteArrayOutput

type BgpvpnPortAssociateV2RouteInput

type BgpvpnPortAssociateV2RouteInput interface {
	pulumi.Input

	ToBgpvpnPortAssociateV2RouteOutput() BgpvpnPortAssociateV2RouteOutput
	ToBgpvpnPortAssociateV2RouteOutputWithContext(context.Context) BgpvpnPortAssociateV2RouteOutput
}

BgpvpnPortAssociateV2RouteInput is an input type that accepts BgpvpnPortAssociateV2RouteArgs and BgpvpnPortAssociateV2RouteOutput values. You can construct a concrete instance of `BgpvpnPortAssociateV2RouteInput` via:

BgpvpnPortAssociateV2RouteArgs{...}

type BgpvpnPortAssociateV2RouteOutput

type BgpvpnPortAssociateV2RouteOutput struct{ *pulumi.OutputState }

func (BgpvpnPortAssociateV2RouteOutput) BgpvpnId

The ID of the BGP VPN to be advertised. Required if `type` is `bgpvpn`. Conflicts with `prefix`.

func (BgpvpnPortAssociateV2RouteOutput) ElementType

func (BgpvpnPortAssociateV2RouteOutput) LocalPref

The BGP LOCAL\_PREF value of the routes that will be advertised.

func (BgpvpnPortAssociateV2RouteOutput) Prefix

The CIDR prefix (v4 or v6) to be advertised. Required if `type` is `prefix`. Conflicts with `bgpvpnId`.

func (BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutput

func (o BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutput() BgpvpnPortAssociateV2RouteOutput

func (BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutputWithContext

func (o BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteOutput

func (BgpvpnPortAssociateV2RouteOutput) Type

Can be `prefix` or `bgpvpn`. For the `prefix` type, the CIDR prefix (v4 or v6) must be specified in the `prefix` key. For the `bgpvpn` type, the BGP VPN ID must be specified in the `bgpvpnId` key.

type BgpvpnPortAssociateV2State

type BgpvpnPortAssociateV2State struct {
	// A boolean flag indicating whether fixed
	// IPs should be advertised. Defaults to true.
	AdvertiseFixedIps pulumi.BoolPtrInput
	// The ID of the BGP VPN to which the port will be
	// associated. Changing this creates a new BGP VPN port association.
	BgpvpnId pulumi.StringPtrInput
	// The ID of the port to be associated with the BGP VPN.
	// Changing this creates a new BGP VPN port association.
	PortId pulumi.StringPtrInput
	// The ID of the project that owns the port
	// association. Only administrative and users with `advsvc` role can specify a
	// project ID other than their own. Changing this creates a new BGP VPN port
	// association.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN port association. If
	// omitted, the `region` argument of the provider is used. Changing this creates
	// a new BGP VPN port association.
	Region pulumi.StringPtrInput
	// A list of dictionaries containing the following keys:
	Routes BgpvpnPortAssociateV2RouteArrayInput
}

func (BgpvpnPortAssociateV2State) ElementType

func (BgpvpnPortAssociateV2State) ElementType() reflect.Type

type BgpvpnRouterAssociateV2

type BgpvpnRouterAssociateV2 struct {
	pulumi.CustomResourceState

	// A boolean flag indicating whether extra
	// routes should be advertised. Defaults to true.
	AdvertiseExtraRoutes pulumi.BoolOutput `pulumi:"advertiseExtraRoutes"`
	// The ID of the BGP VPN to which the router will be
	// associated. Changing this creates a new BGP VPN router association.
	BgpvpnId pulumi.StringOutput `pulumi:"bgpvpnId"`
	// The ID of the project that owns the BGP VPN router
	// association. Only administrative and users with `advsvc` role can specify a
	// project ID other than their own. Changing this creates a new BGP VPN router
	// association.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN router association. If
	// omitted, the `region` argument of the provider is used. Changing this creates
	// a new BGP VPN router association.
	Region pulumi.StringOutput `pulumi:"region"`
	// The ID of the router to be associated with the BGP
	// VPN. Changing this creates a new BGP VPN router association.
	RouterId pulumi.StringOutput `pulumi:"routerId"`
}

Manages a V2 BGP VPN router association resource within OpenStack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.NewBgpvpnRouterAssociateV2(ctx, "association_1", &openstack.BgpvpnRouterAssociateV2Args{
			BgpvpnId: pulumi.String("d57d39e1-dc63-44fd-8cbd-a4e1488100c5"),
			RouterId: pulumi.String("423fa80f-e0d7-4d02-a9a5-8b8c05812bf6"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

BGP VPN router associations can be imported using the BGP VPN ID and BGP VPN

router association ID separated by a slash, e.g.:

hcl

```sh $ pulumi import openstack:index/bgpvpnRouterAssociateV2:BgpvpnRouterAssociateV2 association_1 e26d509e-fc2d-4fb5-8562-619911a9a6bc/3cc9df2d-80db-4536-8ba6-295d1d0f723f ```

func GetBgpvpnRouterAssociateV2

func GetBgpvpnRouterAssociateV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BgpvpnRouterAssociateV2State, opts ...pulumi.ResourceOption) (*BgpvpnRouterAssociateV2, error)

GetBgpvpnRouterAssociateV2 gets an existing BgpvpnRouterAssociateV2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBgpvpnRouterAssociateV2

func NewBgpvpnRouterAssociateV2(ctx *pulumi.Context,
	name string, args *BgpvpnRouterAssociateV2Args, opts ...pulumi.ResourceOption) (*BgpvpnRouterAssociateV2, error)

NewBgpvpnRouterAssociateV2 registers a new resource with the given unique name, arguments, and options.

func (*BgpvpnRouterAssociateV2) ElementType

func (*BgpvpnRouterAssociateV2) ElementType() reflect.Type

func (*BgpvpnRouterAssociateV2) ToBgpvpnRouterAssociateV2Output

func (i *BgpvpnRouterAssociateV2) ToBgpvpnRouterAssociateV2Output() BgpvpnRouterAssociateV2Output

func (*BgpvpnRouterAssociateV2) ToBgpvpnRouterAssociateV2OutputWithContext

func (i *BgpvpnRouterAssociateV2) ToBgpvpnRouterAssociateV2OutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2Output

type BgpvpnRouterAssociateV2Args

type BgpvpnRouterAssociateV2Args struct {
	// A boolean flag indicating whether extra
	// routes should be advertised. Defaults to true.
	AdvertiseExtraRoutes pulumi.BoolPtrInput
	// The ID of the BGP VPN to which the router will be
	// associated. Changing this creates a new BGP VPN router association.
	BgpvpnId pulumi.StringInput
	// The ID of the project that owns the BGP VPN router
	// association. Only administrative and users with `advsvc` role can specify a
	// project ID other than their own. Changing this creates a new BGP VPN router
	// association.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN router association. If
	// omitted, the `region` argument of the provider is used. Changing this creates
	// a new BGP VPN router association.
	Region pulumi.StringPtrInput
	// The ID of the router to be associated with the BGP
	// VPN. Changing this creates a new BGP VPN router association.
	RouterId pulumi.StringInput
}

The set of arguments for constructing a BgpvpnRouterAssociateV2 resource.

func (BgpvpnRouterAssociateV2Args) ElementType

type BgpvpnRouterAssociateV2Array

type BgpvpnRouterAssociateV2Array []BgpvpnRouterAssociateV2Input

func (BgpvpnRouterAssociateV2Array) ElementType

func (BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutput

func (i BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutput() BgpvpnRouterAssociateV2ArrayOutput

func (BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutputWithContext

func (i BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2ArrayOutput

type BgpvpnRouterAssociateV2ArrayInput

type BgpvpnRouterAssociateV2ArrayInput interface {
	pulumi.Input

	ToBgpvpnRouterAssociateV2ArrayOutput() BgpvpnRouterAssociateV2ArrayOutput
	ToBgpvpnRouterAssociateV2ArrayOutputWithContext(context.Context) BgpvpnRouterAssociateV2ArrayOutput
}

BgpvpnRouterAssociateV2ArrayInput is an input type that accepts BgpvpnRouterAssociateV2Array and BgpvpnRouterAssociateV2ArrayOutput values. You can construct a concrete instance of `BgpvpnRouterAssociateV2ArrayInput` via:

BgpvpnRouterAssociateV2Array{ BgpvpnRouterAssociateV2Args{...} }

type BgpvpnRouterAssociateV2ArrayOutput

type BgpvpnRouterAssociateV2ArrayOutput struct{ *pulumi.OutputState }

func (BgpvpnRouterAssociateV2ArrayOutput) ElementType

func (BgpvpnRouterAssociateV2ArrayOutput) Index

func (BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutput

func (o BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutput() BgpvpnRouterAssociateV2ArrayOutput

func (BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutputWithContext

func (o BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2ArrayOutput

type BgpvpnRouterAssociateV2Input

type BgpvpnRouterAssociateV2Input interface {
	pulumi.Input

	ToBgpvpnRouterAssociateV2Output() BgpvpnRouterAssociateV2Output
	ToBgpvpnRouterAssociateV2OutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2Output
}

type BgpvpnRouterAssociateV2Map

type BgpvpnRouterAssociateV2Map map[string]BgpvpnRouterAssociateV2Input

func (BgpvpnRouterAssociateV2Map) ElementType

func (BgpvpnRouterAssociateV2Map) ElementType() reflect.Type

func (BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutput

func (i BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutput() BgpvpnRouterAssociateV2MapOutput

func (BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutputWithContext

func (i BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2MapOutput

type BgpvpnRouterAssociateV2MapInput

type BgpvpnRouterAssociateV2MapInput interface {
	pulumi.Input

	ToBgpvpnRouterAssociateV2MapOutput() BgpvpnRouterAssociateV2MapOutput
	ToBgpvpnRouterAssociateV2MapOutputWithContext(context.Context) BgpvpnRouterAssociateV2MapOutput
}

BgpvpnRouterAssociateV2MapInput is an input type that accepts BgpvpnRouterAssociateV2Map and BgpvpnRouterAssociateV2MapOutput values. You can construct a concrete instance of `BgpvpnRouterAssociateV2MapInput` via:

BgpvpnRouterAssociateV2Map{ "key": BgpvpnRouterAssociateV2Args{...} }

type BgpvpnRouterAssociateV2MapOutput

type BgpvpnRouterAssociateV2MapOutput struct{ *pulumi.OutputState }

func (BgpvpnRouterAssociateV2MapOutput) ElementType

func (BgpvpnRouterAssociateV2MapOutput) MapIndex

func (BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutput

func (o BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutput() BgpvpnRouterAssociateV2MapOutput

func (BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutputWithContext

func (o BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2MapOutput

type BgpvpnRouterAssociateV2Output

type BgpvpnRouterAssociateV2Output struct{ *pulumi.OutputState }

func (BgpvpnRouterAssociateV2Output) AdvertiseExtraRoutes

func (o BgpvpnRouterAssociateV2Output) AdvertiseExtraRoutes() pulumi.BoolOutput

A boolean flag indicating whether extra routes should be advertised. Defaults to true.

func (BgpvpnRouterAssociateV2Output) BgpvpnId

The ID of the BGP VPN to which the router will be associated. Changing this creates a new BGP VPN router association.

func (BgpvpnRouterAssociateV2Output) ElementType

func (BgpvpnRouterAssociateV2Output) ProjectId

The ID of the project that owns the BGP VPN router association. Only administrative and users with `advsvc` role can specify a project ID other than their own. Changing this creates a new BGP VPN router association.

func (BgpvpnRouterAssociateV2Output) Region

The region in which to obtain the V2 Networking client. A Networking client is needed to create a BGP VPN router association. If omitted, the `region` argument of the provider is used. Changing this creates a new BGP VPN router association.

func (BgpvpnRouterAssociateV2Output) RouterId

The ID of the router to be associated with the BGP VPN. Changing this creates a new BGP VPN router association.

func (BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2Output

func (o BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2Output() BgpvpnRouterAssociateV2Output

func (BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2OutputWithContext

func (o BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2OutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2Output

type BgpvpnRouterAssociateV2State

type BgpvpnRouterAssociateV2State struct {
	// A boolean flag indicating whether extra
	// routes should be advertised. Defaults to true.
	AdvertiseExtraRoutes pulumi.BoolPtrInput
	// The ID of the BGP VPN to which the router will be
	// associated. Changing this creates a new BGP VPN router association.
	BgpvpnId pulumi.StringPtrInput
	// The ID of the project that owns the BGP VPN router
	// association. Only administrative and users with `advsvc` role can specify a
	// project ID other than their own. Changing this creates a new BGP VPN router
	// association.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN router association. If
	// omitted, the `region` argument of the provider is used. Changing this creates
	// a new BGP VPN router association.
	Region pulumi.StringPtrInput
	// The ID of the router to be associated with the BGP
	// VPN. Changing this creates a new BGP VPN router association.
	RouterId pulumi.StringPtrInput
}

func (BgpvpnRouterAssociateV2State) ElementType

type BgpvpnV2

type BgpvpnV2 struct {
	pulumi.CustomResourceState

	// A list of additional Route Targets that will be
	// used for export.
	ExportTargets pulumi.StringArrayOutput `pulumi:"exportTargets"`
	// A list of additional Route Targets that will be
	// imported.
	ImportTargets pulumi.StringArrayOutput `pulumi:"importTargets"`
	// The default BGP LOCAL\_PREF of routes that will be
	// advertised to the BGP VPN, unless overridden per-route.
	LocalPref pulumi.IntPtrOutput `pulumi:"localPref"`
	// The name of the BGP VPN. Changing this updates the name of
	// the existing BGP VPN.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of network IDs that are associated with the BGP VPN.
	Networks pulumi.StringArrayOutput `pulumi:"networks"`
	// A list of port IDs that are associated with the BGP VPN.
	Ports pulumi.StringArrayOutput `pulumi:"ports"`
	// The ID of the project that owns the BGPVPN. Only
	// administrative and users with `advsvc` role can specify a project ID other
	// than their own. Changing this creates a new BGP VPN.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// BGP VPN.
	Region pulumi.StringOutput `pulumi:"region"`
	// A list of route distinguisher strings. If
	// specified, one of these RDs will be used to advertise VPN routes.
	RouteDistinguishers pulumi.StringArrayOutput `pulumi:"routeDistinguishers"`
	// A list of Route Targets that will be both
	// imported and used for export.
	RouteTargets pulumi.StringArrayOutput `pulumi:"routeTargets"`
	// A list of router IDs that are associated with the BGP VPN.
	Routers pulumi.StringArrayOutput `pulumi:"routers"`
	// Indicates whether the BGP VPN is shared across projects.
	Shared pulumi.BoolOutput `pulumi:"shared"`
	// The type of the BGP VPN (either `l2` or `l3`). Changing this
	// creates a new BGP VPN. Defaults to `l3`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The globally-assigned VXLAN VNI for the BGP VPN. Changing
	// this creates a new BGP VPN.
	Vni pulumi.IntPtrOutput `pulumi:"vni"`
}

Manages a V2 BGP VPN service resource within OpenStack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.NewBgpvpnV2(ctx, "bgpvpn_1", &openstack.BgpvpnV2Args{
			Name: pulumi.String("bgpvpn1"),
			RouteDistinguishers: pulumi.StringArray{
				pulumi.String("64512:1"),
			},
			RouteTargets: pulumi.StringArray{
				pulumi.String("64512:1"),
			},
			ImportTargets: pulumi.StringArray{
				pulumi.String("64512:2"),
			},
			ExportTargets: pulumi.StringArray{
				pulumi.String("64512:3"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

BGP VPNs can be imported using the `id`, e.g.

hcl

```sh $ pulumi import openstack:index/bgpvpnV2:BgpvpnV2 bgpvpn_1 1eec2c66-6be2-4305-af3f-354c9b81f18c ```

func GetBgpvpnV2

func GetBgpvpnV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BgpvpnV2State, opts ...pulumi.ResourceOption) (*BgpvpnV2, error)

GetBgpvpnV2 gets an existing BgpvpnV2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBgpvpnV2

func NewBgpvpnV2(ctx *pulumi.Context,
	name string, args *BgpvpnV2Args, opts ...pulumi.ResourceOption) (*BgpvpnV2, error)

NewBgpvpnV2 registers a new resource with the given unique name, arguments, and options.

func (*BgpvpnV2) ElementType

func (*BgpvpnV2) ElementType() reflect.Type

func (*BgpvpnV2) ToBgpvpnV2Output

func (i *BgpvpnV2) ToBgpvpnV2Output() BgpvpnV2Output

func (*BgpvpnV2) ToBgpvpnV2OutputWithContext

func (i *BgpvpnV2) ToBgpvpnV2OutputWithContext(ctx context.Context) BgpvpnV2Output

type BgpvpnV2Args

type BgpvpnV2Args struct {
	// A list of additional Route Targets that will be
	// used for export.
	ExportTargets pulumi.StringArrayInput
	// A list of additional Route Targets that will be
	// imported.
	ImportTargets pulumi.StringArrayInput
	// The default BGP LOCAL\_PREF of routes that will be
	// advertised to the BGP VPN, unless overridden per-route.
	LocalPref pulumi.IntPtrInput
	// The name of the BGP VPN. Changing this updates the name of
	// the existing BGP VPN.
	Name pulumi.StringPtrInput
	// The ID of the project that owns the BGPVPN. Only
	// administrative and users with `advsvc` role can specify a project ID other
	// than their own. Changing this creates a new BGP VPN.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// BGP VPN.
	Region pulumi.StringPtrInput
	// A list of route distinguisher strings. If
	// specified, one of these RDs will be used to advertise VPN routes.
	RouteDistinguishers pulumi.StringArrayInput
	// A list of Route Targets that will be both
	// imported and used for export.
	RouteTargets pulumi.StringArrayInput
	// The type of the BGP VPN (either `l2` or `l3`). Changing this
	// creates a new BGP VPN. Defaults to `l3`.
	Type pulumi.StringPtrInput
	// The globally-assigned VXLAN VNI for the BGP VPN. Changing
	// this creates a new BGP VPN.
	Vni pulumi.IntPtrInput
}

The set of arguments for constructing a BgpvpnV2 resource.

func (BgpvpnV2Args) ElementType

func (BgpvpnV2Args) ElementType() reflect.Type

type BgpvpnV2Array

type BgpvpnV2Array []BgpvpnV2Input

func (BgpvpnV2Array) ElementType

func (BgpvpnV2Array) ElementType() reflect.Type

func (BgpvpnV2Array) ToBgpvpnV2ArrayOutput

func (i BgpvpnV2Array) ToBgpvpnV2ArrayOutput() BgpvpnV2ArrayOutput

func (BgpvpnV2Array) ToBgpvpnV2ArrayOutputWithContext

func (i BgpvpnV2Array) ToBgpvpnV2ArrayOutputWithContext(ctx context.Context) BgpvpnV2ArrayOutput

type BgpvpnV2ArrayInput

type BgpvpnV2ArrayInput interface {
	pulumi.Input

	ToBgpvpnV2ArrayOutput() BgpvpnV2ArrayOutput
	ToBgpvpnV2ArrayOutputWithContext(context.Context) BgpvpnV2ArrayOutput
}

BgpvpnV2ArrayInput is an input type that accepts BgpvpnV2Array and BgpvpnV2ArrayOutput values. You can construct a concrete instance of `BgpvpnV2ArrayInput` via:

BgpvpnV2Array{ BgpvpnV2Args{...} }

type BgpvpnV2ArrayOutput

type BgpvpnV2ArrayOutput struct{ *pulumi.OutputState }

func (BgpvpnV2ArrayOutput) ElementType

func (BgpvpnV2ArrayOutput) ElementType() reflect.Type

func (BgpvpnV2ArrayOutput) Index

func (BgpvpnV2ArrayOutput) ToBgpvpnV2ArrayOutput

func (o BgpvpnV2ArrayOutput) ToBgpvpnV2ArrayOutput() BgpvpnV2ArrayOutput

func (BgpvpnV2ArrayOutput) ToBgpvpnV2ArrayOutputWithContext

func (o BgpvpnV2ArrayOutput) ToBgpvpnV2ArrayOutputWithContext(ctx context.Context) BgpvpnV2ArrayOutput

type BgpvpnV2Input

type BgpvpnV2Input interface {
	pulumi.Input

	ToBgpvpnV2Output() BgpvpnV2Output
	ToBgpvpnV2OutputWithContext(ctx context.Context) BgpvpnV2Output
}

type BgpvpnV2Map

type BgpvpnV2Map map[string]BgpvpnV2Input

func (BgpvpnV2Map) ElementType

func (BgpvpnV2Map) ElementType() reflect.Type

func (BgpvpnV2Map) ToBgpvpnV2MapOutput

func (i BgpvpnV2Map) ToBgpvpnV2MapOutput() BgpvpnV2MapOutput

func (BgpvpnV2Map) ToBgpvpnV2MapOutputWithContext

func (i BgpvpnV2Map) ToBgpvpnV2MapOutputWithContext(ctx context.Context) BgpvpnV2MapOutput

type BgpvpnV2MapInput

type BgpvpnV2MapInput interface {
	pulumi.Input

	ToBgpvpnV2MapOutput() BgpvpnV2MapOutput
	ToBgpvpnV2MapOutputWithContext(context.Context) BgpvpnV2MapOutput
}

BgpvpnV2MapInput is an input type that accepts BgpvpnV2Map and BgpvpnV2MapOutput values. You can construct a concrete instance of `BgpvpnV2MapInput` via:

BgpvpnV2Map{ "key": BgpvpnV2Args{...} }

type BgpvpnV2MapOutput

type BgpvpnV2MapOutput struct{ *pulumi.OutputState }

func (BgpvpnV2MapOutput) ElementType

func (BgpvpnV2MapOutput) ElementType() reflect.Type

func (BgpvpnV2MapOutput) MapIndex

func (BgpvpnV2MapOutput) ToBgpvpnV2MapOutput

func (o BgpvpnV2MapOutput) ToBgpvpnV2MapOutput() BgpvpnV2MapOutput

func (BgpvpnV2MapOutput) ToBgpvpnV2MapOutputWithContext

func (o BgpvpnV2MapOutput) ToBgpvpnV2MapOutputWithContext(ctx context.Context) BgpvpnV2MapOutput

type BgpvpnV2Output

type BgpvpnV2Output struct{ *pulumi.OutputState }

func (BgpvpnV2Output) ElementType

func (BgpvpnV2Output) ElementType() reflect.Type

func (BgpvpnV2Output) ExportTargets

func (o BgpvpnV2Output) ExportTargets() pulumi.StringArrayOutput

A list of additional Route Targets that will be used for export.

func (BgpvpnV2Output) ImportTargets

func (o BgpvpnV2Output) ImportTargets() pulumi.StringArrayOutput

A list of additional Route Targets that will be imported.

func (BgpvpnV2Output) LocalPref

func (o BgpvpnV2Output) LocalPref() pulumi.IntPtrOutput

The default BGP LOCAL\_PREF of routes that will be advertised to the BGP VPN, unless overridden per-route.

func (BgpvpnV2Output) Name

The name of the BGP VPN. Changing this updates the name of the existing BGP VPN.

func (BgpvpnV2Output) Networks

A list of network IDs that are associated with the BGP VPN.

func (BgpvpnV2Output) Ports

A list of port IDs that are associated with the BGP VPN.

func (BgpvpnV2Output) ProjectId

func (o BgpvpnV2Output) ProjectId() pulumi.StringOutput

The ID of the project that owns the BGPVPN. Only administrative and users with `advsvc` role can specify a project ID other than their own. Changing this creates a new BGP VPN.

func (BgpvpnV2Output) Region

func (o BgpvpnV2Output) Region() pulumi.StringOutput

The region in which to obtain the V2 Networking client. A Networking client is needed to create a BGP VPN service. If omitted, the `region` argument of the provider is used. Changing this creates a new BGP VPN.

func (BgpvpnV2Output) RouteDistinguishers

func (o BgpvpnV2Output) RouteDistinguishers() pulumi.StringArrayOutput

A list of route distinguisher strings. If specified, one of these RDs will be used to advertise VPN routes.

func (BgpvpnV2Output) RouteTargets

func (o BgpvpnV2Output) RouteTargets() pulumi.StringArrayOutput

A list of Route Targets that will be both imported and used for export.

func (BgpvpnV2Output) Routers

A list of router IDs that are associated with the BGP VPN.

func (BgpvpnV2Output) Shared

func (o BgpvpnV2Output) Shared() pulumi.BoolOutput

Indicates whether the BGP VPN is shared across projects.

func (BgpvpnV2Output) ToBgpvpnV2Output

func (o BgpvpnV2Output) ToBgpvpnV2Output() BgpvpnV2Output

func (BgpvpnV2Output) ToBgpvpnV2OutputWithContext

func (o BgpvpnV2Output) ToBgpvpnV2OutputWithContext(ctx context.Context) BgpvpnV2Output

func (BgpvpnV2Output) Type

The type of the BGP VPN (either `l2` or `l3`). Changing this creates a new BGP VPN. Defaults to `l3`.

func (BgpvpnV2Output) Vni

The globally-assigned VXLAN VNI for the BGP VPN. Changing this creates a new BGP VPN.

type BgpvpnV2State

type BgpvpnV2State struct {
	// A list of additional Route Targets that will be
	// used for export.
	ExportTargets pulumi.StringArrayInput
	// A list of additional Route Targets that will be
	// imported.
	ImportTargets pulumi.StringArrayInput
	// The default BGP LOCAL\_PREF of routes that will be
	// advertised to the BGP VPN, unless overridden per-route.
	LocalPref pulumi.IntPtrInput
	// The name of the BGP VPN. Changing this updates the name of
	// the existing BGP VPN.
	Name pulumi.StringPtrInput
	// A list of network IDs that are associated with the BGP VPN.
	Networks pulumi.StringArrayInput
	// A list of port IDs that are associated with the BGP VPN.
	Ports pulumi.StringArrayInput
	// The ID of the project that owns the BGPVPN. Only
	// administrative and users with `advsvc` role can specify a project ID other
	// than their own. Changing this creates a new BGP VPN.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a BGP VPN service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// BGP VPN.
	Region pulumi.StringPtrInput
	// A list of route distinguisher strings. If
	// specified, one of these RDs will be used to advertise VPN routes.
	RouteDistinguishers pulumi.StringArrayInput
	// A list of Route Targets that will be both
	// imported and used for export.
	RouteTargets pulumi.StringArrayInput
	// A list of router IDs that are associated with the BGP VPN.
	Routers pulumi.StringArrayInput
	// Indicates whether the BGP VPN is shared across projects.
	Shared pulumi.BoolPtrInput
	// The type of the BGP VPN (either `l2` or `l3`). Changing this
	// creates a new BGP VPN. Defaults to `l3`.
	Type pulumi.StringPtrInput
	// The globally-assigned VXLAN VNI for the BGP VPN. Changing
	// this creates a new BGP VPN.
	Vni pulumi.IntPtrInput
}

func (BgpvpnV2State) ElementType

func (BgpvpnV2State) ElementType() reflect.Type

type GetFwGroupV2Args

type GetFwGroupV2Args struct {
	// Administrative up/down status for the firewall group.
	AdminStateUp *bool `pulumi:"adminStateUp"`
	// Human-readable description of the firewall group.
	Description *string `pulumi:"description"`
	// The egress policy ID of the firewall group.
	EgressFirewallPolicyId *string `pulumi:"egressFirewallPolicyId"`
	// The ID of the firewall group.
	GroupId *string `pulumi:"groupId"`
	// The ingress policy ID of the firewall group.
	IngressFirewallPolicyId *string `pulumi:"ingressFirewallPolicyId"`
	// The name of the firewall group.
	Name *string `pulumi:"name"`
	// This argument conflicts and is interchangeable
	// with `tenantId`. The owner of the firewall group.
	ProjectId *string `pulumi:"projectId"`
	// The region in which to obtain the V2 Neutron client.
	// A Neutron client is needed to retrieve firewall group ids. If omitted, the
	// `region` argument of the provider is used.
	Region *string `pulumi:"region"`
	// The sharing status of the firewall group.
	Shared *bool `pulumi:"shared"`
	// Enabled status for the firewall group.
	Status *string `pulumi:"status"`
	// This argument conflicts and is interchangeable
	// with `projectId`. The owner of the firewall group.
	TenantId *string `pulumi:"tenantId"`
}

A collection of arguments for invoking getFwGroupV2.

type GetFwGroupV2OutputArgs

type GetFwGroupV2OutputArgs struct {
	// Administrative up/down status for the firewall group.
	AdminStateUp pulumi.BoolPtrInput `pulumi:"adminStateUp"`
	// Human-readable description of the firewall group.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The egress policy ID of the firewall group.
	EgressFirewallPolicyId pulumi.StringPtrInput `pulumi:"egressFirewallPolicyId"`
	// The ID of the firewall group.
	GroupId pulumi.StringPtrInput `pulumi:"groupId"`
	// The ingress policy ID of the firewall group.
	IngressFirewallPolicyId pulumi.StringPtrInput `pulumi:"ingressFirewallPolicyId"`
	// The name of the firewall group.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// This argument conflicts and is interchangeable
	// with `tenantId`. The owner of the firewall group.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The region in which to obtain the V2 Neutron client.
	// A Neutron client is needed to retrieve firewall group ids. If omitted, the
	// `region` argument of the provider is used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The sharing status of the firewall group.
	Shared pulumi.BoolPtrInput `pulumi:"shared"`
	// Enabled status for the firewall group.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// This argument conflicts and is interchangeable
	// with `projectId`. The owner of the firewall group.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
}

A collection of arguments for invoking getFwGroupV2.

func (GetFwGroupV2OutputArgs) ElementType

func (GetFwGroupV2OutputArgs) ElementType() reflect.Type

type GetFwGroupV2Result

type GetFwGroupV2Result struct {
	// See Argument Reference above.
	AdminStateUp bool `pulumi:"adminStateUp"`
	// See Argument Reference above.
	Description *string `pulumi:"description"`
	// See Argument Reference above.
	EgressFirewallPolicyId *string `pulumi:"egressFirewallPolicyId"`
	// See Argument Reference above.
	GroupId *string `pulumi:"groupId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	IngressFirewallPolicyId *string `pulumi:"ingressFirewallPolicyId"`
	// See Argument Reference above.
	Name *string `pulumi:"name"`
	// Ports associated with the firewall group.
	Ports []string `pulumi:"ports"`
	// See Argument Reference above.
	ProjectId string `pulumi:"projectId"`
	// See Argument Reference above.
	Region string `pulumi:"region"`
	// See Argument Reference above.
	Shared bool `pulumi:"shared"`
	// See Argument Reference above.
	Status string `pulumi:"status"`
	// See Argument Reference above.
	TenantId string `pulumi:"tenantId"`
}

A collection of values returned by getFwGroupV2.

func GetFwGroupV2

func GetFwGroupV2(ctx *pulumi.Context, args *GetFwGroupV2Args, opts ...pulumi.InvokeOption) (*GetFwGroupV2Result, error)

Use this data source to get information of an available OpenStack firewall group v2.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.GetFwGroupV2(ctx, &openstack.GetFwGroupV2Args{
			Name: pulumi.StringRef("tf_test_group"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetFwGroupV2ResultOutput

type GetFwGroupV2ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFwGroupV2.

func (GetFwGroupV2ResultOutput) AdminStateUp

func (o GetFwGroupV2ResultOutput) AdminStateUp() pulumi.BoolOutput

See Argument Reference above.

func (GetFwGroupV2ResultOutput) Description

See Argument Reference above.

func (GetFwGroupV2ResultOutput) EgressFirewallPolicyId

func (o GetFwGroupV2ResultOutput) EgressFirewallPolicyId() pulumi.StringPtrOutput

See Argument Reference above.

func (GetFwGroupV2ResultOutput) ElementType

func (GetFwGroupV2ResultOutput) ElementType() reflect.Type

func (GetFwGroupV2ResultOutput) GroupId

See Argument Reference above.

func (GetFwGroupV2ResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetFwGroupV2ResultOutput) IngressFirewallPolicyId

func (o GetFwGroupV2ResultOutput) IngressFirewallPolicyId() pulumi.StringPtrOutput

See Argument Reference above.

func (GetFwGroupV2ResultOutput) Name

See Argument Reference above.

func (GetFwGroupV2ResultOutput) Ports

Ports associated with the firewall group.

func (GetFwGroupV2ResultOutput) ProjectId

See Argument Reference above.

func (GetFwGroupV2ResultOutput) Region

See Argument Reference above.

func (GetFwGroupV2ResultOutput) Shared

See Argument Reference above.

func (GetFwGroupV2ResultOutput) Status

See Argument Reference above.

func (GetFwGroupV2ResultOutput) TenantId

See Argument Reference above.

func (GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutput

func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutput() GetFwGroupV2ResultOutput

func (GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutputWithContext

func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutputWithContext(ctx context.Context) GetFwGroupV2ResultOutput

type GetFwPolicyV2Args

type GetFwPolicyV2Args struct {
	// Whether this policy has been audited.
	Audited *bool `pulumi:"audited"`
	// Human-readable description of the policy.
	Description *string `pulumi:"description"`
	// The name of the firewall policy.
	Name *string `pulumi:"name"`
	// The ID of the firewall policy.
	PolicyId *string `pulumi:"policyId"`
	// This argument conflicts and is interchangeable
	// with `tenantId`. The owner of the firewall policy.
	ProjectId *string `pulumi:"projectId"`
	// The region in which to obtain the V2 Neutron client.
	// A Neutron client is needed to retrieve firewall policy ids. If omitted, the
	// `region` argument of the provider is used.
	Region *string `pulumi:"region"`
	// Whether this policy is shared across all projects.
	Shared *bool `pulumi:"shared"`
	// This argument conflicts and is interchangeable
	// with `projectId`. The owner of the firewall policy.
	TenantId *string `pulumi:"tenantId"`
}

A collection of arguments for invoking getFwPolicyV2.

type GetFwPolicyV2OutputArgs

type GetFwPolicyV2OutputArgs struct {
	// Whether this policy has been audited.
	Audited pulumi.BoolPtrInput `pulumi:"audited"`
	// Human-readable description of the policy.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The name of the firewall policy.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The ID of the firewall policy.
	PolicyId pulumi.StringPtrInput `pulumi:"policyId"`
	// This argument conflicts and is interchangeable
	// with `tenantId`. The owner of the firewall policy.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The region in which to obtain the V2 Neutron client.
	// A Neutron client is needed to retrieve firewall policy ids. If omitted, the
	// `region` argument of the provider is used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Whether this policy is shared across all projects.
	Shared pulumi.BoolPtrInput `pulumi:"shared"`
	// This argument conflicts and is interchangeable
	// with `projectId`. The owner of the firewall policy.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
}

A collection of arguments for invoking getFwPolicyV2.

func (GetFwPolicyV2OutputArgs) ElementType

func (GetFwPolicyV2OutputArgs) ElementType() reflect.Type

type GetFwPolicyV2Result

type GetFwPolicyV2Result struct {
	// The audit status of the firewall policy.
	Audited     bool    `pulumi:"audited"`
	Description *string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	Name *string `pulumi:"name"`
	// See Argument Reference above.
	PolicyId *string `pulumi:"policyId"`
	// See Argument Reference above.
	ProjectId string `pulumi:"projectId"`
	// See Argument Reference above.
	Region string `pulumi:"region"`
	// The array of one or more firewall rules that comprise the policy.
	Rules []string `pulumi:"rules"`
	// The sharing status of the firewall policy.
	Shared bool `pulumi:"shared"`
	// See Argument Reference above.
	TenantId string `pulumi:"tenantId"`
}

A collection of values returned by getFwPolicyV2.

func GetFwPolicyV2

func GetFwPolicyV2(ctx *pulumi.Context, args *GetFwPolicyV2Args, opts ...pulumi.InvokeOption) (*GetFwPolicyV2Result, error)

Use this data source to get information of an available OpenStack firewall policy v2.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.GetFwPolicyV2(ctx, &openstack.GetFwPolicyV2Args{
			Name: pulumi.StringRef("tf_test_policy"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetFwPolicyV2ResultOutput

type GetFwPolicyV2ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFwPolicyV2.

func (GetFwPolicyV2ResultOutput) Audited

The audit status of the firewall policy.

func (GetFwPolicyV2ResultOutput) Description

func (GetFwPolicyV2ResultOutput) ElementType

func (GetFwPolicyV2ResultOutput) ElementType() reflect.Type

func (GetFwPolicyV2ResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetFwPolicyV2ResultOutput) Name

See Argument Reference above.

func (GetFwPolicyV2ResultOutput) PolicyId

See Argument Reference above.

func (GetFwPolicyV2ResultOutput) ProjectId

See Argument Reference above.

func (GetFwPolicyV2ResultOutput) Region

See Argument Reference above.

func (GetFwPolicyV2ResultOutput) Rules

The array of one or more firewall rules that comprise the policy.

func (GetFwPolicyV2ResultOutput) Shared

The sharing status of the firewall policy.

func (GetFwPolicyV2ResultOutput) TenantId

See Argument Reference above.

func (GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutput

func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutput() GetFwPolicyV2ResultOutput

func (GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutputWithContext

func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutputWithContext(ctx context.Context) GetFwPolicyV2ResultOutput

type GetFwRuleV2Args

type GetFwRuleV2Args struct {
	// Action to be taken when the firewall rule matches.
	Action *string `pulumi:"action"`
	// The description of the firewall rule.
	Description *string `pulumi:"description"`
	// The destination IP address on which the
	// firewall rule operates.
	DestinationIpAddress *string `pulumi:"destinationIpAddress"`
	// The destination port on which the firewall
	// rule operates.
	DestinationPort *string `pulumi:"destinationPort"`
	// Enabled status for the firewall rule.
	Enabled *bool `pulumi:"enabled"`
	// The ID of the firewall policy the rule belongs to.
	FirewallPolicyIds []string `pulumi:"firewallPolicyIds"`
	// IP version, either 4 (default) or 6.
	IpVersion *int `pulumi:"ipVersion"`
	// The name of the firewall rule.
	Name *string `pulumi:"name"`
	// This argument conflicts and is interchangeable
	// with `tenantId`. The owner of the firewall rule.
	ProjectId *string `pulumi:"projectId"`
	// The protocol type on which the firewall rule operates.
	Protocol *string `pulumi:"protocol"`
	// The region in which to obtain the V2 Neutron client.
	// A Neutron client is needed to retrieve firewall policy ids. If omitted, the
	// `region` argument of the provider is used.
	Region *string `pulumi:"region"`
	// The ID of the firewall rule.
	RuleId *string `pulumi:"ruleId"`
	// The sharing status of the firewall policy.
	Shared *bool `pulumi:"shared"`
	// The source IP address on which the firewall
	// rule operates.
	SourceIpAddress *string `pulumi:"sourceIpAddress"`
	// The source port on which the firewall
	// rule operates.
	SourcePort *string `pulumi:"sourcePort"`
	// This argument conflicts and is interchangeable
	// with `projectId`. The owner of the firewall rule.
	TenantId *string `pulumi:"tenantId"`
}

A collection of arguments for invoking getFwRuleV2.

type GetFwRuleV2OutputArgs

type GetFwRuleV2OutputArgs struct {
	// Action to be taken when the firewall rule matches.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// The description of the firewall rule.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The destination IP address on which the
	// firewall rule operates.
	DestinationIpAddress pulumi.StringPtrInput `pulumi:"destinationIpAddress"`
	// The destination port on which the firewall
	// rule operates.
	DestinationPort pulumi.StringPtrInput `pulumi:"destinationPort"`
	// Enabled status for the firewall rule.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The ID of the firewall policy the rule belongs to.
	FirewallPolicyIds pulumi.StringArrayInput `pulumi:"firewallPolicyIds"`
	// IP version, either 4 (default) or 6.
	IpVersion pulumi.IntPtrInput `pulumi:"ipVersion"`
	// The name of the firewall rule.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// This argument conflicts and is interchangeable
	// with `tenantId`. The owner of the firewall rule.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The protocol type on which the firewall rule operates.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// The region in which to obtain the V2 Neutron client.
	// A Neutron client is needed to retrieve firewall policy ids. If omitted, the
	// `region` argument of the provider is used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The ID of the firewall rule.
	RuleId pulumi.StringPtrInput `pulumi:"ruleId"`
	// The sharing status of the firewall policy.
	Shared pulumi.BoolPtrInput `pulumi:"shared"`
	// The source IP address on which the firewall
	// rule operates.
	SourceIpAddress pulumi.StringPtrInput `pulumi:"sourceIpAddress"`
	// The source port on which the firewall
	// rule operates.
	SourcePort pulumi.StringPtrInput `pulumi:"sourcePort"`
	// This argument conflicts and is interchangeable
	// with `projectId`. The owner of the firewall rule.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
}

A collection of arguments for invoking getFwRuleV2.

func (GetFwRuleV2OutputArgs) ElementType

func (GetFwRuleV2OutputArgs) ElementType() reflect.Type

type GetFwRuleV2Result

type GetFwRuleV2Result struct {
	// See Argument Reference above.
	Action *string `pulumi:"action"`
	// See Argument Reference above.
	Description *string `pulumi:"description"`
	// See Argument Reference above.
	DestinationIpAddress *string `pulumi:"destinationIpAddress"`
	// See Argument Reference above.
	DestinationPort *string `pulumi:"destinationPort"`
	// See Argument Reference above.
	Enabled bool `pulumi:"enabled"`
	// The ID of the firewall policy the rule belongs to.
	FirewallPolicyIds []string `pulumi:"firewallPolicyIds"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	IpVersion *int `pulumi:"ipVersion"`
	// See Argument Reference above.
	Name *string `pulumi:"name"`
	// See Argument Reference above.
	ProjectId string `pulumi:"projectId"`
	// See Argument Reference above.
	Protocol *string `pulumi:"protocol"`
	// See Argument Reference above.
	Region string `pulumi:"region"`
	// See Argument Reference above.
	RuleId *string `pulumi:"ruleId"`
	// See Argument Reference above.
	Shared bool `pulumi:"shared"`
	// See Argument Reference above.
	SourceIpAddress *string `pulumi:"sourceIpAddress"`
	// See Argument Reference above.
	SourcePort *string `pulumi:"sourcePort"`
	// See Argument Reference above.
	TenantId string `pulumi:"tenantId"`
}

A collection of values returned by getFwRuleV2.

func GetFwRuleV2

func GetFwRuleV2(ctx *pulumi.Context, args *GetFwRuleV2Args, opts ...pulumi.InvokeOption) (*GetFwRuleV2Result, error)

Use this data source to get information of an available OpenStack firewall rule v2.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.GetFwRuleV2(ctx, &openstack.GetFwRuleV2Args{
			Name: pulumi.StringRef("tf_test_rule"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetFwRuleV2ResultOutput

type GetFwRuleV2ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFwRuleV2.

func (GetFwRuleV2ResultOutput) Action

See Argument Reference above.

func (GetFwRuleV2ResultOutput) Description

See Argument Reference above.

func (GetFwRuleV2ResultOutput) DestinationIpAddress

func (o GetFwRuleV2ResultOutput) DestinationIpAddress() pulumi.StringPtrOutput

See Argument Reference above.

func (GetFwRuleV2ResultOutput) DestinationPort

func (o GetFwRuleV2ResultOutput) DestinationPort() pulumi.StringPtrOutput

See Argument Reference above.

func (GetFwRuleV2ResultOutput) ElementType

func (GetFwRuleV2ResultOutput) ElementType() reflect.Type

func (GetFwRuleV2ResultOutput) Enabled

See Argument Reference above.

func (GetFwRuleV2ResultOutput) FirewallPolicyIds

func (o GetFwRuleV2ResultOutput) FirewallPolicyIds() pulumi.StringArrayOutput

The ID of the firewall policy the rule belongs to.

func (GetFwRuleV2ResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetFwRuleV2ResultOutput) IpVersion

See Argument Reference above.

func (GetFwRuleV2ResultOutput) Name

See Argument Reference above.

func (GetFwRuleV2ResultOutput) ProjectId

See Argument Reference above.

func (GetFwRuleV2ResultOutput) Protocol

See Argument Reference above.

func (GetFwRuleV2ResultOutput) Region

See Argument Reference above.

func (GetFwRuleV2ResultOutput) RuleId

See Argument Reference above.

func (GetFwRuleV2ResultOutput) Shared

See Argument Reference above.

func (GetFwRuleV2ResultOutput) SourceIpAddress

func (o GetFwRuleV2ResultOutput) SourceIpAddress() pulumi.StringPtrOutput

See Argument Reference above.

func (GetFwRuleV2ResultOutput) SourcePort

See Argument Reference above.

func (GetFwRuleV2ResultOutput) TenantId

See Argument Reference above.

func (GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutput

func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutput() GetFwRuleV2ResultOutput

func (GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutputWithContext

func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutputWithContext(ctx context.Context) GetFwRuleV2ResultOutput

type LbFlavorprofileV2

type LbFlavorprofileV2 struct {
	pulumi.CustomResourceState

	// String that passes the flavorData for the flavorprofile.
	// The data that are allowed depend on the `providerName` that is passed. jsonencode
	// can be used for readability as shown in the example above.
	// Changing this updates the existing flavorprofile.
	FlavorData pulumi.StringOutput `pulumi:"flavorData"`
	// Name of the flavorprofile. Changing this updates the existing
	// flavorprofile.
	Name pulumi.StringOutput `pulumi:"name"`
	// The providerName that the flavorProfile will use.
	// Changing this updates the existing flavorprofile.
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
	Region       pulumi.StringOutput `pulumi:"region"`
}

Manages a V2 load balancer flavorprofile resource within OpenStack.

> **Note:** This usually requires admin privileges.

## Example Usage

### Using jsonencode

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"loadbalancer_topology": "SINGLE",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = openstack.NewLbFlavorprofileV2(ctx, "flavorprofile_1", &openstack.LbFlavorprofileV2Args{
			Name:         pulumi.String("amphora-single-profile"),
			ProviderName: pulumi.String("amphora"),
			FlavorData:   pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Using plain string

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.NewLbFlavorprofileV2(ctx, "flavorprofile_1", &openstack.LbFlavorprofileV2Args{
			Name:         pulumi.String("amphora-single-profile"),
			ProviderName: pulumi.String("amphora"),
			FlavorData:   pulumi.String("{\"loadbalancer_topology\": \"SINGLE\"}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

flavorprofiles can be imported using their `id`. Example:

```sh $ pulumi import openstack:index/lbFlavorprofileV2:LbFlavorprofileV2 flavorprofile_1 2a0f2240-c5e6-41de-896d-e80d97428d6b ```

func GetLbFlavorprofileV2

func GetLbFlavorprofileV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LbFlavorprofileV2State, opts ...pulumi.ResourceOption) (*LbFlavorprofileV2, error)

GetLbFlavorprofileV2 gets an existing LbFlavorprofileV2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLbFlavorprofileV2

func NewLbFlavorprofileV2(ctx *pulumi.Context,
	name string, args *LbFlavorprofileV2Args, opts ...pulumi.ResourceOption) (*LbFlavorprofileV2, error)

NewLbFlavorprofileV2 registers a new resource with the given unique name, arguments, and options.

func (*LbFlavorprofileV2) ElementType

func (*LbFlavorprofileV2) ElementType() reflect.Type

func (*LbFlavorprofileV2) ToLbFlavorprofileV2Output

func (i *LbFlavorprofileV2) ToLbFlavorprofileV2Output() LbFlavorprofileV2Output

func (*LbFlavorprofileV2) ToLbFlavorprofileV2OutputWithContext

func (i *LbFlavorprofileV2) ToLbFlavorprofileV2OutputWithContext(ctx context.Context) LbFlavorprofileV2Output

type LbFlavorprofileV2Args

type LbFlavorprofileV2Args struct {
	// String that passes the flavorData for the flavorprofile.
	// The data that are allowed depend on the `providerName` that is passed. jsonencode
	// can be used for readability as shown in the example above.
	// Changing this updates the existing flavorprofile.
	FlavorData pulumi.StringInput
	// Name of the flavorprofile. Changing this updates the existing
	// flavorprofile.
	Name pulumi.StringPtrInput
	// The providerName that the flavorProfile will use.
	// Changing this updates the existing flavorprofile.
	ProviderName pulumi.StringInput
	Region       pulumi.StringPtrInput
}

The set of arguments for constructing a LbFlavorprofileV2 resource.

func (LbFlavorprofileV2Args) ElementType

func (LbFlavorprofileV2Args) ElementType() reflect.Type

type LbFlavorprofileV2Array

type LbFlavorprofileV2Array []LbFlavorprofileV2Input

func (LbFlavorprofileV2Array) ElementType

func (LbFlavorprofileV2Array) ElementType() reflect.Type

func (LbFlavorprofileV2Array) ToLbFlavorprofileV2ArrayOutput

func (i LbFlavorprofileV2Array) ToLbFlavorprofileV2ArrayOutput() LbFlavorprofileV2ArrayOutput

func (LbFlavorprofileV2Array) ToLbFlavorprofileV2ArrayOutputWithContext

func (i LbFlavorprofileV2Array) ToLbFlavorprofileV2ArrayOutputWithContext(ctx context.Context) LbFlavorprofileV2ArrayOutput

type LbFlavorprofileV2ArrayInput

type LbFlavorprofileV2ArrayInput interface {
	pulumi.Input

	ToLbFlavorprofileV2ArrayOutput() LbFlavorprofileV2ArrayOutput
	ToLbFlavorprofileV2ArrayOutputWithContext(context.Context) LbFlavorprofileV2ArrayOutput
}

LbFlavorprofileV2ArrayInput is an input type that accepts LbFlavorprofileV2Array and LbFlavorprofileV2ArrayOutput values. You can construct a concrete instance of `LbFlavorprofileV2ArrayInput` via:

LbFlavorprofileV2Array{ LbFlavorprofileV2Args{...} }

type LbFlavorprofileV2ArrayOutput

type LbFlavorprofileV2ArrayOutput struct{ *pulumi.OutputState }

func (LbFlavorprofileV2ArrayOutput) ElementType

func (LbFlavorprofileV2ArrayOutput) Index

func (LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutput

func (o LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutput() LbFlavorprofileV2ArrayOutput

func (LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutputWithContext

func (o LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutputWithContext(ctx context.Context) LbFlavorprofileV2ArrayOutput

type LbFlavorprofileV2Input

type LbFlavorprofileV2Input interface {
	pulumi.Input

	ToLbFlavorprofileV2Output() LbFlavorprofileV2Output
	ToLbFlavorprofileV2OutputWithContext(ctx context.Context) LbFlavorprofileV2Output
}

type LbFlavorprofileV2Map

type LbFlavorprofileV2Map map[string]LbFlavorprofileV2Input

func (LbFlavorprofileV2Map) ElementType

func (LbFlavorprofileV2Map) ElementType() reflect.Type

func (LbFlavorprofileV2Map) ToLbFlavorprofileV2MapOutput

func (i LbFlavorprofileV2Map) ToLbFlavorprofileV2MapOutput() LbFlavorprofileV2MapOutput

func (LbFlavorprofileV2Map) ToLbFlavorprofileV2MapOutputWithContext

func (i LbFlavorprofileV2Map) ToLbFlavorprofileV2MapOutputWithContext(ctx context.Context) LbFlavorprofileV2MapOutput

type LbFlavorprofileV2MapInput

type LbFlavorprofileV2MapInput interface {
	pulumi.Input

	ToLbFlavorprofileV2MapOutput() LbFlavorprofileV2MapOutput
	ToLbFlavorprofileV2MapOutputWithContext(context.Context) LbFlavorprofileV2MapOutput
}

LbFlavorprofileV2MapInput is an input type that accepts LbFlavorprofileV2Map and LbFlavorprofileV2MapOutput values. You can construct a concrete instance of `LbFlavorprofileV2MapInput` via:

LbFlavorprofileV2Map{ "key": LbFlavorprofileV2Args{...} }

type LbFlavorprofileV2MapOutput

type LbFlavorprofileV2MapOutput struct{ *pulumi.OutputState }

func (LbFlavorprofileV2MapOutput) ElementType

func (LbFlavorprofileV2MapOutput) ElementType() reflect.Type

func (LbFlavorprofileV2MapOutput) MapIndex

func (LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutput

func (o LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutput() LbFlavorprofileV2MapOutput

func (LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutputWithContext

func (o LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutputWithContext(ctx context.Context) LbFlavorprofileV2MapOutput

type LbFlavorprofileV2Output

type LbFlavorprofileV2Output struct{ *pulumi.OutputState }

func (LbFlavorprofileV2Output) ElementType

func (LbFlavorprofileV2Output) ElementType() reflect.Type

func (LbFlavorprofileV2Output) FlavorData

String that passes the flavorData for the flavorprofile. The data that are allowed depend on the `providerName` that is passed. jsonencode can be used for readability as shown in the example above. Changing this updates the existing flavorprofile.

func (LbFlavorprofileV2Output) Name

Name of the flavorprofile. Changing this updates the existing flavorprofile.

func (LbFlavorprofileV2Output) ProviderName

func (o LbFlavorprofileV2Output) ProviderName() pulumi.StringOutput

The providerName that the flavorProfile will use. Changing this updates the existing flavorprofile.

func (LbFlavorprofileV2Output) Region

func (LbFlavorprofileV2Output) ToLbFlavorprofileV2Output

func (o LbFlavorprofileV2Output) ToLbFlavorprofileV2Output() LbFlavorprofileV2Output

func (LbFlavorprofileV2Output) ToLbFlavorprofileV2OutputWithContext

func (o LbFlavorprofileV2Output) ToLbFlavorprofileV2OutputWithContext(ctx context.Context) LbFlavorprofileV2Output

type LbFlavorprofileV2State

type LbFlavorprofileV2State struct {
	// String that passes the flavorData for the flavorprofile.
	// The data that are allowed depend on the `providerName` that is passed. jsonencode
	// can be used for readability as shown in the example above.
	// Changing this updates the existing flavorprofile.
	FlavorData pulumi.StringPtrInput
	// Name of the flavorprofile. Changing this updates the existing
	// flavorprofile.
	Name pulumi.StringPtrInput
	// The providerName that the flavorProfile will use.
	// Changing this updates the existing flavorprofile.
	ProviderName pulumi.StringPtrInput
	Region       pulumi.StringPtrInput
}

func (LbFlavorprofileV2State) ElementType

func (LbFlavorprofileV2State) ElementType() reflect.Type

type LbLoadbalancerV2

type LbLoadbalancerV2 struct {
	pulumi.CustomResourceState

	// The administrative state of the Loadbalancer.
	// A valid value is true (UP) or false (DOWN).
	AdminStateUp pulumi.BoolPtrOutput `pulumi:"adminStateUp"`
	// The availability zone of the Loadbalancer.
	// Changing this creates a new loadbalancer. Available only for Octavia
	// **minor version 2.14 or later**.
	AvailabilityZone pulumi.StringPtrOutput `pulumi:"availabilityZone"`
	// Human-readable description for the Loadbalancer.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The UUID of a flavor. Changing this creates a new
	// loadbalancer.
	FlavorId pulumi.StringOutput `pulumi:"flavorId"`
	// The name of the provider. Changing this
	// creates a new loadbalancer.
	LoadbalancerProvider pulumi.StringOutput `pulumi:"loadbalancerProvider"`
	// Human-readable name for the Loadbalancer. Does not have
	// to be unique.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an LB member. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// LB member.
	Region pulumi.StringOutput `pulumi:"region"`
	// A list of security group IDs to apply to the
	// loadbalancer. The security groups must be specified by ID and not name (as
	// opposed to how they are configured with the Compute Instance).
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// A list of simple strings assigned to the loadbalancer.
	// Available only for Octavia **minor version 2.5 or later**.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Required for admins. The UUID of the tenant who owns
	// the Loadbalancer.  Only administrative users can specify a tenant UUID
	// other than their own.  Changing this creates a new loadbalancer.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
	// The ip address of the load balancer.
	// Changing this creates a new loadbalancer.
	VipAddress pulumi.StringOutput `pulumi:"vipAddress"`
	// The network on which to allocate the
	// Loadbalancer's address. A tenant can only create Loadbalancers on networks
	// authorized by policy (e.g. networks that belong to them or networks that
	// are shared).  Changing this creates a new loadbalancer. Exactly one of
	// `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
	VipNetworkId pulumi.StringOutput `pulumi:"vipNetworkId"`
	// The port UUID that the loadbalancer will use.
	// Changing this creates a new loadbalancer. Exactly one of
	// `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
	VipPortId pulumi.StringOutput `pulumi:"vipPortId"`
	// The ID of the QoS Policy which will
	// be applied to the Virtual IP (VIP).
	VipQosPolicyId pulumi.StringPtrOutput `pulumi:"vipQosPolicyId"`
	// The subnet on which to allocate the
	// Loadbalancer's address. A tenant can only create Loadbalancers on networks
	// authorized by policy (e.g. networks that belong to them or networks that
	// are shared).  Changing this creates a new loadbalancer. Exactly one of
	// `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
	VipSubnetId pulumi.StringOutput `pulumi:"vipSubnetId"`
}

Manages a V2 loadbalancer resource within OpenStack.

> **Note:** This resource has attributes that depend on octavia minor versions. Please ensure your Openstack cloud supports the required minor version.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := openstack.NewLbLoadbalancerV2(ctx, "lb_1", &openstack.LbLoadbalancerV2Args{
			VipSubnetId: pulumi.String("d9415786-5f1a-428b-b35f-2f1523e146d2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Load Balancer can be imported using the Load Balancer ID, e.g.:

```sh $ pulumi import openstack:index/lbLoadbalancerV2:LbLoadbalancerV2 loadbalancer_1 19bcfdc7-c521-4a7e-9459-6750bd16df76 ```

func GetLbLoadbalancerV2

func GetLbLoadbalancerV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LbLoadbalancerV2State, opts ...pulumi.ResourceOption) (*LbLoadbalancerV2, error)

GetLbLoadbalancerV2 gets an existing LbLoadbalancerV2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLbLoadbalancerV2

func NewLbLoadbalancerV2(ctx *pulumi.Context,
	name string, args *LbLoadbalancerV2Args, opts ...pulumi.ResourceOption) (*LbLoadbalancerV2, error)

NewLbLoadbalancerV2 registers a new resource with the given unique name, arguments, and options.

func (*LbLoadbalancerV2) ElementType

func (*LbLoadbalancerV2) ElementType() reflect.Type

func (*LbLoadbalancerV2) ToLbLoadbalancerV2Output

func (i *LbLoadbalancerV2) ToLbLoadbalancerV2Output() LbLoadbalancerV2Output

func (*LbLoadbalancerV2) ToLbLoadbalancerV2OutputWithContext

func (i *LbLoadbalancerV2) ToLbLoadbalancerV2OutputWithContext(ctx context.Context) LbLoadbalancerV2Output

type LbLoadbalancerV2Args

type LbLoadbalancerV2Args struct {
	// The administrative state of the Loadbalancer.
	// A valid value is true (UP) or false (DOWN).
	AdminStateUp pulumi.BoolPtrInput
	// The availability zone of the Loadbalancer.
	// Changing this creates a new loadbalancer. Available only for Octavia
	// **minor version 2.14 or later**.
	AvailabilityZone pulumi.StringPtrInput
	// Human-readable description for the Loadbalancer.
	Description pulumi.StringPtrInput
	// The UUID of a flavor. Changing this creates a new
	// loadbalancer.
	FlavorId pulumi.StringPtrInput
	// The name of the provider. Changing this
	// creates a new loadbalancer.
	LoadbalancerProvider pulumi.StringPtrInput
	// Human-readable name for the Loadbalancer. Does not have
	// to be unique.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an LB member. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// LB member.
	Region pulumi.StringPtrInput
	// A list of security group IDs to apply to the
	// loadbalancer. The security groups must be specified by ID and not name (as
	// opposed to how they are configured with the Compute Instance).
	SecurityGroupIds pulumi.StringArrayInput
	// A list of simple strings assigned to the loadbalancer.
	// Available only for Octavia **minor version 2.5 or later**.
	Tags pulumi.StringArrayInput
	// Required for admins. The UUID of the tenant who owns
	// the Loadbalancer.  Only administrative users can specify a tenant UUID
	// other than their own.  Changing this creates a new loadbalancer.
	TenantId pulumi.StringPtrInput
	// The ip address of the load balancer.
	// Changing this creates a new loadbalancer.
	VipAddress pulumi.StringPtrInput
	// The network on which to allocate the
	// Loadbalancer's address. A tenant can only create Loadbalancers on networks
	// authorized by policy (e.g. networks that belong to them or networks that
	// are shared).  Changing this creates a new loadbalancer. Exactly one of
	// `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
	VipNetworkId pulumi.StringPtrInput
	// The port UUID that the loadbalancer will use.
	// Changing this creates a new loadbalancer. Exactly one of
	// `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
	VipPortId pulumi.StringPtrInput
	// The ID of the QoS Policy which will
	// be applied to the Virtual IP (VIP).
	VipQosPolicyId pulumi.StringPtrInput
	// The subnet on which to allocate the
	// Loadbalancer's address. A tenant can only create Loadbalancers on networks
	// authorized by policy (e.g. networks that belong to them or networks that
	// are shared).  Changing this creates a new loadbalancer. Exactly one of
	// `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
	VipSubnetId pulumi.StringPtrInput
}

The set of arguments for constructing a LbLoadbalancerV2 resource.

func (LbLoadbalancerV2Args) ElementType

func (LbLoadbalancerV2Args) ElementType() reflect.Type

type LbLoadbalancerV2Array

type LbLoadbalancerV2Array []LbLoadbalancerV2Input

func (LbLoadbalancerV2Array) ElementType

func (LbLoadbalancerV2Array) ElementType() reflect.Type

func (LbLoadbalancerV2Array) ToLbLoadbalancerV2ArrayOutput

func (i LbLoadbalancerV2Array) ToLbLoadbalancerV2ArrayOutput() LbLoadbalancerV2ArrayOutput

func (LbLoadbalancerV2Array) ToLbLoadbalancerV2ArrayOutputWithContext

func (i LbLoadbalancerV2Array) ToLbLoadbalancerV2ArrayOutputWithContext(ctx context.Context) LbLoadbalancerV2ArrayOutput

type LbLoadbalancerV2ArrayInput

type LbLoadbalancerV2ArrayInput interface {
	pulumi.Input

	ToLbLoadbalancerV2ArrayOutput() LbLoadbalancerV2ArrayOutput
	ToLbLoadbalancerV2ArrayOutputWithContext(context.Context) LbLoadbalancerV2ArrayOutput
}

LbLoadbalancerV2ArrayInput is an input type that accepts LbLoadbalancerV2Array and LbLoadbalancerV2ArrayOutput values. You can construct a concrete instance of `LbLoadbalancerV2ArrayInput` via:

LbLoadbalancerV2Array{ LbLoadbalancerV2Args{...} }

type LbLoadbalancerV2ArrayOutput

type LbLoadbalancerV2ArrayOutput struct{ *pulumi.OutputState }

func (LbLoadbalancerV2ArrayOutput) ElementType

func (LbLoadbalancerV2ArrayOutput) Index

func (LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutput

func (o LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutput() LbLoadbalancerV2ArrayOutput

func (LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutputWithContext

func (o LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutputWithContext(ctx context.Context) LbLoadbalancerV2ArrayOutput

type LbLoadbalancerV2Input

type LbLoadbalancerV2Input interface {
	pulumi.Input

	ToLbLoadbalancerV2Output() LbLoadbalancerV2Output
	ToLbLoadbalancerV2OutputWithContext(ctx context.Context) LbLoadbalancerV2Output
}

type LbLoadbalancerV2Map

type LbLoadbalancerV2Map map[string]LbLoadbalancerV2Input

func (LbLoadbalancerV2Map) ElementType

func (LbLoadbalancerV2Map) ElementType() reflect.Type

func (LbLoadbalancerV2Map) ToLbLoadbalancerV2MapOutput

func (i LbLoadbalancerV2Map) ToLbLoadbalancerV2MapOutput() LbLoadbalancerV2MapOutput

func (LbLoadbalancerV2Map) ToLbLoadbalancerV2MapOutputWithContext

func (i LbLoadbalancerV2Map) ToLbLoadbalancerV2MapOutputWithContext(ctx context.Context) LbLoadbalancerV2MapOutput

type LbLoadbalancerV2MapInput

type LbLoadbalancerV2MapInput interface {
	pulumi.Input

	ToLbLoadbalancerV2MapOutput() LbLoadbalancerV2MapOutput
	ToLbLoadbalancerV2MapOutputWithContext(context.Context) LbLoadbalancerV2MapOutput
}

LbLoadbalancerV2MapInput is an input type that accepts LbLoadbalancerV2Map and LbLoadbalancerV2MapOutput values. You can construct a concrete instance of `LbLoadbalancerV2MapInput` via:

LbLoadbalancerV2Map{ "key": LbLoadbalancerV2Args{...} }

type LbLoadbalancerV2MapOutput

type LbLoadbalancerV2MapOutput struct{ *pulumi.OutputState }

func (LbLoadbalancerV2MapOutput) ElementType

func (LbLoadbalancerV2MapOutput) ElementType() reflect.Type

func (LbLoadbalancerV2MapOutput) MapIndex

func (LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutput

func (o LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutput() LbLoadbalancerV2MapOutput

func (LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutputWithContext

func (o LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutputWithContext(ctx context.Context) LbLoadbalancerV2MapOutput

type LbLoadbalancerV2Output

type LbLoadbalancerV2Output struct{ *pulumi.OutputState }

func (LbLoadbalancerV2Output) AdminStateUp

func (o LbLoadbalancerV2Output) AdminStateUp() pulumi.BoolPtrOutput

The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).

func (LbLoadbalancerV2Output) AvailabilityZone

func (o LbLoadbalancerV2Output) AvailabilityZone() pulumi.StringPtrOutput

The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia **minor version 2.14 or later**.

func (LbLoadbalancerV2Output) Description

Human-readable description for the Loadbalancer.

func (LbLoadbalancerV2Output) ElementType

func (LbLoadbalancerV2Output) ElementType() reflect.Type

func (LbLoadbalancerV2Output) FlavorId

The UUID of a flavor. Changing this creates a new loadbalancer.

func (LbLoadbalancerV2Output) LoadbalancerProvider

func (o LbLoadbalancerV2Output) LoadbalancerProvider() pulumi.StringOutput

The name of the provider. Changing this creates a new loadbalancer.

func (LbLoadbalancerV2Output) Name

Human-readable name for the Loadbalancer. Does not have to be unique.

func (LbLoadbalancerV2Output) Region

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

func (LbLoadbalancerV2Output) SecurityGroupIds

func (o LbLoadbalancerV2Output) SecurityGroupIds() pulumi.StringArrayOutput

A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).

func (LbLoadbalancerV2Output) Tags

A list of simple strings assigned to the loadbalancer. Available only for Octavia **minor version 2.5 or later**.

func (LbLoadbalancerV2Output) TenantId

Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.

func (LbLoadbalancerV2Output) ToLbLoadbalancerV2Output

func (o LbLoadbalancerV2Output) ToLbLoadbalancerV2Output() LbLoadbalancerV2Output

func (LbLoadbalancerV2Output) ToLbLoadbalancerV2OutputWithContext

func (o LbLoadbalancerV2Output) ToLbLoadbalancerV2OutputWithContext(ctx context.Context) LbLoadbalancerV2Output

func (LbLoadbalancerV2Output) VipAddress

The ip address of the load balancer. Changing this creates a new loadbalancer.

func (LbLoadbalancerV2Output) VipNetworkId

func (o LbLoadbalancerV2Output) VipNetworkId() pulumi.StringOutput

The network on which to allocate the Loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer. Exactly one of `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.

func (LbLoadbalancerV2Output) VipPortId

The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer. Exactly one of `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.

func (LbLoadbalancerV2Output) VipQosPolicyId

func (o LbLoadbalancerV2Output) VipQosPolicyId() pulumi.StringPtrOutput

The ID of the QoS Policy which will be applied to the Virtual IP (VIP).

func (LbLoadbalancerV2Output) VipSubnetId

func (o LbLoadbalancerV2Output) VipSubnetId() pulumi.StringOutput

The subnet on which to allocate the Loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer. Exactly one of `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.

type LbLoadbalancerV2State

type LbLoadbalancerV2State struct {
	// The administrative state of the Loadbalancer.
	// A valid value is true (UP) or false (DOWN).
	AdminStateUp pulumi.BoolPtrInput
	// The availability zone of the Loadbalancer.
	// Changing this creates a new loadbalancer. Available only for Octavia
	// **minor version 2.14 or later**.
	AvailabilityZone pulumi.StringPtrInput
	// Human-readable description for the Loadbalancer.
	Description pulumi.StringPtrInput
	// The UUID of a flavor. Changing this creates a new
	// loadbalancer.
	FlavorId pulumi.StringPtrInput
	// The name of the provider. Changing this
	// creates a new loadbalancer.
	LoadbalancerProvider pulumi.StringPtrInput
	// Human-readable name for the Loadbalancer. Does not have
	// to be unique.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an LB member. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// LB member.
	Region pulumi.StringPtrInput
	// A list of security group IDs to apply to the
	// loadbalancer. The security groups must be specified by ID and not name (as
	// opposed to how they are configured with the Compute Instance).
	SecurityGroupIds pulumi.StringArrayInput
	// A list of simple strings assigned to the loadbalancer.
	// Available only for Octavia **minor version 2.5 or later**.
	Tags pulumi.StringArrayInput
	// Required for admins. The UUID of the tenant who owns
	// the Loadbalancer.  Only administrative users can specify a tenant UUID
	// other than their own.  Changing this creates a new loadbalancer.
	TenantId pulumi.StringPtrInput
	// The ip address of the load balancer.
	// Changing this creates a new loadbalancer.
	VipAddress pulumi.StringPtrInput
	// The network on which to allocate the
	// Loadbalancer's address. A tenant can only create Loadbalancers on networks
	// authorized by policy (e.g. networks that belong to them or networks that
	// are shared).  Changing this creates a new loadbalancer. Exactly one of
	// `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
	VipNetworkId pulumi.StringPtrInput
	// The port UUID that the loadbalancer will use.
	// Changing this creates a new loadbalancer. Exactly one of
	// `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
	VipPortId pulumi.StringPtrInput
	// The ID of the QoS Policy which will
	// be applied to the Virtual IP (VIP).
	VipQosPolicyId pulumi.StringPtrInput
	// The subnet on which to allocate the
	// Loadbalancer's address. A tenant can only create Loadbalancers on networks
	// authorized by policy (e.g. networks that belong to them or networks that
	// are shared).  Changing this creates a new loadbalancer. Exactly one of
	// `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
	VipSubnetId pulumi.StringPtrInput
}

func (LbLoadbalancerV2State) ElementType

func (LbLoadbalancerV2State) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// Application Credential ID to login with.
	ApplicationCredentialId pulumi.StringPtrOutput `pulumi:"applicationCredentialId"`
	// Application Credential name to login with.
	ApplicationCredentialName pulumi.StringPtrOutput `pulumi:"applicationCredentialName"`
	// Application Credential secret to login with.
	ApplicationCredentialSecret pulumi.StringPtrOutput `pulumi:"applicationCredentialSecret"`
	// The Identity authentication URL.
	AuthUrl pulumi.StringPtrOutput `pulumi:"authUrl"`
	// A Custom CA certificate.
	CacertFile pulumi.StringPtrOutput `pulumi:"cacertFile"`
	// A client certificate to authenticate with.
	Cert pulumi.StringPtrOutput `pulumi:"cert"`
	// An entry in a `clouds.yaml` file to use.
	Cloud pulumi.StringPtrOutput `pulumi:"cloud"`
	// The name of the Domain ID to scope to if no other domain is specified. Defaults to `default` (Identity v3).
	DefaultDomain pulumi.StringPtrOutput `pulumi:"defaultDomain"`
	// The ID of the Domain to scope to (Identity v3).
	DomainId pulumi.StringPtrOutput `pulumi:"domainId"`
	// The name of the Domain to scope to (Identity v3).
	DomainName   pulumi.StringPtrOutput `pulumi:"domainName"`
	EndpointType pulumi.StringPtrOutput `pulumi:"endpointType"`
	// A client private key to authenticate with.
	Key pulumi.StringPtrOutput `pulumi:"key"`
	// Password to login with.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The ID of the domain where the proejct resides (Identity v3).
	ProjectDomainId pulumi.StringPtrOutput `pulumi:"projectDomainId"`
	// The name of the domain where the project resides (Identity v3).
	ProjectDomainName pulumi.StringPtrOutput `pulumi:"projectDomainName"`
	// The OpenStack region to connect to.
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
	TenantId pulumi.StringPtrOutput `pulumi:"tenantId"`
	// The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
	TenantName pulumi.StringPtrOutput `pulumi:"tenantName"`
	// Authentication token to use as an alternative to username/password.
	Token pulumi.StringPtrOutput `pulumi:"token"`
	// The ID of the domain where the user resides (Identity v3).
	UserDomainId pulumi.StringPtrOutput `pulumi:"userDomainId"`
	// The name of the domain where the user resides (Identity v3).
	UserDomainName pulumi.StringPtrOutput `pulumi:"userDomainName"`
	// User ID to login with.
	UserId pulumi.StringPtrOutput `pulumi:"userId"`
	// Username to login with.
	UserName pulumi.StringPtrOutput `pulumi:"userName"`
}

The provider type for the openstack package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// If set to `false`, OpenStack authorization won't be perfomed automatically, if the initial auth token get expired.
	// Defaults to `true`
	AllowReauth pulumi.BoolPtrInput
	// Application Credential ID to login with.
	ApplicationCredentialId pulumi.StringPtrInput
	// Application Credential name to login with.
	ApplicationCredentialName pulumi.StringPtrInput
	// Application Credential secret to login with.
	ApplicationCredentialSecret pulumi.StringPtrInput
	// The Identity authentication URL.
	AuthUrl pulumi.StringPtrInput
	// A Custom CA certificate.
	CacertFile pulumi.StringPtrInput
	// A client certificate to authenticate with.
	Cert pulumi.StringPtrInput
	// An entry in a `clouds.yaml` file to use.
	Cloud pulumi.StringPtrInput
	// The name of the Domain ID to scope to if no other domain is specified. Defaults to `default` (Identity v3).
	DefaultDomain pulumi.StringPtrInput
	// If set to `false`, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults
	// to `true`.
	DelayedAuth pulumi.BoolPtrInput
	// If set to `true`, the HTTP `Cache-Control: no-cache` header will not be added by default to all API requests.
	DisableNoCacheHeader pulumi.BoolPtrInput
	// The ID of the Domain to scope to (Identity v3).
	DomainId pulumi.StringPtrInput
	// The name of the Domain to scope to (Identity v3).
	DomainName pulumi.StringPtrInput
	// Outputs very verbose logs with all calls made to and responses from OpenStack
	EnableLogging pulumi.BoolPtrInput
	// A map of services with an endpoint to override what was from the Keystone catalog
	EndpointOverrides pulumi.StringMapInput
	EndpointType      pulumi.StringPtrInput
	// Trust self-signed certificates.
	Insecure pulumi.BoolPtrInput
	// A client private key to authenticate with.
	Key pulumi.StringPtrInput
	// How many times HTTP connection should be retried until giving up.
	MaxRetries pulumi.IntPtrInput
	// Password to login with.
	Password pulumi.StringPtrInput
	// The ID of the domain where the proejct resides (Identity v3).
	ProjectDomainId pulumi.StringPtrInput
	// The name of the domain where the project resides (Identity v3).
	ProjectDomainName pulumi.StringPtrInput
	// The OpenStack region to connect to.
	Region pulumi.StringPtrInput
	// Use Swift's authentication system instead of Keystone. Only used for interaction with Swift.
	Swauth pulumi.BoolPtrInput
	// If set to `true`, system scoped authorization will be enabled. Defaults to `false` (Identity v3).
	SystemScope pulumi.BoolPtrInput
	// The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
	TenantId pulumi.StringPtrInput
	// The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
	TenantName pulumi.StringPtrInput
	// Authentication token to use as an alternative to username/password.
	Token pulumi.StringPtrInput
	// The ID of the domain where the user resides (Identity v3).
	UserDomainId pulumi.StringPtrInput
	// The name of the domain where the user resides (Identity v3).
	UserDomainName pulumi.StringPtrInput
	// User ID to login with.
	UserId pulumi.StringPtrInput
	// Username to login with.
	UserName pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ApplicationCredentialId

func (o ProviderOutput) ApplicationCredentialId() pulumi.StringPtrOutput

Application Credential ID to login with.

func (ProviderOutput) ApplicationCredentialName

func (o ProviderOutput) ApplicationCredentialName() pulumi.StringPtrOutput

Application Credential name to login with.

func (ProviderOutput) ApplicationCredentialSecret

func (o ProviderOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput

Application Credential secret to login with.

func (ProviderOutput) AuthUrl

The Identity authentication URL.

func (ProviderOutput) CacertFile

func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput

A Custom CA certificate.

func (ProviderOutput) Cert

A client certificate to authenticate with.

func (ProviderOutput) Cloud

An entry in a `clouds.yaml` file to use.

func (ProviderOutput) DefaultDomain

func (o ProviderOutput) DefaultDomain() pulumi.StringPtrOutput

The name of the Domain ID to scope to if no other domain is specified. Defaults to `default` (Identity v3).

func (ProviderOutput) DomainId

func (o ProviderOutput) DomainId() pulumi.StringPtrOutput

The ID of the Domain to scope to (Identity v3).

func (ProviderOutput) DomainName

func (o ProviderOutput) DomainName() pulumi.StringPtrOutput

The name of the Domain to scope to (Identity v3).

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) EndpointType

func (o ProviderOutput) EndpointType() pulumi.StringPtrOutput

func (ProviderOutput) Key

A client private key to authenticate with.

func (ProviderOutput) Password

func (o ProviderOutput) Password() pulumi.StringPtrOutput

Password to login with.

func (ProviderOutput) ProjectDomainId

func (o ProviderOutput) ProjectDomainId() pulumi.StringPtrOutput

The ID of the domain where the proejct resides (Identity v3).

func (ProviderOutput) ProjectDomainName

func (o ProviderOutput) ProjectDomainName() pulumi.StringPtrOutput

The name of the domain where the project resides (Identity v3).

func (ProviderOutput) Region

The OpenStack region to connect to.

func (ProviderOutput) TenantId

func (o ProviderOutput) TenantId() pulumi.StringPtrOutput

The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.

func (ProviderOutput) TenantName

func (o ProviderOutput) TenantName() pulumi.StringPtrOutput

The name of the Tenant (Identity v2) or Project (Identity v3) to login with.

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Token

Authentication token to use as an alternative to username/password.

func (ProviderOutput) UserDomainId

func (o ProviderOutput) UserDomainId() pulumi.StringPtrOutput

The ID of the domain where the user resides (Identity v3).

func (ProviderOutput) UserDomainName

func (o ProviderOutput) UserDomainName() pulumi.StringPtrOutput

The name of the domain where the user resides (Identity v3).

func (ProviderOutput) UserId

User ID to login with.

func (ProviderOutput) UserName

func (o ProviderOutput) UserName() pulumi.StringPtrOutput

Username to login with.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL