class Azure::Compute::Mgmt::V2020_06_01::Models::LinuxConfiguration

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).

Attributes

disable_password_authentication[RW]

@return [Boolean] Specifies whether password authentication should be disabled.

provision_vmagent[RW]

@return [Boolean] Indicates whether virtual machine agent should be 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.

ssh[RW]

@return [SshConfiguration] Specifies the ssh key configuration for a Linux OS.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-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