你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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