Workload class

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.

Constructors

Workload({Attributes? attributes, String? createTime, String? description, String? discoveredWorkload, String? displayName, String? name, String? state, String? uid, String? updateTime, WorkloadProperties? workloadProperties, WorkloadReference? workloadReference})
Workload.fromJson(Map json_)

Properties

attributes Attributes?
Consumer provided attributes.
getter/setter pair
createTime String?
Create time.
getter/setter pair
description String?
User-defined description of a Workload.
getter/setter pair
discoveredWorkload String?
The resource name of the original discovered workload.
getter/setter pair
displayName String?
User-defined name for the Workload.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Identifier.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
Workload state.
getter/setter pair
uid String?
A universally unique identifier (UUID) for the Workload in the UUID4 format.
getter/setter pair
updateTime String?
Update time.
getter/setter pair
workloadProperties WorkloadProperties?
Properties of an underlying compute resource represented by the Workload.
getter/setter pair
workloadReference WorkloadReference?
Reference of an underlying compute resource represented by the Workload.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited