File: //snap/google-cloud-cli/394/help/man/man1/gcloud_alpha_apphub_discovered-workloads_lookup.1
.TH "GCLOUD_ALPHA_APPHUB_DISCOVERED\-WORKLOADS_LOOKUP" 1
.SH "NAME"
.HP
gcloud alpha apphub discovered\-workloads lookup \- lookup an Apphub discovered workload with URI
.SH "SYNOPSIS"
.HP
\f5gcloud alpha apphub discovered\-workloads lookup\fR \fB\-\-location\fR=\fILOCATION\fR \fB\-\-uri\fR=\fIURI\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Lookup an Apphub discovered workload with URI.
.SH "EXAMPLES"
To lookup a discovered workload with uri \f5my\-workload\-uri\fR in location
\f5us\-east1\fR run:
.RS 2m
$ gcloud alpha apphub discovered\-workloads lookup \e
\-\-location=us\-east1 \-\-uri=my\-workload\-uri
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
Location resource \- Location. This represents a Cloud resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-location\fR on the command line with a fully
specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
ID of the location or fully qualified identifier for the location.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line.
.RE
.sp
.RE
.sp
.TP 2m
\fB\-\-uri\fR=\fIURI\fR
Google Cloud Platform resource URI to look up workload for.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
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 \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist. This variant is also available:
.RS 2m
$ gcloud apphub discovered\-workloads lookup
.RE