- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Lists a Discovered Workload in a host project and location, with a given resource URI.
HTTP request
GET https://apphub.googleapis.com/v1/{parent=projects/*/locations/*}/discoveredWorkloads:lookup
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Host project ID and location to lookup Discovered Workload in. Expected format: |
Query parameters
| Parameters | |
|---|---|
uri |
Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed. |
Request body
The request body must be empty.
Response body
Response for discoveredWorkloads.lookup.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"discoveredWorkload": {
object ( |
| Fields | |
|---|---|
discovered |
Discovered Workload if exists, empty otherwise. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
apphub.discoveredWorkloads.list
For more information, see the IAM documentation.