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

LifecycleConfig

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

Specifies the cluster auto-delete schedule configuration.

interface LifecycleConfig {
autoDeleteTime?: Date;
autoDeleteTtl?: number;
idleDeleteTtl?: number;
readonly idleStartTime?: Date;
}

§Properties

§
autoDeleteTime?: Date
[src]

Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).

§
autoDeleteTtl?: number
[src]

Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).

§
idleDeleteTtl?: number
[src]

Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).

§
readonly idleStartTime?: Date
[src]

Output only. The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).