Class: Chef::Provisioning::AzureRM::Driver

Inherits:
Driver
  • Object
show all
Defined in:
lib/chef/provisioning/azurerm/driver.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(driver_url, config) ⇒ Driver

Returns a new instance of Driver.



11
12
13
# File 'lib/chef/provisioning/azurerm/driver.rb', line 11

def initialize(driver_url, config)
  super
end

Class Method Details

.canonicalize_url(driver_url, config) ⇒ Object



15
16
17
# File 'lib/chef/provisioning/azurerm/driver.rb', line 15

def self.canonicalize_url(driver_url, config)
  [driver_url, config]
end

.from_url(driver_url, config) ⇒ Object



7
8
9
# File 'lib/chef/provisioning/azurerm/driver.rb', line 7

def self.from_url(driver_url, config)
  Driver.new(driver_url, config)
end

Instance Method Details

#allocate_machine(_action_handler, _machine_spec, _machine_options) ⇒ Object



19
20
21
# File 'lib/chef/provisioning/azurerm/driver.rb', line 19

def allocate_machine(_action_handler, _machine_spec, _machine_options)
  Chef::Log.error "The Azure Resource Manager does not implement the 'machine' resource. Please refer to documentation."
end

#destroy_machine(_action_handler, _machine_spec, _machine_options) ⇒ Object



26
27
# File 'lib/chef/provisioning/azurerm/driver.rb', line 26

def destroy_machine(_action_handler, _machine_spec, _machine_options)
end

#ready_machine(_action_handler, _machine_spec, _machine_options) ⇒ Object



23
24
# File 'lib/chef/provisioning/azurerm/driver.rb', line 23

def ready_machine(_action_handler, _machine_spec, _machine_options)
end