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

AutomationRun

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

An AutomationRun resource in the Cloud Deploy API. An AutomationRun represents an execution instance of an automation rule.

interface AutomationRun {
readonly advanceRolloutOperation?: AdvanceRolloutOperation;
readonly automationId?: string;
readonly automationSnapshot?: Automation;
readonly createTime?: Date;
readonly etag?: string;
readonly expireTime?: Date;
readonly name?: string;
readonly promoteReleaseOperation?: PromoteReleaseOperation;
readonly repairRolloutOperation?: RepairRolloutOperation;
readonly ruleId?: string;
readonly serviceAccount?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "SUCCEEDED"
| "CANCELLED"
| "FAILED"
| "IN_PROGRESS"
| "PENDING"
| "ABORTED";
readonly stateDescription?: string;
readonly targetId?: string;
readonly updateTime?: Date;
readonly waitUntilTime?: Date;
}

§Properties

§
readonly advanceRolloutOperation?: AdvanceRolloutOperation
[src]

Output only. Advances a rollout to the next phase.

§
readonly automationId?: string
[src]

Output only. The ID of the automation that initiated the operation.

§
readonly automationSnapshot?: Automation
[src]

Output only. Snapshot of the Automation taken at AutomationRun creation time.

§
readonly createTime?: Date
[src]

Output only. Time at which the AutomationRun was created.

§
readonly etag?: string
[src]

Output only. The weak etag of the AutomationRun resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

§
readonly expireTime?: Date
[src]

Output only. Time the AutomationRun expires. An AutomationRun expires after 14 days from its creation date.

§
readonly name?: string
[src]

Output only. Name of the AutomationRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

§
readonly promoteReleaseOperation?: PromoteReleaseOperation
[src]

Output only. Promotes a release to a specified 'Target'.

§
readonly repairRolloutOperation?: RepairRolloutOperation
[src]

Output only. Repairs a failed 'Rollout'.

§
readonly ruleId?: string
[src]

Output only. The ID of the automation rule that initiated the operation.

§
readonly serviceAccount?: string
[src]

Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.

§
readonly state?: "STATE_UNSPECIFIED" | "SUCCEEDED" | "CANCELLED" | "FAILED" | "IN_PROGRESS" | "PENDING" | "ABORTED"
[src]

Output only. Current state of the AutomationRun.

§
readonly stateDescription?: string
[src]

Output only. Explains the current state of the AutomationRun. Present only when an explanation is needed.

§
readonly targetId?: string
[src]

Output only. The ID of the target that represents the promotion stage that initiates the AutomationRun. The value of this field is the last segment of a target name.

§
readonly updateTime?: Date
[src]

Output only. Time at which the automationRun was updated.

§
readonly waitUntilTime?: Date
[src]

Output only. Earliest time the AutomationRun will attempt to resume. Wait-time is configured by wait in automation rule.