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

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

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

Swap on the local SSD shared with pod ephemeral storage.

Inheritance

object > LinuxNodeConfig.Types.SwapConfig.Types.EphemeralLocalSsdProfile

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

EphemeralLocalSsdProfile()

public EphemeralLocalSsdProfile()

EphemeralLocalSsdProfile(EphemeralLocalSsdProfile)

public EphemeralLocalSsdProfile(LinuxNodeConfig.Types.SwapConfig.Types.EphemeralLocalSsdProfile other)
Parameter
Name Description
other LinuxNodeConfigTypesSwapConfigTypesEphemeralLocalSsdProfile

Properties

HasSwapSizeGib

public bool HasSwapSizeGib { get; }

Gets whether the "swap_size_gib" field is set

Property Value
Type Description
bool

HasSwapSizePercent

public bool HasSwapSizePercent { get; }

Gets whether the "swap_size_percent" field is set

Property Value
Type Description
bool

SwapSizeCase

public LinuxNodeConfig.Types.SwapConfig.Types.EphemeralLocalSsdProfile.SwapSizeOneofCase SwapSizeCase { get; }
Property Value
Type Description
LinuxNodeConfigTypesSwapConfigTypesEphemeralLocalSsdProfileSwapSizeOneofCase

SwapSizeGib

public long SwapSizeGib { get; set; }

Specifies the size of the swap space in gibibytes (GiB).

Property Value
Type Description
long

SwapSizePercent

public int SwapSizePercent { get; set; }

Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.

Property Value
Type Description
int