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

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
NameDescription
otherWorkload

Properties

Attributes

public Attributes Attributes { get; set; }

Optional. Consumer provided attributes.

Property Value
TypeDescription
Attributes

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Create time.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

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

Property Value
TypeDescription
string

DiscoveredWorkload

public string DiscoveredWorkload { get; set; }

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

Property Value
TypeDescription
string

DiscoveredWorkloadAsLocationName

public LocationName DiscoveredWorkloadAsLocationName { get; set; }

LocationName-typed view over the DiscoveredWorkload resource name property.

Property Value
TypeDescription
LocationName

DisplayName

public string DisplayName { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
string

State

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

Output only. Workload state.

Property Value
TypeDescription
WorkloadTypesState

Uid

public string Uid { get; set; }

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

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Update time.

Property Value
TypeDescription
Timestamp

WorkloadName

public WorkloadName WorkloadName { get; set; }

WorkloadName-typed view over the Name resource name property.

Property Value
TypeDescription
WorkloadName

WorkloadProperties

public WorkloadProperties WorkloadProperties { get; set; }

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

Property Value
TypeDescription
WorkloadProperties

WorkloadReference

public WorkloadReference WorkloadReference { get; set; }

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

Property Value
TypeDescription
WorkloadReference