{
"export_to": [
"string"
],
"gateways": [
"string"
],
"hosts": [
"string"
],
"http": [
{
"cors_policy": {
"allow_credentials": {
"value": true
},
"allow_headers": [
"string"
],
"allow_methods": [
"string"
],
"allow_origin": [
"string"
],
"allow_origins": [
{
"matchType": null
}
],
"expose_headers": [
"string"
],
"max_age": {
"nanos": 0,
"seconds": 0
}
},
"delegate": {
"name": "string",
"namespace": "string"
},
"fault": {
"abort": {
"errorType": null,
"percentage": {
"value": 0
}
},
"delay": {
"httpDelayType": null,
"percent": 0,
"percentage": {
"value": 0
}
}
},
"headers": {
"request": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
},
"response": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
}
},
"match": [
{
"authority": {
"matchType": null
},
"gateways": [
"string"
],
"headers": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
},
"ignore_uri_case": true,
"method": {
"matchType": null
},
"name": "string",
"port": 0,
"query_params": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
},
"scheme": {
"matchType": null
},
"source_labels": {
"property1": "string",
"property2": "string"
},
"source_namespace": "string",
"uri": {
"matchType": null
},
"without_headers": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
}
}
],
"mirror": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"mirror_percent": {
"value": 0
},
"mirror_percentage": {
"value": 0
},
"name": "string",
"redirect": {
"authority": "string",
"redirectPort": null,
"redirect_code": 0,
"scheme": "string",
"uri": "string"
},
"retries": {
"attempts": 0,
"per_try_timeout": {
"nanos": 0,
"seconds": 0
},
"retry_on": "string",
"retry_remote_localities": {
"value": true
}
},
"rewrite": {
"authority": "string",
"uri": "string"
},
"route": [
{
"destination": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"headers": {
"request": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
},
"response": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
}
},
"weight": 0
}
],
"timeout": {
"nanos": 0,
"seconds": 0
}
}
],
"tcp": [
{
"match": [
{
"destination_subnets": [
"string"
],
"gateways": [
"string"
],
"port": 0,
"source_labels": {
"property1": "string",
"property2": "string"
},
"source_namespace": "string",
"source_subnet": "string"
}
],
"route": [
{
"destination": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"weight": 0
}
]
}
],
"tls": [
{
"match": [
{
"destination_subnets": [
"string"
],
"gateways": [
"string"
],
"port": 0,
"sni_hosts": [
"string"
],
"source_labels": {
"property1": "string",
"property2": "string"
},
"source_namespace": "string"
}
],
"route": [
{
"destination": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"weight": 0
}
]
}
]
}