Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Workload

import type { Workload } from "https://googleapis.deno.dev/v1/apphub:v1.ts";

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.

interface Workload {
attributes?: Attributes;
readonly createTime?: Date;
description?: string;
discoveredWorkload?: string;
displayName?: string;
name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "ACTIVE"
| "DELETING"
| "DETACHED";
readonly uid?: string;
readonly updateTime?: Date;
readonly workloadProperties?: WorkloadProperties;
readonly workloadReference?: WorkloadReference;
}

§Properties

§
attributes?: Attributes
[src]

Optional. Consumer provided attributes.

§
readonly createTime?: Date
[src]

Output only. Create time.

§
description?: string
[src]

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

§
discoveredWorkload?: string
[src]

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

§
displayName?: string
[src]

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

§
name?: string
[src]

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

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "ACTIVE" | "DELETING" | "DETACHED"
[src]

Output only. Workload state.

§
readonly uid?: string
[src]

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

§
readonly updateTime?: Date
[src]

Output only. Update time.

§
readonly workloadProperties?: WorkloadProperties
[src]

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

§
readonly workloadReference?: WorkloadReference
[src]

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