- NAME
- gcloud-preview-resource-views-resources-add - Add resources to a resource view.
- SYNOPSIS
-
gcloud preview resource-views resources add RESOURCE [RESOURCE …] [--api-version API_VERSION; default="v1beta1"] [--format FORMAT] [--help] [--project PROJECT] [--quiet, -q] [--region REGION] [--zone ZONE] [-h]
- DESCRIPTION
- This command adds resources to a resource view. You must provide a list of fully-qualified URLs for each resource.
- Alternatively, you can also use the addinstances command and provide resource names rather than URLs.
- POSITIONAL ARGUMENTS
-
-
RESOURCE [RESOURCE …]
- A list of fully-qualified URLs to each resource that should be added to this view. For example: https://www.googleapis.com/compute/v1/projects/myproject/zones/us-central1-a/instances/instance-1
-
- FLAGS
-
-
--api-version
API_VERSION
- Optional API version.
-
--format
FORMAT
- Specify a format for printed output. By default, a command-specific human-friendly output format is used. Setting this flag to one of the available options will serialize the result of the command in the chosen format and print it to stdout. Supported formats are: "json", "text", "yaml".
-
--help
- Display detailed help.
-
--project
PROJECT
- Google Cloud Platform project to use for this invocation.
-
--quiet
- Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised.
-
--region
REGION
- Resource view region name. Not valid for API version=v1beta2.
-
--zone
ZONE
- Resource view zone name. Required if using API version=v1beta2.
-
-h
- Print a summary help and exit.
-
gcloud preview resource-views resources add
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License , and code samples are licensed under the Apache 2.0 License . For details, see our Site Policies .
Last updated August 11, 2014.