a10_slb_template_http_policy

Synopsis

http-policy template

Parameters

Parameters

Choices/Defaults

Comment

state

str/required

[‘noop’, ‘present’, ‘absent’]

State of the object to be created.

ansible_host

str/required

Host for AXAPI authentication

ansible_username

str/required

Username for AXAPI authentication

ansible_password

str/required

Password for AXAPI authentication

ansible_port

int/required

Port for AXAPI authentication

a10_device_context_id

int

[‘1-8’]

Device ID for aVCS configuration

a10_partition

str

Destination/target partition for object/command

name

str/required

http-policy template name

cookie_name

str

name of cookie to match (Cookie Name)

http_policy_match

list

Field http_policy_match

ntype

str

‘cookie’= cookie value match; ‘host’= hostname match; ‘url’= URL match; ‘header-name’= header name match; ‘header-value’= header value match; ‘query- param-name’= query parameter name; ‘query-param-value’= query parameter value;

match_type

str

‘contains’= Select service group if URL string contains another string; ‘ends- with’= Select service group if URL string ends with another string; ‘equals’= Select service group if URL string equals another string; ‘starts-with’= Select service group if URL string starts with another string;

match_string

str

URL String, use ‘[no-name]’ for empty query-param-name match, use ‘[no-value]’ for empty query-param-value match

service_group

str

Service Group to be used (Service Group Name)

template

str

‘waf’= waf; (WAF template to be used)

template_name

str

WAF template to be used (Template Name)

geo_location_match

list

Field geo_location_match

geo_location

str

Geolocation name

geo_location_service_group

str

Service Group to be used (Service Group Name)

geo_location_template

str

‘waf’= waf; (WAF template to be used)

geo_location_template_name

str

WAF template to be used (Template Name)

uuid

str

uuid of the object

user_tag

str

Customized tag

multi_match_rule_list

list

Field multi_match_rule_list

multi_match

str

Specify a multi-match-rule name

seq_num

int

Specify a sequence number

host_equals_type

str

‘equals’= Host equals to string;

host_equals_string

str

Host string

host_contains_type

str

‘contains’= Host contains string;

host_contains_string

str

Host string

host_starts_with_type

str

‘starts-with’= Host starts-with string;

host_starts_with_string

str

Host string

host_ends_with_type

str

‘ends-with’= Host ends-with string;

host_ends_with_string

str

Host string

cookie_name_equals_type

str

‘equals’= Cookie name equals to string;

cookie_name_equals_string

str

Cookie name string

cookie_name_contains_type

str

‘contains’= Cookie name contains string;

cookie_name_contains_string

str

Cookie value string

cookie_name_starts_with_type

str

‘starts-with’= Cookie name starts-with string;

cookie_name_starts_with_string

str

Cookie name string

cookie_name_ends_with_type

str

‘ends-with’= Cookie name ends-with string;

cookie_name_ends_with_string

str

Cookie name string

cookie_value_equals_type

str

‘equals’= Cookie value equals to string;

cookie_value_equals_string

str

Cookie value string

cookie_value_contains_type

str

‘contains’= Cookie value contains string;

cookie_value_contains_string

str

Cookie value string

cookie_value_starts_with_type

str

‘starts-with’= Cookie value starts-with string;

cookie_value_starts_with_string

str

Cookie value string

cookie_value_ends_with_type

str

‘ends-with’= Cookie value ends-with string;

cookie_value_ends_with_string

str

Cookie value string

url_equals_type

str

‘equals’= URL equals to string;

url_equals_string

str

URL string

url_contains_type

str

‘contains’= URL contains string;

url_contains_string

str

URL string

url_starts_with_type

str

‘starts-with’= URL starts-with string;

url_starts_with_string

str

URL string

url_ends_with_type

str

‘ends-with’= URL ends-with string;

url_ends_with_string

str

URL string

header_name_equals_type

str

‘equals’= Header name equals to string;

header_name_equals_string

str

Header name string

header_name_contains_type

str

‘contains’= Header name contains string;

header_name_contains_string

str

Header name string

header_name_starts_with_type

str

‘starts-with’= Header name starts-with string;

header_name_starts_with_string

str

Header name string

header_name_ends_with_type

str

‘ends-with’= Header name ends-with string;

header_name_ends_with_string

str

Header name string

header_value_equals_type

str

‘equals’= Header value equals to string;

header_value_equals_string

str

Header value string

header_value_contains_type

str

‘contains’= Header value contains string;

header_value_contains_string

str

Header value string

header_value_starts_with_type

str

‘starts-with’= Header value starts-with string;

header_value_starts_with_string

str

Header value string

header_value_ends_with_type

str

‘ends-with’= Header value ends-with string;

header_value_ends_with_string

str

Header value string

query_param_name_equals_type

str

‘equals’= query parameter name equals to string;

query_param_name_equals_string

str

query parameter name string, use ‘[no-name]’ for empty query-param-name match

query_param_name_contains_type

str

‘contains’= query parameter name contains string;

query_param_name_contains_string

str

query parameter name string

query_param_name_starts_with_type

str

‘starts-with’= query parameter name starts-with string;

query_param_name_starts_with_string

str

query parameter name string

query_param_name_ends_with_type

str

‘ends-with’= query parameter name ends-with string;

query_param_name_ends_with_string

str

query parameter name string

query_param_value_equals_type

str

‘equals’= query parameter value equals to string;

query_param_value_equals_string

str

query parameter value string, use ‘[no-value]’ for empty query-param-value match

query_param_value_contains_type

str

‘contains’= query parameter value contains string;

query_param_value_contains_string

str

query parameter value string

query_param_value_starts_with_type

str

‘starts-with’= query parameter value starts-with string;

query_param_value_starts_with_string

str

query parameter value string

query_param_value_ends_with_type

str

‘ends-with’= query parameter value ends-with string;

query_param_value_ends_with_string

str

query parameter value string

service_group

str

Service Group to be used (Service Group Name)

template_waf

str

Waf Template to be used (Waf Template Name)

uuid

str

uuid of the object

user_tag

str

Customized tag

Examples


Return Values

modified_values (changed, dict, )

Values modified (or potential changes if using check_mode) as a result of task operation

axapi_calls (always, list, )

Sequential list of AXAPI calls made by the task

endpoint (, str, [‘/axapi/v3/slb/virtual_server’, ‘/axapi/v3/file/ssl-cert’])

The AXAPI endpoint being accessed.

http_method (, str, [‘POST’, ‘GET’])

HTTP method being used by the primary task to interact with the AXAPI endpoint.

request_body (, complex, )

Params used to query the AXAPI

response_body (, complex, )

Response from the AXAPI

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by community.

Authors

  • A10 Networks