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:

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 (WORKLOAD_TYPE_UNSPECIFIED, S4_HANA)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, discoveredprofilesIdGets details of a discovered workload profile.
listselectprojectsId, locationsIdpageToken, filter, pageSizeList 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
discoveredprofilesIdstring
locationsIdstring
projectsIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets details of a discovered workload profile.

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