Skip to main content

workloads

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

Overview

Nameworkloads
TypeResource
Idgoogle.cloudcontrolspartner.workloads

Fields

NameDatatypeDescription
namestringIdentifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
createTimestringOutput only. Time the resource was created.
folderstringOutput only. The name of container folder of the assured workload
folderIdstringOutput only. Folder id this workload is associated with
isOnboardedbooleanIndicates whether a workload is fully onboarded.
keyManagementProjectIdstringThe project id of the key management project for the workload
locationstringThe Google Cloud location of the workload
partnerstringPartner associated with this workload.
workloadOnboardingStateobjectContainer for workload onboarding steps.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcustomersId, locationsId, organizationsId, workloadsIdGets details of a single workload
listSELECTcustomersId, locationsId, organizationsIdLists customer workloads for a given customer org id

SELECT examples

Lists customer workloads for a given customer org id

SELECT
name,
createTime,
folder,
folderId,
isOnboarded,
keyManagementProjectId,
location,
partner,
workloadOnboardingState
FROM google.cloudcontrolspartner.workloads
WHERE customersId = '{{ customersId }}'
AND locationsId = '{{ locationsId }}'
AND organizationsId = '{{ organizationsId }}';