Show / Hide Table of Contents

Class IkePolicy

Manages a V2 Neutron IKE policy resource within OpenStack.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var policy1 = new OpenStack.VPNaaS.IkePolicy("policy1", new OpenStack.VPNaaS.IkePolicyArgs
    {
    });
}

}
Inheritance
System.Object
Resource
CustomResource
IkePolicy
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.VPNaaS
Assembly: Pulumi.OpenStack.dll
Syntax
public class IkePolicy : CustomResource

Constructors

View Source

IkePolicy(String, IkePolicyArgs, CustomResourceOptions)

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

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

The unique name of the resource

IkePolicyArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AuthAlgorithm

The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.

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

Description

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

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

EncryptionAlgorithm

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.

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

IkeVersion

The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.

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

Lifetimes

The lifetime of the security association. Consists of Unit and Value.

  • unit - (Optional) The units for the lifetime of the security association. Can be either seconds or kilobytes. Default is seconds.
  • value - (Optional) The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
Declaration
public Output<ImmutableArray<IkePolicyLifetime>> Lifetimes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<IkePolicyLifetime>>
View Source

Name

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

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

Pfs

The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.

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

Phase1NegotiationMode

The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.

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

Region

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

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

TenantId

The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.

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

ValueSpecs

Map of additional options.

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

Methods

View Source

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

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

Declaration
public static IkePolicy Get(string name, Input<string> id, IkePolicyState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

IkePolicyState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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