Skip to main content

discoveredprofiles

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

Overview

Namediscoveredprofiles
TypeResource
Idgoogle.workloadmanager.discoveredprofiles

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. name of resource names have the form 'projects/{project_id}/locations/{location}/workloadProfiles/{workload_id}'
labelsobjectOptional. such as name, description, version. More example can be found in deployment
refreshedTimestring (google-datetime)Required. time when the workload data was refreshed
sapWorkloadobjectThe sap workload content (id: SapWorkload)
workloadTypestringRequired. The type of the workload

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, locationsIdpageSize, pageToken, filterList discovered workload profiles

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

List discovered workload profiles

SELECT
name,
labels,
refreshedTime,
sapWorkload,
workloadType
FROM google.workloadmanager.discoveredprofiles
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}';