lib/fog/azurerm/models/compute/virtual_machine_extensions.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/compute/virtual_machine_extensions.rb in fog-azure-rm-0.2.0

- old
+ new

@@ -19,9 +19,13 @@ def get(resource_group_name, virtual_machine_name, vm_extension_name) vm_extension = service.get_vm_extension(resource_group_name, virtual_machine_name, vm_extension_name) vm_extension_fog = Fog::Compute::AzureRM::VirtualMachineExtension.new(service: service) vm_extension_fog.merge_attributes(Fog::Compute::AzureRM::VirtualMachineExtension.parse(vm_extension)) end + + def check_vm_extension_exists(resource_group_name, virtual_machine_name, vm_extension_name) + service.check_vm_extension_exists(resource_group_name, virtual_machine_name, vm_extension_name) + end end end end end