Udostępnij przez


LinuxOSConfig Class

Definition

OS configurations of Linux agent nodes. See AKS custom node configuration for more details. Serialized Name: LinuxOSConfig

public class LinuxOSConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.LinuxOSConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.LinuxOSConfig>
public class LinuxOSConfig
type LinuxOSConfig = class
    interface IJsonModel<LinuxOSConfig>
    interface IPersistableModel<LinuxOSConfig>
type LinuxOSConfig = class
Public Class LinuxOSConfig
Implements IJsonModel(Of LinuxOSConfig), IPersistableModel(Of LinuxOSConfig)
Public Class LinuxOSConfig
Inheritance
LinuxOSConfig
Implements

Constructors

Name Description
LinuxOSConfig()

Initializes a new instance of LinuxOSConfig.

Properties

Name Description
SwapFileSizeInMB

The size in MB of a swap file that will be created on each node. Serialized Name: LinuxOSConfig.swapFileSizeMB

Sysctls

Sysctl settings for Linux agent nodes. Serialized Name: LinuxOSConfig.sysctls

TransparentHugePageDefrag

Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages. Serialized Name: LinuxOSConfig.transparentHugePageDefrag

TransparentHugePageEnabled

Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages. Serialized Name: LinuxOSConfig.transparentHugePageEnabled

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<LinuxOSConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LinuxOSConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LinuxOSConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LinuxOSConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LinuxOSConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to