discovered_workloads
Creates, updates, deletes, gets or lists a discovered_workloads
resource.
Overview
Name | discovered_workloads |
Type | Resource |
Id | google.apphub.discovered_workloads |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}" |
workloadProperties | object | Properties of an underlying compute resource represented by the Workload. |
workloadReference | object | Reference of an underlying compute resource represented by the Workload. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | discoveredWorkloadsId, locationsId, projectsId | Gets a Discovered Workload in a host project and location. |
list | SELECT | locationsId, projectsId | Lists Discovered Workloads that can be added to an Application in a host project and location. |
lookup | EXEC | locationsId, projectsId | Lists a Discovered Workload in a host project and location, with a given resource URI. |
SELECT
examples
Lists Discovered Workloads that can be added to an Application in a host project and location.
SELECT
name,
workloadProperties,
workloadReference
FROM google.apphub.discovered_workloads
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';