test/test_helper.rb in fog-azure-rm-temp-0.0.2 vs test/test_helper.rb in fog-azure-rm-temp-0.0.3
- old
+ new
@@ -114,11 +114,11 @@
def availability_set(service)
Fog::Compute::AzureRM::AvailabilitySet.new(
name: 'availability-set',
location: 'West US',
resource_group: 'fog-test-rg',
- is_managed: false,
+ use_managed_disk: false,
sku_name: 'Classic',
service: service
)
end
@@ -784,23 +784,9 @@
id: '/subscriptions/########-####-####-####-############/resourceGroups/vm_custom_image/providers/Microsoft.Sql/servers/test-sql-server-confiz123/firewallRules/rule-name',
resource_group: 'fog-test-rg',
server_name: 'server-name',
start_ip: '10.10.10.10',
end_ip: '10.10.10.10',
- service: service
- )
-end
-
-def recovery_vault(service)
- Fog::Storage::AzureRM::RecoveryVault.new(
- name: 'fog-test-vault',
- id: '/subscriptions/########-####-####-####-############/resourceGroups/fog-test-rg/providers/Microsoft.RecoveryServices/vaults/fog-test-vault',
- resource_group: 'fog-test-rg',
- location: 'westus',
- type: 'Microsoft.RecoveryServices/vaults',
- sku: {
- name: 'standard'
- },
service: service
)
end
def managed_disk(service)