LinuxOSConfig Constructors

Definition

Overloads

LinuxOSConfig()

Initializes a new instance of the LinuxOSConfig class.

LinuxOSConfig(SysctlConfig, String, String, Nullable<Int32>)

Initializes a new instance of the LinuxOSConfig class.

LinuxOSConfig()

Initializes a new instance of the LinuxOSConfig class.

public LinuxOSConfig ();
Public Sub New ()

Applies to

LinuxOSConfig(SysctlConfig, String, String, Nullable<Int32>)

Initializes a new instance of the LinuxOSConfig class.

public LinuxOSConfig (Microsoft.Azure.Management.ContainerService.Models.SysctlConfig sysctls = default, string transparentHugePageEnabled = default, string transparentHugePageDefrag = default, int? swapFileSizeMb = default);
new Microsoft.Azure.Management.ContainerService.Models.LinuxOSConfig : Microsoft.Azure.Management.ContainerService.Models.SysctlConfig * string * string * Nullable<int> -> Microsoft.Azure.Management.ContainerService.Models.LinuxOSConfig
Public Sub New (Optional sysctls As SysctlConfig = Nothing, Optional transparentHugePageEnabled As String = Nothing, Optional transparentHugePageDefrag As String = Nothing, Optional swapFileSizeMb As Nullable(Of Integer) = Nothing)

Parameters

sysctls
SysctlConfig

Sysctl settings for Linux agent nodes.

transparentHugePageEnabled
String

Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.

transparentHugePageDefrag
String

Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.

swapFileSizeMb
Nullable<Int32>

The size in MB of a swap file that will be created on each node.

Applies to