Class: Azure::ContainerService::Mgmt::V2020_12_01::Models::LinuxOSConfig

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-01/generated/azure_mgmt_container_service/models/linux_osconfig.rb

Overview

OS configurations of Linux agent nodes.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#swap_file_size_mbInteger

will be created on each node.

Returns:

  • (Integer)

    SwapFileSizeMB specifies size in MB of a swap file



26
27
28
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/linux_osconfig.rb', line 26

def swap_file_size_mb
  @swap_file_size_mb
end

#sysctlsSysctlConfig

Returns Sysctl settings for Linux agent nodes.

Returns:



16
17
18
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/linux_osconfig.rb', line 16

def sysctls
  @sysctls
end

#transparent_huge_page_defragString

Returns Transparent Huge Page defrag configuration.

Returns:

  • (String)

    Transparent Huge Page defrag configuration.



22
23
24
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/linux_osconfig.rb', line 22

def transparent_huge_page_defrag
  @transparent_huge_page_defrag
end

#transparent_huge_page_enabledString

Returns Transparent Huge Page enabled configuration.

Returns:

  • (String)

    Transparent Huge Page enabled configuration.



19
20
21
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/linux_osconfig.rb', line 19

def transparent_huge_page_enabled
  @transparent_huge_page_enabled
end

Class Method Details

.mapperObject

Mapper for LinuxOSConfig class as Ruby Hash. This will be used for serialization/deserialization.



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/linux_osconfig.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LinuxOSConfig',
    type: {
      name: 'Composite',
      class_name: 'LinuxOSConfig',
      model_properties: {
        sysctls: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sysctls',
          type: {
            name: 'Composite',
            class_name: 'SysctlConfig'
          }
        },
        transparent_huge_page_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'transparentHugePageEnabled',
          type: {
            name: 'String'
          }
        },
        transparent_huge_page_defrag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'transparentHugePageDefrag',
          type: {
            name: 'String'
          }
        },
        swap_file_size_mb: {
          client_side_validation: true,
          required: false,
          serialized_name: 'swapFileSizeMB',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end