f5bigip.IpsecProfile
Explore with Pulumi AI
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("azurevWAN_profile", {
name: "/Common/Mytestipsecprofile",
description: "mytestipsecprofile",
trafficSelector: "test-trafficselector",
});
import pulumi
import pulumi_f5bigip as f5bigip
azurev_wan_profile = f5bigip.IpsecProfile("azurevWAN_profile",
name="/Common/Mytestipsecprofile",
description="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, "azurevWAN_profile", &f5bigip.IpsecProfileArgs{
Name: pulumi.String("/Common/Mytestipsecprofile"),
Description: pulumi.String("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("azurevWAN_profile", new()
{
Name = "/Common/Mytestipsecprofile",
Description = "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()
.name("/Common/Mytestipsecprofile")
.description("mytestipsecprofile")
.trafficSelector("test-trafficselector")
.build());
}
}
resources:
azurevWANProfile:
type: f5bigip:IpsecProfile
name: azurevWAN_profile
properties:
name: /Common/Mytestipsecprofile
description: 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.
Constructor 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
- Parent
Profile string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - Traffic
Selector 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.
- Parent
Profile string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - Traffic
Selector 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.
- parent
Profile String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - traffic
Selector 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.
- parent
Profile string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - traffic
Selector 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.
- parent
Profile String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - traffic
Selector 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.
- 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
) - Parent
Profile string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - Traffic
Selector 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
) - Parent
Profile string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - Traffic
Selector 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
) - parent
Profile String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - traffic
Selector 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
) - parent
Profile string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - traffic
Selector 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
) - parent
Profile String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
/Common/ipsec
profile - traffic
Selector 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.