Class: Azure::Compute::Mgmt::V2020_12_01::Models::LinuxParameters

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

Overview

Input for InstallPatches on a Linux VM, as directly received by the API

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#classifications_to_includeArray<VMGuestPatchClassificationLinux>

classifications to select when installing patches for Linux.

Returns:



17
18
19
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/linux_parameters.rb', line 17

def classifications_to_include
  @classifications_to_include
end

#maintenance_run_idString

VM Guest Patching in Linux.

Returns:

  • (String)

    This is used as a maintenance run identifier for Auto



29
30
31
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/linux_parameters.rb', line 29

def maintenance_run_id
  @maintenance_run_id
end

#package_name_masks_to_excludeArray<String>

Format: packageName_packageVersion

Returns:

  • (Array<String>)

    packages to exclude in the patch operation.



25
26
27
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/linux_parameters.rb', line 25

def package_name_masks_to_exclude
  @package_name_masks_to_exclude
end

#package_name_masks_to_includeArray<String>

Format: packageName_packageVersion

Returns:

  • (Array<String>)

    packages to include in the patch operation.



21
22
23
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/linux_parameters.rb', line 21

def package_name_masks_to_include
  @package_name_masks_to_include
end

Class Method Details

.mapperObject

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



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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/linux_parameters.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LinuxParameters',
    type: {
      name: 'Composite',
      class_name: 'LinuxParameters',
      model_properties: {
        classifications_to_include: {
          client_side_validation: true,
          required: false,
          serialized_name: 'classificationsToInclude',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VMGuestPatchClassificationLinuxElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        package_name_masks_to_include: {
          client_side_validation: true,
          required: false,
          serialized_name: 'packageNameMasksToInclude',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        package_name_masks_to_exclude: {
          client_side_validation: true,
          required: false,
          serialized_name: 'packageNameMasksToExclude',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        maintenance_run_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'maintenanceRunId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end