Class: Azure::Compute::Mgmt::V2018_06_01::Models::LinuxConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb

Overview

Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#disable_password_authenticationBoolean

disabled.

Returns:

  • (Boolean)

    Specifies whether password authentication should be



23
24
25
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb', line 23

def disable_password_authentication
  @disable_password_authentication
end

#provision_vmagentBoolean

provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.

Returns:

  • (Boolean)

    Indicates whether virtual machine agent should be



34
35
36
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb', line 34

def provision_vmagent
  @provision_vmagent
end

#sshSshConfiguration

Linux OS.

Returns:



27
28
29
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb', line 27

def ssh
  @ssh
end

Class Method Details

.mapperObject

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



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/2018-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LinuxConfiguration',
    type: {
      name: 'Composite',
      class_name: 'LinuxConfiguration',
      model_properties: {
        disable_password_authentication: {
          client_side_validation: true,
          required: false,
          serialized_name: 'disablePasswordAuthentication',
          type: {
            name: 'Boolean'
          }
        },
        ssh: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ssh',
          type: {
            name: 'Composite',
            class_name: 'SshConfiguration'
          }
        },
        provision_vmagent: {
          client_side_validation: true,
          required: false,
          serialized_name: 'provisionVMAgent',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end