Share via


LinuxOSConfig Class

Definition

See AKS custom node configuration for more details.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.LinuxOSConfigTypeConverter))]
public class LinuxOSConfig : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ILinuxOSConfig
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.LinuxOSConfigTypeConverter))>]
type LinuxOSConfig = class
    interface ILinuxOSConfig
    interface IJsonSerializable
Public Class LinuxOSConfig
Implements ILinuxOSConfig
Inheritance
LinuxOSConfig
Attributes
Implements

Constructors

LinuxOSConfig()

Creates an new LinuxOSConfig instance.

Properties

SwapFileSizeMb

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

Sysctl

Sysctl settings for Linux agent nodes.

TransparentHugePageDefrag

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

TransparentHugePageEnabled

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LinuxOSConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LinuxOSConfig.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ILinuxOSConfig.

FromJsonString(String)

Creates a new instance of LinuxOSConfig, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LinuxOSConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to