File: //snap/google-cloud-cli/394/lib/googlecloudsdk/schemas/networkservices/v1alpha1/Router.yaml
$schema: "http://json-schema.org/draft-06/schema#"
title: networkservices v1alpha1 Router export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- name
- type
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
description:
description: |-
A free-text description of the resource. Max length 1024 characters.
type: string
labels:
description: Set of label tags associated with the Router resource.
$ref: LabelsValue.yaml
name:
description: |-
Name of the Router resource. It matches pattern
`projects/*/locations/global/routers/`.
type: string
network:
description: |-
The reference to the VPC network that is using this configuration.
Currently only the short name (network name) is supported, for example
"default", and we assume it is under the same project as the resource by
default.
type: string
proxySettings:
description: |-
Settings specific to proxies. This field is only applicable if the Router
type is "PROXY".
$ref: RouterProxySettings.yaml
routes:
description: |-
[Deprecated] Specify target routers from routes to route traffic List of
references to routes that this Router must be able to route traffic for.
Example: projects/12345/locations/global/grpcRoutes/myGrpcRoute Must refer
to GrpcRoute if Router type is PROXYLESS_GRPC. Must refer to HttpRoute if
Router type is PROXY.
type: array
items:
type: string
scope:
description: |-
Scope is used to identify Routers of the same type configuration of
which should apply to the same infrastructure component(s). For
example: if there are multiple Routers of type PROXY with the same
value of the scope, proxies requesting the configuration using this
value will receive a joint configuration of all Routers in the scope.
Clients can request configuration for a particular scope by specifying
its value in their request. Refer to the product documentation for the
product-specific way of specifying request parameters. Max length 64
characters. Scope should start with a letter and can only have
letters, numbers, hyphens.
type: string
type:
description: The type of the Router resource.
type: string
enum:
- PROXY
- PROXYLESS_GRPC
- SIDECAR
- TYPE_UNSPECIFIED