1. Packages
  2. Bigip Provider
  3. API Docs
  4. ltm
  5. PersistenceProfileSsl
f5 BIG-IP v3.17.6 published on Monday, Oct 28, 2024 by Pulumi

f5bigip.ltm.PersistenceProfileSsl

Explore with Pulumi AI

f5bigip logo
f5 BIG-IP v3.17.6 published on Monday, Oct 28, 2024 by Pulumi

    Configures an SSL persistence profile

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as f5bigip from "@pulumi/f5bigip";
    
    const ppssl = new f5bigip.ltm.PersistenceProfileSsl("ppssl", {
        name: "/Common/terraform_ssl",
        defaultsFrom: "/Common/ssl",
        matchAcrossPools: "enabled",
        matchAcrossServices: "enabled",
        matchAcrossVirtuals: "enabled",
        mirror: "enabled",
        timeout: 3600,
        overrideConnLimit: "enabled",
    });
    
    import pulumi
    import pulumi_f5bigip as f5bigip
    
    ppssl = f5bigip.ltm.PersistenceProfileSsl("ppssl",
        name="/Common/terraform_ssl",
        defaults_from="/Common/ssl",
        match_across_pools="enabled",
        match_across_services="enabled",
        match_across_virtuals="enabled",
        mirror="enabled",
        timeout=3600,
        override_conn_limit="enabled")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/ltm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ltm.NewPersistenceProfileSsl(ctx, "ppssl", &ltm.PersistenceProfileSslArgs{
    			Name:                pulumi.String("/Common/terraform_ssl"),
    			DefaultsFrom:        pulumi.String("/Common/ssl"),
    			MatchAcrossPools:    pulumi.String("enabled"),
    			MatchAcrossServices: pulumi.String("enabled"),
    			MatchAcrossVirtuals: pulumi.String("enabled"),
    			Mirror:              pulumi.String("enabled"),
    			Timeout:             pulumi.Int(3600),
    			OverrideConnLimit:   pulumi.String("enabled"),
    		})
    		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 ppssl = new F5BigIP.Ltm.PersistenceProfileSsl("ppssl", new()
        {
            Name = "/Common/terraform_ssl",
            DefaultsFrom = "/Common/ssl",
            MatchAcrossPools = "enabled",
            MatchAcrossServices = "enabled",
            MatchAcrossVirtuals = "enabled",
            Mirror = "enabled",
            Timeout = 3600,
            OverrideConnLimit = "enabled",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.f5bigip.ltm.PersistenceProfileSsl;
    import com.pulumi.f5bigip.ltm.PersistenceProfileSslArgs;
    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 ppssl = new PersistenceProfileSsl("ppssl", PersistenceProfileSslArgs.builder()
                .name("/Common/terraform_ssl")
                .defaultsFrom("/Common/ssl")
                .matchAcrossPools("enabled")
                .matchAcrossServices("enabled")
                .matchAcrossVirtuals("enabled")
                .mirror("enabled")
                .timeout(3600)
                .overrideConnLimit("enabled")
                .build());
    
        }
    }
    
    resources:
      ppssl:
        type: f5bigip:ltm:PersistenceProfileSsl
        properties:
          name: /Common/terraform_ssl
          defaultsFrom: /Common/ssl
          matchAcrossPools: enabled
          matchAcrossServices: enabled
          matchAcrossVirtuals: enabled
          mirror: enabled
          timeout: 3600
          overrideConnLimit: enabled
    

    Reference

    name - (Required) Name of the virtual address

    defaults_from - (Required) Parent cookie persistence profile

    match_across_pools (Optional) (enabled or disabled) match across pools with given persistence record

    match_across_services (Optional) (enabled or disabled) match across services with given persistence record

    match_across_virtuals (Optional) (enabled or disabled) match across virtual servers with given persistence record

    mirror (Optional) (enabled or disabled) mirror persistence record

    timeout (Optional) (enabled or disabled) Timeout for persistence of the session in seconds

    override_conn_limit (Optional) (enabled or disabled) Enable or dissable pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.

    Create PersistenceProfileSsl Resource

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

    Constructor syntax

    new PersistenceProfileSsl(name: string, args: PersistenceProfileSslArgs, opts?: CustomResourceOptions);
    @overload
    def PersistenceProfileSsl(resource_name: str,
                              args: PersistenceProfileSslArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def PersistenceProfileSsl(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              defaults_from: Optional[str] = None,
                              name: Optional[str] = None,
                              app_service: Optional[str] = None,
                              match_across_pools: Optional[str] = None,
                              match_across_services: Optional[str] = None,
                              match_across_virtuals: Optional[str] = None,
                              mirror: Optional[str] = None,
                              override_conn_limit: Optional[str] = None,
                              timeout: Optional[int] = None)
    func NewPersistenceProfileSsl(ctx *Context, name string, args PersistenceProfileSslArgs, opts ...ResourceOption) (*PersistenceProfileSsl, error)
    public PersistenceProfileSsl(string name, PersistenceProfileSslArgs args, CustomResourceOptions? opts = null)
    public PersistenceProfileSsl(String name, PersistenceProfileSslArgs args)
    public PersistenceProfileSsl(String name, PersistenceProfileSslArgs args, CustomResourceOptions options)
    
    type: f5bigip:ltm:PersistenceProfileSsl
    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 PersistenceProfileSslArgs
    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 PersistenceProfileSslArgs
    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 PersistenceProfileSslArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PersistenceProfileSslArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PersistenceProfileSslArgs
    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 persistenceProfileSslResource = new F5BigIP.Ltm.PersistenceProfileSsl("persistenceProfileSslResource", new()
    {
        DefaultsFrom = "string",
        Name = "string",
        AppService = "string",
        MatchAcrossPools = "string",
        MatchAcrossServices = "string",
        MatchAcrossVirtuals = "string",
        Mirror = "string",
        OverrideConnLimit = "string",
        Timeout = 0,
    });
    
    example, err := ltm.NewPersistenceProfileSsl(ctx, "persistenceProfileSslResource", &ltm.PersistenceProfileSslArgs{
    	DefaultsFrom:        pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	AppService:          pulumi.String("string"),
    	MatchAcrossPools:    pulumi.String("string"),
    	MatchAcrossServices: pulumi.String("string"),
    	MatchAcrossVirtuals: pulumi.String("string"),
    	Mirror:              pulumi.String("string"),
    	OverrideConnLimit:   pulumi.String("string"),
    	Timeout:             pulumi.Int(0),
    })
    
    var persistenceProfileSslResource = new PersistenceProfileSsl("persistenceProfileSslResource", PersistenceProfileSslArgs.builder()
        .defaultsFrom("string")
        .name("string")
        .appService("string")
        .matchAcrossPools("string")
        .matchAcrossServices("string")
        .matchAcrossVirtuals("string")
        .mirror("string")
        .overrideConnLimit("string")
        .timeout(0)
        .build());
    
    persistence_profile_ssl_resource = f5bigip.ltm.PersistenceProfileSsl("persistenceProfileSslResource",
        defaults_from="string",
        name="string",
        app_service="string",
        match_across_pools="string",
        match_across_services="string",
        match_across_virtuals="string",
        mirror="string",
        override_conn_limit="string",
        timeout=0)
    
    const persistenceProfileSslResource = new f5bigip.ltm.PersistenceProfileSsl("persistenceProfileSslResource", {
        defaultsFrom: "string",
        name: "string",
        appService: "string",
        matchAcrossPools: "string",
        matchAcrossServices: "string",
        matchAcrossVirtuals: "string",
        mirror: "string",
        overrideConnLimit: "string",
        timeout: 0,
    });
    
    type: f5bigip:ltm:PersistenceProfileSsl
    properties:
        appService: string
        defaultsFrom: string
        matchAcrossPools: string
        matchAcrossServices: string
        matchAcrossVirtuals: string
        mirror: string
        name: string
        overrideConnLimit: string
        timeout: 0
    

    PersistenceProfileSsl 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 PersistenceProfileSsl resource accepts the following input properties:

    DefaultsFrom string
    Inherit defaults from parent profile
    Name string
    Name of the persistence profile
    AppService string
    MatchAcrossPools string
    To enable _ disable match across pools with given persistence record
    MatchAcrossServices string
    To enable _ disable match across services with given persistence record
    MatchAcrossVirtuals string
    To enable _ disable match across services with given persistence record
    Mirror string
    To enable _ disable
    OverrideConnLimit string
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    Timeout int
    Timeout for persistence of the session
    DefaultsFrom string
    Inherit defaults from parent profile
    Name string
    Name of the persistence profile
    AppService string
    MatchAcrossPools string
    To enable _ disable match across pools with given persistence record
    MatchAcrossServices string
    To enable _ disable match across services with given persistence record
    MatchAcrossVirtuals string
    To enable _ disable match across services with given persistence record
    Mirror string
    To enable _ disable
    OverrideConnLimit string
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    Timeout int
    Timeout for persistence of the session
    defaultsFrom String
    Inherit defaults from parent profile
    name String
    Name of the persistence profile
    appService String
    matchAcrossPools String
    To enable _ disable match across pools with given persistence record
    matchAcrossServices String
    To enable _ disable match across services with given persistence record
    matchAcrossVirtuals String
    To enable _ disable match across services with given persistence record
    mirror String
    To enable _ disable
    overrideConnLimit String
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    timeout Integer
    Timeout for persistence of the session
    defaultsFrom string
    Inherit defaults from parent profile
    name string
    Name of the persistence profile
    appService string
    matchAcrossPools string
    To enable _ disable match across pools with given persistence record
    matchAcrossServices string
    To enable _ disable match across services with given persistence record
    matchAcrossVirtuals string
    To enable _ disable match across services with given persistence record
    mirror string
    To enable _ disable
    overrideConnLimit string
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    timeout number
    Timeout for persistence of the session
    defaults_from str
    Inherit defaults from parent profile
    name str
    Name of the persistence profile
    app_service str
    match_across_pools str
    To enable _ disable match across pools with given persistence record
    match_across_services str
    To enable _ disable match across services with given persistence record
    match_across_virtuals str
    To enable _ disable match across services with given persistence record
    mirror str
    To enable _ disable
    override_conn_limit str
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    timeout int
    Timeout for persistence of the session
    defaultsFrom String
    Inherit defaults from parent profile
    name String
    Name of the persistence profile
    appService String
    matchAcrossPools String
    To enable _ disable match across pools with given persistence record
    matchAcrossServices String
    To enable _ disable match across services with given persistence record
    matchAcrossVirtuals String
    To enable _ disable match across services with given persistence record
    mirror String
    To enable _ disable
    overrideConnLimit String
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    timeout Number
    Timeout for persistence of the session

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PersistenceProfileSsl 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 PersistenceProfileSsl Resource

    Get an existing PersistenceProfileSsl 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?: PersistenceProfileSslState, opts?: CustomResourceOptions): PersistenceProfileSsl
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_service: Optional[str] = None,
            defaults_from: Optional[str] = None,
            match_across_pools: Optional[str] = None,
            match_across_services: Optional[str] = None,
            match_across_virtuals: Optional[str] = None,
            mirror: Optional[str] = None,
            name: Optional[str] = None,
            override_conn_limit: Optional[str] = None,
            timeout: Optional[int] = None) -> PersistenceProfileSsl
    func GetPersistenceProfileSsl(ctx *Context, name string, id IDInput, state *PersistenceProfileSslState, opts ...ResourceOption) (*PersistenceProfileSsl, error)
    public static PersistenceProfileSsl Get(string name, Input<string> id, PersistenceProfileSslState? state, CustomResourceOptions? opts = null)
    public static PersistenceProfileSsl get(String name, Output<String> id, PersistenceProfileSslState 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:
    AppService string
    DefaultsFrom string
    Inherit defaults from parent profile
    MatchAcrossPools string
    To enable _ disable match across pools with given persistence record
    MatchAcrossServices string
    To enable _ disable match across services with given persistence record
    MatchAcrossVirtuals string
    To enable _ disable match across services with given persistence record
    Mirror string
    To enable _ disable
    Name string
    Name of the persistence profile
    OverrideConnLimit string
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    Timeout int
    Timeout for persistence of the session
    AppService string
    DefaultsFrom string
    Inherit defaults from parent profile
    MatchAcrossPools string
    To enable _ disable match across pools with given persistence record
    MatchAcrossServices string
    To enable _ disable match across services with given persistence record
    MatchAcrossVirtuals string
    To enable _ disable match across services with given persistence record
    Mirror string
    To enable _ disable
    Name string
    Name of the persistence profile
    OverrideConnLimit string
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    Timeout int
    Timeout for persistence of the session
    appService String
    defaultsFrom String
    Inherit defaults from parent profile
    matchAcrossPools String
    To enable _ disable match across pools with given persistence record
    matchAcrossServices String
    To enable _ disable match across services with given persistence record
    matchAcrossVirtuals String
    To enable _ disable match across services with given persistence record
    mirror String
    To enable _ disable
    name String
    Name of the persistence profile
    overrideConnLimit String
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    timeout Integer
    Timeout for persistence of the session
    appService string
    defaultsFrom string
    Inherit defaults from parent profile
    matchAcrossPools string
    To enable _ disable match across pools with given persistence record
    matchAcrossServices string
    To enable _ disable match across services with given persistence record
    matchAcrossVirtuals string
    To enable _ disable match across services with given persistence record
    mirror string
    To enable _ disable
    name string
    Name of the persistence profile
    overrideConnLimit string
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    timeout number
    Timeout for persistence of the session
    app_service str
    defaults_from str
    Inherit defaults from parent profile
    match_across_pools str
    To enable _ disable match across pools with given persistence record
    match_across_services str
    To enable _ disable match across services with given persistence record
    match_across_virtuals str
    To enable _ disable match across services with given persistence record
    mirror str
    To enable _ disable
    name str
    Name of the persistence profile
    override_conn_limit str
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    timeout int
    Timeout for persistence of the session
    appService String
    defaultsFrom String
    Inherit defaults from parent profile
    matchAcrossPools String
    To enable _ disable match across pools with given persistence record
    matchAcrossServices String
    To enable _ disable match across services with given persistence record
    matchAcrossVirtuals String
    To enable _ disable match across services with given persistence record
    mirror String
    To enable _ disable
    name String
    Name of the persistence profile
    overrideConnLimit String
    To enable _ disable that pool member connection limits are overridden for persisted clients. Per-virtual connection limits remain hard limits and are not overridden.
    timeout Number
    Timeout for persistence of the session

    Import

    ing

    An ssl persistence profile can be imported into this resource by supplying the Name in full path as id. An example is below:

    $ terraform import bigip_ltm_persistence_profile_ssl.ppssl "/Common/terraform_ssl"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.6 published on Monday, Oct 28, 2024 by Pulumi