50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
$schema: "http://json-schema.org/draft-06/schema#"
|
|
|
|
title: networkservices v1 TcpRouteRouteAction export schema
|
|
description: A gcloud export/import command YAML validation schema.
|
|
type: object
|
|
additionalProperties: false
|
|
properties:
|
|
COMMENT:
|
|
type: object
|
|
description: User specified info ignored by gcloud import.
|
|
additionalProperties: false
|
|
properties:
|
|
template-id:
|
|
type: string
|
|
region:
|
|
type: string
|
|
description:
|
|
type: string
|
|
date:
|
|
type: string
|
|
version:
|
|
type: string
|
|
UNKNOWN:
|
|
type: array
|
|
description: Unknown API fields that cannot be imported.
|
|
items:
|
|
type: string
|
|
destinations:
|
|
description: |-
|
|
The destination services to which traffic should be forwarded. At least
|
|
one destination service is required. Only one of route destination or
|
|
original destination can be set.
|
|
type: array
|
|
items:
|
|
$ref: TcpRouteRouteDestination.yaml
|
|
idleTimeout:
|
|
description: |-
|
|
Specifies the idle timeout for the selected route. The idle timeout is
|
|
defined as the period in which there are no bytes sent or received on
|
|
either the upstream or downstream connection. If not set, the default
|
|
idle timeout is 30 seconds. If set to 0s, the timeout will be
|
|
disabled.
|
|
type: string
|
|
originalDestination:
|
|
description: |-
|
|
If true, Router will use the destination IP and port of the original
|
|
connection as the destination of the request. Default is false. Only
|
|
one of route destinations or original destination can be set.
|
|
type: boolean
|