Class: Azure::ContainerService::Mgmt::V2020_12_01::Models::LinuxOSConfig
- Inherits:
-
Object
- Object
- Azure::ContainerService::Mgmt::V2020_12_01::Models::LinuxOSConfig
- 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
-
#swap_file_size_mb ⇒ Integer
will be created on each node.
-
#sysctls ⇒ SysctlConfig
Sysctl settings for Linux agent nodes.
-
#transparent_huge_page_defrag ⇒ String
Transparent Huge Page defrag configuration.
-
#transparent_huge_page_enabled ⇒ String
Transparent Huge Page enabled configuration.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LinuxOSConfig class as Ruby Hash.
Instance Attribute Details
#swap_file_size_mb ⇒ Integer
will be created on each node.
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 |
#sysctls ⇒ SysctlConfig
Returns Sysctl settings for Linux agent nodes.
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_defrag ⇒ String
Returns 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_enabled ⇒ String
Returns 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
.mapper ⇒ Object
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 |