gcloud deploy targets describe - describes details specific to the individual target, delivery pipeline qualified
gcloud deploy targets describe (TARGET : --region=REGION) [--delivery-pipeline=DELIVERY_PIPELINE] [--list-all-pipelines] [--skip-pipeline-lookup] [GCLOUD_WIDE_FLAG ...]
The output contains four sections:
Target:
detail of the target to be described.
Latest Release:
the detail of the active release in the target.
Latest Rollout:
the detail of the active rollout in the target.
Deployed:
timestamp of the last successful deployment.
Pending Approvals:
list of the rollouts that require approval.
To describe a target called 'test' for delivery pipeline 'test-pipeline' in region 'us-central1', run:
$ gcloud deploy targets describe test \ --delivery-pipeline=test-pipeline --region=us-central1
- Target resource - The name of the Target. The arguments in this group can be
used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the project attribute:
- —
provide the argument target on the command line with a fully specified name;
- —
provide the argument --project on the command line;
- —
set the property core/project.
This must be specified.
- TARGET
ID of the target or fully qualified identifier for the target. To set the target attribute:
provide the argument target on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
- --region=REGION
The Cloud region for the target. Alternatively, set the property [deploy/region]. To set the region attribute:
provide the argument target on the command line with a fully specified name;
provide the argument --region on the command line;
set the property deploy/region.
- --delivery-pipeline=DELIVERY_PIPELINE
The name of the Cloud Deploy delivery pipeline
- --list-all-pipelines
List all Delivery Pipelines associated with a target.
Usage:
$ gcloud deploy targets describe --list-all-pipelines
- --skip-pipeline-lookup
If set, skip fetching details of associated pipelines when describing a target.
Usage:
$ gcloud deploy targets describe --skip-pipeline-lookup
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
These variants are also available:
$ gcloud alpha deploy targets describe
$ gcloud beta deploy targets describe