Avi HTTPPolicySet Object API

##CLI## ``` - configure httppolicyset - show httppolicyset ```
More information: https://avinetworks.com/contact-us
Contact Info: support@avinetworks.com
Version: 17.2.4
BasePath:/api
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

  1. HTTP Basic Authentication

Methods

[ Jump to Models ]

Table of Contents

  1. get /httppolicyset
  2. post /httppolicyset
  3. delete /httppolicyset/{uuid}
  4. get /httppolicyset/{uuid}
  5. patch /httppolicyset/{uuid}
  6. put /httppolicyset/{uuid}
Up
get /httppolicyset
(httppolicysetGet)

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name
refers_to (optional)
Query Parameter — Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid
referred_by (optional)
Query Parameter — Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Return type

HTTPPolicySetApiResponse

Example data

Content-Type: application/json
{
  "count" : 123,
  "results" : [ {
    "http_request_policy" : {
      "rules" : [ {
        "all_headers" : true,
        "switching_action" : {
          "pool_ref" : "aeiou",
          "server" : {
            "hostname" : "aeiou",
            "port" : 123,
            "ip" : ""
          },
          "file" : {
            "file_content" : "aeiou",
            "content_type" : "aeiou"
          },
          "status_code" : "aeiou",
          "action" : "aeiou",
          "pool_group_ref" : "aeiou"
        },
        "log" : true,
        "enable" : true,
        "match" : {
          "path" : {
            "match_criteria" : "aeiou",
            "string_group_refs" : [ "aeiou" ],
            "match_str" : [ "aeiou" ],
            "match_case" : "aeiou"
          },
          "protocol" : {
            "match_criteria" : "aeiou",
            "protocols" : "aeiou"
          },
          "cookie" : {
            "match_criteria" : "aeiou",
            "name" : "aeiou",
            "value" : "aeiou",
            "match_case" : "aeiou"
          },
          "method" : {
            "match_criteria" : "aeiou",
            "methods" : [ "aeiou" ]
          },
          "host_hdr" : {
            "match_criteria" : "aeiou",
            "value" : [ "aeiou" ],
            "match_case" : "aeiou"
          },
          "query" : {
            "match_criteria" : "aeiou",
            "string_group_refs" : [ "aeiou" ],
            "match_str" : [ "aeiou" ],
            "match_case" : "aeiou"
          },
          "vs_port" : {
            "match_criteria" : "aeiou",
            "ports" : [ "" ]
          },
          "client_ip" : {
            "group_refs" : [ "aeiou" ],
            "match_criteria" : "aeiou",
            "prefixes" : [ {
              "ip_addr" : "",
              "mask" : 123
            } ],
            "ranges" : [ {
              "end" : "",
              "begin" : ""
            } ],
            "addrs" : [ {
              "addr" : "aeiou",
              "type" : "aeiou"
            } ]
          },
          "hdrs" : [ {
            "match_criteria" : "aeiou",
            "hdr" : "aeiou",
            "value" : [ "aeiou" ],
            "match_case" : "aeiou"
          } ],
          "version" : {
            "match_criteria" : "aeiou",
            "versions" : [ "aeiou" ]
          }
        },
        "name" : "aeiou",
        "redirect_action" : {
          "keep_query" : true,
          "path" : "",
          "protocol" : "aeiou",
          "status_code" : "aeiou",
          "port" : 123,
          "host" : {
            "tokens" : [ {
              "start_index" : 123,
              "str_value" : "aeiou",
              "end_index" : 123,
              "type" : "aeiou"
            } ],
            "type" : "aeiou"
          }
        },
        "hdr_action" : [ {
          "cookie" : {
            "name" : "aeiou",
            "value" : "aeiou"
          },
          "hdr" : {
            "name" : "aeiou",
            "value" : {
              "val" : "aeiou",
              "var" : "aeiou"
            }
          },
          "action" : "aeiou"
        } ],
        "index" : 123,
        "rewrite_url_action" : {
          "path" : "",
          "host_hdr" : "",
          "query" : {
            "keep_query" : true,
            "add_string" : "aeiou"
          }
        }
      } ]
    },
    "tenant_ref" : "aeiou",
    "http_security_policy" : {
      "rules" : [ {
        "log" : true,
        "enable" : true,
        "match" : "",
        "name" : "aeiou",
        "action" : {
          "https_port" : 123,
          "file" : "",
          "rate_limit" : {
            "period" : 123,
            "count" : 123,
            "action" : {
              "redirect" : "",
              "file" : "",
              "status_code" : "aeiou",
              "type" : "aeiou"
            },
            "burst_sz" : 123,
            "explicit_tracking" : true,
            "fine_grain" : true,
            "http_cookie" : "aeiou",
            "http_header" : "aeiou"
          },
          "status_code" : "aeiou",
          "action" : "aeiou"
        },
        "index" : 123
      } ]
    },
    "is_internal_policy" : true,
    "name" : "aeiou",
    "description" : "aeiou",
    "cloud_config_cksum" : "aeiou",
    "created_by" : "aeiou",
    "http_response_policy" : {
      "rules" : [ {
        "all_headers" : true,
        "log" : true,
        "enable" : true,
        "loc_hdr_action" : {
          "keep_query" : true,
          "path" : "",
          "protocol" : "aeiou",
          "port" : 123,
          "host" : ""
        },
        "match" : {
          "cookie" : "",
          "method" : "",
          "host_hdr" : "",
          "query" : "",
          "vs_port" : "",
          "hdrs" : [ "" ],
          "version" : "",
          "path" : "",
          "rsp_hdrs" : [ "" ],
          "protocol" : "",
          "client_ip" : "",
          "loc_hdr" : {
            "match_criteria" : "aeiou",
            "value" : [ "aeiou" ],
            "match_case" : "aeiou"
          },
          "status" : {
            "match_criteria" : "aeiou",
            "ranges" : [ {
              "end" : 123,
              "begin" : 123
            } ],
            "status_codes" : [ "" ]
          }
        },
        "name" : "aeiou",
        "hdr_action" : [ "" ],
        "index" : 123
      } ]
    },
    "uuid" : "aeiou",
    "url" : "aeiou"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK HTTPPolicySetApiResponse

401

log in failed

Up
post /httppolicyset
(httppolicysetPost)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — HTTPPolicySet object creation

Return type

HTTPPolicySet

Example data

Content-Type: application/json
{
  "http_request_policy" : {
    "rules" : [ {
      "all_headers" : true,
      "switching_action" : {
        "pool_ref" : "aeiou",
        "server" : {
          "hostname" : "aeiou",
          "port" : 123,
          "ip" : ""
        },
        "file" : {
          "file_content" : "aeiou",
          "content_type" : "aeiou"
        },
        "status_code" : "aeiou",
        "action" : "aeiou",
        "pool_group_ref" : "aeiou"
      },
      "log" : true,
      "enable" : true,
      "match" : {
        "path" : {
          "match_criteria" : "aeiou",
          "string_group_refs" : [ "aeiou" ],
          "match_str" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "protocol" : {
          "match_criteria" : "aeiou",
          "protocols" : "aeiou"
        },
        "cookie" : {
          "match_criteria" : "aeiou",
          "name" : "aeiou",
          "value" : "aeiou",
          "match_case" : "aeiou"
        },
        "method" : {
          "match_criteria" : "aeiou",
          "methods" : [ "aeiou" ]
        },
        "host_hdr" : {
          "match_criteria" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "query" : {
          "match_criteria" : "aeiou",
          "string_group_refs" : [ "aeiou" ],
          "match_str" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "vs_port" : {
          "match_criteria" : "aeiou",
          "ports" : [ "" ]
        },
        "client_ip" : {
          "group_refs" : [ "aeiou" ],
          "match_criteria" : "aeiou",
          "prefixes" : [ {
            "ip_addr" : "",
            "mask" : 123
          } ],
          "ranges" : [ {
            "end" : "",
            "begin" : ""
          } ],
          "addrs" : [ {
            "addr" : "aeiou",
            "type" : "aeiou"
          } ]
        },
        "hdrs" : [ {
          "match_criteria" : "aeiou",
          "hdr" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        } ],
        "version" : {
          "match_criteria" : "aeiou",
          "versions" : [ "aeiou" ]
        }
      },
      "name" : "aeiou",
      "redirect_action" : {
        "keep_query" : true,
        "path" : "",
        "protocol" : "aeiou",
        "status_code" : "aeiou",
        "port" : 123,
        "host" : {
          "tokens" : [ {
            "start_index" : 123,
            "str_value" : "aeiou",
            "end_index" : 123,
            "type" : "aeiou"
          } ],
          "type" : "aeiou"
        }
      },
      "hdr_action" : [ {
        "cookie" : {
          "name" : "aeiou",
          "value" : "aeiou"
        },
        "hdr" : {
          "name" : "aeiou",
          "value" : {
            "val" : "aeiou",
            "var" : "aeiou"
          }
        },
        "action" : "aeiou"
      } ],
      "index" : 123,
      "rewrite_url_action" : {
        "path" : "",
        "host_hdr" : "",
        "query" : {
          "keep_query" : true,
          "add_string" : "aeiou"
        }
      }
    } ]
  },
  "tenant_ref" : "aeiou",
  "http_security_policy" : {
    "rules" : [ {
      "log" : true,
      "enable" : true,
      "match" : "",
      "name" : "aeiou",
      "action" : {
        "https_port" : 123,
        "file" : "",
        "rate_limit" : {
          "period" : 123,
          "count" : 123,
          "action" : {
            "redirect" : "",
            "file" : "",
            "status_code" : "aeiou",
            "type" : "aeiou"
          },
          "burst_sz" : 123,
          "explicit_tracking" : true,
          "fine_grain" : true,
          "http_cookie" : "aeiou",
          "http_header" : "aeiou"
        },
        "status_code" : "aeiou",
        "action" : "aeiou"
      },
      "index" : 123
    } ]
  },
  "is_internal_policy" : true,
  "name" : "aeiou",
  "description" : "aeiou",
  "cloud_config_cksum" : "aeiou",
  "created_by" : "aeiou",
  "http_response_policy" : {
    "rules" : [ {
      "all_headers" : true,
      "log" : true,
      "enable" : true,
      "loc_hdr_action" : {
        "keep_query" : true,
        "path" : "",
        "protocol" : "aeiou",
        "port" : 123,
        "host" : ""
      },
      "match" : {
        "cookie" : "",
        "method" : "",
        "host_hdr" : "",
        "query" : "",
        "vs_port" : "",
        "hdrs" : [ "" ],
        "version" : "",
        "path" : "",
        "rsp_hdrs" : [ "" ],
        "protocol" : "",
        "client_ip" : "",
        "loc_hdr" : {
          "match_criteria" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "status" : {
          "match_criteria" : "aeiou",
          "ranges" : [ {
            "end" : 123,
            "begin" : 123
          } ],
          "status_codes" : [ "" ]
        }
      },
      "name" : "aeiou",
      "hdr_action" : [ "" ],
      "index" : 123
    } ]
  },
  "uuid" : "aeiou",
  "url" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK HTTPPolicySet

401

log in failed

Up
delete /httppolicyset/{uuid}
(httppolicysetUuidDelete)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name

Return type

String

Example data

Content-Type: application/json
"aeiou"

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

204

object deleted String

404

not found

Up
get /httppolicyset/{uuid}
(httppolicysetUuidGet)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Return type

HTTPPolicySet

Example data

Content-Type: application/json
{
  "http_request_policy" : {
    "rules" : [ {
      "all_headers" : true,
      "switching_action" : {
        "pool_ref" : "aeiou",
        "server" : {
          "hostname" : "aeiou",
          "port" : 123,
          "ip" : ""
        },
        "file" : {
          "file_content" : "aeiou",
          "content_type" : "aeiou"
        },
        "status_code" : "aeiou",
        "action" : "aeiou",
        "pool_group_ref" : "aeiou"
      },
      "log" : true,
      "enable" : true,
      "match" : {
        "path" : {
          "match_criteria" : "aeiou",
          "string_group_refs" : [ "aeiou" ],
          "match_str" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "protocol" : {
          "match_criteria" : "aeiou",
          "protocols" : "aeiou"
        },
        "cookie" : {
          "match_criteria" : "aeiou",
          "name" : "aeiou",
          "value" : "aeiou",
          "match_case" : "aeiou"
        },
        "method" : {
          "match_criteria" : "aeiou",
          "methods" : [ "aeiou" ]
        },
        "host_hdr" : {
          "match_criteria" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "query" : {
          "match_criteria" : "aeiou",
          "string_group_refs" : [ "aeiou" ],
          "match_str" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "vs_port" : {
          "match_criteria" : "aeiou",
          "ports" : [ "" ]
        },
        "client_ip" : {
          "group_refs" : [ "aeiou" ],
          "match_criteria" : "aeiou",
          "prefixes" : [ {
            "ip_addr" : "",
            "mask" : 123
          } ],
          "ranges" : [ {
            "end" : "",
            "begin" : ""
          } ],
          "addrs" : [ {
            "addr" : "aeiou",
            "type" : "aeiou"
          } ]
        },
        "hdrs" : [ {
          "match_criteria" : "aeiou",
          "hdr" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        } ],
        "version" : {
          "match_criteria" : "aeiou",
          "versions" : [ "aeiou" ]
        }
      },
      "name" : "aeiou",
      "redirect_action" : {
        "keep_query" : true,
        "path" : "",
        "protocol" : "aeiou",
        "status_code" : "aeiou",
        "port" : 123,
        "host" : {
          "tokens" : [ {
            "start_index" : 123,
            "str_value" : "aeiou",
            "end_index" : 123,
            "type" : "aeiou"
          } ],
          "type" : "aeiou"
        }
      },
      "hdr_action" : [ {
        "cookie" : {
          "name" : "aeiou",
          "value" : "aeiou"
        },
        "hdr" : {
          "name" : "aeiou",
          "value" : {
            "val" : "aeiou",
            "var" : "aeiou"
          }
        },
        "action" : "aeiou"
      } ],
      "index" : 123,
      "rewrite_url_action" : {
        "path" : "",
        "host_hdr" : "",
        "query" : {
          "keep_query" : true,
          "add_string" : "aeiou"
        }
      }
    } ]
  },
  "tenant_ref" : "aeiou",
  "http_security_policy" : {
    "rules" : [ {
      "log" : true,
      "enable" : true,
      "match" : "",
      "name" : "aeiou",
      "action" : {
        "https_port" : 123,
        "file" : "",
        "rate_limit" : {
          "period" : 123,
          "count" : 123,
          "action" : {
            "redirect" : "",
            "file" : "",
            "status_code" : "aeiou",
            "type" : "aeiou"
          },
          "burst_sz" : 123,
          "explicit_tracking" : true,
          "fine_grain" : true,
          "http_cookie" : "aeiou",
          "http_header" : "aeiou"
        },
        "status_code" : "aeiou",
        "action" : "aeiou"
      },
      "index" : 123
    } ]
  },
  "is_internal_policy" : true,
  "name" : "aeiou",
  "description" : "aeiou",
  "cloud_config_cksum" : "aeiou",
  "created_by" : "aeiou",
  "http_response_policy" : {
    "rules" : [ {
      "all_headers" : true,
      "log" : true,
      "enable" : true,
      "loc_hdr_action" : {
        "keep_query" : true,
        "path" : "",
        "protocol" : "aeiou",
        "port" : 123,
        "host" : ""
      },
      "match" : {
        "cookie" : "",
        "method" : "",
        "host_hdr" : "",
        "query" : "",
        "vs_port" : "",
        "hdrs" : [ "" ],
        "version" : "",
        "path" : "",
        "rsp_hdrs" : [ "" ],
        "protocol" : "",
        "client_ip" : "",
        "loc_hdr" : {
          "match_criteria" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "status" : {
          "match_criteria" : "aeiou",
          "ranges" : [ {
            "end" : 123,
            "begin" : 123
          } ],
          "status_codes" : [ "" ]
        }
      },
      "name" : "aeiou",
      "hdr_action" : [ "" ],
      "index" : 123
    } ]
  },
  "uuid" : "aeiou",
  "url" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK HTTPPolicySet

401

log in failed

Up
patch /httppolicyset/{uuid}
(httppolicysetUuidPatch)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — HTTPPolicySet object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

HTTPPolicySet

Example data

Content-Type: application/json
{
  "http_request_policy" : {
    "rules" : [ {
      "all_headers" : true,
      "switching_action" : {
        "pool_ref" : "aeiou",
        "server" : {
          "hostname" : "aeiou",
          "port" : 123,
          "ip" : ""
        },
        "file" : {
          "file_content" : "aeiou",
          "content_type" : "aeiou"
        },
        "status_code" : "aeiou",
        "action" : "aeiou",
        "pool_group_ref" : "aeiou"
      },
      "log" : true,
      "enable" : true,
      "match" : {
        "path" : {
          "match_criteria" : "aeiou",
          "string_group_refs" : [ "aeiou" ],
          "match_str" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "protocol" : {
          "match_criteria" : "aeiou",
          "protocols" : "aeiou"
        },
        "cookie" : {
          "match_criteria" : "aeiou",
          "name" : "aeiou",
          "value" : "aeiou",
          "match_case" : "aeiou"
        },
        "method" : {
          "match_criteria" : "aeiou",
          "methods" : [ "aeiou" ]
        },
        "host_hdr" : {
          "match_criteria" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "query" : {
          "match_criteria" : "aeiou",
          "string_group_refs" : [ "aeiou" ],
          "match_str" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "vs_port" : {
          "match_criteria" : "aeiou",
          "ports" : [ "" ]
        },
        "client_ip" : {
          "group_refs" : [ "aeiou" ],
          "match_criteria" : "aeiou",
          "prefixes" : [ {
            "ip_addr" : "",
            "mask" : 123
          } ],
          "ranges" : [ {
            "end" : "",
            "begin" : ""
          } ],
          "addrs" : [ {
            "addr" : "aeiou",
            "type" : "aeiou"
          } ]
        },
        "hdrs" : [ {
          "match_criteria" : "aeiou",
          "hdr" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        } ],
        "version" : {
          "match_criteria" : "aeiou",
          "versions" : [ "aeiou" ]
        }
      },
      "name" : "aeiou",
      "redirect_action" : {
        "keep_query" : true,
        "path" : "",
        "protocol" : "aeiou",
        "status_code" : "aeiou",
        "port" : 123,
        "host" : {
          "tokens" : [ {
            "start_index" : 123,
            "str_value" : "aeiou",
            "end_index" : 123,
            "type" : "aeiou"
          } ],
          "type" : "aeiou"
        }
      },
      "hdr_action" : [ {
        "cookie" : {
          "name" : "aeiou",
          "value" : "aeiou"
        },
        "hdr" : {
          "name" : "aeiou",
          "value" : {
            "val" : "aeiou",
            "var" : "aeiou"
          }
        },
        "action" : "aeiou"
      } ],
      "index" : 123,
      "rewrite_url_action" : {
        "path" : "",
        "host_hdr" : "",
        "query" : {
          "keep_query" : true,
          "add_string" : "aeiou"
        }
      }
    } ]
  },
  "tenant_ref" : "aeiou",
  "http_security_policy" : {
    "rules" : [ {
      "log" : true,
      "enable" : true,
      "match" : "",
      "name" : "aeiou",
      "action" : {
        "https_port" : 123,
        "file" : "",
        "rate_limit" : {
          "period" : 123,
          "count" : 123,
          "action" : {
            "redirect" : "",
            "file" : "",
            "status_code" : "aeiou",
            "type" : "aeiou"
          },
          "burst_sz" : 123,
          "explicit_tracking" : true,
          "fine_grain" : true,
          "http_cookie" : "aeiou",
          "http_header" : "aeiou"
        },
        "status_code" : "aeiou",
        "action" : "aeiou"
      },
      "index" : 123
    } ]
  },
  "is_internal_policy" : true,
  "name" : "aeiou",
  "description" : "aeiou",
  "cloud_config_cksum" : "aeiou",
  "created_by" : "aeiou",
  "http_response_policy" : {
    "rules" : [ {
      "all_headers" : true,
      "log" : true,
      "enable" : true,
      "loc_hdr_action" : {
        "keep_query" : true,
        "path" : "",
        "protocol" : "aeiou",
        "port" : 123,
        "host" : ""
      },
      "match" : {
        "cookie" : "",
        "method" : "",
        "host_hdr" : "",
        "query" : "",
        "vs_port" : "",
        "hdrs" : [ "" ],
        "version" : "",
        "path" : "",
        "rsp_hdrs" : [ "" ],
        "protocol" : "",
        "client_ip" : "",
        "loc_hdr" : {
          "match_criteria" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "status" : {
          "match_criteria" : "aeiou",
          "ranges" : [ {
            "end" : 123,
            "begin" : 123
          } ],
          "status_codes" : [ "" ]
        }
      },
      "name" : "aeiou",
      "hdr_action" : [ "" ],
      "index" : 123
    } ]
  },
  "uuid" : "aeiou",
  "url" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK HTTPPolicySet

401

log in failed

Up
put /httppolicyset/{uuid}
(httppolicysetUuidPut)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — HTTPPolicySet object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

HTTPPolicySet

Example data

Content-Type: application/json
{
  "http_request_policy" : {
    "rules" : [ {
      "all_headers" : true,
      "switching_action" : {
        "pool_ref" : "aeiou",
        "server" : {
          "hostname" : "aeiou",
          "port" : 123,
          "ip" : ""
        },
        "file" : {
          "file_content" : "aeiou",
          "content_type" : "aeiou"
        },
        "status_code" : "aeiou",
        "action" : "aeiou",
        "pool_group_ref" : "aeiou"
      },
      "log" : true,
      "enable" : true,
      "match" : {
        "path" : {
          "match_criteria" : "aeiou",
          "string_group_refs" : [ "aeiou" ],
          "match_str" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "protocol" : {
          "match_criteria" : "aeiou",
          "protocols" : "aeiou"
        },
        "cookie" : {
          "match_criteria" : "aeiou",
          "name" : "aeiou",
          "value" : "aeiou",
          "match_case" : "aeiou"
        },
        "method" : {
          "match_criteria" : "aeiou",
          "methods" : [ "aeiou" ]
        },
        "host_hdr" : {
          "match_criteria" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "query" : {
          "match_criteria" : "aeiou",
          "string_group_refs" : [ "aeiou" ],
          "match_str" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "vs_port" : {
          "match_criteria" : "aeiou",
          "ports" : [ "" ]
        },
        "client_ip" : {
          "group_refs" : [ "aeiou" ],
          "match_criteria" : "aeiou",
          "prefixes" : [ {
            "ip_addr" : "",
            "mask" : 123
          } ],
          "ranges" : [ {
            "end" : "",
            "begin" : ""
          } ],
          "addrs" : [ {
            "addr" : "aeiou",
            "type" : "aeiou"
          } ]
        },
        "hdrs" : [ {
          "match_criteria" : "aeiou",
          "hdr" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        } ],
        "version" : {
          "match_criteria" : "aeiou",
          "versions" : [ "aeiou" ]
        }
      },
      "name" : "aeiou",
      "redirect_action" : {
        "keep_query" : true,
        "path" : "",
        "protocol" : "aeiou",
        "status_code" : "aeiou",
        "port" : 123,
        "host" : {
          "tokens" : [ {
            "start_index" : 123,
            "str_value" : "aeiou",
            "end_index" : 123,
            "type" : "aeiou"
          } ],
          "type" : "aeiou"
        }
      },
      "hdr_action" : [ {
        "cookie" : {
          "name" : "aeiou",
          "value" : "aeiou"
        },
        "hdr" : {
          "name" : "aeiou",
          "value" : {
            "val" : "aeiou",
            "var" : "aeiou"
          }
        },
        "action" : "aeiou"
      } ],
      "index" : 123,
      "rewrite_url_action" : {
        "path" : "",
        "host_hdr" : "",
        "query" : {
          "keep_query" : true,
          "add_string" : "aeiou"
        }
      }
    } ]
  },
  "tenant_ref" : "aeiou",
  "http_security_policy" : {
    "rules" : [ {
      "log" : true,
      "enable" : true,
      "match" : "",
      "name" : "aeiou",
      "action" : {
        "https_port" : 123,
        "file" : "",
        "rate_limit" : {
          "period" : 123,
          "count" : 123,
          "action" : {
            "redirect" : "",
            "file" : "",
            "status_code" : "aeiou",
            "type" : "aeiou"
          },
          "burst_sz" : 123,
          "explicit_tracking" : true,
          "fine_grain" : true,
          "http_cookie" : "aeiou",
          "http_header" : "aeiou"
        },
        "status_code" : "aeiou",
        "action" : "aeiou"
      },
      "index" : 123
    } ]
  },
  "is_internal_policy" : true,
  "name" : "aeiou",
  "description" : "aeiou",
  "cloud_config_cksum" : "aeiou",
  "created_by" : "aeiou",
  "http_response_policy" : {
    "rules" : [ {
      "all_headers" : true,
      "log" : true,
      "enable" : true,
      "loc_hdr_action" : {
        "keep_query" : true,
        "path" : "",
        "protocol" : "aeiou",
        "port" : 123,
        "host" : ""
      },
      "match" : {
        "cookie" : "",
        "method" : "",
        "host_hdr" : "",
        "query" : "",
        "vs_port" : "",
        "hdrs" : [ "" ],
        "version" : "",
        "path" : "",
        "rsp_hdrs" : [ "" ],
        "protocol" : "",
        "client_ip" : "",
        "loc_hdr" : {
          "match_criteria" : "aeiou",
          "value" : [ "aeiou" ],
          "match_case" : "aeiou"
        },
        "status" : {
          "match_criteria" : "aeiou",
          "ranges" : [ {
            "end" : 123,
            "begin" : 123
          } ],
          "status_codes" : [ "" ]
        }
      },
      "name" : "aeiou",
      "hdr_action" : [ "" ],
      "index" : 123
    } ]
  },
  "uuid" : "aeiou",
  "url" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK HTTPPolicySet

401

log in failed

Up

Models

[ Jump to Methods ]

Table of Contents

  1. CookieMatch
  2. HTTPCookieData
  3. HTTPHdrAction
  4. HTTPHdrData
  5. HTTPHdrValue
  6. HTTPLocalFile
  7. HTTPPolicySet
  8. HTTPPolicySetApiResponse
  9. HTTPRedirectAction
  10. HTTPRequestPolicy
  11. HTTPRequestRule
  12. HTTPResponsePolicy
  13. HTTPResponseRule
  14. HTTPRewriteLocHdrAction
  15. HTTPRewriteURLAction
  16. HTTPSecurityAction
  17. HTTPSecurityPolicy
  18. HTTPSecurityRule
  19. HTTPStatusMatch
  20. HTTPStatusRange
  21. HTTPSwitchingAction
  22. HTTPVersionMatch
  23. HdrMatch
  24. HostHdrMatch
  25. IpAddr
  26. IpAddrMatch
  27. IpAddrPrefix
  28. IpAddrRange
  29. LocationHdrMatch
  30. MatchTarget
  31. MethodMatch
  32. PathMatch
  33. PoolServer
  34. PortMatch
  35. ProtocolMatch
  36. QueryMatch
  37. RateLimiterAction
  38. RateProfile
  39. ResponseMatchTarget
  40. URIParam
  41. URIParamQuery
  42. URIParamToken

CookieMatch Up

match_case (optional)
String Case sensitivity to use for the match. Enum options - SENSITIVE, INSENSITIVE.
match_criteria
String Criterion to use for matching the cookie in the HTTP request. Enum options - HDR_EXISTS, HDR_DOES_NOT_EXIST, HDR_BEGINS_WITH, HDR_DOES_NOT_BEGIN_WITH, HDR_CONTAINS, HDR_DOES_NOT_CONTAIN, HDR_ENDS_WITH, HDR_DOES_NOT_END_WITH, HDR_EQUALS, HDR_DOES_NOT_EQUAL.
name
String Name of the cookie.
value (optional)
String String value in the cookie.

HTTPCookieData Up

name (optional)
String Cookie name.
value (optional)
String Cookie value.

HTTPHdrAction Up

action
String ADD A new header with the new value is added irrespective of the existence of an HTTP header of the given name. REPLACE A new header with the new value is added if no header of the given name exists, else existing headers with the given name are removed and a new header with the new value is added. REMOVE All the headers of the given name are removed. Enum options - HTTP_ADD_HDR, HTTP_REMOVE_HDR, HTTP_REPLACE_HDR.
cookie (optional)
HTTPCookieData Cookie information.
hdr (optional)
HTTPHdrData HTTP header information.

HTTPHdrData Up

name (optional)
String HTTP header name.
value (optional)
HTTPHdrValue HTTP header value.

HTTPHdrValue Up

val (optional)
String HTTP header value or variable representing an HTTP header.
var (optional)
String Variable. Enum options - HTTP_POLICY_VAR_CLIENT_IP, HTTP_POLICY_VAR_VS_PORT, HTTP_POLICY_VAR_VS_IP, HTTP_POLICY_VAR_HTTP_HDR, HTTP_POLICY_VAR_SSL_CLIENT_FINGERPRINT, HTTP_POLICY_VAR_SSL_CLIENT_SERIAL, HTTP_POLICY_VAR_SSL_CLIENT_ISSUER, HTTP_POLICY_VAR_SSL_CLIENT_SUBJECT, HTTP_POLICY_VAR_SSL_CLIENT_RAW, HTTP_POLICY_VAR_SSL_PROTOCOL, HTTP_POLICY_VAR_SSL_SERVER_NAME, HTTP_POLICY_VAR_USER_NAME, HTTP_POLICY_VAR_SSL_CIPHER.

HTTPLocalFile Up

content_type
String Mime-type of the content in the file.
file_content
String File content to used in the local HTTP response body.

HTTPPolicySet Up

cloud_config_cksum (optional)
String Checksum of cloud configuration for Pool. Internally set by cloud connector.
created_by (optional)
String Creator name.
description (optional)
String User defined description for the object.
http_request_policy (optional)
HTTPRequestPolicy HTTP request policy for the virtual service.
http_response_policy (optional)
HTTPResponsePolicy HTTP response policy for the virtual service.
http_security_policy (optional)
HTTPSecurityPolicy HTTP security policy for the virtual service.
is_internal_policy (optional)
Boolean Placeholder for description of property is_internal_policy of obj type HTTPPolicySet field type str type boolean
name
String Name of the HTTP Policy Set.
tenant_ref (optional)
String It is a reference to an object of type Tenant.
url (optional)
String url
uuid (optional)
String UUID of the HTTP Policy Set.

HTTPPolicySetApiResponse Up

count
Integer format: int32
results

HTTPRedirectAction Up

host (optional)
URIParam Host config.
keep_query (optional)
Boolean Keep or drop the query of the incoming request URI in the redirected URI.
path (optional)
URIParam Path config.
port (optional)
Integer Port to which redirect the request. Allowed values are 1-65535. format: int32
protocol
String Protocol type. Enum options - HTTP, HTTPS.
status_code (optional)
String HTTP redirect status code. Enum options - HTTP_REDIRECT_STATUS_CODE_301, HTTP_REDIRECT_STATUS_CODE_302, HTTP_REDIRECT_STATUS_CODE_307.

HTTPRequestPolicy Up

rules (optional)
array[HTTPRequestRule] Add rules to the HTTP request policy.

HTTPRequestRule Up

all_headers (optional)
Boolean Log all HTTP headers upon rule match.
enable
Boolean Enable or disable the rule.
hdr_action (optional)
array[HTTPHdrAction] HTTP header rewrite action.
index
Integer Index of the rule. format: int32
log (optional)
Boolean Log HTTP request upon rule match.
match (optional)
MatchTarget Add match criteria to the rule.
name
String Name of the rule.
redirect_action (optional)
HTTPRedirectAction HTTP redirect action.
rewrite_url_action (optional)
HTTPRewriteURLAction HTTP request URL rewrite action.
switching_action (optional)
HTTPSwitchingAction Content switching action.

HTTPResponsePolicy Up

rules (optional)
array[HTTPResponseRule] Add rules to the HTTP response policy.

HTTPResponseRule Up

all_headers (optional)
Boolean Log all HTTP headers upon rule match.
enable
Boolean Enable or disable the rule.
hdr_action (optional)
array[HTTPHdrAction] HTTP header rewrite action.
index
Integer Index of the rule. format: int32
loc_hdr_action (optional)
HTTPRewriteLocHdrAction Location header rewrite action.
log (optional)
Boolean Log HTTP request upon rule match.
match (optional)
ResponseMatchTarget Add match criteria to the rule.
name
String Name of the rule.

HTTPRewriteLocHdrAction Up

host (optional)
URIParam Host config.
keep_query (optional)
Boolean Keep or drop the query from the server side redirect URI.
path (optional)
URIParam Path config.
port (optional)
Integer Port to use in the redirected URI. Allowed values are 1-65535. format: int32
protocol
String HTTP protocol type. Enum options - HTTP, HTTPS.

HTTPRewriteURLAction Up

host_hdr (optional)
URIParam Host config.
path (optional)
URIParam Path config.
query (optional)
URIParamQuery Query config.

HTTPSecurityAction Up

action
String Type of the security action to perform. Enum options - HTTP_SECURITY_ACTION_CLOSE_CONN, HTTP_SECURITY_ACTION_SEND_RESPONSE, HTTP_SECURITY_ACTION_ALLOW, HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS, HTTP_SECURITY_ACTION_RATE_LIMIT.
file (optional)
HTTPLocalFile File to be used for generating HTTP local response.
https_port (optional)
Integer Secure SSL/TLS port to redirect the HTTP request to. Allowed values are 1-65535. format: int32
rate_limit (optional)
RateProfile Rate Limit profile to be used to rate-limit the flow.
status_code (optional)
String HTTP status code to use for local response. Enum options - HTTP_LOCAL_RESPONSE_STATUS_CODE_200, HTTP_LOCAL_RESPONSE_STATUS_CODE_403, HTTP_LOCAL_RESPONSE_STATUS_CODE_404, HTTP_LOCAL_RESPONSE_STATUS_CODE_429.

HTTPSecurityPolicy Up

rules (optional)
array[HTTPSecurityRule] Add rules to the HTTP security policy.

HTTPSecurityRule Up

action (optional)
HTTPSecurityAction Action to be performed upon successful matching.
enable
Boolean Enable or disable the rule.
index
Integer Index of the rule. format: int32
log (optional)
Boolean Log HTTP request upon rule match.
match (optional)
MatchTarget Add match criteria to the rule.
name
String Name of the rule.

HTTPStatusMatch Up

match_criteria
String Criterion to use for matching the HTTP response status code(s). Enum options - IS_IN, IS_NOT_IN.
ranges (optional)
array[HTTPStatusRange] HTTP response status code range(s).
status_codes (optional)
array[Integer] HTTP response status code(s).

HTTPStatusRange Up

begin
Integer Starting HTTP response status code. format: int32
end
Integer Ending HTTP response status code. format: int32

HTTPSwitchingAction Up

action
String Content switching action type. Enum options - HTTP_SWITCHING_SELECT_POOL, HTTP_SWITCHING_SELECT_LOCAL, HTTP_SWITCHING_SELECT_POOLGROUP.
file (optional)
HTTPLocalFile File from which to serve local response to the request.
pool_group_ref (optional)
String UUID of the pool group to serve the request. It is a reference to an object of type PoolGroup.
pool_ref (optional)
String UUID of the pool of servers to serve the request. It is a reference to an object of type Pool.
server (optional)
PoolServer Specific pool server to select.
status_code (optional)
String HTTP status code to use when serving local response. Enum options - HTTP_LOCAL_RESPONSE_STATUS_CODE_200, HTTP_LOCAL_RESPONSE_STATUS_CODE_403, HTTP_LOCAL_RESPONSE_STATUS_CODE_404, HTTP_LOCAL_RESPONSE_STATUS_CODE_429.

HTTPVersionMatch Up

match_criteria
String Criterion to use for HTTP version matching the version used in the HTTP request. Enum options - IS_IN, IS_NOT_IN.
versions (optional)
array[String] HTTP protocol version. Enum options - ZERO_NINE, ONE_ZERO, ONE_ONE.

HdrMatch Up

hdr
String Name of the HTTP header whose value is to be matched.
match_case (optional)
String Case sensitivity to use for the match. Enum options - SENSITIVE, INSENSITIVE.
match_criteria
String Criterion to use for matching headers in the HTTP request. Enum options - HDR_EXISTS, HDR_DOES_NOT_EXIST, HDR_BEGINS_WITH, HDR_DOES_NOT_BEGIN_WITH, HDR_CONTAINS, HDR_DOES_NOT_CONTAIN, HDR_ENDS_WITH, HDR_DOES_NOT_END_WITH, HDR_EQUALS, HDR_DOES_NOT_EQUAL.
value (optional)
array[String] String values to match in the HTTP header.

HostHdrMatch Up

match_case (optional)
String Case sensitivity to use for the match. Enum options - SENSITIVE, INSENSITIVE.
match_criteria
String Criterion to use for the host header value match. Enum options - HDR_EXISTS, HDR_DOES_NOT_EXIST, HDR_BEGINS_WITH, HDR_DOES_NOT_BEGIN_WITH, HDR_CONTAINS, HDR_DOES_NOT_CONTAIN, HDR_ENDS_WITH, HDR_DOES_NOT_END_WITH, HDR_EQUALS, HDR_DOES_NOT_EQUAL.
value (optional)
array[String] String value(s) in the host header.

IpAddr Up

addr
String IP address.
type
String Enum options - V4, DNS.

IpAddrMatch Up

addrs (optional)
array[IpAddr] IP address(es).
group_refs (optional)
array[String] UUID of IP address group(s). It is a reference to an object of type IpAddrGroup.
match_criteria
String Criterion to use for IP address matching the HTTP request. Enum options - IS_IN, IS_NOT_IN.
prefixes (optional)
array[IpAddrPrefix] IP address prefix(es).
ranges (optional)
array[IpAddrRange] IP address range(s).

IpAddrPrefix Up

ip_addr
IpAddr Placeholder for description of property ip_addr of obj type IpAddrPrefix field type str type object
mask
Integer Number of mask. format: int32

IpAddrRange Up

begin
IpAddr Starting IP address of the range.
end
IpAddr Ending IP address of the range.

LocationHdrMatch Up

match_case (optional)
String Case sensitivity to use for the match. Enum options - SENSITIVE, INSENSITIVE.
match_criteria
String Criterion to use for matching location header value in the HTTP response. Enum options - HDR_EXISTS, HDR_DOES_NOT_EXIST, HDR_BEGINS_WITH, HDR_DOES_NOT_BEGIN_WITH, HDR_CONTAINS, HDR_DOES_NOT_CONTAIN, HDR_ENDS_WITH, HDR_DOES_NOT_END_WITH, HDR_EQUALS, HDR_DOES_NOT_EQUAL.
value (optional)
array[String] String value(s) in the location header.

MatchTarget Up

client_ip (optional)
IpAddrMatch Configure client ip addresses.
cookie (optional)
CookieMatch Configure HTTP cookie(s).
hdrs (optional)
array[HdrMatch] Configure HTTP header(s).
host_hdr (optional)
HostHdrMatch Configure the host header.
method (optional)
MethodMatch Configure HTTP methods.
path (optional)
PathMatch Configure request paths.
protocol (optional)
ProtocolMatch Configure the type of HTTP protocol.
query (optional)
QueryMatch Configure request query.
version (optional)
HTTPVersionMatch Configure versions of the HTTP protocol.
vs_port (optional)
PortMatch Configure virtual service ports.

MethodMatch Up

match_criteria
String Criterion to use for HTTP method matching the method in the HTTP request. Enum options - IS_IN, IS_NOT_IN.
methods (optional)
array[String] Configure HTTP method(s). Enum options - HTTP_METHOD_GET, HTTP_METHOD_HEAD, HTTP_METHOD_PUT, HTTP_METHOD_DELETE, HTTP_METHOD_POST, HTTP_METHOD_OPTIONS, HTTP_METHOD_TRACE.

PathMatch Up

match_case (optional)
String Case sensitivity to use for the matching. Enum options - SENSITIVE, INSENSITIVE.
match_criteria
String Criterion to use for matching the path in the HTTP request URI. Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH, REGEX_DOES_NOT_MATCH.
match_str (optional)
array[String] String values.
string_group_refs (optional)
array[String] UUID of the string group(s). It is a reference to an object of type StringGroup.

PoolServer Up

hostname (optional)
String DNS resolvable name of the server. May be used in place of the IP address.
ip
IpAddr IP address of the server in the poool.
port (optional)
Integer Port of the pool server listening for HTTP/HTTPS. Default value is the default port in the pool. Allowed values are 1-65535. format: int32

PortMatch Up

match_criteria
String Criterion to use for port matching the HTTP request. Enum options - IS_IN, IS_NOT_IN.
ports (optional)
array[Integer] Listening TCP port(s). Allowed values are 1-65535.

ProtocolMatch Up

match_criteria
String Criterion to use for protocol matching the HTTP request. Enum options - IS_IN, IS_NOT_IN.
protocols
String HTTP or HTTPS protocol. Enum options - HTTP, HTTPS.

QueryMatch Up

match_case (optional)
String Case sensitivity to use for the match. Enum options - SENSITIVE, INSENSITIVE.
match_criteria
String Criterion to use for matching the query in HTTP request URI. Enum options - QUERY_MATCH_CONTAINS.
match_str (optional)
array[String] String value(s).
string_group_refs (optional)
array[String] UUID of the string group(s). It is a reference to an object of type StringGroup.

RateLimiterAction Up

file (optional)
HTTPLocalFile File to be used for HTTP Local response rate limit action.
redirect (optional)
HTTPRedirectAction Parameters for HTTP Redirect rate limit action.
status_code (optional)
String HTTP status code for Local Response rate limit action. Enum options - HTTP_LOCAL_RESPONSE_STATUS_CODE_200, HTTP_LOCAL_RESPONSE_STATUS_CODE_403, HTTP_LOCAL_RESPONSE_STATUS_CODE_404, HTTP_LOCAL_RESPONSE_STATUS_CODE_429.
type (optional)
String Type of action to be enforced upon hitting the rate limit. Enum options - RL_ACTION_NONE, RL_ACTION_DROP_CONN, RL_ACTION_RESET_CONN, RL_ACTION_CLOSE_CONN, RL_ACTION_LOCAL_RSP, RL_ACTION_REDIRECT.

RateProfile Up

action (optional)
RateLimiterAction Action to perform upon rate limiting.
burst_sz (optional)
Integer Maximum number of connections or requests or packets to be let through instantaneously. Allowed values are 10-2500. Special values are 0- 'automatic'. format: int32
count (optional)
Integer Maximum number of connections or requests or packets. Allowed values are 10-2500. Special values are 0- 'unlimited'. format: int32
explicit_tracking (optional)
Boolean Explicitly tracks an attacker across rate periods.
fine_grain (optional)
Boolean Enable fine granularity.
http_cookie (optional)
String HTTP cookie name. Field introduced in 17.1.1.
http_header (optional)
String HTTP header name. Field introduced in 17.1.1.
period (optional)
Integer Time value in seconds to enforce rate count. Allowed values are 1-300. format: int32

ResponseMatchTarget Up

client_ip (optional)
IpAddrMatch Configure client ip addresses.
cookie (optional)
CookieMatch Configure HTTP cookie(s).
hdrs (optional)
array[HdrMatch] Configure HTTP headers.
host_hdr (optional)
HostHdrMatch Configure the host header.
loc_hdr (optional)
LocationHdrMatch Configure the location header.
method (optional)
MethodMatch Configure HTTP methods.
path (optional)
PathMatch Configure request paths.
protocol (optional)
ProtocolMatch Configure the type of HTTP protocol.
query (optional)
QueryMatch Configure request query.
rsp_hdrs (optional)
array[HdrMatch] Configure the HTTP headers in response.
status (optional)
HTTPStatusMatch Configure the HTTP status code(s).
version (optional)
HTTPVersionMatch Configure versions of the HTTP protocol.
vs_port (optional)
PortMatch Configure virtual service ports.

URIParam Up

tokens (optional)
array[URIParamToken] Token config either for the URI components or a constant string.
type
String URI param type. Enum options - URI_PARAM_TYPE_TOKENIZED.

URIParamQuery Up

add_string (optional)
String Concatenate a string to the query of the incoming request URI and then use it in the request URI going to the backend server.
keep_query (optional)
Boolean Use or drop the query of the incoming request URI in the request URI to the backend server.

URIParamToken Up

end_index (optional)
Integer Index of the ending token in the incoming URI. Allowed values are 0-65534. Special values are 65535 - 'end of string'. format: int32
start_index (optional)
Integer Index of the starting token in the incoming URI. format: int32
str_value (optional)
String Constant string to use as a token.
type
String Token type for constructing the URI. Enum options - URI_TOKEN_TYPE_HOST, URI_TOKEN_TYPE_PATH, URI_TOKEN_TYPE_STRING, URI_TOKEN_TYPE_STRING_GROUP, URI_TOKEN_TYPE_REGEX.