49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
$schema: "http://json-schema.org/draft-06/schema#"
|
|
|
|
title: networkservices v1alpha1 Routing export schema
|
|
description: A gcloud export/import command YAML validation schema.
|
|
type: object
|
|
required:
|
|
- hostRules
|
|
- pathMatchers
|
|
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
|
|
hostRules:
|
|
description: |-
|
|
A list of HostRule rules to match against. `RouteRule` rules support
|
|
advanced routing behavior, and can match on paths, headers and query
|
|
parameters, as well as status codes and HTTP methods. You can specify up
|
|
to 50 host rules.
|
|
type: array
|
|
items:
|
|
$ref: HostRule.yaml
|
|
pathMatchers:
|
|
description: |-
|
|
A list of PathMatcher values referenced by name by HostRule values.
|
|
`PathMatcher` is used to match the path portion of the URL when
|
|
a`HostRule` value matches the URL's host portion. You can specify up
|
|
to 50 path matchers.
|
|
type: array
|
|
items:
|
|
$ref: PathMatcher.yaml
|