File: //snap/google-cloud-cli/current/lib/surface/edge_cache/origins/list.yaml
- release_tracks: [ALPHA, GA]
help_text:
brief: List all EdgeCacheOrigin resources in a project.
description: |
List EdgeCacheOrigin resources.
examples: |
To list existing EdgeCacheOrigin resources, run:
$ {command}
request:
collection: networkservices.projects.locations.edgeCacheOrigins
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
response:
id_field: name
arguments:
resource:
help_text: The location (defaults to global) of the resources.
spec: !REF googlecloudsdk.command_lib.edge_cache.resources:location
removed_flags: [location]
output:
format: |
table(
name.basename():label=NAME,
originAddress:label=ORIGINADDRESS,
failoverOrigin:label=FAILOVERORIGIN,
maxAttempts:label=MAXATTEMPTS,
port:label=PORT,
protocol:label=PROTOCOL,
updateTime:label=UPDATETIME
)