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

affinity_group_name[RW]

@return [String] Name of the affinity group being used.

availability_set_name[RW]

@return [String] Availability set name.

certificate_file[RW]

@return [Pathname] Path to the certificate file.

cloud_service_name[RW]

@return [String] Cloud service name.

deployment_name[RW]

@return [String] Deployment name.

private_key_file[RW]

@return [Pathname] Path to the private key.

ssh_port[RW]

@return [Integer] The SSH port to listen on. Defaults to 22

storage_account_name[RW]

@return [String] Storage account name.

subnet_name[RW]

@return [String] Subnet name.

tcp_endpoints[RW]

@return [Array] Array of ports to enable. Can be in port or src:dest format.

virtual_network_name[RW]

@return [String] Virtual network name.

vm_size[RW]

@return [Chef::Provisioning::AzureDriver::Constants::MachineSize] The Azure machine size.

winrm_transport[RW]

@return [String] WinRM transport mechanism (“http”, or “https”).

Defaults to "http".

Public Class Methods

new() click to toggle source
# File lib/chef/provisioning/azure_driver/machine_options.rb, line 53
def initialize
  # Set defaults
  self.winrm_transport = "http"
  self.ssh_port = 22
end