共用方式為


LinuxOSConfig Class

Definition

See AKS custom node configuration for more details.

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

LinuxOSConfig()

Initializes a new instance of LinuxOSConfig.

Properties

SwapFileSizeInMB

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

Sysctls

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.

Explicit Interface Implementations

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