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

f5bigip.ltm.Policy

Explore with Pulumi AI

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

    f5bigip.ltm.Policy Configures ltm policies to manage traffic assigned to a virtual server

    For resources should be named with their full path. The full path is the combination of the partition + name of the resource. For example /Common/test-policy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as f5bigip from "@pulumi/f5bigip";
    
    const mypool = new f5bigip.ltm.Pool("mypool", {
        name: "/Common/test-pool",
        allowNat: "yes",
        allowSnat: "yes",
        loadBalancingMode: "round-robin",
    });
    const test_policy = new f5bigip.ltm.Policy("test-policy", {
        name: "/Common/test-policy",
        strategy: "first-match",
        requires: ["http"],
        controls: ["forwarding"],
        rules: [{
            name: "rule6",
            actions: [{
                forward: true,
                connection: false,
                pool: mypool.name,
            }],
        }],
    }, {
        dependsOn: [mypool],
    });
    
    import pulumi
    import pulumi_f5bigip as f5bigip
    
    mypool = f5bigip.ltm.Pool("mypool",
        name="/Common/test-pool",
        allow_nat="yes",
        allow_snat="yes",
        load_balancing_mode="round-robin")
    test_policy = f5bigip.ltm.Policy("test-policy",
        name="/Common/test-policy",
        strategy="first-match",
        requires=["http"],
        controls=["forwarding"],
        rules=[{
            "name": "rule6",
            "actions": [{
                "forward": True,
                "connection": False,
                "pool": mypool.name,
            }],
        }],
        opts = pulumi.ResourceOptions(depends_on=[mypool]))
    
    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 {
    		mypool, err := ltm.NewPool(ctx, "mypool", &ltm.PoolArgs{
    			Name:              pulumi.String("/Common/test-pool"),
    			AllowNat:          pulumi.String("yes"),
    			AllowSnat:         pulumi.String("yes"),
    			LoadBalancingMode: pulumi.String("round-robin"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ltm.NewPolicy(ctx, "test-policy", &ltm.PolicyArgs{
    			Name:     pulumi.String("/Common/test-policy"),
    			Strategy: pulumi.String("first-match"),
    			Requires: pulumi.StringArray{
    				pulumi.String("http"),
    			},
    			Controls: pulumi.StringArray{
    				pulumi.String("forwarding"),
    			},
    			Rules: ltm.PolicyRuleArray{
    				&ltm.PolicyRuleArgs{
    					Name: pulumi.String("rule6"),
    					Actions: ltm.PolicyRuleActionArray{
    						&ltm.PolicyRuleActionArgs{
    							Forward:    pulumi.Bool(true),
    							Connection: pulumi.Bool(false),
    							Pool:       mypool.Name,
    						},
    					},
    				},
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			mypool,
    		}))
    		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 mypool = new F5BigIP.Ltm.Pool("mypool", new()
        {
            Name = "/Common/test-pool",
            AllowNat = "yes",
            AllowSnat = "yes",
            LoadBalancingMode = "round-robin",
        });
    
        var test_policy = new F5BigIP.Ltm.Policy("test-policy", new()
        {
            Name = "/Common/test-policy",
            Strategy = "first-match",
            Requires = new[]
            {
                "http",
            },
            Controls = new[]
            {
                "forwarding",
            },
            Rules = new[]
            {
                new F5BigIP.Ltm.Inputs.PolicyRuleArgs
                {
                    Name = "rule6",
                    Actions = new[]
                    {
                        new F5BigIP.Ltm.Inputs.PolicyRuleActionArgs
                        {
                            Forward = true,
                            Connection = false,
                            Pool = mypool.Name,
                        },
                    },
                },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                mypool,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.f5bigip.ltm.Pool;
    import com.pulumi.f5bigip.ltm.PoolArgs;
    import com.pulumi.f5bigip.ltm.Policy;
    import com.pulumi.f5bigip.ltm.PolicyArgs;
    import com.pulumi.f5bigip.ltm.inputs.PolicyRuleArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 mypool = new Pool("mypool", PoolArgs.builder()
                .name("/Common/test-pool")
                .allowNat("yes")
                .allowSnat("yes")
                .loadBalancingMode("round-robin")
                .build());
    
            var test_policy = new Policy("test-policy", PolicyArgs.builder()
                .name("/Common/test-policy")
                .strategy("first-match")
                .requires("http")
                .controls("forwarding")
                .rules(PolicyRuleArgs.builder()
                    .name("rule6")
                    .actions(PolicyRuleActionArgs.builder()
                        .forward(true)
                        .connection(false)
                        .pool(mypool.name())
                        .build())
                    .build())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(mypool)
                    .build());
    
        }
    }
    
    resources:
      mypool:
        type: f5bigip:ltm:Pool
        properties:
          name: /Common/test-pool
          allowNat: yes
          allowSnat: yes
          loadBalancingMode: round-robin
      test-policy:
        type: f5bigip:ltm:Policy
        properties:
          name: /Common/test-policy
          strategy: first-match
          requires:
            - http
          controls:
            - forwarding
          rules:
            - name: rule6
              actions:
                - forward: true
                  connection: false
                  pool: ${mypool.name}
        options:
          dependson:
            - ${mypool}
    

    Create Policy Resource

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

    Constructor syntax

    new Policy(name: string, args: PolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Policy(resource_name: str,
               args: PolicyArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Policy(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               name: Optional[str] = None,
               controls: Optional[Sequence[str]] = None,
               description: Optional[str] = None,
               published_copy: Optional[str] = None,
               requires: Optional[Sequence[str]] = None,
               rules: Optional[Sequence[PolicyRuleArgs]] = None,
               strategy: Optional[str] = None)
    func NewPolicy(ctx *Context, name string, args PolicyArgs, opts ...ResourceOption) (*Policy, error)
    public Policy(string name, PolicyArgs args, CustomResourceOptions? opts = null)
    public Policy(String name, PolicyArgs args)
    public Policy(String name, PolicyArgs args, CustomResourceOptions options)
    
    type: f5bigip:ltm:Policy
    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 PolicyArgs
    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 PolicyArgs
    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 PolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyArgs
    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 policyResource = new F5BigIP.Ltm.Policy("policyResource", new()
    {
        Name = "string",
        Controls = new[]
        {
            "string",
        },
        Description = "string",
        Requires = new[]
        {
            "string",
        },
        Rules = new[]
        {
            new F5BigIP.Ltm.Inputs.PolicyRuleArgs
            {
                Name = "string",
                Actions = new[]
                {
                    new F5BigIP.Ltm.Inputs.PolicyRuleActionArgs
                    {
                        AppService = "string",
                        Application = "string",
                        Asm = false,
                        Avr = false,
                        Cache = false,
                        Carp = false,
                        Category = "string",
                        Classify = false,
                        ClonePool = "string",
                        Code = 0,
                        Compress = false,
                        Connection = false,
                        Content = "string",
                        CookieHash = false,
                        CookieInsert = false,
                        CookiePassive = false,
                        CookieRewrite = false,
                        Decompress = false,
                        Defer = false,
                        DestinationAddress = false,
                        Disable = false,
                        Domain = "string",
                        Enable = false,
                        Expiry = "string",
                        ExpirySecs = 0,
                        Expression = "string",
                        Extension = "string",
                        Facility = "string",
                        Forward = false,
                        FromProfile = "string",
                        Hash = false,
                        Host = "string",
                        Http = false,
                        HttpBasicAuth = false,
                        HttpCookie = false,
                        HttpHeader = false,
                        HttpHost = false,
                        HttpReferer = false,
                        HttpReply = false,
                        HttpSetCookie = false,
                        HttpUri = false,
                        Ifile = "string",
                        Insert = false,
                        InternalVirtual = "string",
                        IpAddress = "string",
                        Key = "string",
                        L7dos = false,
                        Length = 0,
                        Location = "string",
                        Log = false,
                        LtmPolicy = false,
                        Member = "string",
                        Message = "string",
                        Netmask = "string",
                        Nexthop = "string",
                        Node = "string",
                        Offset = 0,
                        Path = "string",
                        Pem = false,
                        Persist = false,
                        Pin = false,
                        Policy = "string",
                        Pool = "string",
                        Port = 0,
                        Priority = "string",
                        Profile = "string",
                        Protocol = "string",
                        QueryString = "string",
                        Rateclass = "string",
                        Redirect = false,
                        Remove = false,
                        Replace = false,
                        Request = false,
                        RequestAdapt = false,
                        Reset = false,
                        Response = false,
                        ResponseAdapt = false,
                        Scheme = "string",
                        Script = "string",
                        Select = false,
                        ServerSsl = false,
                        SetVariable = false,
                        Shutdown = false,
                        Snat = "string",
                        Snatpool = "string",
                        SourceAddress = false,
                        SslClientHello = false,
                        SslServerHandshake = false,
                        SslServerHello = false,
                        SslSessionId = false,
                        Status = 0,
                        Tcl = false,
                        TcpNagle = false,
                        Text = "string",
                        Timeout = 0,
                        TmName = "string",
                        Uie = false,
                        Universal = false,
                        Value = "string",
                        Virtual = "string",
                        Vlan = "string",
                        VlanId = 0,
                        Wam = false,
                        Write = false,
                    },
                },
                Conditions = new[]
                {
                    new F5BigIP.Ltm.Inputs.PolicyRuleConditionArgs
                    {
                        Address = false,
                        All = false,
                        AppService = "string",
                        BrowserType = false,
                        BrowserVersion = false,
                        CaseInsensitive = false,
                        CaseSensitive = false,
                        Cipher = false,
                        CipherBits = false,
                        ClientAccepted = false,
                        ClientSsl = false,
                        Code = false,
                        CommonName = false,
                        Contains = false,
                        Continent = false,
                        CountryCode = false,
                        CountryName = false,
                        CpuUsage = false,
                        Datagroup = "string",
                        DeviceMake = false,
                        DeviceModel = false,
                        Domain = false,
                        EndsWith = false,
                        Equals = false,
                        Exists = false,
                        Expiry = false,
                        Extension = false,
                        External = false,
                        Geoip = false,
                        Greater = false,
                        GreaterOrEqual = false,
                        Host = false,
                        HttpBasicAuth = false,
                        HttpCookie = false,
                        HttpHeader = false,
                        HttpHost = false,
                        HttpMethod = false,
                        HttpReferer = false,
                        HttpSetCookie = false,
                        HttpStatus = false,
                        HttpUri = false,
                        HttpUserAgent = false,
                        HttpVersion = false,
                        Index = 0,
                        Internal = false,
                        Isp = false,
                        Last15secs = false,
                        Last1min = false,
                        Last5mins = false,
                        Less = false,
                        LessOrEqual = false,
                        Local = false,
                        Major = false,
                        Matches = false,
                        Minor = false,
                        Missing = false,
                        Mss = false,
                        Not = false,
                        Org = false,
                        Password = false,
                        Path = false,
                        PathSegment = false,
                        Port = false,
                        Present = false,
                        Protocol = false,
                        QueryParameter = false,
                        QueryString = false,
                        RegionCode = false,
                        RegionName = false,
                        Remote = false,
                        Request = false,
                        Response = false,
                        RouteDomain = false,
                        Rtt = false,
                        Scheme = false,
                        ServerName = false,
                        SslCert = false,
                        SslClientHello = false,
                        SslExtension = false,
                        SslServerHandshake = false,
                        SslServerHello = false,
                        StartsWith = false,
                        Tcp = false,
                        Text = false,
                        TmName = "string",
                        UnnamedQueryParameter = false,
                        UserAgentToken = false,
                        Username = false,
                        Value = false,
                        Values = new[]
                        {
                            "string",
                        },
                        Version = false,
                        Vlan = false,
                        VlanId = false,
                    },
                },
                Description = "string",
            },
        },
        Strategy = "string",
    });
    
    example, err := ltm.NewPolicy(ctx, "policyResource", &ltm.PolicyArgs{
    	Name: pulumi.String("string"),
    	Controls: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Requires: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Rules: ltm.PolicyRuleArray{
    		&ltm.PolicyRuleArgs{
    			Name: pulumi.String("string"),
    			Actions: ltm.PolicyRuleActionArray{
    				&ltm.PolicyRuleActionArgs{
    					AppService:         pulumi.String("string"),
    					Application:        pulumi.String("string"),
    					Asm:                pulumi.Bool(false),
    					Avr:                pulumi.Bool(false),
    					Cache:              pulumi.Bool(false),
    					Carp:               pulumi.Bool(false),
    					Category:           pulumi.String("string"),
    					Classify:           pulumi.Bool(false),
    					ClonePool:          pulumi.String("string"),
    					Code:               pulumi.Int(0),
    					Compress:           pulumi.Bool(false),
    					Connection:         pulumi.Bool(false),
    					Content:            pulumi.String("string"),
    					CookieHash:         pulumi.Bool(false),
    					CookieInsert:       pulumi.Bool(false),
    					CookiePassive:      pulumi.Bool(false),
    					CookieRewrite:      pulumi.Bool(false),
    					Decompress:         pulumi.Bool(false),
    					Defer:              pulumi.Bool(false),
    					DestinationAddress: pulumi.Bool(false),
    					Disable:            pulumi.Bool(false),
    					Domain:             pulumi.String("string"),
    					Enable:             pulumi.Bool(false),
    					Expiry:             pulumi.String("string"),
    					ExpirySecs:         pulumi.Int(0),
    					Expression:         pulumi.String("string"),
    					Extension:          pulumi.String("string"),
    					Facility:           pulumi.String("string"),
    					Forward:            pulumi.Bool(false),
    					FromProfile:        pulumi.String("string"),
    					Hash:               pulumi.Bool(false),
    					Host:               pulumi.String("string"),
    					Http:               pulumi.Bool(false),
    					HttpBasicAuth:      pulumi.Bool(false),
    					HttpCookie:         pulumi.Bool(false),
    					HttpHeader:         pulumi.Bool(false),
    					HttpHost:           pulumi.Bool(false),
    					HttpReferer:        pulumi.Bool(false),
    					HttpReply:          pulumi.Bool(false),
    					HttpSetCookie:      pulumi.Bool(false),
    					HttpUri:            pulumi.Bool(false),
    					Ifile:              pulumi.String("string"),
    					Insert:             pulumi.Bool(false),
    					InternalVirtual:    pulumi.String("string"),
    					IpAddress:          pulumi.String("string"),
    					Key:                pulumi.String("string"),
    					L7dos:              pulumi.Bool(false),
    					Length:             pulumi.Int(0),
    					Location:           pulumi.String("string"),
    					Log:                pulumi.Bool(false),
    					LtmPolicy:          pulumi.Bool(false),
    					Member:             pulumi.String("string"),
    					Message:            pulumi.String("string"),
    					Netmask:            pulumi.String("string"),
    					Nexthop:            pulumi.String("string"),
    					Node:               pulumi.String("string"),
    					Offset:             pulumi.Int(0),
    					Path:               pulumi.String("string"),
    					Pem:                pulumi.Bool(false),
    					Persist:            pulumi.Bool(false),
    					Pin:                pulumi.Bool(false),
    					Policy:             pulumi.String("string"),
    					Pool:               pulumi.String("string"),
    					Port:               pulumi.Int(0),
    					Priority:           pulumi.String("string"),
    					Profile:            pulumi.String("string"),
    					Protocol:           pulumi.String("string"),
    					QueryString:        pulumi.String("string"),
    					Rateclass:          pulumi.String("string"),
    					Redirect:           pulumi.Bool(false),
    					Remove:             pulumi.Bool(false),
    					Replace:            pulumi.Bool(false),
    					Request:            pulumi.Bool(false),
    					RequestAdapt:       pulumi.Bool(false),
    					Reset:              pulumi.Bool(false),
    					Response:           pulumi.Bool(false),
    					ResponseAdapt:      pulumi.Bool(false),
    					Scheme:             pulumi.String("string"),
    					Script:             pulumi.String("string"),
    					Select:             pulumi.Bool(false),
    					ServerSsl:          pulumi.Bool(false),
    					SetVariable:        pulumi.Bool(false),
    					Shutdown:           pulumi.Bool(false),
    					Snat:               pulumi.String("string"),
    					Snatpool:           pulumi.String("string"),
    					SourceAddress:      pulumi.Bool(false),
    					SslClientHello:     pulumi.Bool(false),
    					SslServerHandshake: pulumi.Bool(false),
    					SslServerHello:     pulumi.Bool(false),
    					SslSessionId:       pulumi.Bool(false),
    					Status:             pulumi.Int(0),
    					Tcl:                pulumi.Bool(false),
    					TcpNagle:           pulumi.Bool(false),
    					Text:               pulumi.String("string"),
    					Timeout:            pulumi.Int(0),
    					TmName:             pulumi.String("string"),
    					Uie:                pulumi.Bool(false),
    					Universal:          pulumi.Bool(false),
    					Value:              pulumi.String("string"),
    					Virtual:            pulumi.String("string"),
    					Vlan:               pulumi.String("string"),
    					VlanId:             pulumi.Int(0),
    					Wam:                pulumi.Bool(false),
    					Write:              pulumi.Bool(false),
    				},
    			},
    			Conditions: ltm.PolicyRuleConditionArray{
    				&ltm.PolicyRuleConditionArgs{
    					Address:               pulumi.Bool(false),
    					All:                   pulumi.Bool(false),
    					AppService:            pulumi.String("string"),
    					BrowserType:           pulumi.Bool(false),
    					BrowserVersion:        pulumi.Bool(false),
    					CaseInsensitive:       pulumi.Bool(false),
    					CaseSensitive:         pulumi.Bool(false),
    					Cipher:                pulumi.Bool(false),
    					CipherBits:            pulumi.Bool(false),
    					ClientAccepted:        pulumi.Bool(false),
    					ClientSsl:             pulumi.Bool(false),
    					Code:                  pulumi.Bool(false),
    					CommonName:            pulumi.Bool(false),
    					Contains:              pulumi.Bool(false),
    					Continent:             pulumi.Bool(false),
    					CountryCode:           pulumi.Bool(false),
    					CountryName:           pulumi.Bool(false),
    					CpuUsage:              pulumi.Bool(false),
    					Datagroup:             pulumi.String("string"),
    					DeviceMake:            pulumi.Bool(false),
    					DeviceModel:           pulumi.Bool(false),
    					Domain:                pulumi.Bool(false),
    					EndsWith:              pulumi.Bool(false),
    					Equals:                pulumi.Bool(false),
    					Exists:                pulumi.Bool(false),
    					Expiry:                pulumi.Bool(false),
    					Extension:             pulumi.Bool(false),
    					External:              pulumi.Bool(false),
    					Geoip:                 pulumi.Bool(false),
    					Greater:               pulumi.Bool(false),
    					GreaterOrEqual:        pulumi.Bool(false),
    					Host:                  pulumi.Bool(false),
    					HttpBasicAuth:         pulumi.Bool(false),
    					HttpCookie:            pulumi.Bool(false),
    					HttpHeader:            pulumi.Bool(false),
    					HttpHost:              pulumi.Bool(false),
    					HttpMethod:            pulumi.Bool(false),
    					HttpReferer:           pulumi.Bool(false),
    					HttpSetCookie:         pulumi.Bool(false),
    					HttpStatus:            pulumi.Bool(false),
    					HttpUri:               pulumi.Bool(false),
    					HttpUserAgent:         pulumi.Bool(false),
    					HttpVersion:           pulumi.Bool(false),
    					Index:                 pulumi.Int(0),
    					Internal:              pulumi.Bool(false),
    					Isp:                   pulumi.Bool(false),
    					Last15secs:            pulumi.Bool(false),
    					Last1min:              pulumi.Bool(false),
    					Last5mins:             pulumi.Bool(false),
    					Less:                  pulumi.Bool(false),
    					LessOrEqual:           pulumi.Bool(false),
    					Local:                 pulumi.Bool(false),
    					Major:                 pulumi.Bool(false),
    					Matches:               pulumi.Bool(false),
    					Minor:                 pulumi.Bool(false),
    					Missing:               pulumi.Bool(false),
    					Mss:                   pulumi.Bool(false),
    					Not:                   pulumi.Bool(false),
    					Org:                   pulumi.Bool(false),
    					Password:              pulumi.Bool(false),
    					Path:                  pulumi.Bool(false),
    					PathSegment:           pulumi.Bool(false),
    					Port:                  pulumi.Bool(false),
    					Present:               pulumi.Bool(false),
    					Protocol:              pulumi.Bool(false),
    					QueryParameter:        pulumi.Bool(false),
    					QueryString:           pulumi.Bool(false),
    					RegionCode:            pulumi.Bool(false),
    					RegionName:            pulumi.Bool(false),
    					Remote:                pulumi.Bool(false),
    					Request:               pulumi.Bool(false),
    					Response:              pulumi.Bool(false),
    					RouteDomain:           pulumi.Bool(false),
    					Rtt:                   pulumi.Bool(false),
    					Scheme:                pulumi.Bool(false),
    					ServerName:            pulumi.Bool(false),
    					SslCert:               pulumi.Bool(false),
    					SslClientHello:        pulumi.Bool(false),
    					SslExtension:          pulumi.Bool(false),
    					SslServerHandshake:    pulumi.Bool(false),
    					SslServerHello:        pulumi.Bool(false),
    					StartsWith:            pulumi.Bool(false),
    					Tcp:                   pulumi.Bool(false),
    					Text:                  pulumi.Bool(false),
    					TmName:                pulumi.String("string"),
    					UnnamedQueryParameter: pulumi.Bool(false),
    					UserAgentToken:        pulumi.Bool(false),
    					Username:              pulumi.Bool(false),
    					Value:                 pulumi.Bool(false),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Version: pulumi.Bool(false),
    					Vlan:    pulumi.Bool(false),
    					VlanId:  pulumi.Bool(false),
    				},
    			},
    			Description: pulumi.String("string"),
    		},
    	},
    	Strategy: pulumi.String("string"),
    })
    
    var policyResource = new Policy("policyResource", PolicyArgs.builder()
        .name("string")
        .controls("string")
        .description("string")
        .requires("string")
        .rules(PolicyRuleArgs.builder()
            .name("string")
            .actions(PolicyRuleActionArgs.builder()
                .appService("string")
                .application("string")
                .asm(false)
                .avr(false)
                .cache(false)
                .carp(false)
                .category("string")
                .classify(false)
                .clonePool("string")
                .code(0)
                .compress(false)
                .connection(false)
                .content("string")
                .cookieHash(false)
                .cookieInsert(false)
                .cookiePassive(false)
                .cookieRewrite(false)
                .decompress(false)
                .defer(false)
                .destinationAddress(false)
                .disable(false)
                .domain("string")
                .enable(false)
                .expiry("string")
                .expirySecs(0)
                .expression("string")
                .extension("string")
                .facility("string")
                .forward(false)
                .fromProfile("string")
                .hash(false)
                .host("string")
                .http(false)
                .httpBasicAuth(false)
                .httpCookie(false)
                .httpHeader(false)
                .httpHost(false)
                .httpReferer(false)
                .httpReply(false)
                .httpSetCookie(false)
                .httpUri(false)
                .ifile("string")
                .insert(false)
                .internalVirtual("string")
                .ipAddress("string")
                .key("string")
                .l7dos(false)
                .length(0)
                .location("string")
                .log(false)
                .ltmPolicy(false)
                .member("string")
                .message("string")
                .netmask("string")
                .nexthop("string")
                .node("string")
                .offset(0)
                .path("string")
                .pem(false)
                .persist(false)
                .pin(false)
                .policy("string")
                .pool("string")
                .port(0)
                .priority("string")
                .profile("string")
                .protocol("string")
                .queryString("string")
                .rateclass("string")
                .redirect(false)
                .remove(false)
                .replace(false)
                .request(false)
                .requestAdapt(false)
                .reset(false)
                .response(false)
                .responseAdapt(false)
                .scheme("string")
                .script("string")
                .select(false)
                .serverSsl(false)
                .setVariable(false)
                .shutdown(false)
                .snat("string")
                .snatpool("string")
                .sourceAddress(false)
                .sslClientHello(false)
                .sslServerHandshake(false)
                .sslServerHello(false)
                .sslSessionId(false)
                .status(0)
                .tcl(false)
                .tcpNagle(false)
                .text("string")
                .timeout(0)
                .tmName("string")
                .uie(false)
                .universal(false)
                .value("string")
                .virtual("string")
                .vlan("string")
                .vlanId(0)
                .wam(false)
                .write(false)
                .build())
            .conditions(PolicyRuleConditionArgs.builder()
                .address(false)
                .all(false)
                .appService("string")
                .browserType(false)
                .browserVersion(false)
                .caseInsensitive(false)
                .caseSensitive(false)
                .cipher(false)
                .cipherBits(false)
                .clientAccepted(false)
                .clientSsl(false)
                .code(false)
                .commonName(false)
                .contains(false)
                .continent(false)
                .countryCode(false)
                .countryName(false)
                .cpuUsage(false)
                .datagroup("string")
                .deviceMake(false)
                .deviceModel(false)
                .domain(false)
                .endsWith(false)
                .equals(false)
                .exists(false)
                .expiry(false)
                .extension(false)
                .external(false)
                .geoip(false)
                .greater(false)
                .greaterOrEqual(false)
                .host(false)
                .httpBasicAuth(false)
                .httpCookie(false)
                .httpHeader(false)
                .httpHost(false)
                .httpMethod(false)
                .httpReferer(false)
                .httpSetCookie(false)
                .httpStatus(false)
                .httpUri(false)
                .httpUserAgent(false)
                .httpVersion(false)
                .index(0)
                .internal(false)
                .isp(false)
                .last15secs(false)
                .last1min(false)
                .last5mins(false)
                .less(false)
                .lessOrEqual(false)
                .local(false)
                .major(false)
                .matches(false)
                .minor(false)
                .missing(false)
                .mss(false)
                .not(false)
                .org(false)
                .password(false)
                .path(false)
                .pathSegment(false)
                .port(false)
                .present(false)
                .protocol(false)
                .queryParameter(false)
                .queryString(false)
                .regionCode(false)
                .regionName(false)
                .remote(false)
                .request(false)
                .response(false)
                .routeDomain(false)
                .rtt(false)
                .scheme(false)
                .serverName(false)
                .sslCert(false)
                .sslClientHello(false)
                .sslExtension(false)
                .sslServerHandshake(false)
                .sslServerHello(false)
                .startsWith(false)
                .tcp(false)
                .text(false)
                .tmName("string")
                .unnamedQueryParameter(false)
                .userAgentToken(false)
                .username(false)
                .value(false)
                .values("string")
                .version(false)
                .vlan(false)
                .vlanId(false)
                .build())
            .description("string")
            .build())
        .strategy("string")
        .build());
    
    policy_resource = f5bigip.ltm.Policy("policyResource",
        name="string",
        controls=["string"],
        description="string",
        requires=["string"],
        rules=[{
            "name": "string",
            "actions": [{
                "app_service": "string",
                "application": "string",
                "asm": False,
                "avr": False,
                "cache": False,
                "carp": False,
                "category": "string",
                "classify": False,
                "clone_pool": "string",
                "code": 0,
                "compress": False,
                "connection": False,
                "content": "string",
                "cookie_hash": False,
                "cookie_insert": False,
                "cookie_passive": False,
                "cookie_rewrite": False,
                "decompress": False,
                "defer": False,
                "destination_address": False,
                "disable": False,
                "domain": "string",
                "enable": False,
                "expiry": "string",
                "expiry_secs": 0,
                "expression": "string",
                "extension": "string",
                "facility": "string",
                "forward": False,
                "from_profile": "string",
                "hash": False,
                "host": "string",
                "http": False,
                "http_basic_auth": False,
                "http_cookie": False,
                "http_header": False,
                "http_host": False,
                "http_referer": False,
                "http_reply": False,
                "http_set_cookie": False,
                "http_uri": False,
                "ifile": "string",
                "insert": False,
                "internal_virtual": "string",
                "ip_address": "string",
                "key": "string",
                "l7dos": False,
                "length": 0,
                "location": "string",
                "log": False,
                "ltm_policy": False,
                "member": "string",
                "message": "string",
                "netmask": "string",
                "nexthop": "string",
                "node": "string",
                "offset": 0,
                "path": "string",
                "pem": False,
                "persist": False,
                "pin": False,
                "policy": "string",
                "pool": "string",
                "port": 0,
                "priority": "string",
                "profile": "string",
                "protocol": "string",
                "query_string": "string",
                "rateclass": "string",
                "redirect": False,
                "remove": False,
                "replace": False,
                "request": False,
                "request_adapt": False,
                "reset": False,
                "response": False,
                "response_adapt": False,
                "scheme": "string",
                "script": "string",
                "select": False,
                "server_ssl": False,
                "set_variable": False,
                "shutdown": False,
                "snat": "string",
                "snatpool": "string",
                "source_address": False,
                "ssl_client_hello": False,
                "ssl_server_handshake": False,
                "ssl_server_hello": False,
                "ssl_session_id": False,
                "status": 0,
                "tcl": False,
                "tcp_nagle": False,
                "text": "string",
                "timeout": 0,
                "tm_name": "string",
                "uie": False,
                "universal": False,
                "value": "string",
                "virtual": "string",
                "vlan": "string",
                "vlan_id": 0,
                "wam": False,
                "write": False,
            }],
            "conditions": [{
                "address": False,
                "all": False,
                "app_service": "string",
                "browser_type": False,
                "browser_version": False,
                "case_insensitive": False,
                "case_sensitive": False,
                "cipher": False,
                "cipher_bits": False,
                "client_accepted": False,
                "client_ssl": False,
                "code": False,
                "common_name": False,
                "contains": False,
                "continent": False,
                "country_code": False,
                "country_name": False,
                "cpu_usage": False,
                "datagroup": "string",
                "device_make": False,
                "device_model": False,
                "domain": False,
                "ends_with": False,
                "equals": False,
                "exists": False,
                "expiry": False,
                "extension": False,
                "external": False,
                "geoip": False,
                "greater": False,
                "greater_or_equal": False,
                "host": False,
                "http_basic_auth": False,
                "http_cookie": False,
                "http_header": False,
                "http_host": False,
                "http_method": False,
                "http_referer": False,
                "http_set_cookie": False,
                "http_status": False,
                "http_uri": False,
                "http_user_agent": False,
                "http_version": False,
                "index": 0,
                "internal": False,
                "isp": False,
                "last15secs": False,
                "last1min": False,
                "last5mins": False,
                "less": False,
                "less_or_equal": False,
                "local": False,
                "major": False,
                "matches": False,
                "minor": False,
                "missing": False,
                "mss": False,
                "not_": False,
                "org": False,
                "password": False,
                "path": False,
                "path_segment": False,
                "port": False,
                "present": False,
                "protocol": False,
                "query_parameter": False,
                "query_string": False,
                "region_code": False,
                "region_name": False,
                "remote": False,
                "request": False,
                "response": False,
                "route_domain": False,
                "rtt": False,
                "scheme": False,
                "server_name": False,
                "ssl_cert": False,
                "ssl_client_hello": False,
                "ssl_extension": False,
                "ssl_server_handshake": False,
                "ssl_server_hello": False,
                "starts_with": False,
                "tcp": False,
                "text": False,
                "tm_name": "string",
                "unnamed_query_parameter": False,
                "user_agent_token": False,
                "username": False,
                "value": False,
                "values": ["string"],
                "version": False,
                "vlan": False,
                "vlan_id": False,
            }],
            "description": "string",
        }],
        strategy="string")
    
    const policyResource = new f5bigip.ltm.Policy("policyResource", {
        name: "string",
        controls: ["string"],
        description: "string",
        requires: ["string"],
        rules: [{
            name: "string",
            actions: [{
                appService: "string",
                application: "string",
                asm: false,
                avr: false,
                cache: false,
                carp: false,
                category: "string",
                classify: false,
                clonePool: "string",
                code: 0,
                compress: false,
                connection: false,
                content: "string",
                cookieHash: false,
                cookieInsert: false,
                cookiePassive: false,
                cookieRewrite: false,
                decompress: false,
                defer: false,
                destinationAddress: false,
                disable: false,
                domain: "string",
                enable: false,
                expiry: "string",
                expirySecs: 0,
                expression: "string",
                extension: "string",
                facility: "string",
                forward: false,
                fromProfile: "string",
                hash: false,
                host: "string",
                http: false,
                httpBasicAuth: false,
                httpCookie: false,
                httpHeader: false,
                httpHost: false,
                httpReferer: false,
                httpReply: false,
                httpSetCookie: false,
                httpUri: false,
                ifile: "string",
                insert: false,
                internalVirtual: "string",
                ipAddress: "string",
                key: "string",
                l7dos: false,
                length: 0,
                location: "string",
                log: false,
                ltmPolicy: false,
                member: "string",
                message: "string",
                netmask: "string",
                nexthop: "string",
                node: "string",
                offset: 0,
                path: "string",
                pem: false,
                persist: false,
                pin: false,
                policy: "string",
                pool: "string",
                port: 0,
                priority: "string",
                profile: "string",
                protocol: "string",
                queryString: "string",
                rateclass: "string",
                redirect: false,
                remove: false,
                replace: false,
                request: false,
                requestAdapt: false,
                reset: false,
                response: false,
                responseAdapt: false,
                scheme: "string",
                script: "string",
                select: false,
                serverSsl: false,
                setVariable: false,
                shutdown: false,
                snat: "string",
                snatpool: "string",
                sourceAddress: false,
                sslClientHello: false,
                sslServerHandshake: false,
                sslServerHello: false,
                sslSessionId: false,
                status: 0,
                tcl: false,
                tcpNagle: false,
                text: "string",
                timeout: 0,
                tmName: "string",
                uie: false,
                universal: false,
                value: "string",
                virtual: "string",
                vlan: "string",
                vlanId: 0,
                wam: false,
                write: false,
            }],
            conditions: [{
                address: false,
                all: false,
                appService: "string",
                browserType: false,
                browserVersion: false,
                caseInsensitive: false,
                caseSensitive: false,
                cipher: false,
                cipherBits: false,
                clientAccepted: false,
                clientSsl: false,
                code: false,
                commonName: false,
                contains: false,
                continent: false,
                countryCode: false,
                countryName: false,
                cpuUsage: false,
                datagroup: "string",
                deviceMake: false,
                deviceModel: false,
                domain: false,
                endsWith: false,
                equals: false,
                exists: false,
                expiry: false,
                extension: false,
                external: false,
                geoip: false,
                greater: false,
                greaterOrEqual: false,
                host: false,
                httpBasicAuth: false,
                httpCookie: false,
                httpHeader: false,
                httpHost: false,
                httpMethod: false,
                httpReferer: false,
                httpSetCookie: false,
                httpStatus: false,
                httpUri: false,
                httpUserAgent: false,
                httpVersion: false,
                index: 0,
                internal: false,
                isp: false,
                last15secs: false,
                last1min: false,
                last5mins: false,
                less: false,
                lessOrEqual: false,
                local: false,
                major: false,
                matches: false,
                minor: false,
                missing: false,
                mss: false,
                not: false,
                org: false,
                password: false,
                path: false,
                pathSegment: false,
                port: false,
                present: false,
                protocol: false,
                queryParameter: false,
                queryString: false,
                regionCode: false,
                regionName: false,
                remote: false,
                request: false,
                response: false,
                routeDomain: false,
                rtt: false,
                scheme: false,
                serverName: false,
                sslCert: false,
                sslClientHello: false,
                sslExtension: false,
                sslServerHandshake: false,
                sslServerHello: false,
                startsWith: false,
                tcp: false,
                text: false,
                tmName: "string",
                unnamedQueryParameter: false,
                userAgentToken: false,
                username: false,
                value: false,
                values: ["string"],
                version: false,
                vlan: false,
                vlanId: false,
            }],
            description: "string",
        }],
        strategy: "string",
    });
    
    type: f5bigip:ltm:Policy
    properties:
        controls:
            - string
        description: string
        name: string
        requires:
            - string
        rules:
            - actions:
                - appService: string
                  application: string
                  asm: false
                  avr: false
                  cache: false
                  carp: false
                  category: string
                  classify: false
                  clonePool: string
                  code: 0
                  compress: false
                  connection: false
                  content: string
                  cookieHash: false
                  cookieInsert: false
                  cookiePassive: false
                  cookieRewrite: false
                  decompress: false
                  defer: false
                  destinationAddress: false
                  disable: false
                  domain: string
                  enable: false
                  expiry: string
                  expirySecs: 0
                  expression: string
                  extension: string
                  facility: string
                  forward: false
                  fromProfile: string
                  hash: false
                  host: string
                  http: false
                  httpBasicAuth: false
                  httpCookie: false
                  httpHeader: false
                  httpHost: false
                  httpReferer: false
                  httpReply: false
                  httpSetCookie: false
                  httpUri: false
                  ifile: string
                  insert: false
                  internalVirtual: string
                  ipAddress: string
                  key: string
                  l7dos: false
                  length: 0
                  location: string
                  log: false
                  ltmPolicy: false
                  member: string
                  message: string
                  netmask: string
                  nexthop: string
                  node: string
                  offset: 0
                  path: string
                  pem: false
                  persist: false
                  pin: false
                  policy: string
                  pool: string
                  port: 0
                  priority: string
                  profile: string
                  protocol: string
                  queryString: string
                  rateclass: string
                  redirect: false
                  remove: false
                  replace: false
                  request: false
                  requestAdapt: false
                  reset: false
                  response: false
                  responseAdapt: false
                  scheme: string
                  script: string
                  select: false
                  serverSsl: false
                  setVariable: false
                  shutdown: false
                  snat: string
                  snatpool: string
                  sourceAddress: false
                  sslClientHello: false
                  sslServerHandshake: false
                  sslServerHello: false
                  sslSessionId: false
                  status: 0
                  tcl: false
                  tcpNagle: false
                  text: string
                  timeout: 0
                  tmName: string
                  uie: false
                  universal: false
                  value: string
                  virtual: string
                  vlan: string
                  vlanId: 0
                  wam: false
                  write: false
              conditions:
                - address: false
                  all: false
                  appService: string
                  browserType: false
                  browserVersion: false
                  caseInsensitive: false
                  caseSensitive: false
                  cipher: false
                  cipherBits: false
                  clientAccepted: false
                  clientSsl: false
                  code: false
                  commonName: false
                  contains: false
                  continent: false
                  countryCode: false
                  countryName: false
                  cpuUsage: false
                  datagroup: string
                  deviceMake: false
                  deviceModel: false
                  domain: false
                  endsWith: false
                  equals: false
                  exists: false
                  expiry: false
                  extension: false
                  external: false
                  geoip: false
                  greater: false
                  greaterOrEqual: false
                  host: false
                  httpBasicAuth: false
                  httpCookie: false
                  httpHeader: false
                  httpHost: false
                  httpMethod: false
                  httpReferer: false
                  httpSetCookie: false
                  httpStatus: false
                  httpUri: false
                  httpUserAgent: false
                  httpVersion: false
                  index: 0
                  internal: false
                  isp: false
                  last1min: false
                  last5mins: false
                  last15secs: false
                  less: false
                  lessOrEqual: false
                  local: false
                  major: false
                  matches: false
                  minor: false
                  missing: false
                  mss: false
                  not: false
                  org: false
                  password: false
                  path: false
                  pathSegment: false
                  port: false
                  present: false
                  protocol: false
                  queryParameter: false
                  queryString: false
                  regionCode: false
                  regionName: false
                  remote: false
                  request: false
                  response: false
                  routeDomain: false
                  rtt: false
                  scheme: false
                  serverName: false
                  sslCert: false
                  sslClientHello: false
                  sslExtension: false
                  sslServerHandshake: false
                  sslServerHello: false
                  startsWith: false
                  tcp: false
                  text: false
                  tmName: string
                  unnamedQueryParameter: false
                  userAgentToken: false
                  username: false
                  value: false
                  values:
                    - string
                  version: false
                  vlan: false
                  vlanId: false
              description: string
              name: string
        strategy: string
    

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

    Name string
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    Controls List<string>
    Specifies the controls
    Description string
    Specifies descriptive text that identifies the ltm policy.
    PublishedCopy string
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    Requires List<string>
    Specifies the protocol
    Rules List<Pulumi.F5BigIP.Ltm.Inputs.PolicyRule>
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    Strategy string
    Specifies the match strategy
    Name string
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    Controls []string
    Specifies the controls
    Description string
    Specifies descriptive text that identifies the ltm policy.
    PublishedCopy string
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    Requires []string
    Specifies the protocol
    Rules []PolicyRuleArgs
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    Strategy string
    Specifies the match strategy
    name String
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    controls List<String>
    Specifies the controls
    description String
    Specifies descriptive text that identifies the ltm policy.
    publishedCopy String
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    requires List<String>
    Specifies the protocol
    rules List<PolicyRule>
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    strategy String
    Specifies the match strategy
    name string
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    controls string[]
    Specifies the controls
    description string
    Specifies descriptive text that identifies the ltm policy.
    publishedCopy string
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    requires string[]
    Specifies the protocol
    rules PolicyRule[]
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    strategy string
    Specifies the match strategy
    name str
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    controls Sequence[str]
    Specifies the controls
    description str
    Specifies descriptive text that identifies the ltm policy.
    published_copy str
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    requires Sequence[str]
    Specifies the protocol
    rules Sequence[PolicyRuleArgs]
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    strategy str
    Specifies the match strategy
    name String
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    controls List<String>
    Specifies the controls
    description String
    Specifies descriptive text that identifies the ltm policy.
    publishedCopy String
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    requires List<String>
    Specifies the protocol
    rules List<Property Map>
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    strategy String
    Specifies the match strategy

    Outputs

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

    Get an existing Policy 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?: PolicyState, opts?: CustomResourceOptions): Policy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            controls: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            published_copy: Optional[str] = None,
            requires: Optional[Sequence[str]] = None,
            rules: Optional[Sequence[PolicyRuleArgs]] = None,
            strategy: Optional[str] = None) -> Policy
    func GetPolicy(ctx *Context, name string, id IDInput, state *PolicyState, opts ...ResourceOption) (*Policy, error)
    public static Policy Get(string name, Input<string> id, PolicyState? state, CustomResourceOptions? opts = null)
    public static Policy get(String name, Output<String> id, PolicyState 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:
    Controls List<string>
    Specifies the controls
    Description string
    Specifies descriptive text that identifies the ltm policy.
    Name string
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    PublishedCopy string
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    Requires List<string>
    Specifies the protocol
    Rules List<Pulumi.F5BigIP.Ltm.Inputs.PolicyRule>
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    Strategy string
    Specifies the match strategy
    Controls []string
    Specifies the controls
    Description string
    Specifies descriptive text that identifies the ltm policy.
    Name string
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    PublishedCopy string
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    Requires []string
    Specifies the protocol
    Rules []PolicyRuleArgs
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    Strategy string
    Specifies the match strategy
    controls List<String>
    Specifies the controls
    description String
    Specifies descriptive text that identifies the ltm policy.
    name String
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    publishedCopy String
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    requires List<String>
    Specifies the protocol
    rules List<PolicyRule>
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    strategy String
    Specifies the match strategy
    controls string[]
    Specifies the controls
    description string
    Specifies descriptive text that identifies the ltm policy.
    name string
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    publishedCopy string
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    requires string[]
    Specifies the protocol
    rules PolicyRule[]
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    strategy string
    Specifies the match strategy
    controls Sequence[str]
    Specifies the controls
    description str
    Specifies descriptive text that identifies the ltm policy.
    name str
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    published_copy str
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    requires Sequence[str]
    Specifies the protocol
    rules Sequence[PolicyRuleArgs]
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    strategy str
    Specifies the match strategy
    controls List<String>
    Specifies the controls
    description String
    Specifies descriptive text that identifies the ltm policy.
    name String
    Name of the Policy ( policy name should be in full path which is combination of partition and policy name )
    publishedCopy String
    If you want to publish the policy else it will be deployed in Drafts mode. This attribute is deprecated and will be removed in a future release.

    Deprecated: This attribute is not required anymore because the resource automatically publishes the policy, for that reason this field is deprecated and will be removed in a future release.

    requires List<String>
    Specifies the protocol
    rules List<Property Map>
    List of Rules can be applied using the policy. Each rule is block type with following arguments.
    strategy String
    Specifies the match strategy

    Supporting Types

    PolicyRule, PolicyRuleArgs

    Name string
    Name of Rule to be applied in policy.
    Actions List<Pulumi.F5BigIP.Ltm.Inputs.PolicyRuleAction>
    Block type. See action block for more details.
    Conditions List<Pulumi.F5BigIP.Ltm.Inputs.PolicyRuleCondition>
    Block type. See condition block for more details.
    Description string
    Specifies descriptive text that identifies the irule attached to policy.
    Name string
    Name of Rule to be applied in policy.
    Actions []PolicyRuleAction
    Block type. See action block for more details.
    Conditions []PolicyRuleCondition
    Block type. See condition block for more details.
    Description string
    Specifies descriptive text that identifies the irule attached to policy.
    name String
    Name of Rule to be applied in policy.
    actions List<PolicyRuleAction>
    Block type. See action block for more details.
    conditions List<PolicyRuleCondition>
    Block type. See condition block for more details.
    description String
    Specifies descriptive text that identifies the irule attached to policy.
    name string
    Name of Rule to be applied in policy.
    actions PolicyRuleAction[]
    Block type. See action block for more details.
    conditions PolicyRuleCondition[]
    Block type. See condition block for more details.
    description string
    Specifies descriptive text that identifies the irule attached to policy.
    name str
    Name of Rule to be applied in policy.
    actions Sequence[PolicyRuleAction]
    Block type. See action block for more details.
    conditions Sequence[PolicyRuleCondition]
    Block type. See condition block for more details.
    description str
    Specifies descriptive text that identifies the irule attached to policy.
    name String
    Name of Rule to be applied in policy.
    actions List<Property Map>
    Block type. See action block for more details.
    conditions List<Property Map>
    Block type. See condition block for more details.
    description String
    Specifies descriptive text that identifies the irule attached to policy.

    PolicyRuleAction, PolicyRuleActionArgs

    AppService string
    Application string
    Asm bool
    Avr bool
    Cache bool
    Carp bool
    Category string
    Classify bool
    ClonePool string
    Code int
    Compress bool
    Connection bool
    This action is set to true by default, it needs to be explicitly set to false for actions it conflicts with.
    Content string
    CookieHash bool
    CookieInsert bool
    CookiePassive bool
    CookieRewrite bool
    Decompress bool
    Defer bool
    DestinationAddress bool
    Disable bool
    Domain string
    Enable bool
    Expiry string
    ExpirySecs int
    Expression string
    Extension string
    Facility string
    Forward bool
    This action will affect forwarding.
    FromProfile string
    Hash bool
    Host string
    Http bool
    HttpBasicAuth bool
    HttpCookie bool
    HttpHeader bool
    HttpHost bool
    HttpReferer bool
    HttpReply bool
    HttpSetCookie bool
    HttpUri bool
    Ifile string
    Insert bool
    InternalVirtual string
    IpAddress string
    Key string
    L7dos bool
    Length int
    Location string
    Log bool
    LtmPolicy bool
    Member string
    Message string
    Netmask string
    Nexthop string
    Node string
    Offset int
    Path string
    Pem bool
    Persist bool
    Pin bool
    Policy string
    Pool string
    This action will direct the stream to this pool.
    Port int
    Priority string
    Profile string
    Protocol string
    QueryString string
    Rateclass string
    Redirect bool
    Remove bool
    Replace bool
    Request bool
    RequestAdapt bool
    Reset bool
    Response bool
    ResponseAdapt bool
    Scheme string
    Script string
    Select bool
    ServerSsl bool
    SetVariable bool
    Shutdown bool
    Snat string
    Snatpool string
    SourceAddress bool
    SslClientHello bool
    SslServerHandshake bool
    SslServerHello bool
    SslSessionId bool
    Status int
    Tcl bool
    TcpNagle bool
    Text string
    Timeout int
    TmName string
    Uie bool
    Universal bool
    Value string
    Virtual string
    Vlan string
    VlanId int
    Wam bool
    Write bool
    AppService string
    Application string
    Asm bool
    Avr bool
    Cache bool
    Carp bool
    Category string
    Classify bool
    ClonePool string
    Code int
    Compress bool
    Connection bool
    This action is set to true by default, it needs to be explicitly set to false for actions it conflicts with.
    Content string
    CookieHash bool
    CookieInsert bool
    CookiePassive bool
    CookieRewrite bool
    Decompress bool
    Defer bool
    DestinationAddress bool
    Disable bool
    Domain string
    Enable bool
    Expiry string
    ExpirySecs int
    Expression string
    Extension string
    Facility string
    Forward bool
    This action will affect forwarding.
    FromProfile string
    Hash bool
    Host string
    Http bool
    HttpBasicAuth bool
    HttpCookie bool
    HttpHeader bool
    HttpHost bool
    HttpReferer bool
    HttpReply bool
    HttpSetCookie bool
    HttpUri bool
    Ifile string
    Insert bool
    InternalVirtual string
    IpAddress string
    Key string
    L7dos bool
    Length int
    Location string
    Log bool
    LtmPolicy bool
    Member string
    Message string
    Netmask string
    Nexthop string
    Node string
    Offset int
    Path string
    Pem bool
    Persist bool
    Pin bool
    Policy string
    Pool string
    This action will direct the stream to this pool.
    Port int
    Priority string
    Profile string
    Protocol string
    QueryString string
    Rateclass string
    Redirect bool
    Remove bool
    Replace bool
    Request bool
    RequestAdapt bool
    Reset bool
    Response bool
    ResponseAdapt bool
    Scheme string
    Script string
    Select bool
    ServerSsl bool
    SetVariable bool
    Shutdown bool
    Snat string
    Snatpool string
    SourceAddress bool
    SslClientHello bool
    SslServerHandshake bool
    SslServerHello bool
    SslSessionId bool
    Status int
    Tcl bool
    TcpNagle bool
    Text string
    Timeout int
    TmName string
    Uie bool
    Universal bool
    Value string
    Virtual string
    Vlan string
    VlanId int
    Wam bool
    Write bool
    appService String
    application String
    asm Boolean
    avr Boolean
    cache Boolean
    carp Boolean
    category String
    classify Boolean
    clonePool String
    code Integer
    compress Boolean
    connection Boolean
    This action is set to true by default, it needs to be explicitly set to false for actions it conflicts with.
    content String
    cookieHash Boolean
    cookieInsert Boolean
    cookiePassive Boolean
    cookieRewrite Boolean
    decompress Boolean
    defer Boolean
    destinationAddress Boolean
    disable Boolean
    domain String
    enable Boolean
    expiry String
    expirySecs Integer
    expression String
    extension String
    facility String
    forward Boolean
    This action will affect forwarding.
    fromProfile String
    hash Boolean
    host String
    http Boolean
    httpBasicAuth Boolean
    httpCookie Boolean
    httpHeader Boolean
    httpHost Boolean
    httpReferer Boolean
    httpReply Boolean
    httpSetCookie Boolean
    httpUri Boolean
    ifile String
    insert Boolean
    internalVirtual String
    ipAddress String
    key String
    l7dos Boolean
    length Integer
    location String
    log Boolean
    ltmPolicy Boolean
    member String
    message String
    netmask String
    nexthop String
    node String
    offset Integer
    path String
    pem Boolean
    persist Boolean
    pin Boolean
    policy String
    pool String
    This action will direct the stream to this pool.
    port Integer
    priority String
    profile String
    protocol String
    queryString String
    rateclass String
    redirect Boolean
    remove Boolean
    replace Boolean
    request Boolean
    requestAdapt Boolean
    reset Boolean
    response Boolean
    responseAdapt Boolean
    scheme String
    script String
    select Boolean
    serverSsl Boolean
    setVariable Boolean
    shutdown Boolean
    snat String
    snatpool String
    sourceAddress Boolean
    sslClientHello Boolean
    sslServerHandshake Boolean
    sslServerHello Boolean
    sslSessionId Boolean
    status Integer
    tcl Boolean
    tcpNagle Boolean
    text String
    timeout Integer
    tmName String
    uie Boolean
    universal Boolean
    value String
    virtual String
    vlan String
    vlanId Integer
    wam Boolean
    write Boolean
    appService string
    application string
    asm boolean
    avr boolean
    cache boolean
    carp boolean
    category string
    classify boolean
    clonePool string
    code number
    compress boolean
    connection boolean
    This action is set to true by default, it needs to be explicitly set to false for actions it conflicts with.
    content string
    cookieHash boolean
    cookieInsert boolean
    cookiePassive boolean
    cookieRewrite boolean
    decompress boolean
    defer boolean
    destinationAddress boolean
    disable boolean
    domain string
    enable boolean
    expiry string
    expirySecs number
    expression string
    extension string
    facility string
    forward boolean
    This action will affect forwarding.
    fromProfile string
    hash boolean
    host string
    http boolean
    httpBasicAuth boolean
    httpCookie boolean
    httpHeader boolean
    httpHost boolean
    httpReferer boolean
    httpReply boolean
    httpSetCookie boolean
    httpUri boolean
    ifile string
    insert boolean
    internalVirtual string
    ipAddress string
    key string
    l7dos boolean
    length number
    location string
    log boolean
    ltmPolicy boolean
    member string
    message string
    netmask string
    nexthop string
    node string
    offset number
    path string
    pem boolean
    persist boolean
    pin boolean
    policy string
    pool string
    This action will direct the stream to this pool.
    port number
    priority string
    profile string
    protocol string
    queryString string
    rateclass string
    redirect boolean
    remove boolean
    replace boolean
    request boolean
    requestAdapt boolean
    reset boolean
    response boolean
    responseAdapt boolean
    scheme string
    script string
    select boolean
    serverSsl boolean
    setVariable boolean
    shutdown boolean
    snat string
    snatpool string
    sourceAddress boolean
    sslClientHello boolean
    sslServerHandshake boolean
    sslServerHello boolean
    sslSessionId boolean
    status number
    tcl boolean
    tcpNagle boolean
    text string
    timeout number
    tmName string
    uie boolean
    universal boolean
    value string
    virtual string
    vlan string
    vlanId number
    wam boolean
    write boolean
    app_service str
    application str
    asm bool
    avr bool
    cache bool
    carp bool
    category str
    classify bool
    clone_pool str
    code int
    compress bool
    connection bool
    This action is set to true by default, it needs to be explicitly set to false for actions it conflicts with.
    content str
    cookie_hash bool
    cookie_insert bool
    cookie_passive bool
    cookie_rewrite bool
    decompress bool
    defer bool
    destination_address bool
    disable bool
    domain str
    enable bool
    expiry str
    expiry_secs int
    expression str
    extension str
    facility str
    forward bool
    This action will affect forwarding.
    from_profile str
    hash bool
    host str
    http bool
    http_basic_auth bool
    http_cookie bool
    http_header bool
    http_host bool
    http_referer bool
    http_reply bool
    http_set_cookie bool
    http_uri bool
    ifile str
    insert bool
    internal_virtual str
    ip_address str
    key str
    l7dos bool
    length int
    location str
    log bool
    ltm_policy bool
    member str
    message str
    netmask str
    nexthop str
    node str
    offset int
    path str
    pem bool
    persist bool
    pin bool
    policy str
    pool str
    This action will direct the stream to this pool.
    port int
    priority str
    profile str
    protocol str
    query_string str
    rateclass str
    redirect bool
    remove bool
    replace bool
    request bool
    request_adapt bool
    reset bool
    response bool
    response_adapt bool
    scheme str
    script str
    select bool
    server_ssl bool
    set_variable bool
    shutdown bool
    snat str
    snatpool str
    source_address bool
    ssl_client_hello bool
    ssl_server_handshake bool
    ssl_server_hello bool
    ssl_session_id bool
    status int
    tcl bool
    tcp_nagle bool
    text str
    timeout int
    tm_name str
    uie bool
    universal bool
    value str
    virtual str
    vlan str
    vlan_id int
    wam bool
    write bool
    appService String
    application String
    asm Boolean
    avr Boolean
    cache Boolean
    carp Boolean
    category String
    classify Boolean
    clonePool String
    code Number
    compress Boolean
    connection Boolean
    This action is set to true by default, it needs to be explicitly set to false for actions it conflicts with.
    content String
    cookieHash Boolean
    cookieInsert Boolean
    cookiePassive Boolean
    cookieRewrite Boolean
    decompress Boolean
    defer Boolean
    destinationAddress Boolean
    disable Boolean
    domain String
    enable Boolean
    expiry String
    expirySecs Number
    expression String
    extension String
    facility String
    forward Boolean
    This action will affect forwarding.
    fromProfile String
    hash Boolean
    host String
    http Boolean
    httpBasicAuth Boolean
    httpCookie Boolean
    httpHeader Boolean
    httpHost Boolean
    httpReferer Boolean
    httpReply Boolean
    httpSetCookie Boolean
    httpUri Boolean
    ifile String
    insert Boolean
    internalVirtual String
    ipAddress String
    key String
    l7dos Boolean
    length Number
    location String
    log Boolean
    ltmPolicy Boolean
    member String
    message String
    netmask String
    nexthop String
    node String
    offset Number
    path String
    pem Boolean
    persist Boolean
    pin Boolean
    policy String
    pool String
    This action will direct the stream to this pool.
    port Number
    priority String
    profile String
    protocol String
    queryString String
    rateclass String
    redirect Boolean
    remove Boolean
    replace Boolean
    request Boolean
    requestAdapt Boolean
    reset Boolean
    response Boolean
    responseAdapt Boolean
    scheme String
    script String
    select Boolean
    serverSsl Boolean
    setVariable Boolean
    shutdown Boolean
    snat String
    snatpool String
    sourceAddress Boolean
    sslClientHello Boolean
    sslServerHandshake Boolean
    sslServerHello Boolean
    sslSessionId Boolean
    status Number
    tcl Boolean
    tcpNagle Boolean
    text String
    timeout Number
    tmName String
    uie Boolean
    universal Boolean
    value String
    virtual String
    vlan String
    vlanId Number
    wam Boolean
    write Boolean

    PolicyRuleCondition, PolicyRuleConditionArgs

    Address bool
    All bool
    AppService string
    BrowserType bool
    BrowserVersion bool
    CaseInsensitive bool
    CaseSensitive bool
    Cipher bool
    CipherBits bool
    ClientAccepted bool
    ClientSsl bool
    Code bool
    CommonName bool
    Contains bool
    Continent bool
    CountryCode bool
    CountryName bool
    CpuUsage bool
    Datagroup string
    DeviceMake bool
    DeviceModel bool
    Domain bool
    EndsWith bool
    Equals bool
    Exists bool
    Expiry bool
    Extension bool
    External bool
    Geoip bool
    Greater bool
    GreaterOrEqual bool
    Host bool
    HttpBasicAuth bool
    HttpCookie bool
    HttpHeader bool
    HttpHost bool
    HttpMethod bool
    HttpReferer bool
    HttpSetCookie bool
    HttpStatus bool
    HttpUri bool
    HttpUserAgent bool
    HttpVersion bool
    Index int
    Internal bool
    Isp bool
    Last15secs bool
    Last1min bool
    Last5mins bool
    Less bool
    LessOrEqual bool
    Local bool
    Major bool
    Matches bool
    Minor bool
    Missing bool
    Mss bool
    Not bool
    Org bool
    Password bool
    Path bool
    PathSegment bool
    Port bool
    Present bool
    Protocol bool
    QueryParameter bool
    QueryString bool
    RegionCode bool
    RegionName bool
    Remote bool
    Request bool
    Response bool
    RouteDomain bool
    Rtt bool
    Scheme bool
    ServerName bool
    SslCert bool
    SslClientHello bool
    SslExtension bool
    SslServerHandshake bool
    SslServerHello bool
    StartsWith bool
    Tcp bool
    Text bool
    TmName string
    UnnamedQueryParameter bool
    UserAgentToken bool
    Username bool
    Value bool
    Values List<string>
    Version bool
    Vlan bool
    VlanId bool
    Address bool
    All bool
    AppService string
    BrowserType bool
    BrowserVersion bool
    CaseInsensitive bool
    CaseSensitive bool
    Cipher bool
    CipherBits bool
    ClientAccepted bool
    ClientSsl bool
    Code bool
    CommonName bool
    Contains bool
    Continent bool
    CountryCode bool
    CountryName bool
    CpuUsage bool
    Datagroup string
    DeviceMake bool
    DeviceModel bool
    Domain bool
    EndsWith bool
    Equals bool
    Exists bool
    Expiry bool
    Extension bool
    External bool
    Geoip bool
    Greater bool
    GreaterOrEqual bool
    Host bool
    HttpBasicAuth bool
    HttpCookie bool
    HttpHeader bool
    HttpHost bool
    HttpMethod bool
    HttpReferer bool
    HttpSetCookie bool
    HttpStatus bool
    HttpUri bool
    HttpUserAgent bool
    HttpVersion bool
    Index int
    Internal bool
    Isp bool
    Last15secs bool
    Last1min bool
    Last5mins bool
    Less bool
    LessOrEqual bool
    Local bool
    Major bool
    Matches bool
    Minor bool
    Missing bool
    Mss bool
    Not bool
    Org bool
    Password bool
    Path bool
    PathSegment bool
    Port bool
    Present bool
    Protocol bool
    QueryParameter bool
    QueryString bool
    RegionCode bool
    RegionName bool
    Remote bool
    Request bool
    Response bool
    RouteDomain bool
    Rtt bool
    Scheme bool
    ServerName bool
    SslCert bool
    SslClientHello bool
    SslExtension bool
    SslServerHandshake bool
    SslServerHello bool
    StartsWith bool
    Tcp bool
    Text bool
    TmName string
    UnnamedQueryParameter bool
    UserAgentToken bool
    Username bool
    Value bool
    Values []string
    Version bool
    Vlan bool
    VlanId bool
    address Boolean
    all Boolean
    appService String
    browserType Boolean
    browserVersion Boolean
    caseInsensitive Boolean
    caseSensitive Boolean
    cipher Boolean
    cipherBits Boolean
    clientAccepted Boolean
    clientSsl Boolean
    code Boolean
    commonName Boolean
    contains Boolean
    continent Boolean
    countryCode Boolean
    countryName Boolean
    cpuUsage Boolean
    datagroup String
    deviceMake Boolean
    deviceModel Boolean
    domain Boolean
    endsWith Boolean
    equals_ Boolean
    exists Boolean
    expiry Boolean
    extension Boolean
    external Boolean
    geoip Boolean
    greater Boolean
    greaterOrEqual Boolean
    host Boolean
    httpBasicAuth Boolean
    httpCookie Boolean
    httpHeader Boolean
    httpHost Boolean
    httpMethod Boolean
    httpReferer Boolean
    httpSetCookie Boolean
    httpStatus Boolean
    httpUri Boolean
    httpUserAgent Boolean
    httpVersion Boolean
    index Integer
    internal Boolean
    isp Boolean
    last15secs Boolean
    last1min Boolean
    last5mins Boolean
    less Boolean
    lessOrEqual Boolean
    local Boolean
    major Boolean
    matches Boolean
    minor Boolean
    missing Boolean
    mss Boolean
    not Boolean
    org Boolean
    password Boolean
    path Boolean
    pathSegment Boolean
    port Boolean
    present Boolean
    protocol Boolean
    queryParameter Boolean
    queryString Boolean
    regionCode Boolean
    regionName Boolean
    remote Boolean
    request Boolean
    response Boolean
    routeDomain Boolean
    rtt Boolean
    scheme Boolean
    serverName Boolean
    sslCert Boolean
    sslClientHello Boolean
    sslExtension Boolean
    sslServerHandshake Boolean
    sslServerHello Boolean
    startsWith Boolean
    tcp Boolean
    text Boolean
    tmName String
    unnamedQueryParameter Boolean
    userAgentToken Boolean
    username Boolean
    value Boolean
    values List<String>
    version Boolean
    vlan Boolean
    vlanId Boolean
    address boolean
    all boolean
    appService string
    browserType boolean
    browserVersion boolean
    caseInsensitive boolean
    caseSensitive boolean
    cipher boolean
    cipherBits boolean
    clientAccepted boolean
    clientSsl boolean
    code boolean
    commonName boolean
    contains boolean
    continent boolean
    countryCode boolean
    countryName boolean
    cpuUsage boolean
    datagroup string
    deviceMake boolean
    deviceModel boolean
    domain boolean
    endsWith boolean
    equals boolean
    exists boolean
    expiry boolean
    extension boolean
    external boolean
    geoip boolean
    greater boolean
    greaterOrEqual boolean
    host boolean
    httpBasicAuth boolean
    httpCookie boolean
    httpHeader boolean
    httpHost boolean
    httpMethod boolean
    httpReferer boolean
    httpSetCookie boolean
    httpStatus boolean
    httpUri boolean
    httpUserAgent boolean
    httpVersion boolean
    index number
    internal boolean
    isp boolean
    last15secs boolean
    last1min boolean
    last5mins boolean
    less boolean
    lessOrEqual boolean
    local boolean
    major boolean
    matches boolean
    minor boolean
    missing boolean
    mss boolean
    not boolean
    org boolean
    password boolean
    path boolean
    pathSegment boolean
    port boolean
    present boolean
    protocol boolean
    queryParameter boolean
    queryString boolean
    regionCode boolean
    regionName boolean
    remote boolean
    request boolean
    response boolean
    routeDomain boolean
    rtt boolean
    scheme boolean
    serverName boolean
    sslCert boolean
    sslClientHello boolean
    sslExtension boolean
    sslServerHandshake boolean
    sslServerHello boolean
    startsWith boolean
    tcp boolean
    text boolean
    tmName string
    unnamedQueryParameter boolean
    userAgentToken boolean
    username boolean
    value boolean
    values string[]
    version boolean
    vlan boolean
    vlanId boolean
    address bool
    all bool
    app_service str
    browser_type bool
    browser_version bool
    case_insensitive bool
    case_sensitive bool
    cipher bool
    cipher_bits bool
    client_accepted bool
    client_ssl bool
    code bool
    common_name bool
    contains bool
    continent bool
    country_code bool
    country_name bool
    cpu_usage bool
    datagroup str
    device_make bool
    device_model bool
    domain bool
    ends_with bool
    equals bool
    exists bool
    expiry bool
    extension bool
    external bool
    geoip bool
    greater bool
    greater_or_equal bool
    host bool
    http_basic_auth bool
    http_cookie bool
    http_header bool
    http_host bool
    http_method bool
    http_referer bool
    http_set_cookie bool
    http_status bool
    http_uri bool
    http_user_agent bool
    http_version bool
    index int
    internal bool
    isp bool
    last15secs bool
    last1min bool
    last5mins bool
    less bool
    less_or_equal bool
    local bool
    major bool
    matches bool
    minor bool
    missing bool
    mss bool
    not_ bool
    org bool
    password bool
    path bool
    path_segment bool
    port bool
    present bool
    protocol bool
    query_parameter bool
    query_string bool
    region_code bool
    region_name bool
    remote bool
    request bool
    response bool
    route_domain bool
    rtt bool
    scheme bool
    server_name bool
    ssl_cert bool
    ssl_client_hello bool
    ssl_extension bool
    ssl_server_handshake bool
    ssl_server_hello bool
    starts_with bool
    tcp bool
    text bool
    tm_name str
    unnamed_query_parameter bool
    user_agent_token bool
    username bool
    value bool
    values Sequence[str]
    version bool
    vlan bool
    vlan_id bool
    address Boolean
    all Boolean
    appService String
    browserType Boolean
    browserVersion Boolean
    caseInsensitive Boolean
    caseSensitive Boolean
    cipher Boolean
    cipherBits Boolean
    clientAccepted Boolean
    clientSsl Boolean
    code Boolean
    commonName Boolean
    contains Boolean
    continent Boolean
    countryCode Boolean
    countryName Boolean
    cpuUsage Boolean
    datagroup String
    deviceMake Boolean
    deviceModel Boolean
    domain Boolean
    endsWith Boolean
    equals Boolean
    exists Boolean
    expiry Boolean
    extension Boolean
    external Boolean
    geoip Boolean
    greater Boolean
    greaterOrEqual Boolean
    host Boolean
    httpBasicAuth Boolean
    httpCookie Boolean
    httpHeader Boolean
    httpHost Boolean
    httpMethod Boolean
    httpReferer Boolean
    httpSetCookie Boolean
    httpStatus Boolean
    httpUri Boolean
    httpUserAgent Boolean
    httpVersion Boolean
    index Number
    internal Boolean
    isp Boolean
    last15secs Boolean
    last1min Boolean
    last5mins Boolean
    less Boolean
    lessOrEqual Boolean
    local Boolean
    major Boolean
    matches Boolean
    minor Boolean
    missing Boolean
    mss Boolean
    not Boolean
    org Boolean
    password Boolean
    path Boolean
    pathSegment Boolean
    port Boolean
    present Boolean
    protocol Boolean
    queryParameter Boolean
    queryString Boolean
    regionCode Boolean
    regionName Boolean
    remote Boolean
    request Boolean
    response Boolean
    routeDomain Boolean
    rtt Boolean
    scheme Boolean
    serverName Boolean
    sslCert Boolean
    sslClientHello Boolean
    sslExtension Boolean
    sslServerHandshake Boolean
    sslServerHello Boolean
    startsWith Boolean
    tcp Boolean
    text Boolean
    tmName String
    unnamedQueryParameter Boolean
    userAgentToken Boolean
    username Boolean
    value Boolean
    values List<String>
    version Boolean
    vlan Boolean
    vlanId Boolean

    Import

    ing

    An existing policy can be imported into this resource by supplying policy Name in full path as id. An example is below:

    $ terraform import bigip_ltm_policy.policy-import-test /Common/policy2
    

    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