IpSecPolicy
Manages a V2 Neutron IPSec policy resource within OpenStack.
Example Usage
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var policy1 = new OpenStack.VPNaaS.IpSecPolicy("policy1", new OpenStack.VPNaaS.IpSecPolicyArgs
{
});
}
}
Coming soon!
import pulumi
import pulumi_openstack as openstack
policy1 = openstack.vpnaas.IpSecPolicy("policy1")import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const policy1 = new openstack.vpnaas.IpSecPolicy("policy_1", {});Create a IpSecPolicy Resource
new IpSecPolicy(name: string, args?: IpSecPolicyArgs, opts?: CustomResourceOptions);def IpSecPolicy(resource_name, opts=None, auth_algorithm=None, description=None, encapsulation_mode=None, encryption_algorithm=None, lifetimes=None, name=None, pfs=None, region=None, tenant_id=None, transform_protocol=None, value_specs=None, __props__=None);func NewIpSecPolicy(ctx *Context, name string, args *IpSecPolicyArgs, opts ...ResourceOption) (*IpSecPolicy, error)public IpSecPolicy(string name, IpSecPolicyArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args IpSecPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IpSecPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpSecPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
IpSecPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The IpSecPolicy resource accepts the following input properties:
- Auth
Algorithm string The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
- Description string
The human-readable description for the policy. Changing this updates the description of the existing policy.
- Encapsulation
Mode string The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
- Encryption
Algorithm string 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.
- Lifetimes
List<Pulumi.
Open Stack. VPNaa S. Inputs. Ip Sec Policy Lifetime Args> 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.- Name string
The name of the policy. Changing this updates the name of the existing policy.
- Pfs string
The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the
regionargument of the provider is used. Changing this creates a new policy.- Tenant
Id string The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
- Transform
Protocol string The transform protocol. Valid values are ESP, AH and AH-ESP. Changing this updates the existing policy. Default is ESP.
- Value
Specs Dictionary<string, object> Map of additional options.
- Auth
Algorithm string The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
- Description string
The human-readable description for the policy. Changing this updates the description of the existing policy.
- Encapsulation
Mode string The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
- Encryption
Algorithm string 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.
- Lifetimes
[]Ip
Sec Policy Lifetime 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.- Name string
The name of the policy. Changing this updates the name of the existing policy.
- Pfs string
The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the
regionargument of the provider is used. Changing this creates a new policy.- Tenant
Id string The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
- Transform
Protocol string The transform protocol. Valid values are ESP, AH and AH-ESP. Changing this updates the existing policy. Default is ESP.
- Value
Specs map[string]interface{} Map of additional options.
- auth
Algorithm string The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
- description string
The human-readable description for the policy. Changing this updates the description of the existing policy.
- encapsulation
Mode string The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
- encryption
Algorithm string 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.
- lifetimes
Ip
Sec Policy Lifetime[] 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.- name string
The name of the policy. Changing this updates the name of the existing policy.
- pfs string
The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
- region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the
regionargument of the provider is used. Changing this creates a new policy.- tenant
Id string The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
- transform
Protocol string The transform protocol. Valid values are ESP, AH and AH-ESP. Changing this updates the existing policy. Default is ESP.
- value
Specs {[key: string]: any} Map of additional options.
- auth_
algorithm str The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
- description str
The human-readable description for the policy. Changing this updates the description of the existing policy.
- encapsulation_
mode str The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
- encryption_
algorithm str 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.
- lifetimes
List[Ip
Sec Policy Lifetime] 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.- name str
The name of the policy. Changing this updates the name of the existing policy.
- pfs str
The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
- region str
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the
regionargument of the provider is used. Changing this creates a new policy.- tenant_
id str The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
- transform_
protocol str The transform protocol. Valid values are ESP, AH and AH-ESP. Changing this updates the existing policy. Default is ESP.
- value_
specs Dict[str, Any] Map of additional options.
Outputs
All input properties are implicitly available as output properties. Additionally, the IpSecPolicy resource produces the following output properties:
Look up an Existing IpSecPolicy Resource
Get an existing IpSecPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IpSecPolicyState, opts?: CustomResourceOptions): IpSecPolicystatic get(resource_name, id, opts=None, auth_algorithm=None, description=None, encapsulation_mode=None, encryption_algorithm=None, lifetimes=None, name=None, pfs=None, region=None, tenant_id=None, transform_protocol=None, value_specs=None, __props__=None);func GetIpSecPolicy(ctx *Context, name string, id IDInput, state *IpSecPolicyState, opts ...ResourceOption) (*IpSecPolicy, error)public static IpSecPolicy Get(string name, Input<string> id, IpSecPolicyState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Auth
Algorithm string The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
- Description string
The human-readable description for the policy. Changing this updates the description of the existing policy.
- Encapsulation
Mode string The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
- Encryption
Algorithm string 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.
- Lifetimes
List<Pulumi.
Open Stack. VPNaa S. Inputs. Ip Sec Policy Lifetime Args> 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.- Name string
The name of the policy. Changing this updates the name of the existing policy.
- Pfs string
The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the
regionargument of the provider is used. Changing this creates a new policy.- Tenant
Id string The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
- Transform
Protocol string The transform protocol. Valid values are ESP, AH and AH-ESP. Changing this updates the existing policy. Default is ESP.
- Value
Specs Dictionary<string, object> Map of additional options.
- Auth
Algorithm string The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
- Description string
The human-readable description for the policy. Changing this updates the description of the existing policy.
- Encapsulation
Mode string The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
- Encryption
Algorithm string 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.
- Lifetimes
[]Ip
Sec Policy Lifetime 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.- Name string
The name of the policy. Changing this updates the name of the existing policy.
- Pfs string
The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the
regionargument of the provider is used. Changing this creates a new policy.- Tenant
Id string The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
- Transform
Protocol string The transform protocol. Valid values are ESP, AH and AH-ESP. Changing this updates the existing policy. Default is ESP.
- Value
Specs map[string]interface{} Map of additional options.
- auth
Algorithm string The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
- description string
The human-readable description for the policy. Changing this updates the description of the existing policy.
- encapsulation
Mode string The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
- encryption
Algorithm string 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.
- lifetimes
Ip
Sec Policy Lifetime[] 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.- name string
The name of the policy. Changing this updates the name of the existing policy.
- pfs string
The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
- region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the
regionargument of the provider is used. Changing this creates a new policy.- tenant
Id string The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
- transform
Protocol string The transform protocol. Valid values are ESP, AH and AH-ESP. Changing this updates the existing policy. Default is ESP.
- value
Specs {[key: string]: any} Map of additional options.
- auth_
algorithm str The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
- description str
The human-readable description for the policy. Changing this updates the description of the existing policy.
- encapsulation_
mode str The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
- encryption_
algorithm str 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.
- lifetimes
List[Ip
Sec Policy Lifetime] 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.- name str
The name of the policy. Changing this updates the name of the existing policy.
- pfs str
The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
- region str
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the
regionargument of the provider is used. Changing this creates a new policy.- tenant_
id str The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
- transform_
protocol str The transform protocol. Valid values are ESP, AH and AH-ESP. Changing this updates the existing policy. Default is ESP.
- value_
specs Dict[str, Any] Map of additional options.
Supporting Types
IpSecPolicyLifetime
Package Details
- Repository
- https://github.com/pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstackTerraform Provider.