|
4 | 4 | location: https://istio.io/docs/reference/config/policy-and-telemetry/istio.policy.v1beta1.html
|
5 | 5 | layout: protoc-gen-docs
|
6 | 6 | generator: protoc-gen-docs
|
7 |
| -number_of_entries: 15 |
| 7 | +number_of_entries: 17 |
8 | 8 | ---
|
9 | 9 | <p>Describes the rules used to configure Mixer’s policy and telemetry features.</p>
|
10 | 10 |
|
@@ -47,6 +47,14 @@ <h2 id="Action">Action</h2>
|
47 | 47 | Referenced instances are evaluated by resolving the attributes/literals for all the fields.
|
48 | 48 | The constructed objects are then passed to the <code>handler</code> referenced within this action.</p>
|
49 | 49 |
|
| 50 | +</td> |
| 51 | +</tr> |
| 52 | +<tr id="Action-name"> |
| 53 | +<td><code>name</code></td> |
| 54 | +<td><code>string</code></td> |
| 55 | +<td> |
| 56 | +<p>Optional. A handle to refer to the results of the action.</p> |
| 57 | + |
50 | 58 | </td>
|
51 | 59 | </tr>
|
52 | 60 | </tbody>
|
@@ -559,6 +567,100 @@ <h2 id="Rule">Rule</h2>
|
559 | 567 | <td>
|
560 | 568 | <p>Optional. The actions that will be executed when match evaluates to <code>true</code>.</p>
|
561 | 569 |
|
| 570 | +</td> |
| 571 | +</tr> |
| 572 | +<tr id="Rule-request_header_operations"> |
| 573 | +<td><code>requestHeaderOperations</code></td> |
| 574 | +<td><code><a href="#Rule-HeaderOperationTemplate">Rule.HeaderOperationTemplate[]</a></code></td> |
| 575 | +<td> |
| 576 | +<p>Optional. Templatized operations on the request headers using attributes produced by the |
| 577 | +rule actions.</p> |
| 578 | + |
| 579 | +</td> |
| 580 | +</tr> |
| 581 | +<tr id="Rule-response_header_operations"> |
| 582 | +<td><code>responseHeaderOperations</code></td> |
| 583 | +<td><code><a href="#Rule-HeaderOperationTemplate">Rule.HeaderOperationTemplate[]</a></code></td> |
| 584 | +<td> |
| 585 | +<p>Optional. Templatized operations on the response headers using attributes produced by the |
| 586 | +rule actions.</p> |
| 587 | + |
| 588 | +</td> |
| 589 | +</tr> |
| 590 | +</tbody> |
| 591 | +</table> |
| 592 | +</section> |
| 593 | +<h2 id="Rule-HeaderOperationTemplate">Rule.HeaderOperationTemplate</h2> |
| 594 | +<section> |
| 595 | +<p>A template for an HTTP header manipulation.</p> |
| 596 | + |
| 597 | +<table class="message-fields"> |
| 598 | +<thead> |
| 599 | +<tr> |
| 600 | +<th>Field</th> |
| 601 | +<th>Type</th> |
| 602 | +<th>Description</th> |
| 603 | +</tr> |
| 604 | +</thead> |
| 605 | +<tbody> |
| 606 | +<tr id="Rule-HeaderOperationTemplate-name"> |
| 607 | +<td><code>name</code></td> |
| 608 | +<td><code>string</code></td> |
| 609 | +<td> |
| 610 | +<p>Required. Header name.</p> |
| 611 | + |
| 612 | +</td> |
| 613 | +</tr> |
| 614 | +<tr id="Rule-HeaderOperationTemplate-values"> |
| 615 | +<td><code>values</code></td> |
| 616 | +<td><code>string[]</code></td> |
| 617 | +<td> |
| 618 | +<p>Optional. Header values to replace or append.</p> |
| 619 | + |
| 620 | +</td> |
| 621 | +</tr> |
| 622 | +<tr id="Rule-HeaderOperationTemplate-operation"> |
| 623 | +<td><code>operation</code></td> |
| 624 | +<td><code><a href="#Rule-HeaderOperationTemplate-Operation">Rule.HeaderOperationTemplate.Operation</a></code></td> |
| 625 | +<td> |
| 626 | +<p>Optional. Header operation type. Default operation is to replace the value of the header by name.</p> |
| 627 | + |
| 628 | +</td> |
| 629 | +</tr> |
| 630 | +</tbody> |
| 631 | +</table> |
| 632 | +</section> |
| 633 | +<h2 id="Rule-HeaderOperationTemplate-Operation">Rule.HeaderOperationTemplate.Operation</h2> |
| 634 | +<section> |
| 635 | +<p>Header operation type.</p> |
| 636 | + |
| 637 | +<table class="enum-values"> |
| 638 | +<thead> |
| 639 | +<tr> |
| 640 | +<th>Name</th> |
| 641 | +<th>Description</th> |
| 642 | +</tr> |
| 643 | +</thead> |
| 644 | +<tbody> |
| 645 | +<tr id="Rule-HeaderOperationTemplate-Operation-REPLACE"> |
| 646 | +<td><code>REPLACE</code></td> |
| 647 | +<td> |
| 648 | +<p>replaces the header with the given name</p> |
| 649 | + |
| 650 | +</td> |
| 651 | +</tr> |
| 652 | +<tr id="Rule-HeaderOperationTemplate-Operation-REMOVE"> |
| 653 | +<td><code>REMOVE</code></td> |
| 654 | +<td> |
| 655 | +<p>removes the header with the given name (the value is ignored)</p> |
| 656 | + |
| 657 | +</td> |
| 658 | +</tr> |
| 659 | +<tr id="Rule-HeaderOperationTemplate-Operation-APPEND"> |
| 660 | +<td><code>APPEND</code></td> |
| 661 | +<td> |
| 662 | +<p>appends the values to the existing values (preserving existing values)</p> |
| 663 | + |
562 | 664 | </td>
|
563 | 665 | </tr>
|
564 | 666 | </tbody>
|
|
0 commit comments