vpnaas

package
v2.19.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointGroup

type EndpointGroup struct {
	pulumi.CustomResourceState

	// The human-readable description for the group.
	// Changing this updates the description of the existing group.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// List of endpoints of the same type, for the endpoint group. The values will depend on the type.
	// Changing this creates a new group.
	Endpoints pulumi.StringArrayOutput `pulumi:"endpoints"`
	// The name of the group. Changing this updates the name of
	// the existing group.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an endpoint group. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// group.
	Region pulumi.StringOutput `pulumi:"region"`
	// The owner of the group. Required if admin wants to
	// create an endpoint group for another project. Changing this creates a new group.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
	// The type of the endpoints in the group. A valid value is subnet, cidr, network, router, or vlan.
	// Changing this creates a new group.
	Type pulumi.StringOutput `pulumi:"type"`
	// Map of additional options.
	ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"`
}

Manages a V2 Neutron Endpoint Group resource within OpenStack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/vpnaas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpnaas.NewEndpointGroup(ctx, "group1", &vpnaas.EndpointGroupArgs{
			Endpoints: pulumi.StringArray{
				pulumi.String("10.2.0.0/24"),
				pulumi.String("10.3.0.0/24"),
			},
			Type: pulumi.String("cidr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Groups can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:vpnaas/endpointGroup:EndpointGroup group_1 832cb7f3-59fe-40cf-8f64-8350ffc03272

```

func GetEndpointGroup

func GetEndpointGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointGroupState, opts ...pulumi.ResourceOption) (*EndpointGroup, error)

GetEndpointGroup gets an existing EndpointGroup 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 NewEndpointGroup

func NewEndpointGroup(ctx *pulumi.Context,
	name string, args *EndpointGroupArgs, opts ...pulumi.ResourceOption) (*EndpointGroup, error)

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

func (*EndpointGroup) ElementType added in v2.10.0

func (*EndpointGroup) ElementType() reflect.Type

func (*EndpointGroup) ToEndpointGroupOutput added in v2.10.0

func (i *EndpointGroup) ToEndpointGroupOutput() EndpointGroupOutput

func (*EndpointGroup) ToEndpointGroupOutputWithContext added in v2.10.0

func (i *EndpointGroup) ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput

func (*EndpointGroup) ToEndpointGroupPtrOutput added in v2.14.1

func (i *EndpointGroup) ToEndpointGroupPtrOutput() EndpointGroupPtrOutput

func (*EndpointGroup) ToEndpointGroupPtrOutputWithContext added in v2.14.1

func (i *EndpointGroup) ToEndpointGroupPtrOutputWithContext(ctx context.Context) EndpointGroupPtrOutput

type EndpointGroupArgs

type EndpointGroupArgs struct {
	// The human-readable description for the group.
	// Changing this updates the description of the existing group.
	Description pulumi.StringPtrInput
	// List of endpoints of the same type, for the endpoint group. The values will depend on the type.
	// Changing this creates a new group.
	Endpoints pulumi.StringArrayInput
	// The name of the group. Changing this updates the name of
	// the existing group.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an endpoint group. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// group.
	Region pulumi.StringPtrInput
	// The owner of the group. Required if admin wants to
	// create an endpoint group for another project. Changing this creates a new group.
	TenantId pulumi.StringPtrInput
	// The type of the endpoints in the group. A valid value is subnet, cidr, network, router, or vlan.
	// Changing this creates a new group.
	Type pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
}

The set of arguments for constructing a EndpointGroup resource.

func (EndpointGroupArgs) ElementType

func (EndpointGroupArgs) ElementType() reflect.Type

type EndpointGroupArray added in v2.14.1

type EndpointGroupArray []EndpointGroupInput

func (EndpointGroupArray) ElementType added in v2.14.1

func (EndpointGroupArray) ElementType() reflect.Type

func (EndpointGroupArray) ToEndpointGroupArrayOutput added in v2.14.1

func (i EndpointGroupArray) ToEndpointGroupArrayOutput() EndpointGroupArrayOutput

func (EndpointGroupArray) ToEndpointGroupArrayOutputWithContext added in v2.14.1

func (i EndpointGroupArray) ToEndpointGroupArrayOutputWithContext(ctx context.Context) EndpointGroupArrayOutput

type EndpointGroupArrayInput added in v2.14.1

type EndpointGroupArrayInput interface {
	pulumi.Input

	ToEndpointGroupArrayOutput() EndpointGroupArrayOutput
	ToEndpointGroupArrayOutputWithContext(context.Context) EndpointGroupArrayOutput
}

EndpointGroupArrayInput is an input type that accepts EndpointGroupArray and EndpointGroupArrayOutput values. You can construct a concrete instance of `EndpointGroupArrayInput` via:

EndpointGroupArray{ EndpointGroupArgs{...} }

type EndpointGroupArrayOutput added in v2.14.1

type EndpointGroupArrayOutput struct{ *pulumi.OutputState }

func (EndpointGroupArrayOutput) ElementType added in v2.14.1

func (EndpointGroupArrayOutput) ElementType() reflect.Type

func (EndpointGroupArrayOutput) Index added in v2.14.1

func (EndpointGroupArrayOutput) ToEndpointGroupArrayOutput added in v2.14.1

func (o EndpointGroupArrayOutput) ToEndpointGroupArrayOutput() EndpointGroupArrayOutput

func (EndpointGroupArrayOutput) ToEndpointGroupArrayOutputWithContext added in v2.14.1

func (o EndpointGroupArrayOutput) ToEndpointGroupArrayOutputWithContext(ctx context.Context) EndpointGroupArrayOutput

type EndpointGroupInput added in v2.10.0

type EndpointGroupInput interface {
	pulumi.Input

	ToEndpointGroupOutput() EndpointGroupOutput
	ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput
}

type EndpointGroupMap added in v2.14.1

type EndpointGroupMap map[string]EndpointGroupInput

func (EndpointGroupMap) ElementType added in v2.14.1

func (EndpointGroupMap) ElementType() reflect.Type

func (EndpointGroupMap) ToEndpointGroupMapOutput added in v2.14.1

func (i EndpointGroupMap) ToEndpointGroupMapOutput() EndpointGroupMapOutput

func (EndpointGroupMap) ToEndpointGroupMapOutputWithContext added in v2.14.1

func (i EndpointGroupMap) ToEndpointGroupMapOutputWithContext(ctx context.Context) EndpointGroupMapOutput

type EndpointGroupMapInput added in v2.14.1

type EndpointGroupMapInput interface {
	pulumi.Input

	ToEndpointGroupMapOutput() EndpointGroupMapOutput
	ToEndpointGroupMapOutputWithContext(context.Context) EndpointGroupMapOutput
}

EndpointGroupMapInput is an input type that accepts EndpointGroupMap and EndpointGroupMapOutput values. You can construct a concrete instance of `EndpointGroupMapInput` via:

EndpointGroupMap{ "key": EndpointGroupArgs{...} }

type EndpointGroupMapOutput added in v2.14.1

type EndpointGroupMapOutput struct{ *pulumi.OutputState }

func (EndpointGroupMapOutput) ElementType added in v2.14.1

func (EndpointGroupMapOutput) ElementType() reflect.Type

func (EndpointGroupMapOutput) MapIndex added in v2.14.1

func (EndpointGroupMapOutput) ToEndpointGroupMapOutput added in v2.14.1

func (o EndpointGroupMapOutput) ToEndpointGroupMapOutput() EndpointGroupMapOutput

func (EndpointGroupMapOutput) ToEndpointGroupMapOutputWithContext added in v2.14.1

func (o EndpointGroupMapOutput) ToEndpointGroupMapOutputWithContext(ctx context.Context) EndpointGroupMapOutput

type EndpointGroupOutput added in v2.10.0

type EndpointGroupOutput struct {
	*pulumi.OutputState
}

func (EndpointGroupOutput) ElementType added in v2.10.0

func (EndpointGroupOutput) ElementType() reflect.Type

func (EndpointGroupOutput) ToEndpointGroupOutput added in v2.10.0

func (o EndpointGroupOutput) ToEndpointGroupOutput() EndpointGroupOutput

func (EndpointGroupOutput) ToEndpointGroupOutputWithContext added in v2.10.0

func (o EndpointGroupOutput) ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput

func (EndpointGroupOutput) ToEndpointGroupPtrOutput added in v2.14.1

func (o EndpointGroupOutput) ToEndpointGroupPtrOutput() EndpointGroupPtrOutput

func (EndpointGroupOutput) ToEndpointGroupPtrOutputWithContext added in v2.14.1

func (o EndpointGroupOutput) ToEndpointGroupPtrOutputWithContext(ctx context.Context) EndpointGroupPtrOutput

type EndpointGroupPtrInput added in v2.14.1

type EndpointGroupPtrInput interface {
	pulumi.Input

	ToEndpointGroupPtrOutput() EndpointGroupPtrOutput
	ToEndpointGroupPtrOutputWithContext(ctx context.Context) EndpointGroupPtrOutput
}

type EndpointGroupPtrOutput added in v2.14.1

type EndpointGroupPtrOutput struct {
	*pulumi.OutputState
}

func (EndpointGroupPtrOutput) ElementType added in v2.14.1

func (EndpointGroupPtrOutput) ElementType() reflect.Type

func (EndpointGroupPtrOutput) ToEndpointGroupPtrOutput added in v2.14.1

func (o EndpointGroupPtrOutput) ToEndpointGroupPtrOutput() EndpointGroupPtrOutput

func (EndpointGroupPtrOutput) ToEndpointGroupPtrOutputWithContext added in v2.14.1

func (o EndpointGroupPtrOutput) ToEndpointGroupPtrOutputWithContext(ctx context.Context) EndpointGroupPtrOutput

type EndpointGroupState

type EndpointGroupState struct {
	// The human-readable description for the group.
	// Changing this updates the description of the existing group.
	Description pulumi.StringPtrInput
	// List of endpoints of the same type, for the endpoint group. The values will depend on the type.
	// Changing this creates a new group.
	Endpoints pulumi.StringArrayInput
	// The name of the group. Changing this updates the name of
	// the existing group.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an endpoint group. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// group.
	Region pulumi.StringPtrInput
	// The owner of the group. Required if admin wants to
	// create an endpoint group for another project. Changing this creates a new group.
	TenantId pulumi.StringPtrInput
	// The type of the endpoints in the group. A valid value is subnet, cidr, network, router, or vlan.
	// Changing this creates a new group.
	Type pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
}

func (EndpointGroupState) ElementType

func (EndpointGroupState) ElementType() reflect.Type

type IkePolicy

type IkePolicy struct {
	pulumi.CustomResourceState

	// The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512.
	// Default is sha1. Changing this updates the algorithm of the existing policy.
	AuthAlgorithm pulumi.StringPtrOutput `pulumi:"authAlgorithm"`
	// The human-readable description for the policy.
	// Changing this updates the description of the existing policy.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on.
	// The default value is aes-128. Changing this updates the existing policy.
	EncryptionAlgorithm pulumi.StringPtrOutput `pulumi:"encryptionAlgorithm"`
	// The IKE mode. A valid value is v1 or v2. Default is v1.
	// Changing this updates the existing policy.
	IkeVersion pulumi.StringPtrOutput `pulumi:"ikeVersion"`
	// The lifetime of the security association. Consists of Unit and Value.
	Lifetimes IkePolicyLifetimeArrayOutput `pulumi:"lifetimes"`
	// The name of the policy. Changing this updates the name of
	// the existing policy.
	Name pulumi.StringOutput `pulumi:"name"`
	// The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5.
	// Changing this updates the existing policy.
	Pfs pulumi.StringPtrOutput `pulumi:"pfs"`
	// The IKE mode. A valid value is main, which is the default.
	// Changing this updates the existing policy.
	Phase1NegotiationMode pulumi.StringPtrOutput `pulumi:"phase1NegotiationMode"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a VPN service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// service.
	Region pulumi.StringOutput `pulumi:"region"`
	// The owner of the policy. Required if admin wants to
	// create a service for another policy. Changing this creates a new policy.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
	// Map of additional options.
	ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"`
}

Manages a V2 Neutron IKE policy resource within OpenStack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/vpnaas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpnaas.NewIkePolicy(ctx, "policy1", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Services can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:vpnaas/ikePolicy:IkePolicy policy_1 832cb7f3-59fe-40cf-8f64-8350ffc03272

```

func GetIkePolicy

func GetIkePolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IkePolicyState, opts ...pulumi.ResourceOption) (*IkePolicy, error)

GetIkePolicy gets an existing IkePolicy 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 NewIkePolicy

func NewIkePolicy(ctx *pulumi.Context,
	name string, args *IkePolicyArgs, opts ...pulumi.ResourceOption) (*IkePolicy, error)

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

func (*IkePolicy) ElementType added in v2.10.0

func (*IkePolicy) ElementType() reflect.Type

func (*IkePolicy) ToIkePolicyOutput added in v2.10.0

func (i *IkePolicy) ToIkePolicyOutput() IkePolicyOutput

func (*IkePolicy) ToIkePolicyOutputWithContext added in v2.10.0

func (i *IkePolicy) ToIkePolicyOutputWithContext(ctx context.Context) IkePolicyOutput

func (*IkePolicy) ToIkePolicyPtrOutput added in v2.14.1

func (i *IkePolicy) ToIkePolicyPtrOutput() IkePolicyPtrOutput

func (*IkePolicy) ToIkePolicyPtrOutputWithContext added in v2.14.1

func (i *IkePolicy) ToIkePolicyPtrOutputWithContext(ctx context.Context) IkePolicyPtrOutput

type IkePolicyArgs

type IkePolicyArgs struct {
	// The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512.
	// Default is sha1. Changing this updates the algorithm of the existing policy.
	AuthAlgorithm pulumi.StringPtrInput
	// The human-readable description for the policy.
	// Changing this updates the description of the existing policy.
	Description pulumi.StringPtrInput
	// The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on.
	// The default value is aes-128. Changing this updates the existing policy.
	EncryptionAlgorithm pulumi.StringPtrInput
	// The IKE mode. A valid value is v1 or v2. Default is v1.
	// Changing this updates the existing policy.
	IkeVersion pulumi.StringPtrInput
	// The lifetime of the security association. Consists of Unit and Value.
	Lifetimes IkePolicyLifetimeArrayInput
	// The name of the policy. Changing this updates the name of
	// the existing policy.
	Name pulumi.StringPtrInput
	// The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5.
	// Changing this updates the existing policy.
	Pfs pulumi.StringPtrInput
	// The IKE mode. A valid value is main, which is the default.
	// Changing this updates the existing policy.
	Phase1NegotiationMode pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a VPN service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// service.
	Region pulumi.StringPtrInput
	// The owner of the policy. Required if admin wants to
	// create a service for another policy. Changing this creates a new policy.
	TenantId pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
}

The set of arguments for constructing a IkePolicy resource.

func (IkePolicyArgs) ElementType

func (IkePolicyArgs) ElementType() reflect.Type

type IkePolicyArray added in v2.14.1

type IkePolicyArray []IkePolicyInput

func (IkePolicyArray) ElementType added in v2.14.1

func (IkePolicyArray) ElementType() reflect.Type

func (IkePolicyArray) ToIkePolicyArrayOutput added in v2.14.1

func (i IkePolicyArray) ToIkePolicyArrayOutput() IkePolicyArrayOutput

func (IkePolicyArray) ToIkePolicyArrayOutputWithContext added in v2.14.1

func (i IkePolicyArray) ToIkePolicyArrayOutputWithContext(ctx context.Context) IkePolicyArrayOutput

type IkePolicyArrayInput added in v2.14.1

type IkePolicyArrayInput interface {
	pulumi.Input

	ToIkePolicyArrayOutput() IkePolicyArrayOutput
	ToIkePolicyArrayOutputWithContext(context.Context) IkePolicyArrayOutput
}

IkePolicyArrayInput is an input type that accepts IkePolicyArray and IkePolicyArrayOutput values. You can construct a concrete instance of `IkePolicyArrayInput` via:

IkePolicyArray{ IkePolicyArgs{...} }

type IkePolicyArrayOutput added in v2.14.1

type IkePolicyArrayOutput struct{ *pulumi.OutputState }

func (IkePolicyArrayOutput) ElementType added in v2.14.1

func (IkePolicyArrayOutput) ElementType() reflect.Type

func (IkePolicyArrayOutput) Index added in v2.14.1

func (IkePolicyArrayOutput) ToIkePolicyArrayOutput added in v2.14.1

func (o IkePolicyArrayOutput) ToIkePolicyArrayOutput() IkePolicyArrayOutput

func (IkePolicyArrayOutput) ToIkePolicyArrayOutputWithContext added in v2.14.1

func (o IkePolicyArrayOutput) ToIkePolicyArrayOutputWithContext(ctx context.Context) IkePolicyArrayOutput

type IkePolicyInput added in v2.10.0

type IkePolicyInput interface {
	pulumi.Input

	ToIkePolicyOutput() IkePolicyOutput
	ToIkePolicyOutputWithContext(ctx context.Context) IkePolicyOutput
}

type IkePolicyLifetime

type IkePolicyLifetime struct {
	Units *string `pulumi:"units"`
	// The value for the lifetime of the security association. Must be a positive integer.
	// Default is 3600.
	Value *int `pulumi:"value"`
}

type IkePolicyLifetimeArgs

type IkePolicyLifetimeArgs struct {
	Units pulumi.StringPtrInput `pulumi:"units"`
	// The value for the lifetime of the security association. Must be a positive integer.
	// Default is 3600.
	Value pulumi.IntPtrInput `pulumi:"value"`
}

func (IkePolicyLifetimeArgs) ElementType

func (IkePolicyLifetimeArgs) ElementType() reflect.Type

func (IkePolicyLifetimeArgs) ToIkePolicyLifetimeOutput

func (i IkePolicyLifetimeArgs) ToIkePolicyLifetimeOutput() IkePolicyLifetimeOutput

func (IkePolicyLifetimeArgs) ToIkePolicyLifetimeOutputWithContext

func (i IkePolicyLifetimeArgs) ToIkePolicyLifetimeOutputWithContext(ctx context.Context) IkePolicyLifetimeOutput

type IkePolicyLifetimeArray

type IkePolicyLifetimeArray []IkePolicyLifetimeInput

func (IkePolicyLifetimeArray) ElementType

func (IkePolicyLifetimeArray) ElementType() reflect.Type

func (IkePolicyLifetimeArray) ToIkePolicyLifetimeArrayOutput

func (i IkePolicyLifetimeArray) ToIkePolicyLifetimeArrayOutput() IkePolicyLifetimeArrayOutput

func (IkePolicyLifetimeArray) ToIkePolicyLifetimeArrayOutputWithContext

func (i IkePolicyLifetimeArray) ToIkePolicyLifetimeArrayOutputWithContext(ctx context.Context) IkePolicyLifetimeArrayOutput

type IkePolicyLifetimeArrayInput

type IkePolicyLifetimeArrayInput interface {
	pulumi.Input

	ToIkePolicyLifetimeArrayOutput() IkePolicyLifetimeArrayOutput
	ToIkePolicyLifetimeArrayOutputWithContext(context.Context) IkePolicyLifetimeArrayOutput
}

IkePolicyLifetimeArrayInput is an input type that accepts IkePolicyLifetimeArray and IkePolicyLifetimeArrayOutput values. You can construct a concrete instance of `IkePolicyLifetimeArrayInput` via:

IkePolicyLifetimeArray{ IkePolicyLifetimeArgs{...} }

type IkePolicyLifetimeArrayOutput

type IkePolicyLifetimeArrayOutput struct{ *pulumi.OutputState }

func (IkePolicyLifetimeArrayOutput) ElementType

func (IkePolicyLifetimeArrayOutput) Index

func (IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutput

func (o IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutput() IkePolicyLifetimeArrayOutput

func (IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutputWithContext

func (o IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutputWithContext(ctx context.Context) IkePolicyLifetimeArrayOutput

type IkePolicyLifetimeInput

type IkePolicyLifetimeInput interface {
	pulumi.Input

	ToIkePolicyLifetimeOutput() IkePolicyLifetimeOutput
	ToIkePolicyLifetimeOutputWithContext(context.Context) IkePolicyLifetimeOutput
}

IkePolicyLifetimeInput is an input type that accepts IkePolicyLifetimeArgs and IkePolicyLifetimeOutput values. You can construct a concrete instance of `IkePolicyLifetimeInput` via:

IkePolicyLifetimeArgs{...}

type IkePolicyLifetimeOutput

type IkePolicyLifetimeOutput struct{ *pulumi.OutputState }

func (IkePolicyLifetimeOutput) ElementType

func (IkePolicyLifetimeOutput) ElementType() reflect.Type

func (IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutput

func (o IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutput() IkePolicyLifetimeOutput

func (IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutputWithContext

func (o IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutputWithContext(ctx context.Context) IkePolicyLifetimeOutput

func (IkePolicyLifetimeOutput) Units

func (IkePolicyLifetimeOutput) Value

The value for the lifetime of the security association. Must be a positive integer. Default is 3600.

type IkePolicyMap added in v2.14.1

type IkePolicyMap map[string]IkePolicyInput

func (IkePolicyMap) ElementType added in v2.14.1

func (IkePolicyMap) ElementType() reflect.Type

func (IkePolicyMap) ToIkePolicyMapOutput added in v2.14.1

func (i IkePolicyMap) ToIkePolicyMapOutput() IkePolicyMapOutput

func (IkePolicyMap) ToIkePolicyMapOutputWithContext added in v2.14.1

func (i IkePolicyMap) ToIkePolicyMapOutputWithContext(ctx context.Context) IkePolicyMapOutput

type IkePolicyMapInput added in v2.14.1

type IkePolicyMapInput interface {
	pulumi.Input

	ToIkePolicyMapOutput() IkePolicyMapOutput
	ToIkePolicyMapOutputWithContext(context.Context) IkePolicyMapOutput
}

IkePolicyMapInput is an input type that accepts IkePolicyMap and IkePolicyMapOutput values. You can construct a concrete instance of `IkePolicyMapInput` via:

IkePolicyMap{ "key": IkePolicyArgs{...} }

type IkePolicyMapOutput added in v2.14.1

type IkePolicyMapOutput struct{ *pulumi.OutputState }

func (IkePolicyMapOutput) ElementType added in v2.14.1

func (IkePolicyMapOutput) ElementType() reflect.Type

func (IkePolicyMapOutput) MapIndex added in v2.14.1

func (IkePolicyMapOutput) ToIkePolicyMapOutput added in v2.14.1

func (o IkePolicyMapOutput) ToIkePolicyMapOutput() IkePolicyMapOutput

func (IkePolicyMapOutput) ToIkePolicyMapOutputWithContext added in v2.14.1

func (o IkePolicyMapOutput) ToIkePolicyMapOutputWithContext(ctx context.Context) IkePolicyMapOutput

type IkePolicyOutput added in v2.10.0

type IkePolicyOutput struct {
	*pulumi.OutputState
}

func (IkePolicyOutput) ElementType added in v2.10.0

func (IkePolicyOutput) ElementType() reflect.Type

func (IkePolicyOutput) ToIkePolicyOutput added in v2.10.0

func (o IkePolicyOutput) ToIkePolicyOutput() IkePolicyOutput

func (IkePolicyOutput) ToIkePolicyOutputWithContext added in v2.10.0

func (o IkePolicyOutput) ToIkePolicyOutputWithContext(ctx context.Context) IkePolicyOutput

func (IkePolicyOutput) ToIkePolicyPtrOutput added in v2.14.1

func (o IkePolicyOutput) ToIkePolicyPtrOutput() IkePolicyPtrOutput

func (IkePolicyOutput) ToIkePolicyPtrOutputWithContext added in v2.14.1

func (o IkePolicyOutput) ToIkePolicyPtrOutputWithContext(ctx context.Context) IkePolicyPtrOutput

type IkePolicyPtrInput added in v2.14.1

type IkePolicyPtrInput interface {
	pulumi.Input

	ToIkePolicyPtrOutput() IkePolicyPtrOutput
	ToIkePolicyPtrOutputWithContext(ctx context.Context) IkePolicyPtrOutput
}

type IkePolicyPtrOutput added in v2.14.1

type IkePolicyPtrOutput struct {
	*pulumi.OutputState
}

func (IkePolicyPtrOutput) ElementType added in v2.14.1

func (IkePolicyPtrOutput) ElementType() reflect.Type

func (IkePolicyPtrOutput) ToIkePolicyPtrOutput added in v2.14.1

func (o IkePolicyPtrOutput) ToIkePolicyPtrOutput() IkePolicyPtrOutput

func (IkePolicyPtrOutput) ToIkePolicyPtrOutputWithContext added in v2.14.1

func (o IkePolicyPtrOutput) ToIkePolicyPtrOutputWithContext(ctx context.Context) IkePolicyPtrOutput

type IkePolicyState

type IkePolicyState struct {
	// The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512.
	// Default is sha1. Changing this updates the algorithm of the existing policy.
	AuthAlgorithm pulumi.StringPtrInput
	// The human-readable description for the policy.
	// Changing this updates the description of the existing policy.
	Description pulumi.StringPtrInput
	// The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on.
	// The default value is aes-128. Changing this updates the existing policy.
	EncryptionAlgorithm pulumi.StringPtrInput
	// The IKE mode. A valid value is v1 or v2. Default is v1.
	// Changing this updates the existing policy.
	IkeVersion pulumi.StringPtrInput
	// The lifetime of the security association. Consists of Unit and Value.
	Lifetimes IkePolicyLifetimeArrayInput
	// The name of the policy. Changing this updates the name of
	// the existing policy.
	Name pulumi.StringPtrInput
	// The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5.
	// Changing this updates the existing policy.
	Pfs pulumi.StringPtrInput
	// The IKE mode. A valid value is main, which is the default.
	// Changing this updates the existing policy.
	Phase1NegotiationMode pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a VPN service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// service.
	Region pulumi.StringPtrInput
	// The owner of the policy. Required if admin wants to
	// create a service for another policy. Changing this creates a new policy.
	TenantId pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
}

func (IkePolicyState) ElementType

func (IkePolicyState) ElementType() reflect.Type

type IpSecPolicy

type IpSecPolicy struct {
	pulumi.CustomResourceState

	// The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512.
	// Default is sha1. Changing this updates the algorithm of the existing policy.
	AuthAlgorithm pulumi.StringOutput `pulumi:"authAlgorithm"`
	// The human-readable description for the policy.
	// Changing this updates the description of the existing policy.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The encapsulation mode. Valid values are tunnel and transport. Default is tunnel.
	// Changing this updates the existing policy.
	EncapsulationMode pulumi.StringOutput `pulumi:"encapsulationMode"`
	// The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on.
	// The default value is aes-128. Changing this updates the existing policy.
	EncryptionAlgorithm pulumi.StringOutput `pulumi:"encryptionAlgorithm"`
	// The lifetime of the security association. Consists of Unit and Value.
	Lifetimes IpSecPolicyLifetimeArrayOutput `pulumi:"lifetimes"`
	// The name of the policy. Changing this updates the name of
	// the existing policy.
	Name pulumi.StringOutput `pulumi:"name"`
	// The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5.
	// Changing this updates the existing policy.
	Pfs pulumi.StringOutput `pulumi:"pfs"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an IPSec policy. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// policy.
	Region pulumi.StringOutput `pulumi:"region"`
	// The owner of the policy. Required if admin wants to
	// create a policy for another project. Changing this creates a new policy.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
	// The transform protocol. Valid values are ESP, AH and AH-ESP.
	// Changing this updates the existing policy. Default is ESP.
	TransformProtocol pulumi.StringOutput `pulumi:"transformProtocol"`
	// Map of additional options.
	ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"`
}

Manages a V2 Neutron IPSec policy resource within OpenStack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/vpnaas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpnaas.NewIpSecPolicy(ctx, "policy1", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Policies can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:vpnaas/ipSecPolicy:IpSecPolicy policy_1 832cb7f3-59fe-40cf-8f64-8350ffc03272

```

func GetIpSecPolicy

func GetIpSecPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IpSecPolicyState, opts ...pulumi.ResourceOption) (*IpSecPolicy, error)

GetIpSecPolicy gets an existing IpSecPolicy 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 NewIpSecPolicy

func NewIpSecPolicy(ctx *pulumi.Context,
	name string, args *IpSecPolicyArgs, opts ...pulumi.ResourceOption) (*IpSecPolicy, error)

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

func (*IpSecPolicy) ElementType added in v2.10.0

func (*IpSecPolicy) ElementType() reflect.Type

func (*IpSecPolicy) ToIpSecPolicyOutput added in v2.10.0

func (i *IpSecPolicy) ToIpSecPolicyOutput() IpSecPolicyOutput

func (*IpSecPolicy) ToIpSecPolicyOutputWithContext added in v2.10.0

func (i *IpSecPolicy) ToIpSecPolicyOutputWithContext(ctx context.Context) IpSecPolicyOutput

func (*IpSecPolicy) ToIpSecPolicyPtrOutput added in v2.14.1

func (i *IpSecPolicy) ToIpSecPolicyPtrOutput() IpSecPolicyPtrOutput

func (*IpSecPolicy) ToIpSecPolicyPtrOutputWithContext added in v2.14.1

func (i *IpSecPolicy) ToIpSecPolicyPtrOutputWithContext(ctx context.Context) IpSecPolicyPtrOutput

type IpSecPolicyArgs

type IpSecPolicyArgs struct {
	// The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512.
	// Default is sha1. Changing this updates the algorithm of the existing policy.
	AuthAlgorithm pulumi.StringPtrInput
	// The human-readable description for the policy.
	// Changing this updates the description of the existing policy.
	Description pulumi.StringPtrInput
	// The encapsulation mode. Valid values are tunnel and transport. Default is tunnel.
	// Changing this updates the existing policy.
	EncapsulationMode pulumi.StringPtrInput
	// The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on.
	// The default value is aes-128. Changing this updates the existing policy.
	EncryptionAlgorithm pulumi.StringPtrInput
	// The lifetime of the security association. Consists of Unit and Value.
	Lifetimes IpSecPolicyLifetimeArrayInput
	// The name of the policy. Changing this updates the name of
	// the existing policy.
	Name pulumi.StringPtrInput
	// The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5.
	// Changing this updates the existing policy.
	Pfs pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an IPSec policy. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// policy.
	Region pulumi.StringPtrInput
	// The owner of the policy. Required if admin wants to
	// create a policy for another project. Changing this creates a new policy.
	TenantId pulumi.StringPtrInput
	// The transform protocol. Valid values are ESP, AH and AH-ESP.
	// Changing this updates the existing policy. Default is ESP.
	TransformProtocol pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
}

The set of arguments for constructing a IpSecPolicy resource.

func (IpSecPolicyArgs) ElementType

func (IpSecPolicyArgs) ElementType() reflect.Type

type IpSecPolicyArray added in v2.14.1

type IpSecPolicyArray []IpSecPolicyInput

func (IpSecPolicyArray) ElementType added in v2.14.1

func (IpSecPolicyArray) ElementType() reflect.Type

func (IpSecPolicyArray) ToIpSecPolicyArrayOutput added in v2.14.1

func (i IpSecPolicyArray) ToIpSecPolicyArrayOutput() IpSecPolicyArrayOutput

func (IpSecPolicyArray) ToIpSecPolicyArrayOutputWithContext added in v2.14.1

func (i IpSecPolicyArray) ToIpSecPolicyArrayOutputWithContext(ctx context.Context) IpSecPolicyArrayOutput

type IpSecPolicyArrayInput added in v2.14.1

type IpSecPolicyArrayInput interface {
	pulumi.Input

	ToIpSecPolicyArrayOutput() IpSecPolicyArrayOutput
	ToIpSecPolicyArrayOutputWithContext(context.Context) IpSecPolicyArrayOutput
}

IpSecPolicyArrayInput is an input type that accepts IpSecPolicyArray and IpSecPolicyArrayOutput values. You can construct a concrete instance of `IpSecPolicyArrayInput` via:

IpSecPolicyArray{ IpSecPolicyArgs{...} }

type IpSecPolicyArrayOutput added in v2.14.1

type IpSecPolicyArrayOutput struct{ *pulumi.OutputState }

func (IpSecPolicyArrayOutput) ElementType added in v2.14.1

func (IpSecPolicyArrayOutput) ElementType() reflect.Type

func (IpSecPolicyArrayOutput) Index added in v2.14.1

func (IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutput added in v2.14.1

func (o IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutput() IpSecPolicyArrayOutput

func (IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutputWithContext added in v2.14.1

func (o IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutputWithContext(ctx context.Context) IpSecPolicyArrayOutput

type IpSecPolicyInput added in v2.10.0

type IpSecPolicyInput interface {
	pulumi.Input

	ToIpSecPolicyOutput() IpSecPolicyOutput
	ToIpSecPolicyOutputWithContext(ctx context.Context) IpSecPolicyOutput
}

type IpSecPolicyLifetime

type IpSecPolicyLifetime struct {
	Units *string `pulumi:"units"`
	// The value for the lifetime of the security association. Must be a positive integer.
	// Default is 3600.
	Value *int `pulumi:"value"`
}

type IpSecPolicyLifetimeArgs

type IpSecPolicyLifetimeArgs struct {
	Units pulumi.StringPtrInput `pulumi:"units"`
	// The value for the lifetime of the security association. Must be a positive integer.
	// Default is 3600.
	Value pulumi.IntPtrInput `pulumi:"value"`
}

func (IpSecPolicyLifetimeArgs) ElementType

func (IpSecPolicyLifetimeArgs) ElementType() reflect.Type

func (IpSecPolicyLifetimeArgs) ToIpSecPolicyLifetimeOutput

func (i IpSecPolicyLifetimeArgs) ToIpSecPolicyLifetimeOutput() IpSecPolicyLifetimeOutput

func (IpSecPolicyLifetimeArgs) ToIpSecPolicyLifetimeOutputWithContext

func (i IpSecPolicyLifetimeArgs) ToIpSecPolicyLifetimeOutputWithContext(ctx context.Context) IpSecPolicyLifetimeOutput

type IpSecPolicyLifetimeArray

type IpSecPolicyLifetimeArray []IpSecPolicyLifetimeInput

func (IpSecPolicyLifetimeArray) ElementType

func (IpSecPolicyLifetimeArray) ElementType() reflect.Type

func (IpSecPolicyLifetimeArray) ToIpSecPolicyLifetimeArrayOutput

func (i IpSecPolicyLifetimeArray) ToIpSecPolicyLifetimeArrayOutput() IpSecPolicyLifetimeArrayOutput

func (IpSecPolicyLifetimeArray) ToIpSecPolicyLifetimeArrayOutputWithContext

func (i IpSecPolicyLifetimeArray) ToIpSecPolicyLifetimeArrayOutputWithContext(ctx context.Context) IpSecPolicyLifetimeArrayOutput

type IpSecPolicyLifetimeArrayInput

type IpSecPolicyLifetimeArrayInput interface {
	pulumi.Input

	ToIpSecPolicyLifetimeArrayOutput() IpSecPolicyLifetimeArrayOutput
	ToIpSecPolicyLifetimeArrayOutputWithContext(context.Context) IpSecPolicyLifetimeArrayOutput
}

IpSecPolicyLifetimeArrayInput is an input type that accepts IpSecPolicyLifetimeArray and IpSecPolicyLifetimeArrayOutput values. You can construct a concrete instance of `IpSecPolicyLifetimeArrayInput` via:

IpSecPolicyLifetimeArray{ IpSecPolicyLifetimeArgs{...} }

type IpSecPolicyLifetimeArrayOutput

type IpSecPolicyLifetimeArrayOutput struct{ *pulumi.OutputState }

func (IpSecPolicyLifetimeArrayOutput) ElementType

func (IpSecPolicyLifetimeArrayOutput) Index

func (IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutput

func (o IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutput() IpSecPolicyLifetimeArrayOutput

func (IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutputWithContext

func (o IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutputWithContext(ctx context.Context) IpSecPolicyLifetimeArrayOutput

type IpSecPolicyLifetimeInput

type IpSecPolicyLifetimeInput interface {
	pulumi.Input

	ToIpSecPolicyLifetimeOutput() IpSecPolicyLifetimeOutput
	ToIpSecPolicyLifetimeOutputWithContext(context.Context) IpSecPolicyLifetimeOutput
}

IpSecPolicyLifetimeInput is an input type that accepts IpSecPolicyLifetimeArgs and IpSecPolicyLifetimeOutput values. You can construct a concrete instance of `IpSecPolicyLifetimeInput` via:

IpSecPolicyLifetimeArgs{...}

type IpSecPolicyLifetimeOutput

type IpSecPolicyLifetimeOutput struct{ *pulumi.OutputState }

func (IpSecPolicyLifetimeOutput) ElementType

func (IpSecPolicyLifetimeOutput) ElementType() reflect.Type

func (IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutput

func (o IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutput() IpSecPolicyLifetimeOutput

func (IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutputWithContext

func (o IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutputWithContext(ctx context.Context) IpSecPolicyLifetimeOutput

func (IpSecPolicyLifetimeOutput) Units

func (IpSecPolicyLifetimeOutput) Value

The value for the lifetime of the security association. Must be a positive integer. Default is 3600.

type IpSecPolicyMap added in v2.14.1

type IpSecPolicyMap map[string]IpSecPolicyInput

func (IpSecPolicyMap) ElementType added in v2.14.1

func (IpSecPolicyMap) ElementType() reflect.Type

func (IpSecPolicyMap) ToIpSecPolicyMapOutput added in v2.14.1

func (i IpSecPolicyMap) ToIpSecPolicyMapOutput() IpSecPolicyMapOutput

func (IpSecPolicyMap) ToIpSecPolicyMapOutputWithContext added in v2.14.1

func (i IpSecPolicyMap) ToIpSecPolicyMapOutputWithContext(ctx context.Context) IpSecPolicyMapOutput

type IpSecPolicyMapInput added in v2.14.1

type IpSecPolicyMapInput interface {
	pulumi.Input

	ToIpSecPolicyMapOutput() IpSecPolicyMapOutput
	ToIpSecPolicyMapOutputWithContext(context.Context) IpSecPolicyMapOutput
}

IpSecPolicyMapInput is an input type that accepts IpSecPolicyMap and IpSecPolicyMapOutput values. You can construct a concrete instance of `IpSecPolicyMapInput` via:

IpSecPolicyMap{ "key": IpSecPolicyArgs{...} }

type IpSecPolicyMapOutput added in v2.14.1

type IpSecPolicyMapOutput struct{ *pulumi.OutputState }

func (IpSecPolicyMapOutput) ElementType added in v2.14.1

func (IpSecPolicyMapOutput) ElementType() reflect.Type

func (IpSecPolicyMapOutput) MapIndex added in v2.14.1

func (IpSecPolicyMapOutput) ToIpSecPolicyMapOutput added in v2.14.1

func (o IpSecPolicyMapOutput) ToIpSecPolicyMapOutput() IpSecPolicyMapOutput

func (IpSecPolicyMapOutput) ToIpSecPolicyMapOutputWithContext added in v2.14.1

func (o IpSecPolicyMapOutput) ToIpSecPolicyMapOutputWithContext(ctx context.Context) IpSecPolicyMapOutput

type IpSecPolicyOutput added in v2.10.0

type IpSecPolicyOutput struct {
	*pulumi.OutputState
}

func (IpSecPolicyOutput) ElementType added in v2.10.0

func (IpSecPolicyOutput) ElementType() reflect.Type

func (IpSecPolicyOutput) ToIpSecPolicyOutput added in v2.10.0

func (o IpSecPolicyOutput) ToIpSecPolicyOutput() IpSecPolicyOutput

func (IpSecPolicyOutput) ToIpSecPolicyOutputWithContext added in v2.10.0

func (o IpSecPolicyOutput) ToIpSecPolicyOutputWithContext(ctx context.Context) IpSecPolicyOutput

func (IpSecPolicyOutput) ToIpSecPolicyPtrOutput added in v2.14.1

func (o IpSecPolicyOutput) ToIpSecPolicyPtrOutput() IpSecPolicyPtrOutput

func (IpSecPolicyOutput) ToIpSecPolicyPtrOutputWithContext added in v2.14.1

func (o IpSecPolicyOutput) ToIpSecPolicyPtrOutputWithContext(ctx context.Context) IpSecPolicyPtrOutput

type IpSecPolicyPtrInput added in v2.14.1

type IpSecPolicyPtrInput interface {
	pulumi.Input

	ToIpSecPolicyPtrOutput() IpSecPolicyPtrOutput
	ToIpSecPolicyPtrOutputWithContext(ctx context.Context) IpSecPolicyPtrOutput
}

type IpSecPolicyPtrOutput added in v2.14.1

type IpSecPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (IpSecPolicyPtrOutput) ElementType added in v2.14.1

func (IpSecPolicyPtrOutput) ElementType() reflect.Type

func (IpSecPolicyPtrOutput) ToIpSecPolicyPtrOutput added in v2.14.1

func (o IpSecPolicyPtrOutput) ToIpSecPolicyPtrOutput() IpSecPolicyPtrOutput

func (IpSecPolicyPtrOutput) ToIpSecPolicyPtrOutputWithContext added in v2.14.1

func (o IpSecPolicyPtrOutput) ToIpSecPolicyPtrOutputWithContext(ctx context.Context) IpSecPolicyPtrOutput

type IpSecPolicyState

type IpSecPolicyState struct {
	// The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512.
	// Default is sha1. Changing this updates the algorithm of the existing policy.
	AuthAlgorithm pulumi.StringPtrInput
	// The human-readable description for the policy.
	// Changing this updates the description of the existing policy.
	Description pulumi.StringPtrInput
	// The encapsulation mode. Valid values are tunnel and transport. Default is tunnel.
	// Changing this updates the existing policy.
	EncapsulationMode pulumi.StringPtrInput
	// The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on.
	// The default value is aes-128. Changing this updates the existing policy.
	EncryptionAlgorithm pulumi.StringPtrInput
	// The lifetime of the security association. Consists of Unit and Value.
	Lifetimes IpSecPolicyLifetimeArrayInput
	// The name of the policy. Changing this updates the name of
	// the existing policy.
	Name pulumi.StringPtrInput
	// The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5.
	// Changing this updates the existing policy.
	Pfs pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an IPSec policy. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// policy.
	Region pulumi.StringPtrInput
	// The owner of the policy. Required if admin wants to
	// create a policy for another project. Changing this creates a new policy.
	TenantId pulumi.StringPtrInput
	// The transform protocol. Valid values are ESP, AH and AH-ESP.
	// Changing this updates the existing policy. Default is ESP.
	TransformProtocol pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
}

func (IpSecPolicyState) ElementType

func (IpSecPolicyState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// The administrative state of the resource. Can either be up(true) or down(false).
	// Changing this updates the administrative state of the existing service.
	AdminStateUp pulumi.BoolPtrOutput `pulumi:"adminStateUp"`
	// The human-readable description for the service.
	// Changing this updates the description of the existing service.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The read-only external (public) IPv4 address that is used for the VPN service.
	ExternalV4Ip pulumi.StringOutput `pulumi:"externalV4Ip"`
	// The read-only external (public) IPv6 address that is used for the VPN service.
	ExternalV6Ip pulumi.StringOutput `pulumi:"externalV6Ip"`
	// The name of the service. Changing this updates the name of
	// the existing service.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a VPN service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// service.
	Region pulumi.StringOutput `pulumi:"region"`
	// The ID of the router. Changing this creates a new service.
	RouterId pulumi.StringOutput `pulumi:"routerId"`
	// Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.
	Status pulumi.StringOutput `pulumi:"status"`
	// SubnetID is the ID of the subnet. Default is null.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// The owner of the service. Required if admin wants to
	// create a service for another project. Changing this creates a new service.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
	// Map of additional options.
	ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"`
}

Manages a V2 Neutron VPN service resource within OpenStack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/vpnaas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpnaas.NewService(ctx, "service1", &vpnaas.ServiceArgs{
			AdminStateUp: pulumi.Bool(true),
			RouterId:     pulumi.String("14a75700-fc03-4602-9294-26ee44f366b3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Services can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:vpnaas/service:Service service_1 832cb7f3-59fe-40cf-8f64-8350ffc03272

```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service 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 NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

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

func (*Service) ElementType added in v2.10.0

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput added in v2.10.0

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext added in v2.10.0

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (*Service) ToServicePtrOutput added in v2.14.1

func (i *Service) ToServicePtrOutput() ServicePtrOutput

func (*Service) ToServicePtrOutputWithContext added in v2.14.1

func (i *Service) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput

type ServiceArgs

type ServiceArgs struct {
	// The administrative state of the resource. Can either be up(true) or down(false).
	// Changing this updates the administrative state of the existing service.
	AdminStateUp pulumi.BoolPtrInput
	// The human-readable description for the service.
	// Changing this updates the description of the existing service.
	Description pulumi.StringPtrInput
	// The name of the service. Changing this updates the name of
	// the existing service.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a VPN service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// service.
	Region pulumi.StringPtrInput
	// The ID of the router. Changing this creates a new service.
	RouterId pulumi.StringInput
	// SubnetID is the ID of the subnet. Default is null.
	SubnetId pulumi.StringPtrInput
	// The owner of the service. Required if admin wants to
	// create a service for another project. Changing this creates a new service.
	TenantId pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray added in v2.14.1

type ServiceArray []ServiceInput

func (ServiceArray) ElementType added in v2.14.1

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput added in v2.14.1

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext added in v2.14.1

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput added in v2.14.1

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput added in v2.14.1

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType added in v2.14.1

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index added in v2.14.1

func (ServiceArrayOutput) ToServiceArrayOutput added in v2.14.1

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext added in v2.14.1

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceInput added in v2.10.0

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceMap added in v2.14.1

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType added in v2.14.1

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput added in v2.14.1

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext added in v2.14.1

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput added in v2.14.1

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput added in v2.14.1

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType added in v2.14.1

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex added in v2.14.1

func (ServiceMapOutput) ToServiceMapOutput added in v2.14.1

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext added in v2.14.1

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceOutput added in v2.10.0

type ServiceOutput struct {
	*pulumi.OutputState
}

func (ServiceOutput) ElementType added in v2.10.0

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) ToServiceOutput added in v2.10.0

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext added in v2.10.0

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) ToServicePtrOutput added in v2.14.1

func (o ServiceOutput) ToServicePtrOutput() ServicePtrOutput

func (ServiceOutput) ToServicePtrOutputWithContext added in v2.14.1

func (o ServiceOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput

type ServicePtrInput added in v2.14.1

type ServicePtrInput interface {
	pulumi.Input

	ToServicePtrOutput() ServicePtrOutput
	ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
}

type ServicePtrOutput added in v2.14.1

type ServicePtrOutput struct {
	*pulumi.OutputState
}

func (ServicePtrOutput) ElementType added in v2.14.1

func (ServicePtrOutput) ElementType() reflect.Type

func (ServicePtrOutput) ToServicePtrOutput added in v2.14.1

func (o ServicePtrOutput) ToServicePtrOutput() ServicePtrOutput

func (ServicePtrOutput) ToServicePtrOutputWithContext added in v2.14.1

func (o ServicePtrOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput

type ServiceState

type ServiceState struct {
	// The administrative state of the resource. Can either be up(true) or down(false).
	// Changing this updates the administrative state of the existing service.
	AdminStateUp pulumi.BoolPtrInput
	// The human-readable description for the service.
	// Changing this updates the description of the existing service.
	Description pulumi.StringPtrInput
	// The read-only external (public) IPv4 address that is used for the VPN service.
	ExternalV4Ip pulumi.StringPtrInput
	// The read-only external (public) IPv6 address that is used for the VPN service.
	ExternalV6Ip pulumi.StringPtrInput
	// The name of the service. Changing this updates the name of
	// the existing service.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create a VPN service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// service.
	Region pulumi.StringPtrInput
	// The ID of the router. Changing this creates a new service.
	RouterId pulumi.StringPtrInput
	// Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.
	Status pulumi.StringPtrInput
	// SubnetID is the ID of the subnet. Default is null.
	SubnetId pulumi.StringPtrInput
	// The owner of the service. Required if admin wants to
	// create a service for another project. Changing this creates a new service.
	TenantId pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type SiteConnection

type SiteConnection struct {
	pulumi.CustomResourceState

	// The administrative state of the resource. Can either be up(true) or down(false).
	// Changing this updates the administrative state of the existing connection.
	AdminStateUp pulumi.BoolPtrOutput `pulumi:"adminStateUp"`
	// The human-readable description for the connection.
	// Changing this updates the description of the existing connection.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A dictionary with dead peer detection (DPD) protocol controls.
	Dpds SiteConnectionDpdArrayOutput `pulumi:"dpds"`
	// The ID of the IKE policy. Changing this creates a new connection.
	IkepolicyId pulumi.StringOutput `pulumi:"ikepolicyId"`
	// A valid value is response-only or bi-directional. Default is bi-directional.
	Initiator pulumi.StringOutput `pulumi:"initiator"`
	// The ID of the IPsec policy. Changing this creates a new connection.
	IpsecpolicyId pulumi.StringOutput `pulumi:"ipsecpolicyId"`
	// The ID for the endpoint group that contains private subnets for the local side of the connection.
	// You must specify this parameter with the peerEpGroupId parameter unless
	// in backward- compatible mode where peerCidrs is provided with a subnetId for the VPN service.
	// Changing this updates the existing connection.
	LocalEpGroupId pulumi.StringPtrOutput `pulumi:"localEpGroupId"`
	// An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic.
	// Most often, local ID would be domain name, email address, etc.
	// If this is not configured then the external IP address will be used as the ID.
	LocalId pulumi.StringPtrOutput `pulumi:"localId"`
	// The maximum transmission unit (MTU) value to address fragmentation.
	// Minimum value is 68 for IPv4, and 1280 for IPv6.
	Mtu pulumi.IntOutput `pulumi:"mtu"`
	// The name of the connection. Changing this updates the name of
	// the existing connection.
	Name pulumi.StringOutput `pulumi:"name"`
	// The peer gateway public IPv4 or IPv6 address or FQDN.
	PeerAddress pulumi.StringOutput `pulumi:"peerAddress"`
	// Unique list of valid peer private CIDRs in the form < netAddress > / < prefix > .
	PeerCidrs pulumi.StringArrayOutput `pulumi:"peerCidrs"`
	// The ID for the endpoint group that contains private CIDRs in the form < netAddress > / < prefix > for the peer side of the connection.
	// You must specify this parameter with the localEpGroupId parameter unless in backward-compatible mode
	// where peerCidrs is provided with a subnetId for the VPN service.
	PeerEpGroupId pulumi.StringPtrOutput `pulumi:"peerEpGroupId"`
	// The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN.
	// Typically, this value matches the peerAddress value.
	// Changing this updates the existing policy.
	PeerId pulumi.StringOutput `pulumi:"peerId"`
	// The pre-shared key. A valid value is any string.
	Psk pulumi.StringOutput `pulumi:"psk"`
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an IPSec site connection. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// site connection.
	Region pulumi.StringOutput `pulumi:"region"`
	// The owner of the connection. Required if admin wants to
	// create a connection for another project. Changing this creates a new connection.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
	// Map of additional options.
	ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"`
	// The ID of the VPN service. Changing this creates a new connection.
	VpnserviceId pulumi.StringOutput `pulumi:"vpnserviceId"`
}

Manages a V2 Neutron IPSec site connection resource within OpenStack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/vpnaas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpnaas.NewSiteConnection(ctx, "conn1", &vpnaas.SiteConnectionArgs{
			IkepolicyId:    pulumi.Any(openstack_vpnaas_ike_policy_v2.Policy_2.Id),
			IpsecpolicyId:  pulumi.Any(openstack_vpnaas_ipsec_policy_v2.Policy_1.Id),
			LocalEpGroupId: pulumi.Any(openstack_vpnaas_endpoint_group_v2.Group_2.Id),
			PeerAddress:    pulumi.String("192.168.10.1"),
			PeerEpGroupId:  pulumi.Any(openstack_vpnaas_endpoint_group_v2.Group_1.Id),
			Psk:            pulumi.String("secret"),
			VpnserviceId:   pulumi.Any(openstack_vpnaas_service_v2.Service_1.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Site Connections can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:vpnaas/siteConnection:SiteConnection conn_1 832cb7f3-59fe-40cf-8f64-8350ffc03272

```

func GetSiteConnection

func GetSiteConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SiteConnectionState, opts ...pulumi.ResourceOption) (*SiteConnection, error)

GetSiteConnection gets an existing SiteConnection 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 NewSiteConnection

func NewSiteConnection(ctx *pulumi.Context,
	name string, args *SiteConnectionArgs, opts ...pulumi.ResourceOption) (*SiteConnection, error)

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

func (*SiteConnection) ElementType added in v2.10.0

func (*SiteConnection) ElementType() reflect.Type

func (*SiteConnection) ToSiteConnectionOutput added in v2.10.0

func (i *SiteConnection) ToSiteConnectionOutput() SiteConnectionOutput

func (*SiteConnection) ToSiteConnectionOutputWithContext added in v2.10.0

func (i *SiteConnection) ToSiteConnectionOutputWithContext(ctx context.Context) SiteConnectionOutput

func (*SiteConnection) ToSiteConnectionPtrOutput added in v2.14.1

func (i *SiteConnection) ToSiteConnectionPtrOutput() SiteConnectionPtrOutput

func (*SiteConnection) ToSiteConnectionPtrOutputWithContext added in v2.14.1

func (i *SiteConnection) ToSiteConnectionPtrOutputWithContext(ctx context.Context) SiteConnectionPtrOutput

type SiteConnectionArgs

type SiteConnectionArgs struct {
	// The administrative state of the resource. Can either be up(true) or down(false).
	// Changing this updates the administrative state of the existing connection.
	AdminStateUp pulumi.BoolPtrInput
	// The human-readable description for the connection.
	// Changing this updates the description of the existing connection.
	Description pulumi.StringPtrInput
	// A dictionary with dead peer detection (DPD) protocol controls.
	Dpds SiteConnectionDpdArrayInput
	// The ID of the IKE policy. Changing this creates a new connection.
	IkepolicyId pulumi.StringInput
	// A valid value is response-only or bi-directional. Default is bi-directional.
	Initiator pulumi.StringPtrInput
	// The ID of the IPsec policy. Changing this creates a new connection.
	IpsecpolicyId pulumi.StringInput
	// The ID for the endpoint group that contains private subnets for the local side of the connection.
	// You must specify this parameter with the peerEpGroupId parameter unless
	// in backward- compatible mode where peerCidrs is provided with a subnetId for the VPN service.
	// Changing this updates the existing connection.
	LocalEpGroupId pulumi.StringPtrInput
	// An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic.
	// Most often, local ID would be domain name, email address, etc.
	// If this is not configured then the external IP address will be used as the ID.
	LocalId pulumi.StringPtrInput
	// The maximum transmission unit (MTU) value to address fragmentation.
	// Minimum value is 68 for IPv4, and 1280 for IPv6.
	Mtu pulumi.IntPtrInput
	// The name of the connection. Changing this updates the name of
	// the existing connection.
	Name pulumi.StringPtrInput
	// The peer gateway public IPv4 or IPv6 address or FQDN.
	PeerAddress pulumi.StringInput
	// Unique list of valid peer private CIDRs in the form < netAddress > / < prefix > .
	PeerCidrs pulumi.StringArrayInput
	// The ID for the endpoint group that contains private CIDRs in the form < netAddress > / < prefix > for the peer side of the connection.
	// You must specify this parameter with the localEpGroupId parameter unless in backward-compatible mode
	// where peerCidrs is provided with a subnetId for the VPN service.
	PeerEpGroupId pulumi.StringPtrInput
	// The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN.
	// Typically, this value matches the peerAddress value.
	// Changing this updates the existing policy.
	PeerId pulumi.StringInput
	// The pre-shared key. A valid value is any string.
	Psk pulumi.StringInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an IPSec site connection. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// site connection.
	Region pulumi.StringPtrInput
	// The owner of the connection. Required if admin wants to
	// create a connection for another project. Changing this creates a new connection.
	TenantId pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
	// The ID of the VPN service. Changing this creates a new connection.
	VpnserviceId pulumi.StringInput
}

The set of arguments for constructing a SiteConnection resource.

func (SiteConnectionArgs) ElementType

func (SiteConnectionArgs) ElementType() reflect.Type

type SiteConnectionArray added in v2.14.1

type SiteConnectionArray []SiteConnectionInput

func (SiteConnectionArray) ElementType added in v2.14.1

func (SiteConnectionArray) ElementType() reflect.Type

func (SiteConnectionArray) ToSiteConnectionArrayOutput added in v2.14.1

func (i SiteConnectionArray) ToSiteConnectionArrayOutput() SiteConnectionArrayOutput

func (SiteConnectionArray) ToSiteConnectionArrayOutputWithContext added in v2.14.1

func (i SiteConnectionArray) ToSiteConnectionArrayOutputWithContext(ctx context.Context) SiteConnectionArrayOutput

type SiteConnectionArrayInput added in v2.14.1

type SiteConnectionArrayInput interface {
	pulumi.Input

	ToSiteConnectionArrayOutput() SiteConnectionArrayOutput
	ToSiteConnectionArrayOutputWithContext(context.Context) SiteConnectionArrayOutput
}

SiteConnectionArrayInput is an input type that accepts SiteConnectionArray and SiteConnectionArrayOutput values. You can construct a concrete instance of `SiteConnectionArrayInput` via:

SiteConnectionArray{ SiteConnectionArgs{...} }

type SiteConnectionArrayOutput added in v2.14.1

type SiteConnectionArrayOutput struct{ *pulumi.OutputState }

func (SiteConnectionArrayOutput) ElementType added in v2.14.1

func (SiteConnectionArrayOutput) ElementType() reflect.Type

func (SiteConnectionArrayOutput) Index added in v2.14.1

func (SiteConnectionArrayOutput) ToSiteConnectionArrayOutput added in v2.14.1

func (o SiteConnectionArrayOutput) ToSiteConnectionArrayOutput() SiteConnectionArrayOutput

func (SiteConnectionArrayOutput) ToSiteConnectionArrayOutputWithContext added in v2.14.1

func (o SiteConnectionArrayOutput) ToSiteConnectionArrayOutputWithContext(ctx context.Context) SiteConnectionArrayOutput

type SiteConnectionDpd

type SiteConnectionDpd struct {
	// The dead peer detection (DPD) action.
	// A valid value is clear, hold, restart, disabled, or restart-by-peer.
	// Default value is hold.
	Action *string `pulumi:"action"`
	// The dead peer detection (DPD) interval, in seconds.
	// A valid value is a positive integer.
	// Default is 30.
	Interval *int `pulumi:"interval"`
	// The dead peer detection (DPD) timeout in seconds.
	// A valid value is a positive integer that is greater than the DPD interval value.
	// Default is 120.
	Timeout *int `pulumi:"timeout"`
}

type SiteConnectionDpdArgs

type SiteConnectionDpdArgs struct {
	// The dead peer detection (DPD) action.
	// A valid value is clear, hold, restart, disabled, or restart-by-peer.
	// Default value is hold.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// The dead peer detection (DPD) interval, in seconds.
	// A valid value is a positive integer.
	// Default is 30.
	Interval pulumi.IntPtrInput `pulumi:"interval"`
	// The dead peer detection (DPD) timeout in seconds.
	// A valid value is a positive integer that is greater than the DPD interval value.
	// Default is 120.
	Timeout pulumi.IntPtrInput `pulumi:"timeout"`
}

func (SiteConnectionDpdArgs) ElementType

func (SiteConnectionDpdArgs) ElementType() reflect.Type

func (SiteConnectionDpdArgs) ToSiteConnectionDpdOutput

func (i SiteConnectionDpdArgs) ToSiteConnectionDpdOutput() SiteConnectionDpdOutput

func (SiteConnectionDpdArgs) ToSiteConnectionDpdOutputWithContext

func (i SiteConnectionDpdArgs) ToSiteConnectionDpdOutputWithContext(ctx context.Context) SiteConnectionDpdOutput

type SiteConnectionDpdArray

type SiteConnectionDpdArray []SiteConnectionDpdInput

func (SiteConnectionDpdArray) ElementType

func (SiteConnectionDpdArray) ElementType() reflect.Type

func (SiteConnectionDpdArray) ToSiteConnectionDpdArrayOutput

func (i SiteConnectionDpdArray) ToSiteConnectionDpdArrayOutput() SiteConnectionDpdArrayOutput

func (SiteConnectionDpdArray) ToSiteConnectionDpdArrayOutputWithContext

func (i SiteConnectionDpdArray) ToSiteConnectionDpdArrayOutputWithContext(ctx context.Context) SiteConnectionDpdArrayOutput

type SiteConnectionDpdArrayInput

type SiteConnectionDpdArrayInput interface {
	pulumi.Input

	ToSiteConnectionDpdArrayOutput() SiteConnectionDpdArrayOutput
	ToSiteConnectionDpdArrayOutputWithContext(context.Context) SiteConnectionDpdArrayOutput
}

SiteConnectionDpdArrayInput is an input type that accepts SiteConnectionDpdArray and SiteConnectionDpdArrayOutput values. You can construct a concrete instance of `SiteConnectionDpdArrayInput` via:

SiteConnectionDpdArray{ SiteConnectionDpdArgs{...} }

type SiteConnectionDpdArrayOutput

type SiteConnectionDpdArrayOutput struct{ *pulumi.OutputState }

func (SiteConnectionDpdArrayOutput) ElementType

func (SiteConnectionDpdArrayOutput) Index

func (SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutput

func (o SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutput() SiteConnectionDpdArrayOutput

func (SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutputWithContext

func (o SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutputWithContext(ctx context.Context) SiteConnectionDpdArrayOutput

type SiteConnectionDpdInput

type SiteConnectionDpdInput interface {
	pulumi.Input

	ToSiteConnectionDpdOutput() SiteConnectionDpdOutput
	ToSiteConnectionDpdOutputWithContext(context.Context) SiteConnectionDpdOutput
}

SiteConnectionDpdInput is an input type that accepts SiteConnectionDpdArgs and SiteConnectionDpdOutput values. You can construct a concrete instance of `SiteConnectionDpdInput` via:

SiteConnectionDpdArgs{...}

type SiteConnectionDpdOutput

type SiteConnectionDpdOutput struct{ *pulumi.OutputState }

func (SiteConnectionDpdOutput) Action

The dead peer detection (DPD) action. A valid value is clear, hold, restart, disabled, or restart-by-peer. Default value is hold.

func (SiteConnectionDpdOutput) ElementType

func (SiteConnectionDpdOutput) ElementType() reflect.Type

func (SiteConnectionDpdOutput) Interval

The dead peer detection (DPD) interval, in seconds. A valid value is a positive integer. Default is 30.

func (SiteConnectionDpdOutput) Timeout

The dead peer detection (DPD) timeout in seconds. A valid value is a positive integer that is greater than the DPD interval value. Default is 120.

func (SiteConnectionDpdOutput) ToSiteConnectionDpdOutput

func (o SiteConnectionDpdOutput) ToSiteConnectionDpdOutput() SiteConnectionDpdOutput

func (SiteConnectionDpdOutput) ToSiteConnectionDpdOutputWithContext

func (o SiteConnectionDpdOutput) ToSiteConnectionDpdOutputWithContext(ctx context.Context) SiteConnectionDpdOutput

type SiteConnectionInput added in v2.10.0

type SiteConnectionInput interface {
	pulumi.Input

	ToSiteConnectionOutput() SiteConnectionOutput
	ToSiteConnectionOutputWithContext(ctx context.Context) SiteConnectionOutput
}

type SiteConnectionMap added in v2.14.1

type SiteConnectionMap map[string]SiteConnectionInput

func (SiteConnectionMap) ElementType added in v2.14.1

func (SiteConnectionMap) ElementType() reflect.Type

func (SiteConnectionMap) ToSiteConnectionMapOutput added in v2.14.1

func (i SiteConnectionMap) ToSiteConnectionMapOutput() SiteConnectionMapOutput

func (SiteConnectionMap) ToSiteConnectionMapOutputWithContext added in v2.14.1

func (i SiteConnectionMap) ToSiteConnectionMapOutputWithContext(ctx context.Context) SiteConnectionMapOutput

type SiteConnectionMapInput added in v2.14.1

type SiteConnectionMapInput interface {
	pulumi.Input

	ToSiteConnectionMapOutput() SiteConnectionMapOutput
	ToSiteConnectionMapOutputWithContext(context.Context) SiteConnectionMapOutput
}

SiteConnectionMapInput is an input type that accepts SiteConnectionMap and SiteConnectionMapOutput values. You can construct a concrete instance of `SiteConnectionMapInput` via:

SiteConnectionMap{ "key": SiteConnectionArgs{...} }

type SiteConnectionMapOutput added in v2.14.1

type SiteConnectionMapOutput struct{ *pulumi.OutputState }

func (SiteConnectionMapOutput) ElementType added in v2.14.1

func (SiteConnectionMapOutput) ElementType() reflect.Type

func (SiteConnectionMapOutput) MapIndex added in v2.14.1

func (SiteConnectionMapOutput) ToSiteConnectionMapOutput added in v2.14.1

func (o SiteConnectionMapOutput) ToSiteConnectionMapOutput() SiteConnectionMapOutput

func (SiteConnectionMapOutput) ToSiteConnectionMapOutputWithContext added in v2.14.1

func (o SiteConnectionMapOutput) ToSiteConnectionMapOutputWithContext(ctx context.Context) SiteConnectionMapOutput

type SiteConnectionOutput added in v2.10.0

type SiteConnectionOutput struct {
	*pulumi.OutputState
}

func (SiteConnectionOutput) ElementType added in v2.10.0

func (SiteConnectionOutput) ElementType() reflect.Type

func (SiteConnectionOutput) ToSiteConnectionOutput added in v2.10.0

func (o SiteConnectionOutput) ToSiteConnectionOutput() SiteConnectionOutput

func (SiteConnectionOutput) ToSiteConnectionOutputWithContext added in v2.10.0

func (o SiteConnectionOutput) ToSiteConnectionOutputWithContext(ctx context.Context) SiteConnectionOutput

func (SiteConnectionOutput) ToSiteConnectionPtrOutput added in v2.14.1

func (o SiteConnectionOutput) ToSiteConnectionPtrOutput() SiteConnectionPtrOutput

func (SiteConnectionOutput) ToSiteConnectionPtrOutputWithContext added in v2.14.1

func (o SiteConnectionOutput) ToSiteConnectionPtrOutputWithContext(ctx context.Context) SiteConnectionPtrOutput

type SiteConnectionPtrInput added in v2.14.1

type SiteConnectionPtrInput interface {
	pulumi.Input

	ToSiteConnectionPtrOutput() SiteConnectionPtrOutput
	ToSiteConnectionPtrOutputWithContext(ctx context.Context) SiteConnectionPtrOutput
}

type SiteConnectionPtrOutput added in v2.14.1

type SiteConnectionPtrOutput struct {
	*pulumi.OutputState
}

func (SiteConnectionPtrOutput) ElementType added in v2.14.1

func (SiteConnectionPtrOutput) ElementType() reflect.Type

func (SiteConnectionPtrOutput) ToSiteConnectionPtrOutput added in v2.14.1

func (o SiteConnectionPtrOutput) ToSiteConnectionPtrOutput() SiteConnectionPtrOutput

func (SiteConnectionPtrOutput) ToSiteConnectionPtrOutputWithContext added in v2.14.1

func (o SiteConnectionPtrOutput) ToSiteConnectionPtrOutputWithContext(ctx context.Context) SiteConnectionPtrOutput

type SiteConnectionState

type SiteConnectionState struct {
	// The administrative state of the resource. Can either be up(true) or down(false).
	// Changing this updates the administrative state of the existing connection.
	AdminStateUp pulumi.BoolPtrInput
	// The human-readable description for the connection.
	// Changing this updates the description of the existing connection.
	Description pulumi.StringPtrInput
	// A dictionary with dead peer detection (DPD) protocol controls.
	Dpds SiteConnectionDpdArrayInput
	// The ID of the IKE policy. Changing this creates a new connection.
	IkepolicyId pulumi.StringPtrInput
	// A valid value is response-only or bi-directional. Default is bi-directional.
	Initiator pulumi.StringPtrInput
	// The ID of the IPsec policy. Changing this creates a new connection.
	IpsecpolicyId pulumi.StringPtrInput
	// The ID for the endpoint group that contains private subnets for the local side of the connection.
	// You must specify this parameter with the peerEpGroupId parameter unless
	// in backward- compatible mode where peerCidrs is provided with a subnetId for the VPN service.
	// Changing this updates the existing connection.
	LocalEpGroupId pulumi.StringPtrInput
	// An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic.
	// Most often, local ID would be domain name, email address, etc.
	// If this is not configured then the external IP address will be used as the ID.
	LocalId pulumi.StringPtrInput
	// The maximum transmission unit (MTU) value to address fragmentation.
	// Minimum value is 68 for IPv4, and 1280 for IPv6.
	Mtu pulumi.IntPtrInput
	// The name of the connection. Changing this updates the name of
	// the existing connection.
	Name pulumi.StringPtrInput
	// The peer gateway public IPv4 or IPv6 address or FQDN.
	PeerAddress pulumi.StringPtrInput
	// Unique list of valid peer private CIDRs in the form < netAddress > / < prefix > .
	PeerCidrs pulumi.StringArrayInput
	// The ID for the endpoint group that contains private CIDRs in the form < netAddress > / < prefix > for the peer side of the connection.
	// You must specify this parameter with the localEpGroupId parameter unless in backward-compatible mode
	// where peerCidrs is provided with a subnetId for the VPN service.
	PeerEpGroupId pulumi.StringPtrInput
	// The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN.
	// Typically, this value matches the peerAddress value.
	// Changing this updates the existing policy.
	PeerId pulumi.StringPtrInput
	// The pre-shared key. A valid value is any string.
	Psk pulumi.StringPtrInput
	// The region in which to obtain the V2 Networking client.
	// A Networking client is needed to create an IPSec site connection. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// site connection.
	Region pulumi.StringPtrInput
	// The owner of the connection. Required if admin wants to
	// create a connection for another project. Changing this creates a new connection.
	TenantId pulumi.StringPtrInput
	// Map of additional options.
	ValueSpecs pulumi.MapInput
	// The ID of the VPN service. Changing this creates a new connection.
	VpnserviceId pulumi.StringPtrInput
}

func (SiteConnectionState) ElementType

func (SiteConnectionState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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