github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/loadbalancer/lb_http_request_header_rewrite_action.go (about) 1 /* 2 * NSX API 3 * 4 * VMware NSX REST API 5 * 6 * API version: 1.0.0 7 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 */ 9 10 package loadbalancer 11 12 // This action is used to rewrite header fields of matched HTTP request messages to specified new values. One action can be used to rewrite one header field. To rewrite multiple header fields, multiple actions must be defined. Captured variables and built-in variables can be used in the header_value field, header_name field does not support variables. 13 type LbHttpRequestHeaderRewriteAction struct { 14 15 // Type of load balancer rule action 16 Type_ string `json:"type"` 17 18 // Name of HTTP request header 19 HeaderName string `json:"header_name"` 20 21 // Value of HTTP request header 22 HeaderValue string `json:"header_value"` 23 }