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

RollbackAttempt

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

RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.

interface RollbackAttempt {
readonly destinationPhase?: string;
readonly rolloutId?: string;
readonly state?:
| "REPAIR_STATE_UNSPECIFIED"
| "REPAIR_STATE_SUCCEEDED"
| "REPAIR_STATE_CANCELLED"
| "REPAIR_STATE_FAILED"
| "REPAIR_STATE_IN_PROGRESS"
| "REPAIR_STATE_PENDING"
| "REPAIR_STATE_SKIPPED"
| "REPAIR_STATE_ABORTED";
readonly stateDesc?: string;
}

§Properties

§
readonly destinationPhase?: string
[src]

Output only. The phase to which the rollout will be rolled back to.

§
readonly rolloutId?: string
[src]

Output only. ID of the rollback Rollout to create.

§
readonly state?: "REPAIR_STATE_UNSPECIFIED" | "REPAIR_STATE_SUCCEEDED" | "REPAIR_STATE_CANCELLED" | "REPAIR_STATE_FAILED" | "REPAIR_STATE_IN_PROGRESS" | "REPAIR_STATE_PENDING" | "REPAIR_STATE_SKIPPED" | "REPAIR_STATE_ABORTED"
[src]

Output only. Valid state of this rollback action.

§
readonly stateDesc?: string
[src]

Output only. Description of the state of the Rollback.