共用方式為


LinuxOSConfig Class

Definition

See AKS custom node configuration for more details.

public class LinuxOSConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
type LinuxOSConfig = class
    inherit ProvisionableConstruct
Public Class LinuxOSConfig
Inherits ProvisionableConstruct
Inheritance

Constructors

LinuxOSConfig()

Creates a new 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.

Methods

DefineProvisionableProperties()

Define all the provisionable properties of LinuxOSConfig.

GetResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from Provisionable)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from Provisionable)

Applies to