Skip to main content

discovered_workloads

Creates, updates, deletes, gets or lists a discovered_workloads resource.

Overview

Namediscovered_workloads
TypeResource
Idgoogle.apphub.discovered_workloads

Fields

NameDatatypeDescription
namestringIdentifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
workloadPropertiesobjectProperties of an underlying compute resource represented by the Workload.
workloadReferenceobjectReference of an underlying compute resource represented by the Workload.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdiscoveredWorkloadsId, locationsId, projectsIdGets a Discovered Workload in a host project and location.
listSELECTlocationsId, projectsIdLists Discovered Workloads that can be added to an Application in a host project and location.
lookupEXEClocationsId, projectsIdLists 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 }}';