f5bigip.ltm.Policy
Explore with Pulumi AI
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", <m.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", <m.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{
<m.PolicyRuleArgs{
Name: pulumi.String("rule6"),
Actions: ltm.PolicyRuleActionArray{
<m.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", <m.PolicyArgs{
Name: pulumi.String("string"),
Controls: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Requires: pulumi.StringArray{
pulumi.String("string"),
},
Rules: ltm.PolicyRuleArray{
<m.PolicyRuleArgs{
Name: pulumi.String("string"),
Actions: ltm.PolicyRuleActionArray{
<m.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{
<m.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=[f5bigip.ltm.PolicyRuleArgs(
name="string",
actions=[f5bigip.ltm.PolicyRuleActionArgs(
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=[f5bigip.ltm.PolicyRuleConditionArgs(
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
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.
- Published
Copy 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.
- Requires List<string>
- Specifies the protocol
- Rules
List<Pulumi.
F5Big IP. Ltm. Inputs. Policy Rule> - 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.
- Published
Copy 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.
- Requires []string
- Specifies the protocol
- Rules
[]Policy
Rule Args - 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.
- published
Copy 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.
- requires List<String>
- Specifies the protocol
- rules
List<Policy
Rule> - 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.
- published
Copy 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.
- requires string[]
- Specifies the protocol
- rules
Policy
Rule[] - 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.
- requires Sequence[str]
- Specifies the protocol
- rules
Sequence[Policy
Rule Args] - 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.
- published
Copy 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.
- 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.
- 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 )
- Published
Copy 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.
- Requires List<string>
- Specifies the protocol
- Rules
List<Pulumi.
F5Big IP. Ltm. Inputs. Policy Rule> - 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 )
- Published
Copy 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.
- Requires []string
- Specifies the protocol
- Rules
[]Policy
Rule Args - 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 )
- published
Copy 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.
- requires List<String>
- Specifies the protocol
- rules
List<Policy
Rule> - 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 )
- published
Copy 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.
- requires string[]
- Specifies the protocol
- rules
Policy
Rule[] - 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.
- requires Sequence[str]
- Specifies the protocol
- rules
Sequence[Policy
Rule Args] - 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 )
- published
Copy 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.
- 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.
F5Big IP. Ltm. Inputs. Policy Rule Action> - Block type. See action block for more details.
- Conditions
List<Pulumi.
F5Big IP. Ltm. Inputs. Policy Rule Condition> - 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
[]Policy
Rule Action - Block type. See action block for more details.
- Conditions
[]Policy
Rule Condition - 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<Policy
Rule Action> - Block type. See action block for more details.
- conditions
List<Policy
Rule Condition> - 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
Policy
Rule Action[] - Block type. See action block for more details.
- conditions
Policy
Rule Condition[] - 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[Policy
Rule Action] - Block type. See action block for more details.
- conditions
Sequence[Policy
Rule Condition] - 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
- App
Service string - Application string
- Asm bool
- Avr bool
- Cache bool
- Carp bool
- Category string
- Classify bool
- Clone
Pool string - Code int
- Compress bool
- Connection bool
- This action is set to
true
by default, it needs to be explicitly set tofalse
for actions it conflicts with. - Content string
- bool
- bool
- bool
- bool
- Decompress bool
- Defer bool
- Destination
Address bool - Disable bool
- Domain string
- Enable bool
- Expiry string
- Expiry
Secs int - Expression string
- Extension string
- Facility string
- Forward bool
- This action will affect forwarding.
- From
Profile string - Hash bool
- Host string
- Http bool
- Http
Basic boolAuth - bool
- Http
Header bool - Http
Host bool - Http
Referer bool - Http
Reply bool - bool
- Http
Uri bool - Ifile string
- Insert bool
- Internal
Virtual string - Ip
Address string - Key string
- L7dos bool
- Length int
- Location string
- Log bool
- Ltm
Policy 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
- Query
String string - Rateclass string
- Redirect bool
- Remove bool
- Replace bool
- Request bool
- Request
Adapt bool - Reset bool
- Response bool
- Response
Adapt bool - Scheme string
- Script string
- Select bool
- Server
Ssl bool - Set
Variable bool - Shutdown bool
- Snat string
- Snatpool string
- Source
Address bool - Ssl
Client boolHello - Ssl
Server boolHandshake - Ssl
Server boolHello - Ssl
Session boolId - Status int
- Tcl bool
- Tcp
Nagle bool - Text string
- Timeout int
- Tm
Name string - Uie bool
- Universal bool
- Value string
- Virtual string
- Vlan string
- Vlan
Id int - Wam bool
- Write bool
- App
Service string - Application string
- Asm bool
- Avr bool
- Cache bool
- Carp bool
- Category string
- Classify bool
- Clone
Pool string - Code int
- Compress bool
- Connection bool
- This action is set to
true
by default, it needs to be explicitly set tofalse
for actions it conflicts with. - Content string
- bool
- bool
- bool
- bool
- Decompress bool
- Defer bool
- Destination
Address bool - Disable bool
- Domain string
- Enable bool
- Expiry string
- Expiry
Secs int - Expression string
- Extension string
- Facility string
- Forward bool
- This action will affect forwarding.
- From
Profile string - Hash bool
- Host string
- Http bool
- Http
Basic boolAuth - bool
- Http
Header bool - Http
Host bool - Http
Referer bool - Http
Reply bool - bool
- Http
Uri bool - Ifile string
- Insert bool
- Internal
Virtual string - Ip
Address string - Key string
- L7dos bool
- Length int
- Location string
- Log bool
- Ltm
Policy 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
- Query
String string - Rateclass string
- Redirect bool
- Remove bool
- Replace bool
- Request bool
- Request
Adapt bool - Reset bool
- Response bool
- Response
Adapt bool - Scheme string
- Script string
- Select bool
- Server
Ssl bool - Set
Variable bool - Shutdown bool
- Snat string
- Snatpool string
- Source
Address bool - Ssl
Client boolHello - Ssl
Server boolHandshake - Ssl
Server boolHello - Ssl
Session boolId - Status int
- Tcl bool
- Tcp
Nagle bool - Text string
- Timeout int
- Tm
Name string - Uie bool
- Universal bool
- Value string
- Virtual string
- Vlan string
- Vlan
Id int - Wam bool
- Write bool
- app
Service String - application String
- asm Boolean
- avr Boolean
- cache Boolean
- carp Boolean
- category String
- classify Boolean
- clone
Pool String - code Integer
- compress Boolean
- connection Boolean
- This action is set to
true
by default, it needs to be explicitly set tofalse
for actions it conflicts with. - content String
- Boolean
- Boolean
- Boolean
- Boolean
- decompress Boolean
- defer Boolean
- destination
Address Boolean - disable Boolean
- domain String
- enable Boolean
- expiry String
- expiry
Secs Integer - expression String
- extension String
- facility String
- forward Boolean
- This action will affect forwarding.
- from
Profile String - hash Boolean
- host String
- http Boolean
- http
Basic BooleanAuth - Boolean
- http
Header Boolean - http
Host Boolean - http
Referer Boolean - http
Reply Boolean - Boolean
- http
Uri Boolean - ifile String
- insert Boolean
- internal
Virtual String - ip
Address String - key String
- l7dos Boolean
- length Integer
- location String
- log Boolean
- ltm
Policy 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
- query
String String - rateclass String
- redirect Boolean
- remove Boolean
- replace Boolean
- request Boolean
- request
Adapt Boolean - reset Boolean
- response Boolean
- response
Adapt Boolean - scheme String
- script String
- select Boolean
- server
Ssl Boolean - set
Variable Boolean - shutdown Boolean
- snat String
- snatpool String
- source
Address Boolean - ssl
Client BooleanHello - ssl
Server BooleanHandshake - ssl
Server BooleanHello - ssl
Session BooleanId - status Integer
- tcl Boolean
- tcp
Nagle Boolean - text String
- timeout Integer
- tm
Name String - uie Boolean
- universal Boolean
- value String
- virtual String
- vlan String
- vlan
Id Integer - wam Boolean
- write Boolean
- app
Service string - application string
- asm boolean
- avr boolean
- cache boolean
- carp boolean
- category string
- classify boolean
- clone
Pool string - code number
- compress boolean
- connection boolean
- This action is set to
true
by default, it needs to be explicitly set tofalse
for actions it conflicts with. - content string
- boolean
- boolean
- boolean
- boolean
- decompress boolean
- defer boolean
- destination
Address boolean - disable boolean
- domain string
- enable boolean
- expiry string
- expiry
Secs number - expression string
- extension string
- facility string
- forward boolean
- This action will affect forwarding.
- from
Profile string - hash boolean
- host string
- http boolean
- http
Basic booleanAuth - boolean
- http
Header boolean - http
Host boolean - http
Referer boolean - http
Reply boolean - boolean
- http
Uri boolean - ifile string
- insert boolean
- internal
Virtual string - ip
Address string - key string
- l7dos boolean
- length number
- location string
- log boolean
- ltm
Policy 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
- query
String string - rateclass string
- redirect boolean
- remove boolean
- replace boolean
- request boolean
- request
Adapt boolean - reset boolean
- response boolean
- response
Adapt boolean - scheme string
- script string
- select boolean
- server
Ssl boolean - set
Variable boolean - shutdown boolean
- snat string
- snatpool string
- source
Address boolean - ssl
Client booleanHello - ssl
Server booleanHandshake - ssl
Server booleanHello - ssl
Session booleanId - status number
- tcl boolean
- tcp
Nagle boolean - text string
- timeout number
- tm
Name string - uie boolean
- universal boolean
- value string
- virtual string
- vlan string
- vlan
Id 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 tofalse
for actions it conflicts with. - content str
- bool
- bool
- bool
- 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_ boolauth - bool
- http_
header bool - http_
host bool - http_
referer bool - http_
reply bool - 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_ boolhello - ssl_
server_ boolhandshake - ssl_
server_ boolhello - ssl_
session_ boolid - 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
- app
Service String - application String
- asm Boolean
- avr Boolean
- cache Boolean
- carp Boolean
- category String
- classify Boolean
- clone
Pool String - code Number
- compress Boolean
- connection Boolean
- This action is set to
true
by default, it needs to be explicitly set tofalse
for actions it conflicts with. - content String
- Boolean
- Boolean
- Boolean
- Boolean
- decompress Boolean
- defer Boolean
- destination
Address Boolean - disable Boolean
- domain String
- enable Boolean
- expiry String
- expiry
Secs Number - expression String
- extension String
- facility String
- forward Boolean
- This action will affect forwarding.
- from
Profile String - hash Boolean
- host String
- http Boolean
- http
Basic BooleanAuth - Boolean
- http
Header Boolean - http
Host Boolean - http
Referer Boolean - http
Reply Boolean - Boolean
- http
Uri Boolean - ifile String
- insert Boolean
- internal
Virtual String - ip
Address String - key String
- l7dos Boolean
- length Number
- location String
- log Boolean
- ltm
Policy 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
- query
String String - rateclass String
- redirect Boolean
- remove Boolean
- replace Boolean
- request Boolean
- request
Adapt Boolean - reset Boolean
- response Boolean
- response
Adapt Boolean - scheme String
- script String
- select Boolean
- server
Ssl Boolean - set
Variable Boolean - shutdown Boolean
- snat String
- snatpool String
- source
Address Boolean - ssl
Client BooleanHello - ssl
Server BooleanHandshake - ssl
Server BooleanHello - ssl
Session BooleanId - status Number
- tcl Boolean
- tcp
Nagle Boolean - text String
- timeout Number
- tm
Name String - uie Boolean
- universal Boolean
- value String
- virtual String
- vlan String
- vlan
Id Number - wam Boolean
- write Boolean
PolicyRuleCondition, PolicyRuleConditionArgs
- Address bool
- All bool
- App
Service string - 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 string
- 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 boolEqual - Host bool
- Http
Basic boolAuth - bool
- Http
Header bool - Http
Host bool - Http
Method bool - Http
Referer bool - bool
- Http
Status bool - Http
Uri bool - Http
User boolAgent - Http
Version bool - Index int
- Internal bool
- Isp bool
- Last15secs bool
- Last1min bool
- Last5mins bool
- Less bool
- Less
Or boolEqual - 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 boolHello - Ssl
Extension bool - Ssl
Server boolHandshake - Ssl
Server boolHello - Starts
With bool - Tcp bool
- Text bool
- Tm
Name string - Unnamed
Query boolParameter - User
Agent boolToken - Username bool
- Value bool
- Values List<string>
- Version bool
- Vlan bool
- Vlan
Id bool
- Address bool
- All bool
- App
Service string - 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 string
- 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 boolEqual - Host bool
- Http
Basic boolAuth - bool
- Http
Header bool - Http
Host bool - Http
Method bool - Http
Referer bool - bool
- Http
Status bool - Http
Uri bool - Http
User boolAgent - Http
Version bool - Index int
- Internal bool
- Isp bool
- Last15secs bool
- Last1min bool
- Last5mins bool
- Less bool
- Less
Or boolEqual - 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 boolHello - Ssl
Extension bool - Ssl
Server boolHandshake - Ssl
Server boolHello - Starts
With bool - Tcp bool
- Text bool
- Tm
Name string - Unnamed
Query boolParameter - User
Agent boolToken - Username bool
- Value bool
- Values []string
- Version bool
- Vlan bool
- Vlan
Id bool
- address Boolean
- all Boolean
- app
Service String - browser
Type Boolean - browser
Version Boolean - case
Insensitive Boolean - case
Sensitive Boolean - cipher Boolean
- cipher
Bits Boolean - client
Accepted Boolean - client
Ssl Boolean - code Boolean
- common
Name Boolean - contains Boolean
- continent Boolean
- country
Code Boolean - country
Name Boolean - cpu
Usage Boolean - datagroup String
- device
Make Boolean - device
Model Boolean - domain Boolean
- ends
With Boolean - equals_ Boolean
- exists Boolean
- expiry Boolean
- extension Boolean
- external Boolean
- geoip Boolean
- greater Boolean
- greater
Or BooleanEqual - host Boolean
- http
Basic BooleanAuth - Boolean
- http
Header Boolean - http
Host Boolean - http
Method Boolean - http
Referer Boolean - Boolean
- http
Status Boolean - http
Uri Boolean - http
User BooleanAgent - http
Version Boolean - index Integer
- internal Boolean
- isp Boolean
- last15secs Boolean
- last1min Boolean
- last5mins Boolean
- less Boolean
- less
Or BooleanEqual - local Boolean
- major Boolean
- matches Boolean
- minor Boolean
- missing Boolean
- mss Boolean
- not Boolean
- org Boolean
- password Boolean
- path Boolean
- path
Segment Boolean - port Boolean
- present Boolean
- protocol Boolean
- query
Parameter Boolean - query
String Boolean - region
Code Boolean - region
Name Boolean - remote Boolean
- request Boolean
- response Boolean
- route
Domain Boolean - rtt Boolean
- scheme Boolean
- server
Name Boolean - ssl
Cert Boolean - ssl
Client BooleanHello - ssl
Extension Boolean - ssl
Server BooleanHandshake - ssl
Server BooleanHello - starts
With Boolean - tcp Boolean
- text Boolean
- tm
Name String - unnamed
Query BooleanParameter - user
Agent BooleanToken - username Boolean
- value Boolean
- values List<String>
- version Boolean
- vlan Boolean
- vlan
Id Boolean
- address boolean
- all boolean
- app
Service string - browser
Type boolean - browser
Version boolean - case
Insensitive boolean - case
Sensitive boolean - cipher boolean
- cipher
Bits boolean - client
Accepted boolean - client
Ssl boolean - code boolean
- common
Name boolean - contains boolean
- continent boolean
- country
Code boolean - country
Name boolean - cpu
Usage boolean - datagroup string
- device
Make boolean - device
Model boolean - domain boolean
- ends
With boolean - equals boolean
- exists boolean
- expiry boolean
- extension boolean
- external boolean
- geoip boolean
- greater boolean
- greater
Or booleanEqual - host boolean
- http
Basic booleanAuth - boolean
- http
Header boolean - http
Host boolean - http
Method boolean - http
Referer boolean - boolean
- http
Status boolean - http
Uri boolean - http
User booleanAgent - http
Version boolean - index number
- internal boolean
- isp boolean
- last15secs boolean
- last1min boolean
- last5mins boolean
- less boolean
- less
Or booleanEqual - local boolean
- major boolean
- matches boolean
- minor boolean
- missing boolean
- mss boolean
- not boolean
- org boolean
- password boolean
- path boolean
- path
Segment boolean - port boolean
- present boolean
- protocol boolean
- query
Parameter boolean - query
String boolean - region
Code boolean - region
Name boolean - remote boolean
- request boolean
- response boolean
- route
Domain boolean - rtt boolean
- scheme boolean
- server
Name boolean - ssl
Cert boolean - ssl
Client booleanHello - ssl
Extension boolean - ssl
Server booleanHandshake - ssl
Server booleanHello - starts
With boolean - tcp boolean
- text boolean
- tm
Name string - unnamed
Query booleanParameter - user
Agent booleanToken - username boolean
- value boolean
- values string[]
- version boolean
- vlan boolean
- vlan
Id 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_ boolequal - host bool
- http_
basic_ boolauth - bool
- http_
header bool - http_
host bool - http_
method bool - http_
referer bool - bool
- http_
status bool - http_
uri bool - http_
user_ boolagent - http_
version bool - index int
- internal bool
- isp bool
- last15secs bool
- last1min bool
- last5mins bool
- less bool
- less_
or_ boolequal - 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_ boolhello - ssl_
extension bool - ssl_
server_ boolhandshake - ssl_
server_ boolhello - starts_
with bool - tcp bool
- text bool
- tm_
name str - unnamed_
query_ boolparameter - user_
agent_ booltoken - username bool
- value bool
- values Sequence[str]
- version bool
- vlan bool
- vlan_
id bool
- address Boolean
- all Boolean
- app
Service String - browser
Type Boolean - browser
Version Boolean - case
Insensitive Boolean - case
Sensitive Boolean - cipher Boolean
- cipher
Bits Boolean - client
Accepted Boolean - client
Ssl Boolean - code Boolean
- common
Name Boolean - contains Boolean
- continent Boolean
- country
Code Boolean - country
Name Boolean - cpu
Usage Boolean - datagroup String
- device
Make Boolean - device
Model Boolean - domain Boolean
- ends
With Boolean - equals Boolean
- exists Boolean
- expiry Boolean
- extension Boolean
- external Boolean
- geoip Boolean
- greater Boolean
- greater
Or BooleanEqual - host Boolean
- http
Basic BooleanAuth - Boolean
- http
Header Boolean - http
Host Boolean - http
Method Boolean - http
Referer Boolean - Boolean
- http
Status Boolean - http
Uri Boolean - http
User BooleanAgent - http
Version Boolean - index Number
- internal Boolean
- isp Boolean
- last15secs Boolean
- last1min Boolean
- last5mins Boolean
- less Boolean
- less
Or BooleanEqual - local Boolean
- major Boolean
- matches Boolean
- minor Boolean
- missing Boolean
- mss Boolean
- not Boolean
- org Boolean
- password Boolean
- path Boolean
- path
Segment Boolean - port Boolean
- present Boolean
- protocol Boolean
- query
Parameter Boolean - query
String Boolean - region
Code Boolean - region
Name Boolean - remote Boolean
- request Boolean
- response Boolean
- route
Domain Boolean - rtt Boolean
- scheme Boolean
- server
Name Boolean - ssl
Cert Boolean - ssl
Client BooleanHello - ssl
Extension Boolean - ssl
Server BooleanHandshake - ssl
Server BooleanHello - starts
With Boolean - tcp Boolean
- text Boolean
- tm
Name String - unnamed
Query BooleanParameter - user
Agent BooleanToken - username Boolean
- value Boolean
- values List<String>
- version Boolean
- vlan Boolean
- vlan
Id 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.