Class: Chef::Provisioning::AzureDriver::BootstrapOptions

Inherits:
BootstrapOptions
  • Object
show all
Defined in:
lib/chef/provisioning/azure_driver/bootstrap_options.rb

Overview

Represents available options when bootstrapping a host on Azure These are used to tell Azure some initial pieces of information for building a new VM.

Instance Attribute Summary collapse

Instance Attribute Details

#imageString

Returns The identifier for the VM image to use.

Returns:

  • (String)

    The identifier for the VM image to use



15
16
17
# File 'lib/chef/provisioning/azure_driver/bootstrap_options.rb', line 15

def image
  @image
end

#locationString

Returns The Azure location to store this in.

Returns:

  • (String)

    The Azure location to store this in



21
22
23
# File 'lib/chef/provisioning/azure_driver/bootstrap_options.rb', line 21

def location
  @location
end

#passwordString

Returns the password to use.

Returns:

  • (String)

    the password to use



18
19
20
# File 'lib/chef/provisioning/azure_driver/bootstrap_options.rb', line 18

def password
  @password
end

#vm_nameString

Returns The name of the VM.

Returns:

  • (String)

    The name of the VM



9
10
11
# File 'lib/chef/provisioning/azure_driver/bootstrap_options.rb', line 9

def vm_name
  @vm_name
end

#vm_userString

Returns The VM user.

Returns:

  • (String)

    The VM user



12
13
14
# File 'lib/chef/provisioning/azure_driver/bootstrap_options.rb', line 12

def vm_user
  @vm_user
end