App Hub v1 API - Class Workload (1.0.0-beta03)

public sealed class Workload : IMessage<Workload>, IEquatable<Workload>, IDeepCloneable<Workload>, IBufferMessage, IMessage

Reference documentation and code samples for the App Hub v1 API class 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.

Inheritance

object > Workload

Namespace

Google.Cloud.AppHub.V1

Assembly

Google.Cloud.AppHub.V1.dll

Constructors

Workload()

public Workload()

Workload(Workload)

public Workload(Workload other)
Parameter
Name Description
other Workload

Properties

Attributes

public Attributes Attributes { get; set; }

Optional. Consumer provided attributes.

Property Value
Type Description
Attributes

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Create time.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. User-defined description of a Workload. Can have a maximum length of 2048 characters.

Property Value
Type Description
string

DiscoveredWorkload

public string DiscoveredWorkload { get; set; }

Required. Immutable. The resource name of the original discovered workload.

Property Value
Type Description
string

DiscoveredWorkloadAsLocationName

public LocationName DiscoveredWorkloadAsLocationName { get; set; }

LocationName-typed view over the DiscoveredWorkload resource name property.

Property Value
Type Description
LocationName

DisplayName

public string DisplayName { get; set; }

Optional. User-defined name for the Workload. Can have a maximum length of 63 characters.

Property Value
Type Description
string

Name

public string Name { get; set; }

Identifier. The resource name of the Workload. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"

Property Value
Type Description
string

State

public Workload.Types.State State { get; set; }

Output only. Workload state.

Property Value
Type Description
WorkloadTypesState

Uid

public string Uid { get; set; }

Output only. A universally unique identifier (UUID) for the Workload in the UUID4 format.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Update time.

Property Value
Type Description
Timestamp

WorkloadName

public WorkloadName WorkloadName { get; set; }

WorkloadName-typed view over the Name resource name property.

Property Value
Type Description
WorkloadName

WorkloadProperties

public WorkloadProperties WorkloadProperties { get; set; }

Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.

Property Value
Type Description
WorkloadProperties

WorkloadReference

public WorkloadReference WorkloadReference { get; set; }

Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.

Property Value
Type Description
WorkloadReference