fog-azure-rm-temp 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.arclint +8 -0
- data/CHANGELOG.md +12 -3
- data/fog-azure-rm.gemspec +1 -1
- data/lib/fog/azurerm.rb +0 -1
- data/lib/fog/azurerm/docs/compute.md +3 -3
- data/lib/fog/azurerm/docs/storage.md +0 -66
- data/lib/fog/azurerm/models/compute/availability_set.rb +5 -5
- data/lib/fog/azurerm/requests/compute/create_availability_set.rb +6 -6
- data/lib/fog/azurerm/storage.rb +0 -18
- data/lib/fog/azurerm/version.rb +1 -1
- data/test/api_stub.rb +0 -2
- data/test/api_stub/requests/compute/availability_set.rb +4 -4
- data/test/integration/availability_set.rb +2 -2
- data/test/models/compute/test_availability_set.rb +1 -1
- data/test/requests/compute/test_create_availability_set.rb +4 -4
- data/test/test_helper.rb +1 -15
- metadata +11 -36
- data/lib/fog/azurerm/models/storage/recovery_vault.rb +0 -50
- data/lib/fog/azurerm/models/storage/recovery_vaults.rb +0 -27
- data/lib/fog/azurerm/requests/storage/create_or_update_recovery_vault.rb +0 -54
- data/lib/fog/azurerm/requests/storage/delete_recovery_vault.rb +0 -35
- data/lib/fog/azurerm/requests/storage/disable_backup_protection.rb +0 -60
- data/lib/fog/azurerm/requests/storage/enable_backup_protection.rb +0 -61
- data/lib/fog/azurerm/requests/storage/get_all_backup_jobs.rb +0 -56
- data/lib/fog/azurerm/requests/storage/get_backup_container.rb +0 -53
- data/lib/fog/azurerm/requests/storage/get_backup_item.rb +0 -58
- data/lib/fog/azurerm/requests/storage/get_backup_job_for_vm.rb +0 -53
- data/lib/fog/azurerm/requests/storage/get_backup_protection_policy.rb +0 -64
- data/lib/fog/azurerm/requests/storage/get_recovery_vault.rb +0 -49
- data/lib/fog/azurerm/requests/storage/list_recovery_vaults.rb +0 -48
- data/lib/fog/azurerm/requests/storage/set_recovery_vault_context.rb +0 -36
- data/lib/fog/azurerm/requests/storage/start_backup.rb +0 -54
- data/test/api_stub/models/storage/recovery_vault.rb +0 -23
- data/test/api_stub/requests/storage/recovery_vault.rb +0 -189
- data/test/models/storage/test_recovery_vault.rb +0 -61
- data/test/models/storage/test_recovery_vaults.rb +0 -47
- data/test/requests/storage/test_create_recovery_vault.rb +0 -35
- data/test/requests/storage/test_delete_recovery_vault.rb +0 -34
- data/test/requests/storage/test_disable_backup_protection.rb +0 -52
- data/test/requests/storage/test_enable_backup_protection.rb +0 -66
- data/test/requests/storage/test_get_all_backup_jobs.rb +0 -35
- data/test/requests/storage/test_get_backup_container.rb +0 -35
- data/test/requests/storage/test_get_backup_item.rb +0 -35
- data/test/requests/storage/test_get_backup_job_for_vm.rb +0 -26
- data/test/requests/storage/test_get_backup_protection_policy.rb +0 -35
- data/test/requests/storage/test_get_recovery_vault.rb +0 -35
- data/test/requests/storage/test_list_recovery_vault.rb +0 -35
- data/test/requests/storage/test_set_recovery_vault_context.rb +0 -34
- data/test/requests/storage/test_start_backup.rb +0 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddafc1d170ef4e73a60717a3b4316616f21b9bf1
|
4
|
+
data.tar.gz: 338b0d9155871c2849bdde8587b6317a930ffc4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d1be01e59a72b7ccf3e322b0208fc8a07f5d4884574833c8bdcd5c8a139c607660fa8e47b8ce76acb87d609ebf9ebcb65a8caacdb08481479e7b74f899070cc
|
7
|
+
data.tar.gz: 87db374741759151abc13a4d074254db384ac96fe1848fe817c73bcdbc9548daedb792a447572fb8ef00fae4e9de34414fb856ba113c40bf7fab36b3b2c4f876
|
data/.arclint
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,20 @@
|
|
1
|
+
## 0.3.4 (Upcoming)
|
2
|
+
|
3
|
+
**Removed:**
|
4
|
+
- Recovery Vault Support
|
5
|
+
|
1
6
|
## 0.3.3
|
2
7
|
|
3
8
|
**Added:**
|
4
|
-
- Compute Service - Added support to create
|
9
|
+
- Compute Service - Added support to create availability set with managed disk support
|
5
10
|
|
6
11
|
**Changed:**
|
7
|
-
- Compute Service -
|
8
|
-
-
|
12
|
+
- Compute Service - Provided option to configure fault and update domain values
|
13
|
+
- Removed dependency on Rest Client
|
14
|
+
- azure-storage dependency fixed to 0.11.5.preview (to enable use with ruby 2.0.0)
|
15
|
+
|
16
|
+
**Fixed:**
|
17
|
+
- Unit tests - Storage and Compute
|
9
18
|
|
10
19
|
## 0.3.2
|
11
20
|
|
data/fog-azure-rm.gemspec
CHANGED
@@ -32,6 +32,6 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_dependency 'azure_mgmt_traffic_manager', '~> 0.9.0'
|
33
33
|
spec.add_dependency 'azure_mgmt_sql', '~> 0.9.0'
|
34
34
|
spec.add_dependency 'azure_mgmt_key_vault', '~> 0.9.0'
|
35
|
-
spec.add_dependency 'azure-storage', '
|
35
|
+
spec.add_dependency 'azure-storage', '>= 0.11.5.preview', '< 1.0'
|
36
36
|
spec.add_dependency 'vhd', '0.0.4'
|
37
37
|
end
|
data/lib/fog/azurerm.rb
CHANGED
@@ -223,9 +223,9 @@ azure_compute_service.availability_sets.create(
|
|
223
223
|
name: '<Availability Set name>',
|
224
224
|
location: '<Location>',
|
225
225
|
resource_group: '<Resource Group name>'
|
226
|
-
platform_fault_domain_count: <No of Fault Domains>, # [Optional] Default =>
|
227
|
-
platform_update_domain_count: <No of Update Domains>, # [Optional] Default =>
|
228
|
-
|
226
|
+
platform_fault_domain_count: <No of Fault Domains>, # [Optional] Default => 2
|
227
|
+
platform_update_domain_count: <No of Update Domains>, # [Optional] Default => 5
|
228
|
+
use_managed_disk: true # [Optional] Possible values true or false
|
229
229
|
)
|
230
230
|
```
|
231
231
|
## List Availability Sets
|
@@ -389,72 +389,6 @@ directory.metadata = {
|
|
389
389
|
directory.save(is_create: false)
|
390
390
|
```
|
391
391
|
|
392
|
-
### Create Recovery Vault
|
393
|
-
|
394
|
-
Create a new Recovery Vault object
|
395
|
-
|
396
|
-
```ruby
|
397
|
-
azure_storage_service.recovery_vaults.create(
|
398
|
-
name: '<vault_name>',
|
399
|
-
location: '<location>',
|
400
|
-
resource_group: '<resource_group_name>'
|
401
|
-
```
|
402
|
-
|
403
|
-
### Get Recovery Vault
|
404
|
-
|
405
|
-
Retrieves a Recovery Vault object
|
406
|
-
|
407
|
-
```ruby
|
408
|
-
recovery_vault = azure_storage_service.recovery_vaults.get(
|
409
|
-
'Vault Name',
|
410
|
-
'Vault Resource Group'
|
411
|
-
)
|
412
|
-
```
|
413
|
-
|
414
|
-
### List Recovery Vaults
|
415
|
-
|
416
|
-
List the Recovery Vaults in a resource group
|
417
|
-
|
418
|
-
```ruby
|
419
|
-
azure_storage_service.recovery_vaults('Resource Group Name').each do |recovery_vault|
|
420
|
-
puts recovery_vault.inspect
|
421
|
-
end
|
422
|
-
```
|
423
|
-
|
424
|
-
### Enable Backup Protection
|
425
|
-
|
426
|
-
Enables backup protection for a virtual machine in the recovery vault. Backup protection for a virtual machine must be enabled before running backup.
|
427
|
-
|
428
|
-
```ruby
|
429
|
-
recovery_vault.enable_backup_protection('Virtual Machine Name', 'Virtual Machine Resource Group')
|
430
|
-
```
|
431
|
-
|
432
|
-
### Disable Backup Protection
|
433
|
-
|
434
|
-
Disables backup protection for a virtual machine in the recovery vault.
|
435
|
-
|
436
|
-
```ruby
|
437
|
-
recovery_vault.disable_backup_protection('Virtual Machine Name', 'Virtual Machine Resource Group')
|
438
|
-
```
|
439
|
-
|
440
|
-
### Start Backup
|
441
|
-
|
442
|
-
Starts the backup process for a given virtual machine
|
443
|
-
|
444
|
-
```ruby
|
445
|
-
recovery_vault.start_backup('Virtual Machine Name', 'Virtual Machine Resource Group')
|
446
|
-
```
|
447
|
-
|
448
|
-
### Destroy Recovery Vault
|
449
|
-
|
450
|
-
Destroys the Recovery Vault
|
451
|
-
|
452
|
-
```ruby
|
453
|
-
recovery_vault.destroy
|
454
|
-
```
|
455
|
-
|
456
|
-
Note that a Recovery Vault must not contain any backup protectable items or tasks running in order for you to delete it. If any item is present, it must be deleted from the portal first before running this command.
|
457
|
-
|
458
392
|
## Support and Feedback
|
459
393
|
Your feedback is appreciated! If you have specific issues with the fog ARM, you should file an issue via Github.
|
460
394
|
|
@@ -11,7 +11,7 @@ module Fog
|
|
11
11
|
attribute :resource_group
|
12
12
|
attribute :platform_update_domain_count
|
13
13
|
attribute :platform_fault_domain_count
|
14
|
-
attribute :
|
14
|
+
attribute :use_managed_disk
|
15
15
|
attribute :sku_name
|
16
16
|
|
17
17
|
def self.parse(availability_set)
|
@@ -26,7 +26,7 @@ module Fog
|
|
26
26
|
|
27
27
|
unless availability_set.sku.nil?
|
28
28
|
hash['sku_name'] = availability_set.sku.name
|
29
|
-
hash['
|
29
|
+
hash['use_managed_disk'] = availability_set.sku.name.eql?(AS_SKU_ALIGNED)
|
30
30
|
end
|
31
31
|
|
32
32
|
hash
|
@@ -37,7 +37,7 @@ module Fog
|
|
37
37
|
requires :location
|
38
38
|
requires :resource_group
|
39
39
|
# need to create the availability set
|
40
|
-
as = service.create_availability_set(avail_set_params(platform_fault_domain_count, platform_update_domain_count,
|
40
|
+
as = service.create_availability_set(avail_set_params(platform_fault_domain_count, platform_update_domain_count, use_managed_disk))
|
41
41
|
hash = Fog::Compute::AzureRM::AvailabilitySet.parse(as)
|
42
42
|
merge_attributes(hash)
|
43
43
|
end
|
@@ -48,14 +48,14 @@ module Fog
|
|
48
48
|
|
49
49
|
private
|
50
50
|
|
51
|
-
def avail_set_params(platform_fault_domain_count, platform_update_domain_count,
|
51
|
+
def avail_set_params(platform_fault_domain_count, platform_update_domain_count, use_managed_disk)
|
52
52
|
{
|
53
53
|
name: name,
|
54
54
|
location: location,
|
55
55
|
resource_group: resource_group,
|
56
56
|
platform_fault_domain_count: platform_fault_domain_count,
|
57
57
|
platform_update_domain_count: platform_update_domain_count,
|
58
|
-
|
58
|
+
use_managed_disk: use_managed_disk
|
59
59
|
}
|
60
60
|
end
|
61
61
|
end
|
@@ -9,11 +9,11 @@ module Fog
|
|
9
9
|
resource_group = availability_set_params[:resource_group]
|
10
10
|
fault_domain_count = availability_set_params[:platform_fault_domain_count]
|
11
11
|
update_domain_count = availability_set_params[:platform_update_domain_count]
|
12
|
-
|
12
|
+
use_managed_disk = availability_set_params[:use_managed_disk].nil? ? false : availability_set_params[:use_managed_disk]
|
13
13
|
|
14
14
|
msg = "Creating Availability Set '#{name}' in #{location} region."
|
15
15
|
Fog::Logger.debug msg
|
16
|
-
avail_set_params = get_availability_set_properties(location, fault_domain_count, update_domain_count,
|
16
|
+
avail_set_params = get_availability_set_properties(location, fault_domain_count, update_domain_count, use_managed_disk)
|
17
17
|
|
18
18
|
begin
|
19
19
|
availability_set = @compute_mgmt_client.availability_sets.create_or_update(resource_group, name, avail_set_params)
|
@@ -25,18 +25,18 @@ module Fog
|
|
25
25
|
end
|
26
26
|
|
27
27
|
# create the properties object for creating availability sets
|
28
|
-
def get_availability_set_properties(location, fault_domain_count, update_domain_count,
|
28
|
+
def get_availability_set_properties(location, fault_domain_count, update_domain_count, use_managed_disk)
|
29
29
|
avail_set = Azure::ARM::Compute::Models::AvailabilitySet.new
|
30
30
|
avail_set.location = location
|
31
|
-
avail_set.sku = create_availability_set_sku(
|
31
|
+
avail_set.sku = create_availability_set_sku(use_managed_disk)
|
32
32
|
avail_set.platform_fault_domain_count = fault_domain_count.nil? ? FAULT_DOMAIN_COUNT : fault_domain_count
|
33
33
|
avail_set.platform_update_domain_count = update_domain_count.nil? ? UPDATE_DOMAIN_COUNT : update_domain_count
|
34
34
|
avail_set
|
35
35
|
end
|
36
36
|
|
37
|
-
def create_availability_set_sku(
|
37
|
+
def create_availability_set_sku(use_managed_disk)
|
38
38
|
sku = Azure::ARM::Compute::Models::Sku.new
|
39
|
-
sku.name =
|
39
|
+
sku.name = use_managed_disk ? AS_SKU_ALIGNED : AS_SKU_CLASSIC
|
40
40
|
sku
|
41
41
|
end
|
42
42
|
end
|
data/lib/fog/azurerm/storage.rb
CHANGED
@@ -64,22 +64,6 @@ module Fog
|
|
64
64
|
request :save_page_blob
|
65
65
|
request :multipart_save_block_blob
|
66
66
|
|
67
|
-
# Azure Recovery Vault requests
|
68
|
-
request :create_or_update_recovery_vault
|
69
|
-
request :get_recovery_vault
|
70
|
-
request :list_recovery_vaults
|
71
|
-
request :delete_recovery_vault
|
72
|
-
request :enable_backup_protection
|
73
|
-
request :set_recovery_vault_context
|
74
|
-
request :get_backup_protection_policy
|
75
|
-
request :start_backup
|
76
|
-
request :get_backup_item
|
77
|
-
request :get_backup_container
|
78
|
-
request :disable_backup_protection
|
79
|
-
request :get_all_backup_jobs
|
80
|
-
request :get_all_backup_jobs
|
81
|
-
request :get_backup_job_for_vm
|
82
|
-
|
83
67
|
model_path 'fog/azurerm/models/storage'
|
84
68
|
model :storage_account
|
85
69
|
collection :storage_accounts
|
@@ -88,8 +72,6 @@ module Fog
|
|
88
72
|
collection :directories
|
89
73
|
model :file
|
90
74
|
collection :files
|
91
|
-
model :recovery_vault
|
92
|
-
collection :recovery_vaults
|
93
75
|
|
94
76
|
# This class provides the mock implementation for unit tests.
|
95
77
|
class Mock
|
data/lib/fog/azurerm/version.rb
CHANGED
data/test/api_stub.rb
CHANGED
@@ -18,7 +18,6 @@ module ApiStub
|
|
18
18
|
autoload :StorageAccount, File.expand_path('api_stub/models/storage/storageaccount', __dir__)
|
19
19
|
autoload :File, ::File.expand_path('api_stub/models/storage/file', __dir__)
|
20
20
|
autoload :Directory, ::File.expand_path('api_stub/models/storage/directory', __dir__)
|
21
|
-
autoload :RecoveryVault, ::File.expand_path('api_stub/models/storage/recovery_vault', __dir__)
|
22
21
|
end
|
23
22
|
|
24
23
|
module Network
|
@@ -81,7 +80,6 @@ module ApiStub
|
|
81
80
|
autoload :StorageAccount, File.expand_path('api_stub/requests/storage/storageaccount', __dir__)
|
82
81
|
autoload :File, ::File.expand_path('api_stub/requests/storage/file', __dir__)
|
83
82
|
autoload :Directory, ::File.expand_path('api_stub/requests/storage/directory', __dir__)
|
84
|
-
autoload :RecoveryVault, ::File.expand_path('api_stub/requests/storage/recovery_vault', __dir__)
|
85
83
|
end
|
86
84
|
|
87
85
|
module Network
|
@@ -11,7 +11,7 @@ module ApiStub
|
|
11
11
|
"location":"westus",
|
12
12
|
"tags": {},
|
13
13
|
"platformUpdateDomainCount": 5,
|
14
|
-
"platformFaultDomainCount":
|
14
|
+
"platformFaultDomainCount": 2,
|
15
15
|
"virtualMachines":[],
|
16
16
|
"sku":{
|
17
17
|
"name":"Classic"
|
@@ -47,7 +47,7 @@ module ApiStub
|
|
47
47
|
"location":"westus",
|
48
48
|
"tags": {},
|
49
49
|
"platformUpdateDomainCount": 5,
|
50
|
-
"platformFaultDomainCount":
|
50
|
+
"platformFaultDomainCount": 2,
|
51
51
|
"virtualMachines":[]
|
52
52
|
}'
|
53
53
|
availability_set_mapper = Azure::ARM::Compute::Models::AvailabilitySet.mapper
|
@@ -78,7 +78,7 @@ module ApiStub
|
|
78
78
|
"location":"westus",
|
79
79
|
"tags": {},
|
80
80
|
"platformUpdateDomainCount":5,
|
81
|
-
"platformFaultDomainCount":
|
81
|
+
"platformFaultDomainCount":2,
|
82
82
|
"virtualMachines":[],
|
83
83
|
"sku":{
|
84
84
|
"name":"Classic"
|
@@ -98,7 +98,7 @@ module ApiStub
|
|
98
98
|
"location":"westus",
|
99
99
|
"tags": {},
|
100
100
|
"platformUpdateDomainCount":5,
|
101
|
-
"platformFaultDomainCount":
|
101
|
+
"platformFaultDomainCount":2,
|
102
102
|
"virtualMachines":[],
|
103
103
|
"sku":{
|
104
104
|
"name":"Classic"
|
@@ -108,7 +108,7 @@ begin
|
|
108
108
|
name: managed_as_name_default,
|
109
109
|
location: LOCATION,
|
110
110
|
resource_group: resource_group_name,
|
111
|
-
|
111
|
+
use_managed_disk: true
|
112
112
|
)
|
113
113
|
name = avail_set.name
|
114
114
|
fault_domains = avail_set.platform_fault_domain_count
|
@@ -126,7 +126,7 @@ begin
|
|
126
126
|
resource_group: resource_group_name,
|
127
127
|
platform_fault_domain_count: 2,
|
128
128
|
platform_update_domain_count: 10,
|
129
|
-
|
129
|
+
use_managed_disk: true
|
130
130
|
)
|
131
131
|
name = avail_set.name
|
132
132
|
fault_domains = avail_set.platform_fault_domain_count
|
@@ -49,7 +49,7 @@ class TestCreateAvailabilitySet < Minitest::Test
|
|
49
49
|
name: 'myavset1',
|
50
50
|
location: 'west us',
|
51
51
|
resource_group: 'fog-test-rg',
|
52
|
-
|
52
|
+
use_managed_disk: false
|
53
53
|
}
|
54
54
|
|
55
55
|
@availability_sets.stub :validate_params, true do
|
@@ -66,7 +66,7 @@ class TestCreateAvailabilitySet < Minitest::Test
|
|
66
66
|
name: 'myavset1',
|
67
67
|
location: 'west us',
|
68
68
|
resource_group: 'fog-test-rg',
|
69
|
-
|
69
|
+
use_managed_disk: false
|
70
70
|
}
|
71
71
|
|
72
72
|
@availability_sets.stub :validate_params, true do
|
@@ -83,7 +83,7 @@ class TestCreateAvailabilitySet < Minitest::Test
|
|
83
83
|
name: 'myavset1',
|
84
84
|
location: 'west us',
|
85
85
|
resource_group: 'fog-test-rg',
|
86
|
-
|
86
|
+
use_managed_disk: true
|
87
87
|
}
|
88
88
|
|
89
89
|
@availability_sets.stub :validate_params, true do
|
@@ -100,7 +100,7 @@ class TestCreateAvailabilitySet < Minitest::Test
|
|
100
100
|
name: 'myavset1',
|
101
101
|
location: 'west us',
|
102
102
|
resource_group: 'fog-test-rg',
|
103
|
-
|
103
|
+
use_managed_disk: true
|
104
104
|
}
|
105
105
|
|
106
106
|
@availability_sets.stub :validate_params, true do
|
data/test/test_helper.rb
CHANGED
@@ -116,7 +116,7 @@ def availability_set(service)
|
|
116
116
|
name: 'availability-set',
|
117
117
|
location: 'West US',
|
118
118
|
resource_group: 'fog-test-rg',
|
119
|
-
|
119
|
+
use_managed_disk: false,
|
120
120
|
sku_name: 'Classic',
|
121
121
|
service: service
|
122
122
|
)
|
@@ -790,20 +790,6 @@ def sql_server_firewall_rules(service)
|
|
790
790
|
)
|
791
791
|
end
|
792
792
|
|
793
|
-
def recovery_vault(service)
|
794
|
-
Fog::Storage::AzureRM::RecoveryVault.new(
|
795
|
-
name: 'fog-test-vault',
|
796
|
-
id: '/subscriptions/########-####-####-####-############/resourceGroups/fog-test-rg/providers/Microsoft.RecoveryServices/vaults/fog-test-vault',
|
797
|
-
resource_group: 'fog-test-rg',
|
798
|
-
location: 'westus',
|
799
|
-
type: 'Microsoft.RecoveryServices/vaults',
|
800
|
-
sku: {
|
801
|
-
name: 'standard'
|
802
|
-
},
|
803
|
-
service: service
|
804
|
-
)
|
805
|
-
end
|
806
|
-
|
807
793
|
def managed_disk(service)
|
808
794
|
Fog::Compute::AzureRM::ManagedDisk.new(
|
809
795
|
name: 'managed-disk',
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-azure-rm-temp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shaffan Chaudhry
|
@@ -18,7 +18,7 @@ authors:
|
|
18
18
|
autorequire:
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
|
-
date: 2017-09-
|
21
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
24
|
name: rake
|
@@ -220,16 +220,22 @@ dependencies:
|
|
220
220
|
name: azure-storage
|
221
221
|
requirement: !ruby/object:Gem::Requirement
|
222
222
|
requirements:
|
223
|
-
- - '
|
223
|
+
- - '>='
|
224
224
|
- !ruby/object:Gem::Version
|
225
225
|
version: 0.11.5.preview
|
226
|
+
- - <
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '1.0'
|
226
229
|
type: :runtime
|
227
230
|
prerelease: false
|
228
231
|
version_requirements: !ruby/object:Gem::Requirement
|
229
232
|
requirements:
|
230
|
-
- - '
|
233
|
+
- - '>='
|
231
234
|
- !ruby/object:Gem::Version
|
232
235
|
version: 0.11.5.preview
|
236
|
+
- - <
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: '1.0'
|
233
239
|
- !ruby/object:Gem::Dependency
|
234
240
|
name: vhd
|
235
241
|
requirement: !ruby/object:Gem::Requirement
|
@@ -253,6 +259,7 @@ extensions: []
|
|
253
259
|
extra_rdoc_files:
|
254
260
|
- README.md
|
255
261
|
files:
|
262
|
+
- .arclint
|
256
263
|
- .codeclimate.yml
|
257
264
|
- .gitignore
|
258
265
|
- .hound.yml
|
@@ -380,8 +387,6 @@ files:
|
|
380
387
|
- lib/fog/azurerm/models/storage/file.rb
|
381
388
|
- lib/fog/azurerm/models/storage/files.rb
|
382
389
|
- lib/fog/azurerm/models/storage/kind.rb
|
383
|
-
- lib/fog/azurerm/models/storage/recovery_vault.rb
|
384
|
-
- lib/fog/azurerm/models/storage/recovery_vaults.rb
|
385
390
|
- lib/fog/azurerm/models/storage/sku_name.rb
|
386
391
|
- lib/fog/azurerm/models/storage/sku_tier.rb
|
387
392
|
- lib/fog/azurerm/models/storage/storage_account.rb
|
@@ -574,21 +579,12 @@ files:
|
|
574
579
|
- lib/fog/azurerm/requests/storage/create_block_blob.rb
|
575
580
|
- lib/fog/azurerm/requests/storage/create_container.rb
|
576
581
|
- lib/fog/azurerm/requests/storage/create_disk.rb
|
577
|
-
- lib/fog/azurerm/requests/storage/create_or_update_recovery_vault.rb
|
578
582
|
- lib/fog/azurerm/requests/storage/create_page_blob.rb
|
579
583
|
- lib/fog/azurerm/requests/storage/create_storage_account.rb
|
580
584
|
- lib/fog/azurerm/requests/storage/delete_blob.rb
|
581
585
|
- lib/fog/azurerm/requests/storage/delete_container.rb
|
582
586
|
- lib/fog/azurerm/requests/storage/delete_disk.rb
|
583
|
-
- lib/fog/azurerm/requests/storage/delete_recovery_vault.rb
|
584
587
|
- lib/fog/azurerm/requests/storage/delete_storage_account.rb
|
585
|
-
- lib/fog/azurerm/requests/storage/disable_backup_protection.rb
|
586
|
-
- lib/fog/azurerm/requests/storage/enable_backup_protection.rb
|
587
|
-
- lib/fog/azurerm/requests/storage/get_all_backup_jobs.rb
|
588
|
-
- lib/fog/azurerm/requests/storage/get_backup_container.rb
|
589
|
-
- lib/fog/azurerm/requests/storage/get_backup_item.rb
|
590
|
-
- lib/fog/azurerm/requests/storage/get_backup_job_for_vm.rb
|
591
|
-
- lib/fog/azurerm/requests/storage/get_backup_protection_policy.rb
|
592
588
|
- lib/fog/azurerm/requests/storage/get_blob.rb
|
593
589
|
- lib/fog/azurerm/requests/storage/get_blob_http_url.rb
|
594
590
|
- lib/fog/azurerm/requests/storage/get_blob_https_url.rb
|
@@ -597,12 +593,10 @@ files:
|
|
597
593
|
- lib/fog/azurerm/requests/storage/get_container_acl.rb
|
598
594
|
- lib/fog/azurerm/requests/storage/get_container_properties.rb
|
599
595
|
- lib/fog/azurerm/requests/storage/get_container_url.rb
|
600
|
-
- lib/fog/azurerm/requests/storage/get_recovery_vault.rb
|
601
596
|
- lib/fog/azurerm/requests/storage/get_storage_access_keys.rb
|
602
597
|
- lib/fog/azurerm/requests/storage/get_storage_account.rb
|
603
598
|
- lib/fog/azurerm/requests/storage/list_blobs.rb
|
604
599
|
- lib/fog/azurerm/requests/storage/list_containers.rb
|
605
|
-
- lib/fog/azurerm/requests/storage/list_recovery_vaults.rb
|
606
600
|
- lib/fog/azurerm/requests/storage/list_storage_account_for_rg.rb
|
607
601
|
- lib/fog/azurerm/requests/storage/list_storage_accounts.rb
|
608
602
|
- lib/fog/azurerm/requests/storage/multipart_save_block_blob.rb
|
@@ -615,8 +609,6 @@ files:
|
|
615
609
|
- lib/fog/azurerm/requests/storage/release_blob_lease.rb
|
616
610
|
- lib/fog/azurerm/requests/storage/release_container_lease.rb
|
617
611
|
- lib/fog/azurerm/requests/storage/save_page_blob.rb
|
618
|
-
- lib/fog/azurerm/requests/storage/set_recovery_vault_context.rb
|
619
|
-
- lib/fog/azurerm/requests/storage/start_backup.rb
|
620
612
|
- lib/fog/azurerm/requests/storage/update_storage_account.rb
|
621
613
|
- lib/fog/azurerm/requests/storage/wait_blob_copy_operation_to_finish.rb
|
622
614
|
- lib/fog/azurerm/requests/traffic_manager/check_traffic_manager_endpoint_exists.rb
|
@@ -668,7 +660,6 @@ files:
|
|
668
660
|
- test/api_stub/models/sql/sql_server.rb
|
669
661
|
- test/api_stub/models/storage/directory.rb
|
670
662
|
- test/api_stub/models/storage/file.rb
|
671
|
-
- test/api_stub/models/storage/recovery_vault.rb
|
672
663
|
- test/api_stub/models/storage/storageaccount.rb
|
673
664
|
- test/api_stub/models/traffic_manager/traffic_manager_end_point.rb
|
674
665
|
- test/api_stub/models/traffic_manager/traffic_manager_profile.rb
|
@@ -702,7 +693,6 @@ files:
|
|
702
693
|
- test/api_stub/requests/sql/sql_server.rb
|
703
694
|
- test/api_stub/requests/storage/directory.rb
|
704
695
|
- test/api_stub/requests/storage/file.rb
|
705
|
-
- test/api_stub/requests/storage/recovery_vault.rb
|
706
696
|
- test/api_stub/requests/storage/storageaccount.rb
|
707
697
|
- test/api_stub/requests/traffic_manager/traffic_manager_endpoint.rb
|
708
698
|
- test/api_stub/requests/traffic_manager/traffic_manager_profile.rb
|
@@ -799,8 +789,6 @@ files:
|
|
799
789
|
- test/models/storage/test_directory.rb
|
800
790
|
- test/models/storage/test_file.rb
|
801
791
|
- test/models/storage/test_files.rb
|
802
|
-
- test/models/storage/test_recovery_vault.rb
|
803
|
-
- test/models/storage/test_recovery_vaults.rb
|
804
792
|
- test/models/storage/test_storage_account.rb
|
805
793
|
- test/models/storage/test_storage_accounts.rb
|
806
794
|
- test/models/traffic_manager/test_traffic_manager_end_point.rb
|
@@ -986,20 +974,11 @@ files:
|
|
986
974
|
- test/requests/storage/test_create_container.rb
|
987
975
|
- test/requests/storage/test_create_disk.rb
|
988
976
|
- test/requests/storage/test_create_page_blob.rb
|
989
|
-
- test/requests/storage/test_create_recovery_vault.rb
|
990
977
|
- test/requests/storage/test_create_storage_account.rb
|
991
978
|
- test/requests/storage/test_delete_blob.rb
|
992
979
|
- test/requests/storage/test_delete_container.rb
|
993
980
|
- test/requests/storage/test_delete_disk.rb
|
994
|
-
- test/requests/storage/test_delete_recovery_vault.rb
|
995
981
|
- test/requests/storage/test_delete_storage_account.rb
|
996
|
-
- test/requests/storage/test_disable_backup_protection.rb
|
997
|
-
- test/requests/storage/test_enable_backup_protection.rb
|
998
|
-
- test/requests/storage/test_get_all_backup_jobs.rb
|
999
|
-
- test/requests/storage/test_get_backup_container.rb
|
1000
|
-
- test/requests/storage/test_get_backup_item.rb
|
1001
|
-
- test/requests/storage/test_get_backup_job_for_vm.rb
|
1002
|
-
- test/requests/storage/test_get_backup_protection_policy.rb
|
1003
982
|
- test/requests/storage/test_get_blob.rb
|
1004
983
|
- test/requests/storage/test_get_blob_http_url.rb
|
1005
984
|
- test/requests/storage/test_get_blob_https_url.rb
|
@@ -1008,12 +987,10 @@ files:
|
|
1008
987
|
- test/requests/storage/test_get_container_acl.rb
|
1009
988
|
- test/requests/storage/test_get_container_properties.rb
|
1010
989
|
- test/requests/storage/test_get_container_url.rb
|
1011
|
-
- test/requests/storage/test_get_recovery_vault.rb
|
1012
990
|
- test/requests/storage/test_get_storage_access_keys.rb
|
1013
991
|
- test/requests/storage/test_get_storage_account.rb
|
1014
992
|
- test/requests/storage/test_list_blobs.rb
|
1015
993
|
- test/requests/storage/test_list_containers.rb
|
1016
|
-
- test/requests/storage/test_list_recovery_vault.rb
|
1017
994
|
- test/requests/storage/test_list_storage_accounts.rb
|
1018
995
|
- test/requests/storage/test_list_storage_accounts_for_rg.rb
|
1019
996
|
- test/requests/storage/test_multipart_save_block_blob.rb
|
@@ -1026,8 +1003,6 @@ files:
|
|
1026
1003
|
- test/requests/storage/test_release_blob_lease.rb
|
1027
1004
|
- test/requests/storage/test_release_container_lease.rb
|
1028
1005
|
- test/requests/storage/test_save_page_blob.rb
|
1029
|
-
- test/requests/storage/test_set_recovery_vault_context.rb
|
1030
|
-
- test/requests/storage/test_start_backup.rb
|
1031
1006
|
- test/requests/storage/test_update_storage_account.rb
|
1032
1007
|
- test/requests/storage/test_wait_blob_copy_operation_to_finish.rb
|
1033
1008
|
- test/requests/traffic_manager/test_check_traffic_manager_endpoint_exists.rb
|