workloads
Creates, updates, deletes, gets or lists a workloads
resource.
Overview
Name | workloads |
Type | Resource |
Id | google.cloudcontrolspartner.workloads |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload} |
createTime | string | Output only. Time the resource was created. |
folder | string | Output only. The name of container folder of the assured workload |
folderId | string | Output only. Folder id this workload is associated with |
isOnboarded | boolean | Indicates whether a workload is fully onboarded. |
keyManagementProjectId | string | The project id of the key management project for the workload |
location | string | The Google Cloud location of the workload |
partner | string | Partner associated with this workload. |
workloadOnboardingState | object | Container for workload onboarding steps. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | customersId, locationsId, organizationsId, workloadsId | Gets details of a single workload |
list | SELECT | customersId, locationsId, organizationsId | Lists 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 }}';