class Chef::Provisioning::AzureDriver::MachineOptions
Represents available machine provisioning options for Azure These are used to tell Azure how to construct a new VM
Attributes
@return [String] Name of the affinity group being used.
@return [String] Availability set name.
@return [Pathname] Path to the certificate file.
@return [String] Cloud service name.
@return [String] Deployment name.
@return [Pathname] Path to the private key.
@return [Integer] The SSH port to listen on. Defaults to 22
@return [String] Storage account name.
@return [String] Subnet name.
@return [Array] Array of ports to enable. Can be in port
or src:dest
format.
@return [String] Virtual network name.
@return [Chef::Provisioning::AzureDriver::Constants::MachineSize] The Azure machine size.
@return [String] WinRM transport mechanism (“http”, or “https”).
Defaults to "http".
Public Class Methods
# File lib/chef/provisioning/azure_driver/machine_options.rb, line 53 def initialize # Set defaults self.winrm_transport = "http" self.ssh_port = 22 end