Resource: Workload
Workload is an App Hub data model that contains a discovered workload, which represents a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality.
| JSON representation | 
|---|
| { "name": string, "displayName": string, "description": string, "workloadReference": { object ( | 
| Fields | |
|---|---|
| name | 
 Identifier. The resource name of the Workload. Format:  | 
| display | 
 Optional. User-defined name for the Workload. Can have a maximum length of 63 characters. | 
| description | 
 Optional. User-defined description of a Workload. Can have a maximum length of 2048 characters. | 
| workload | 
 Output only. Reference of an underlying compute resource represented by the Workload. These are immutable. | 
| workload | 
 Output only. Properties of an underlying compute resource represented by the Workload. These are immutable. | 
| discovered | 
 Required. Immutable. The resource name of the original discovered workload. | 
| attributes | 
 Optional. Consumer provided attributes. | 
| create | 
 Output only. Create time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:  | 
| update | 
 Output only. Update time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:  | 
| uid | 
 Output only. A universally unique identifier (UUID) for the  | 
| state | 
 Output only. Workload state. | 
State
Workload state.
| Enums | |
|---|---|
| STATE_UNSPECIFIED | Unspecified state. | 
| CREATING | The Workload is being created. | 
| ACTIVE | The Workload is ready. | 
| DELETING | The Workload is being deleted. | 
| DETACHED | The underlying compute resources have been deleted. | 
| Methods | |
|---|---|
| 
 | Creates a Workload in an Application. | 
| 
 | Deletes a Workload from an Application. | 
| 
 | Gets a Workload in an Application. | 
| 
 | Lists Workloads in an Application. | 
| 
 | Updates a Workload in an Application. |