1. Packages
  2. F5 BIG-IP
  3. API Docs
  4. IpsecProfile
f5 BIG-IP v3.17.0 published on Thursday, Mar 28, 2024 by Pulumi

f5bigip.IpsecProfile

Explore with Pulumi AI

f5bigip logo
f5 BIG-IP v3.17.0 published on Thursday, Mar 28, 2024 by Pulumi

    f5bigip.IpsecProfile Manage IPSec Profiles on a BIG-IP

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as f5bigip from "@pulumi/f5bigip";
    
    const azurevWANProfile = new f5bigip.IpsecProfile("azurevWANProfile", {
        description: "mytestipsecprofile",
        name: "/Common/Mytestipsecprofile",
        trafficSelector: "test-trafficselector",
    });
    
    import pulumi
    import pulumi_f5bigip as f5bigip
    
    azurev_wan_profile = f5bigip.IpsecProfile("azurevWANProfile",
        description="mytestipsecprofile",
        name="/Common/Mytestipsecprofile",
        traffic_selector="test-trafficselector")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := f5bigip.NewIpsecProfile(ctx, "azurevWANProfile", &f5bigip.IpsecProfileArgs{
    			Description:     pulumi.String("mytestipsecprofile"),
    			Name:            pulumi.String("/Common/Mytestipsecprofile"),
    			TrafficSelector: pulumi.String("test-trafficselector"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using F5BigIP = Pulumi.F5BigIP;
    
    return await Deployment.RunAsync(() => 
    {
        var azurevWANProfile = new F5BigIP.IpsecProfile("azurevWANProfile", new()
        {
            Description = "mytestipsecprofile",
            Name = "/Common/Mytestipsecprofile",
            TrafficSelector = "test-trafficselector",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.f5bigip.IpsecProfile;
    import com.pulumi.f5bigip.IpsecProfileArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var azurevWANProfile = new IpsecProfile("azurevWANProfile", IpsecProfileArgs.builder()        
                .description("mytestipsecprofile")
                .name("/Common/Mytestipsecprofile")
                .trafficSelector("test-trafficselector")
                .build());
    
        }
    }
    
    resources:
      azurevWANProfile:
        type: f5bigip:IpsecProfile
        properties:
          description: mytestipsecprofile
          name: /Common/Mytestipsecprofile
          trafficSelector: test-trafficselector
    

    Create IpsecProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IpsecProfile(name: string, args: IpsecProfileArgs, opts?: CustomResourceOptions);
    @overload
    def IpsecProfile(resource_name: str,
                     args: IpsecProfileArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def IpsecProfile(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     name: Optional[str] = None,
                     description: Optional[str] = None,
                     parent_profile: Optional[str] = None,
                     traffic_selector: Optional[str] = None)
    func NewIpsecProfile(ctx *Context, name string, args IpsecProfileArgs, opts ...ResourceOption) (*IpsecProfile, error)
    public IpsecProfile(string name, IpsecProfileArgs args, CustomResourceOptions? opts = null)
    public IpsecProfile(String name, IpsecProfileArgs args)
    public IpsecProfile(String name, IpsecProfileArgs args, CustomResourceOptions options)
    
    type: f5bigip:IpsecProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IpsecProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IpsecProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IpsecProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpsecProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpsecProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var ipsecProfileResource = new F5BigIP.IpsecProfile("ipsecProfileResource", new()
    {
        Name = "string",
        Description = "string",
        ParentProfile = "string",
        TrafficSelector = "string",
    });
    
    example, err := f5bigip.NewIpsecProfile(ctx, "ipsecProfileResource", &f5bigip.IpsecProfileArgs{
    	Name:            pulumi.String("string"),
    	Description:     pulumi.String("string"),
    	ParentProfile:   pulumi.String("string"),
    	TrafficSelector: pulumi.String("string"),
    })
    
    var ipsecProfileResource = new IpsecProfile("ipsecProfileResource", IpsecProfileArgs.builder()        
        .name("string")
        .description("string")
        .parentProfile("string")
        .trafficSelector("string")
        .build());
    
    ipsec_profile_resource = f5bigip.IpsecProfile("ipsecProfileResource",
        name="string",
        description="string",
        parent_profile="string",
        traffic_selector="string")
    
    const ipsecProfileResource = new f5bigip.IpsecProfile("ipsecProfileResource", {
        name: "string",
        description: "string",
        parentProfile: "string",
        trafficSelector: "string",
    });
    
    type: f5bigip:IpsecProfile
    properties:
        description: string
        name: string
        parentProfile: string
        trafficSelector: string
    

    IpsecProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The IpsecProfile resource accepts the following input properties:

    Name string
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    Description string
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    ParentProfile string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    TrafficSelector string
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    Name string
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    Description string
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    ParentProfile string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    TrafficSelector string
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    name String
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    description String
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    parentProfile String
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    trafficSelector String
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    name string
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    description string
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    parentProfile string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    trafficSelector string
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    name str
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    description str
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    parent_profile str
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    traffic_selector str
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    name String
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    description String
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    parentProfile String
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    trafficSelector String
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IpsecProfile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IpsecProfile Resource

    Get an existing IpsecProfile 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?: IpsecProfileState, opts?: CustomResourceOptions): IpsecProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            parent_profile: Optional[str] = None,
            traffic_selector: Optional[str] = None) -> IpsecProfile
    func GetIpsecProfile(ctx *Context, name string, id IDInput, state *IpsecProfileState, opts ...ResourceOption) (*IpsecProfile, error)
    public static IpsecProfile Get(string name, Input<string> id, IpsecProfileState? state, CustomResourceOptions? opts = null)
    public static IpsecProfile get(String name, Output<String> id, IpsecProfileState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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:
    Description string
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    Name string
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    ParentProfile string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    TrafficSelector string
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    Description string
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    Name string
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    ParentProfile string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    TrafficSelector string
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    description String
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    name String
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    parentProfile String
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    trafficSelector String
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    description string
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    name string
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    parentProfile string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    trafficSelector string
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    description str
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    name str
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    parent_profile str
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    traffic_selector str
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied
    description String
    Specifies descriptive text that identifies the IPsec interface tunnel profile.
    name String
    Displays the name of the IPsec interface tunnel profile,it should be "full path".The full path is the combination of the partition + name of the IPSec profile.(For example /Common/test-profile)
    parentProfile String
    Specifies the profile from which this profile inherits settings. The default is the system-supplied /Common/ipsec profile
    trafficSelector String
    Specifies the traffic selector for the IPsec interface tunnel to which the profile is applied

    Package Details

    Repository
    f5 BIG-IP pulumi/pulumi-f5bigip
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the bigip Terraform Provider.
    f5bigip logo
    f5 BIG-IP v3.17.0 published on Thursday, Mar 28, 2024 by Pulumi