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

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

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

Swap on the node's boot disk.

Inheritance

object > LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

BootDiskProfile()

public BootDiskProfile()

BootDiskProfile(BootDiskProfile)

public BootDiskProfile(LinuxNodeConfig.Types.SwapConfig.Types.BootDiskProfile other)
Parameter
Name Description
other LinuxNodeConfigTypesSwapConfigTypesBootDiskProfile

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.BootDiskProfile.SwapSizeOneofCase SwapSizeCase { get; }
Property Value
Type Description
LinuxNodeConfigTypesSwapConfigTypesBootDiskProfileSwapSizeOneofCase

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 boot disk size.

Property Value
Type Description
int