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

Deployment

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

The Deployment object represents user intent for deploying a specific type of workload.

interface Deployment {
readonly createTime?: Date;
description?: string;
name?: string;
sapSystemS4Config?: SapSystemS4Config;
serviceAccount?: string;
sqlServerWorkload?: SqlServerWorkload;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "ACTIVE"
| "UPDATING"
| "DELETING"
| "FAILED";
terraformVariables?: {
[key: string]: TerraformVariable;
}
;
readonly updateTime?: Date;
workerPool?: string;
workloadType?:
| "WORKLOAD_TYPE_UNSPECIFIED"
| "SAP_S4"
| "SQL_SERVER"
| "ORACLE";
}

§Properties

§
readonly createTime?: Date
[src]

Output only. [Output only] Create time stamp

§
description?: string
[src]

Description of the Deployment

§
name?: string
[src]

The name of deployment resource. The format will be 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}'

§
sapSystemS4Config?: SapSystemS4Config
[src]

SAP system workload input

§
serviceAccount?: string
[src]

User-specified Service Account (SA) credentials to be used for cloud build Format: projects/{projectID}/serviceAccounts/{serviceAccount} The default Cloud Build SA will be used initially if this field is not set during deployment creation

§
sqlServerWorkload?: SqlServerWorkload
[src]

MS SQL workload input

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

Output only. Current state of the deployment.

§
terraformVariables?: {
[key: string]: TerraformVariable;
}
[src]

Optional. terraform_variables represents all the Terraform variables for the deployment workload. The key is the name of the Terraform variable, and the value is the TerraformVariable. For example: { "project_id": { "input_value": { "string_value": "my-project-id" } }, "zone": { "input_value": { "string_value": "us-central1-a" } } }

§
readonly updateTime?: Date
[src]

Output only. [Output only] Update time stamp

§
workerPool?: string
[src]

Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId}. If this field is unspecified, the default Cloud Build worker pool will be used.

§
workloadType?: "WORKLOAD_TYPE_UNSPECIFIED" | "SAP_S4" | "SQL_SERVER" | "ORACLE"
[src]

Optional. Workload type of the deployment