pub struct LifecycleConfig {
pub auto_delete_time: Option<DateTime<Utc>>,
pub auto_delete_ttl: Option<Duration>,
pub auto_stop_time: Option<DateTime<Utc>>,
pub auto_stop_ttl: Option<Duration>,
pub idle_delete_ttl: Option<Duration>,
pub idle_start_time: Option<DateTime<Utc>>,
pub idle_stop_ttl: Option<Duration>,
}Expand description
Specifies the cluster auto-delete schedule configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§auto_delete_time: Option<DateTime<Utc>>Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).
auto_delete_ttl: Option<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 (https://developers.google.com/protocol-buffers/docs/proto3#json)).
auto_stop_time: Option<DateTime<Utc>>Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).
auto_stop_ttl: Option<Duration>Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
idle_delete_ttl: Option<Duration>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)).
idle_start_time: Option<DateTime<Utc>>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)).
idle_stop_ttl: Option<Duration>Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
Trait Implementations§
Source§impl Clone for LifecycleConfig
impl Clone for LifecycleConfig
Source§fn clone(&self) -> LifecycleConfig
fn clone(&self) -> LifecycleConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more