Show / Hide Table of Contents

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
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AppHub.v1.Data
Assembly: Google.Apis.AppHub.v1.dll
Syntax
public class Workload : IDirectResponseSchema

Properties

Attributes

Optional. Consumer provided attributes.

Declaration
[JsonProperty("attributes")]
public virtual Attributes Attributes { get; set; }
Property Value
Type Description
Attributes

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. Create time.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Description

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

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

DiscoveredWorkload

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

Declaration
[JsonProperty("discoveredWorkload")]
public virtual string DiscoveredWorkload { get; set; }
Property Value
Type Description
string

DisplayName

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

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

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

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

State

Output only. Workload state.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

Uid

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

Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. Update time.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

WorkloadProperties

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

Declaration
[JsonProperty("workloadProperties")]
public virtual WorkloadProperties WorkloadProperties { get; set; }
Property Value
Type Description
WorkloadProperties

WorkloadReference

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

Declaration
[JsonProperty("workloadReference")]
public virtual WorkloadReference WorkloadReference { get; set; }
Property Value
Type Description
WorkloadReference

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX