public sealed class LifecycleConfig : IMessage<LifecycleConfig>, IEquatable<LifecycleConfig>, IDeepCloneable<LifecycleConfig>, IBufferMessage, IMessage
Specifies the cluster auto-delete schedule configuration.
Implements
IMessage<LifecycleConfig>, IEquatable<LifecycleConfig>, IDeepCloneable<LifecycleConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
LifecycleConfig()
public LifecycleConfig()
LifecycleConfig(LifecycleConfig)
public LifecycleConfig(LifecycleConfig other)
Parameter | |
---|---|
Name | Description |
other | LifecycleConfig |
Properties
AutoDeleteTime
public Timestamp AutoDeleteTime { get; set; }
Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp).
Property Value | |
---|---|
Type | Description |
Timestamp |
AutoDeleteTtl
public Duration AutoDeleteTtl { get; set; }
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).
Property Value | |
---|---|
Type | Description |
Duration |
IdleDeleteTtl
public Duration IdleDeleteTtl { get; set; }
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).
Property Value | |
---|---|
Type | Description |
Duration |
IdleStartTime
public Timestamp IdleStartTime { get; set; }
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).
Property Value | |
---|---|
Type | Description |
Timestamp |
TtlCase
public LifecycleConfig.TtlOneofCase TtlCase { get; }
Property Value | |
---|---|
Type | Description |
LifecycleConfig.TtlOneofCase |