Policy
f5bigip.ltm.Policy Configures 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/my-pool.
Create a Policy Resource
new Policy(name: string, args: PolicyArgs, opts?: CustomResourceOptions);def Policy(resource_name, opts=None, controls=None, name=None, published_copy=None, requires=None, rules=None, strategy=None, __props__=None);func NewPolicy(ctx *Context, name string, args PolicyArgs, opts ...ResourceOption) (*Policy, error)public Policy(string name, PolicyArgs args, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
Policy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Policy resource accepts the following input properties:
- Name string
Name of the Policy
- Controls List<string>
Specifies the controls
- Published
Copy string If you want to publish the policy else it will be deployed in Drafts mode.
- Requires List<string>
Specifies the protocol
- Rules
List<Pulumi.
F5Big IP. Ltm. Inputs. Policy Rule Args> Rules can be applied using the policy
- 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:
Look up an 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): Policystatic get(resource_name, id, opts=None, controls=None, name=None, published_copy=None, requires=None, rules=None, strategy=None, __props__=None);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)- 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.
The following state arguments are supported:
- Controls List<string>
Specifies the controls
- Name string
Name of the Policy
- Published
Copy string If you want to publish the policy else it will be deployed in Drafts mode.
- Requires List<string>
Specifies the protocol
- Rules
List<Pulumi.
F5Big IP. Ltm. Inputs. Policy Rule Args> Rules can be applied using the policy
- Strategy string
Specifies the match strategy
Supporting Types
PolicyRule
- Name string
Name of the Policy
- Actions
[]Policy
Rule Action - Conditions
[]Policy
Rule Condition
- name string
Name of the Policy
- actions
Policy
Rule Action[] - conditions
Policy
Rule Condition[]
- name str
Name of the Policy
- actions
List[Policy
Rule Action] - conditions
List[Policy
Rule Condition]
PolicyRuleAction
- App
Service string - Application string
- Asm bool
- Avr bool
- Cache bool
- Carp bool
- Category string
- Classify bool
- Clone
Pool string - Code int
- Compress bool
- 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 - 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 If Rule is used then you need to provide the tm_name it can be any value
- 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
- 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 - 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 If Rule is used then you need to provide the tm_name it can be any value
- 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 number
- compress boolean
- 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 - 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 If Rule is used then you need to provide the tm_name it can be any value
- 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 float
- compress bool
- content str
- bool
- bool
- bool
- bool
- decompress bool
- defer bool
- destination
Address bool - disable bool
- domain str
- enable bool
- expiry str
- expiry
Secs float - 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 float
- location str
- log bool
- ltm
Policy bool - member str
- message str
- netmask str
- nexthop str
- node str
- offset float
- path str
- pem bool
- persist bool
- pin bool
- policy str
- pool str
This action will direct the stream to this pool.
- port float
- 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 - snat str
- snatpool str
- source
Address bool - ssl
Client boolHello - ssl
Server boolHandshake - ssl
Server boolHello - ssl
Session boolId - status float
- tcl bool
- tcp
Nagle bool - text str
- timeout float
- tm
Name str If Rule is used then you need to provide the tm_name it can be any value
- uie bool
- universal bool
- value str
- virtual str
- vlan str
- vlan
Id float - wam bool
- write bool
PolicyRuleCondition
- 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
Ssl bool - Code bool
- Common
Name bool - Contains bool
- Continent bool
- Country
Code bool - Country
Name bool - Cpu
Usage bool - Device
Make bool - Device
Model bool - Domain bool
- Ends
With bool - Equals 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 If Rule is used then you need to provide the tm_name it can be any value
- 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
Ssl bool - Code bool
- Common
Name bool - Contains bool
- Continent bool
- Country
Code bool - Country
Name bool - Cpu
Usage bool - Device
Make bool - Device
Model bool - Domain bool
- Ends
With bool - Equals 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 If Rule is used then you need to provide the tm_name it can be any value
- 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
Ssl boolean - code boolean
- common
Name boolean - contains boolean
- continent boolean
- country
Code boolean - country
Name boolean - cpu
Usage boolean - device
Make boolean - device
Model boolean - domain boolean
- ends
With boolean - equals 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 If Rule is used then you need to provide the tm_name it can be any value
- 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
Ssl bool - code bool
- common
Name bool - contains bool
- continent bool
- country
Code bool - country
Name bool - cpu
Usage bool - device
Make bool - device
Model bool - domain bool
- ends
With bool - equals 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 float
- 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 If Rule is used then you need to provide the tm_name it can be any value
- unnamed
Query boolParameter - user
Agent boolToken - username bool
- value bool
- values List[str]
- version bool
- vlan bool
- vlan
Id bool
Package Details
- Repository
- https://github.com/pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigipTerraform Provider.