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

Revision

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

A child resource of a Deployment generated by a 'CreateDeployment' or 'UpdateDeployment' call. Each Revision contains metadata pertaining to a snapshot of a particular Deployment.

interface Revision {
readonly action?:
| "ACTION_UNSPECIFIED"
| "CREATE"
| "UPDATE"
| "DELETE";
readonly applyResults?: ApplyResults;
readonly build?: string;
readonly createTime?: Date;
readonly errorCode?:
| "ERROR_CODE_UNSPECIFIED"
| "CLOUD_BUILD_PERMISSION_DENIED"
| "APPLY_BUILD_API_FAILED"
| "APPLY_BUILD_RUN_FAILED"
| "QUOTA_VALIDATION_FAILED";
readonly errorLogs?: string;
readonly importExistingResources?: boolean;
readonly logs?: string;
name?: string;
quotaValidation?: "QUOTA_VALIDATION_UNSPECIFIED" | "ENABLED" | "ENFORCED";
readonly quotaValidationResults?: string;
readonly serviceAccount?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "APPLYING"
| "APPLIED"
| "FAILED";
readonly stateDetail?: string;
readonly terraformBlueprint?: TerraformBlueprint;
readonly tfErrors?: TerraformError[];
readonly tfVersion?: string;
readonly tfVersionConstraint?: string;
readonly updateTime?: Date;
readonly workerPool?: string;
}

§Properties

§
readonly action?: "ACTION_UNSPECIFIED" | "CREATE" | "UPDATE" | "DELETE"
[src]

Output only. The action which created this revision

§
readonly applyResults?: ApplyResults
[src]

Output only. Outputs and artifacts from applying a deployment.

§
readonly build?: string
[src]

Output only. Cloud Build instance UUID associated with this revision.

§
readonly createTime?: Date
[src]

Output only. Time when the revision was created.

§
readonly errorCode?: "ERROR_CODE_UNSPECIFIED" | "CLOUD_BUILD_PERMISSION_DENIED" | "APPLY_BUILD_API_FAILED" | "APPLY_BUILD_RUN_FAILED" | "QUOTA_VALIDATION_FAILED"
[src]

Output only. Code describing any errors that may have occurred.

§
readonly errorLogs?: string
[src]

Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.

§
readonly importExistingResources?: boolean
[src]

Output only. By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.

§
readonly logs?: string
[src]

Output only. Location of Revision operation logs in gs://{bucket}/{object} format.

§
name?: string
[src]

Revision name. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}

§
quotaValidation?: "QUOTA_VALIDATION_UNSPECIFIED" | "ENABLED" | "ENFORCED"
[src]

Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.

§
readonly quotaValidationResults?: string
[src]

Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: gs://{bucket}/{object}.

§
readonly serviceAccount?: string
[src]

Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}

§
readonly state?: "STATE_UNSPECIFIED" | "APPLYING" | "APPLIED" | "FAILED"
[src]

Output only. Current state of the revision.

§
readonly stateDetail?: string
[src]

Output only. Additional info regarding the current state.

§
readonly terraformBlueprint?: TerraformBlueprint
[src]

Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

§
readonly tfErrors?: TerraformError[]
[src]

Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see delete_results and error_logs for full details.

§
readonly tfVersion?: string
[src]

Output only. The version of Terraform used to create the Revision. It is in the format of "Major.Minor.Patch", for example, "1.3.10".

§
readonly tfVersionConstraint?: string
[src]

Output only. The user-specified Terraform version constraint. Example: "=1.3.10".

§
readonly updateTime?: Date
[src]

Output only. Time when the revision was last modified.

§
readonly workerPool?: string
[src]

Output only. 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.