Class LifecycleConfig (2.4.0)

LifecycleConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies the cluster auto-delete schedule configuration. .. attribute:: idle_delete_ttl

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 10 minutes; maximum value is 14 days (see JSON representation of Duration <https://developers.google.com/protocol-buffers/docs/proto3#json>__.

:type: google.protobuf.duration_pb2.Duration

Attributes

NameDescription
auto_delete_time google.protobuf.timestamp_pb2.Timestamp
Optional. The time when cluster will be auto-deleted. (see JSON representation of Timestamp __).
auto_delete_ttl google.protobuf.duration_pb2.Duration
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 __).
idle_start_time google.protobuf.timestamp_pb2.Timestamp
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 __).