Google Kubernetes Engine v1 API - Class LinuxNodeConfig.Types.SwapConfig (3.37.0)

public sealed class LinuxNodeConfig.Types.SwapConfig : IMessage<LinuxNodeConfig.Types.SwapConfig>, IEquatable<LinuxNodeConfig.Types.SwapConfig>, IDeepCloneable<LinuxNodeConfig.Types.SwapConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Kubernetes Engine v1 API class LinuxNodeConfig.Types.SwapConfig.

Configuration for swap memory on a node pool.

Inheritance

object > LinuxNodeConfig.Types.SwapConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

SwapConfig()

public SwapConfig()

SwapConfig(SwapConfig)

public SwapConfig(LinuxNodeConfig.Types.SwapConfig other)
Parameter
Name Description
other LinuxNodeConfigTypesSwapConfig

Properties

BootDiskProfile

public LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile BootDiskProfile { get; set; }

Swap on the node's boot disk.

Property Value
Type Description
LinuxNodeConfigTypesSwapConfigTypesBootDiskProfile

DedicatedLocalSsdProfile

public LinuxNodeConfig.Types.SwapConfig.Types.DedicatedLocalSsdProfile DedicatedLocalSsdProfile { get; set; }

Provisions a new, separate local NVMe SSD exclusively for swap.

Property Value
Type Description
LinuxNodeConfigTypesSwapConfigTypesDedicatedLocalSsdProfile

Enabled

public bool Enabled { get; set; }

Optional. Enables or disables swap for the node pool.

Property Value
Type Description
bool

EncryptionConfig

public LinuxNodeConfig.Types.SwapConfig.Types.EncryptionConfig EncryptionConfig { get; set; }

Optional. If omitted, swap space is encrypted by default.

Property Value
Type Description
LinuxNodeConfigTypesSwapConfigTypesEncryptionConfig

EphemeralLocalSsdProfile

public LinuxNodeConfig.Types.SwapConfig.Types.EphemeralLocalSsdProfile EphemeralLocalSsdProfile { get; set; }

Swap on the local SSD shared with pod ephemeral storage.

Property Value
Type Description
LinuxNodeConfigTypesSwapConfigTypesEphemeralLocalSsdProfile

HasEnabled

public bool HasEnabled { get; }

Gets whether the "enabled" field is set

Property Value
Type Description
bool

PerformanceProfileCase

public LinuxNodeConfig.Types.SwapConfig.PerformanceProfileOneofCase PerformanceProfileCase { get; }
Property Value
Type Description
LinuxNodeConfigTypesSwapConfigPerformanceProfileOneofCase