lib/fog/azurerm/requests/storage/disable_backup_protection.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/requests/storage/disable_backup_protection.rb in fog-azure-rm-0.2.0

- old
+ new

@@ -10,10 +10,10 @@ Fog::Logger.debug msg set_recovery_vault_context(rv_resource_group, rv_name) vm_id = get_virtual_machine_id(vm_resource_group, vm_name) - resource_url = "#{AZURE_RESOURCE}/subscriptions/#{@subscription_id}/resourceGroups/#{rv_resource_group}/providers/Microsoft.RecoveryServices/vaults/#{rv_name}/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;#{vm_resource_group.downcase};#{vm_name.downcase}/protectedItems/vm;iaasvmcontainerv2;#{vm_resource_group.downcase};#{vm_name.downcase}?api-version=2016-05-01" + resource_url = "#{AZURE_RESOURCE}/subscriptions/#{@subscription_id}/resourceGroups/#{rv_resource_group}/providers/Microsoft.RecoveryServices/vaults/#{rv_name}/backupFabrics/Azure/protectionContainers/iaasvmcontainer;iaasvmcontainerv2;#{vm_resource_group.downcase};#{vm_name.downcase}/protectedItems/vm;iaasvmcontainerv2;#{vm_resource_group.downcase};#{vm_name.downcase}?api-version=#{REST_CLIENT_API_VERSION[1]}" body = { properties: { protectedItemType: 'Microsoft.Compute/virtualMachines', policyId: '', sourceResourceId: vm_id,