fog-azure-rm 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/fog/azurerm/compute.rb +6 -0
- data/lib/fog/azurerm/docs/compute.md +67 -11
- data/lib/fog/azurerm/docs/network.md +59 -0
- data/lib/fog/azurerm/docs/storage.md +107 -35
- data/lib/fog/azurerm/models/compute/server.rb +15 -9
- data/lib/fog/azurerm/models/compute/virtual_machine_extension.rb +78 -0
- data/lib/fog/azurerm/models/compute/virtual_machine_extensions.rb +30 -0
- data/lib/fog/azurerm/models/network/express_route_circuit.rb +21 -21
- data/lib/fog/azurerm/models/network/express_route_circuit_peering.rb +21 -21
- data/lib/fog/azurerm/models/network/express_route_service_provider.rb +8 -8
- data/lib/fog/azurerm/models/network/network_security_rule.rb +27 -0
- data/lib/fog/azurerm/models/network/network_security_rules.rb +31 -0
- data/lib/fog/azurerm/models/network/subnet.rb +16 -12
- data/lib/fog/azurerm/models/network/virtual_network_gateway.rb +6 -6
- data/lib/fog/azurerm/models/storage/{containers.rb → directories.rb} +10 -10
- data/lib/fog/azurerm/models/storage/{container.rb → directory.rb} +13 -13
- data/lib/fog/azurerm/models/storage/file.rb +151 -0
- data/lib/fog/azurerm/models/storage/files.rb +31 -0
- data/lib/fog/azurerm/network.rb +6 -0
- data/lib/fog/azurerm/requests/compute/create_or_update_vm_extension.rb +63 -0
- data/lib/fog/azurerm/requests/compute/create_virtual_machine.rb +45 -8
- data/lib/fog/azurerm/requests/compute/delete_vm_extension.rb +28 -0
- data/lib/fog/azurerm/requests/compute/get_vm_extension.rb +46 -0
- data/lib/fog/azurerm/requests/network/create_or_update_express_route_circuit.rb +44 -31
- data/lib/fog/azurerm/requests/network/create_or_update_express_route_circuit_peering.rb +23 -13
- data/lib/fog/azurerm/requests/network/create_or_update_network_security_rule.rb +59 -0
- data/lib/fog/azurerm/requests/network/create_or_update_virtual_network_gateway.rb +23 -15
- data/lib/fog/azurerm/requests/network/delete_network_security_rule.rb +30 -0
- data/lib/fog/azurerm/requests/network/get_available_ipaddresses_count.rb +23 -0
- data/lib/fog/azurerm/requests/network/get_network_security_rule.rb +47 -0
- data/lib/fog/azurerm/requests/network/list_network_security_groups.rb +1 -1
- data/lib/fog/azurerm/requests/network/list_network_security_rules.rb +51 -0
- data/lib/fog/azurerm/requests/storage/acquire_blob_lease.rb +29 -0
- data/lib/fog/azurerm/requests/storage/acquire_container_lease.rb +29 -0
- data/lib/fog/azurerm/requests/storage/check_blob_exist.rb +25 -0
- data/lib/fog/azurerm/requests/storage/compare_blob.rb +73 -0
- data/lib/fog/azurerm/requests/storage/copy_blob.rb +30 -0
- data/lib/fog/azurerm/requests/storage/copy_blob_from_uri.rb +30 -0
- data/lib/fog/azurerm/requests/storage/delete_blob.rb +27 -0
- data/lib/fog/azurerm/requests/storage/download_blob_to_file.rb +56 -0
- data/lib/fog/azurerm/requests/storage/get_blob_metadata.rb +37 -9
- data/lib/fog/azurerm/requests/storage/get_blob_properties.rb +53 -0
- data/lib/fog/azurerm/requests/storage/get_container_metadata.rb +2 -2
- data/lib/fog/azurerm/requests/storage/list_blobs.rb +82 -0
- data/lib/fog/azurerm/requests/storage/list_containers.rb +1 -1
- data/lib/fog/azurerm/requests/storage/release_blob_lease.rb +27 -0
- data/lib/fog/azurerm/requests/storage/release_container_lease.rb +27 -0
- data/lib/fog/azurerm/requests/storage/set_blob_metadata.rb +4 -4
- data/lib/fog/azurerm/requests/storage/set_blob_properties.rb +26 -0
- data/lib/fog/azurerm/requests/storage/set_container_metadata.rb +3 -3
- data/lib/fog/azurerm/requests/storage/upload_block_blob_from_file.rb +60 -0
- data/lib/fog/azurerm/storage.rb +26 -8
- data/lib/fog/azurerm/utilities/general.rb +14 -1
- data/lib/fog/azurerm/version.rb +1 -1
- data/test/api_stub.rb +8 -4
- data/test/api_stub/models/compute/virtual_machine_extension.rb +31 -0
- data/test/api_stub/models/network/network_security_rule.rb +30 -0
- data/test/api_stub/models/storage/{container.rb → directory.rb} +1 -1
- data/test/api_stub/models/storage/file.rb +178 -0
- data/test/api_stub/requests/compute/virtual_machine.rb +119 -0
- data/test/api_stub/requests/compute/virtual_machine_extension.rb +46 -0
- data/test/api_stub/requests/network/network_security_rule.rb +72 -0
- data/test/api_stub/requests/storage/{container.rb → directory.rb} +2 -2
- data/test/api_stub/requests/storage/file.rb +164 -0
- data/test/integration/availability_set.rb +6 -0
- data/test/integration/blob.rb +205 -0
- data/test/integration/credentials/azure.yml +4 -4
- data/test/integration/deployment.rb +9 -0
- data/test/integration/external_load_balancer.rb +9 -0
- data/test/integration/internal_load_balancer.rb +8 -0
- data/test/integration/network_security_group.rb +9 -0
- data/test/integration/network_security_rule.rb +86 -0
- data/test/integration/server.rb +62 -9
- data/test/integration/server_custom_image.rb +118 -0
- data/test/integration/subnet.rb +12 -1
- data/test/integration/virtual_machine_extension.rb +148 -0
- data/test/integration/virtual_network.rb +9 -1
- data/test/integration/virtual_network_gateway.rb +7 -29
- data/test/integration/virtual_network_gateway_connection_to_express_route.rb +116 -0
- data/test/models/compute/test_virtual_machine_extension.rb +61 -0
- data/test/models/compute/test_virtual_machine_extensions.rb +36 -0
- data/test/models/network/test_express_route_circuit.rb +4 -10
- data/test/models/network/test_express_route_circuit_peering.rb +4 -10
- data/test/models/network/test_network_interface.rb +4 -8
- data/test/models/network/test_network_security_rule.rb +14 -0
- data/test/models/network/test_network_security_rules.rb +42 -0
- data/test/models/network/test_subnet.rb +5 -0
- data/test/models/storage/test_directories.rb +106 -0
- data/test/models/storage/test_directory.rb +125 -0
- data/test/models/storage/test_file.rb +258 -0
- data/test/models/storage/test_files.rb +67 -0
- data/test/models/storage/test_storage_account.rb +2 -4
- data/test/requests/compute/test_create_virtual_machine.rb +19 -5
- data/test/requests/compute/test_create_vm_extension.rb +35 -0
- data/test/requests/compute/test_get_vm_extension.rb +26 -0
- data/test/requests/compute/test_update_vm_extension.rb +35 -0
- data/test/requests/network/test_create_or_update_network_security_rule.rb +28 -0
- data/test/requests/network/test_delete_network_security_rule.rb +25 -0
- data/test/requests/network/test_get_available_ipaddresses_count.rb +18 -0
- data/test/requests/network/test_get_network_security_rule.rb +26 -0
- data/test/requests/network/test_list_network_security_groups.rb +2 -2
- data/test/requests/network/test_list_network_security_rules.rb +26 -0
- data/test/requests/storage/test_acquire_blob_lease.rb +17 -0
- data/test/requests/storage/test_acquire_container_lease.rb +17 -0
- data/test/requests/storage/test_check_blob_exist.rb +17 -0
- data/test/requests/storage/test_compare_blob.rb +17 -0
- data/test/requests/storage/test_copy_blob.rb +17 -0
- data/test/requests/storage/test_copy_blob_from_uri.rb +17 -0
- data/test/requests/storage/test_create_container.rb +2 -2
- data/test/requests/storage/test_delete_blob.rb +22 -0
- data/test/requests/storage/test_delete_container.rb +1 -1
- data/test/requests/storage/test_download_blob_to_file.rb +25 -0
- data/test/requests/storage/test_get_blob_metadata.rb +2 -2
- data/test/requests/storage/test_get_blob_properties.rb +23 -0
- data/test/requests/storage/test_get_container_access_control_list.rb +2 -2
- data/test/requests/storage/test_get_container_metadata.rb +2 -2
- data/test/requests/storage/test_get_container_properties.rb +2 -2
- data/test/requests/storage/test_list_blobs_in_container.rb +23 -0
- data/test/requests/storage/test_list_containers.rb +2 -2
- data/test/requests/storage/test_release_blob_lease.rb +16 -0
- data/test/requests/storage/test_release_container_lease.rb +16 -0
- data/test/requests/storage/test_set_blob_metadata.rb +1 -1
- data/test/requests/storage/test_set_blob_properties.rb +16 -0
- data/test/requests/storage/test_set_container_metadata.rb +1 -1
- data/test/requests/storage/test_upload_block_blob_from_file.rb +23 -0
- data/test/test_helper.rb +116 -3
- metadata +73 -15
- data/.DS_Store +0 -0
- data/lib/fog/azurerm/fog_azure_rm_exception.rb +0 -13
- data/lib/fog/azurerm/models/storage/blob.rb +0 -13
- data/lib/fog/azurerm/models/storage/blobs.rb +0 -22
- data/test/api_stub/models/storage/blob.rb +0 -17
- data/test/api_stub/requests/storage/blob.rb +0 -24
- data/test/models/storage/test_blobs.rb +0 -32
- data/test/models/storage/test_container.rb +0 -67
- data/test/models/storage/test_containers.rb +0 -56
@@ -1,12 +1,12 @@
|
|
1
1
|
require File.expand_path '../../test_helper', __dir__
|
2
2
|
|
3
3
|
# Storage Container Class
|
4
|
-
class
|
4
|
+
class TestGetContainerProperties < Minitest::Test
|
5
5
|
# This class posesses the test cases for the requests of getting storage container properties.
|
6
6
|
def setup
|
7
7
|
@service = Fog::Storage::AzureRM.new(storage_account_credentials)
|
8
8
|
@blob_client = @service.instance_variable_get(:@blob_client)
|
9
|
-
@storage_container_object = ApiStub::Requests::Storage::
|
9
|
+
@storage_container_object = ApiStub::Requests::Storage::Directory.get_container_properties
|
10
10
|
end
|
11
11
|
|
12
12
|
def test_get_container_properties_with_service_success
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require File.expand_path '../../test_helper', __dir__
|
2
|
+
|
3
|
+
# Storage Blob Class
|
4
|
+
class TestListBlobsInContainer < Minitest::Test
|
5
|
+
# This class posesses the test cases for the requests of listing storage containers.
|
6
|
+
def setup
|
7
|
+
@service = Fog::Storage::AzureRM.new(storage_account_credentials)
|
8
|
+
@blob_client = @service.instance_variable_get(:@blob_client)
|
9
|
+
@storage_blob_object = ApiStub::Requests::Storage::File.list_blobs_response
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_list_blobs_with_service_success
|
13
|
+
@blob_client.stub :list_blobs, @storage_blob_object do
|
14
|
+
assert @service.list_blobs('test-container'), @storage_blob_object
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_list_blobs_with_internal_client_success
|
19
|
+
@blob_client.stub :list_blobs, @storage_blob_object do
|
20
|
+
assert @blob_client.list_blobs('test-container'), @storage_blob_object
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
require File.expand_path '../../test_helper', __dir__
|
2
2
|
|
3
3
|
# Storage Container Class
|
4
|
-
class
|
4
|
+
class TestListContainers < Minitest::Test
|
5
5
|
# This class posesses the test cases for the requests of listing storage containers.
|
6
6
|
def setup
|
7
7
|
@service = Fog::Storage::AzureRM.new(storage_account_credentials)
|
8
8
|
@blob_client = @service.instance_variable_get(:@blob_client)
|
9
|
-
@storage_container_object = ApiStub::Requests::Storage::
|
9
|
+
@storage_container_object = ApiStub::Requests::Storage::Directory.list_containers
|
10
10
|
end
|
11
11
|
|
12
12
|
def test_list_containers_with_service_success
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require File.expand_path '../../test_helper', __dir__
|
2
|
+
|
3
|
+
# Storage Blob Class
|
4
|
+
class TestListBlobs < Minitest::Test
|
5
|
+
# This class posesses the test cases for the requests of releasing blob lease.
|
6
|
+
def setup
|
7
|
+
@service = Fog::Storage::AzureRM.new(storage_account_credentials)
|
8
|
+
@blob_client = @service.instance_variable_get(:@blob_client)
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_release_blob_lease_success
|
12
|
+
@blob_client.stub :release_blob_lease, true do
|
13
|
+
assert @service.release_blob_lease('test_container', 'test_blob', '78659cee-b7cb-4f18-b9f8-0e9e8bf849f6'), true
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require File.expand_path '../../test_helper', __dir__
|
2
|
+
|
3
|
+
# Storage Blob Class
|
4
|
+
class TestListBlobs < Minitest::Test
|
5
|
+
# This class posesses the test cases for the requests of releasing container lease.
|
6
|
+
def setup
|
7
|
+
@service = Fog::Storage::AzureRM.new(storage_account_credentials)
|
8
|
+
@blob_client = @service.instance_variable_get(:@blob_client)
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_release_container_lease_success
|
12
|
+
@blob_client.stub :release_container_lease, true do
|
13
|
+
assert @service.release_container_lease('test_container', '78659cee-b7cb-4f18-b9f8-0e9e8bf849f6'), true
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -6,7 +6,7 @@ class TestSetBlobMetadata < Minitest::Test
|
|
6
6
|
def setup
|
7
7
|
@service = Fog::Storage::AzureRM.new(storage_account_credentials)
|
8
8
|
@blob_client = @service.instance_variable_get(:@blob_client)
|
9
|
-
@metadata = ApiStub::Requests::Storage::
|
9
|
+
@metadata = ApiStub::Requests::Storage::File.metadata_response
|
10
10
|
end
|
11
11
|
|
12
12
|
def test_set_blob_metadata_success
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require File.expand_path '../../test_helper', __dir__
|
2
|
+
|
3
|
+
# Blob Class
|
4
|
+
class TestSetBlobProperties < Minitest::Test
|
5
|
+
# This class posesses the test cases for the requests of blob service.
|
6
|
+
def setup
|
7
|
+
@service = Fog::Storage::AzureRM.new(storage_account_credentials)
|
8
|
+
@blob_client = @service.instance_variable_get(:@blob_client)
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_set_blob_properties_success
|
12
|
+
@blob_client.stub :set_blob_properties, true do
|
13
|
+
assert @service.set_blob_properties('testcontainer', 'testblob10', content_language: 'english', content_disposition: 'attachment')
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -6,7 +6,7 @@ class TestSetContainerMetadata < Minitest::Test
|
|
6
6
|
def setup
|
7
7
|
@service = Fog::Storage::AzureRM.new(storage_account_credentials)
|
8
8
|
@blob_client = @service.instance_variable_get(:@blob_client)
|
9
|
-
@metadata = ApiStub::Requests::Storage::
|
9
|
+
@metadata = ApiStub::Requests::Storage::Directory.metadata_response
|
10
10
|
end
|
11
11
|
|
12
12
|
def test_set_container_metadata_success
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require File.expand_path '../../test_helper', __dir__
|
2
|
+
|
3
|
+
# Storage Blob Class
|
4
|
+
class TestUploadBlockBlob < Minitest::Test
|
5
|
+
# This class posesses the test cases for the requests of getting storage blob properties.
|
6
|
+
def setup
|
7
|
+
@service = Fog::Storage::AzureRM.new(storage_account_credentials)
|
8
|
+
@blob_client = @service.instance_variable_get(:@blob_client)
|
9
|
+
@storage_blob_object = ApiStub::Requests::Storage::File.upload_block_blob_from_file
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_upload_blob_with_service_success
|
13
|
+
@blob_client.stub :create_block_blob, @storage_blob_object do
|
14
|
+
assert @service.upload_block_blob_from_file('testcontainer', 'testblob1', nil)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_upload_blob_with_internal_client_success
|
19
|
+
@blob_client.stub :create_block_blob, @storage_blob_object do
|
20
|
+
assert @blob_client.create_block_blob('testcontainer', 'testblob1')
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/test/test_helper.rb
CHANGED
@@ -31,6 +31,38 @@ def storage_account_credentials
|
|
31
31
|
}
|
32
32
|
end
|
33
33
|
|
34
|
+
class MockBlob
|
35
|
+
def initialize
|
36
|
+
@properties = {}
|
37
|
+
@metadata = {}
|
38
|
+
yield self if block_given?
|
39
|
+
end
|
40
|
+
|
41
|
+
attr_accessor :name
|
42
|
+
attr_accessor :snapshot
|
43
|
+
attr_accessor :properties
|
44
|
+
attr_accessor :metadata
|
45
|
+
end
|
46
|
+
|
47
|
+
class MockResponse
|
48
|
+
def initialize(code, body, headers)
|
49
|
+
@status = code
|
50
|
+
@body = body
|
51
|
+
@headers = headers
|
52
|
+
@headers.each do |k, v|
|
53
|
+
@headers[k] = [v] unless v.respond_to? 'first'
|
54
|
+
end
|
55
|
+
end
|
56
|
+
attr_accessor :status
|
57
|
+
attr_accessor :body
|
58
|
+
attr_accessor :headers
|
59
|
+
end
|
60
|
+
|
61
|
+
def mocked_storage_http_error
|
62
|
+
mocked_net_response = MockResponse.new 'mocked_code', 'mocked_body', a: 'a', b: 'b'
|
63
|
+
Azure::Core::Http::HttpResponse.new mocked_net_response, 'mocked_uri'
|
64
|
+
end
|
65
|
+
|
34
66
|
def server(service)
|
35
67
|
Fog::Compute::AzureRM::Server.new(
|
36
68
|
name: 'fog-test-server',
|
@@ -51,6 +83,22 @@ def server(service)
|
|
51
83
|
)
|
52
84
|
end
|
53
85
|
|
86
|
+
def virtual_machine_extension(service)
|
87
|
+
Fog::Compute::AzureRM::VirtualMachineExtension.new(
|
88
|
+
name: 'fog-test-extension',
|
89
|
+
location: 'West US',
|
90
|
+
resource_group: 'fog-test-rg',
|
91
|
+
vm_name: 'fog-test-vm',
|
92
|
+
type: 'fog-test-extension-type',
|
93
|
+
publisher: 'fog-test-extension-publisher',
|
94
|
+
type_handler_version: 'fog-test-extension-version',
|
95
|
+
auto_upgrade_minor_version: 'fog-test-extension-upgrade',
|
96
|
+
settings: '{"Key" => "Value"}',
|
97
|
+
protected_settings: '{"Key" => "Value"}',
|
98
|
+
service: service
|
99
|
+
)
|
100
|
+
end
|
101
|
+
|
54
102
|
def availability_set(service)
|
55
103
|
Fog::Compute::AzureRM::AvailabilitySet.new(
|
56
104
|
name: 'availability-set',
|
@@ -121,8 +169,8 @@ def premium_check_for_invalid_replications(service)
|
|
121
169
|
end
|
122
170
|
|
123
171
|
def storage_container(service)
|
124
|
-
Fog::Storage::AzureRM::
|
125
|
-
|
172
|
+
Fog::Storage::AzureRM::Directory.new(
|
173
|
+
key: 'storage-test-container',
|
126
174
|
last_modified: 'Tue, 04 Aug 2015 06:01:08 GMT',
|
127
175
|
etag: '0x8D29C92176C8352',
|
128
176
|
lease_status: 'unlocked',
|
@@ -137,6 +185,71 @@ def storage_container(service)
|
|
137
185
|
)
|
138
186
|
end
|
139
187
|
|
188
|
+
def storage_blob(service)
|
189
|
+
Fog::Storage::AzureRM::File.new(
|
190
|
+
key: 'storage-test-blob',
|
191
|
+
directory: 'storage-test-container',
|
192
|
+
last_modified: 'Tue, 04 Aug 2015 06:01:08 GMT',
|
193
|
+
etag: '0x8D29C92176C8352',
|
194
|
+
metadata: {
|
195
|
+
'key1' => 'value1',
|
196
|
+
'key2' => 'value2'
|
197
|
+
},
|
198
|
+
lease_status: 'unlocked',
|
199
|
+
lease_state: 'available',
|
200
|
+
lease_duration: nil,
|
201
|
+
content_length: 4_194_304,
|
202
|
+
content_type: 'application/octet-stream',
|
203
|
+
content_encoding: nil,
|
204
|
+
content_language: nil,
|
205
|
+
content_disposition: nil,
|
206
|
+
content_md5: 'tXAohIyxuu/t94Lp/ujeRw==',
|
207
|
+
cache_control: nil,
|
208
|
+
sequence_number: 0,
|
209
|
+
blob_type: 'PageBlob',
|
210
|
+
copy_id: '095adc3b-e277-4c3d-97e0-0abca881f60c',
|
211
|
+
copy_status: 'success',
|
212
|
+
copy_source: 'https://testaccount.blob.core.windows.net/testblob/4m?snapshot=2016-02-04T08%3A35%3A50.3157696Z',
|
213
|
+
copy_progress: '4194304/4194304',
|
214
|
+
copy_completion_time: 'Thu, 04 Feb 2016 08:35:52 GMT',
|
215
|
+
copy_status_description: nil,
|
216
|
+
accept_ranges: 0,
|
217
|
+
service: service
|
218
|
+
)
|
219
|
+
end
|
220
|
+
|
221
|
+
def storage_cloud_blob
|
222
|
+
mock_blob = MockBlob.new
|
223
|
+
mock_blob.name = 'storage-test-blob'
|
224
|
+
mock_blob.snapshot = nil
|
225
|
+
mock_blob.properties = {
|
226
|
+
lease_status: 'unlocked',
|
227
|
+
lease_state: 'available',
|
228
|
+
lease_duration: nil,
|
229
|
+
content_length: 4_194_304,
|
230
|
+
content_type: 'application/octet-stream',
|
231
|
+
content_encoding: nil,
|
232
|
+
content_language: nil,
|
233
|
+
content_disposition: nil,
|
234
|
+
content_md5: 'tXAohIyxuu/t94Lp/ujeRw==',
|
235
|
+
cache_control: nil,
|
236
|
+
sequence_number: 0,
|
237
|
+
blob_type: 'PageBlob',
|
238
|
+
copy_id: '095adc3b-e277-4c3d-97e0-0abca881f60c',
|
239
|
+
copy_status: 'success',
|
240
|
+
copy_source: 'https://testaccount.blob.core.windows.net/testblob/4m?snapshot=2016-02-04T08%3A35%3A50.3157696Z',
|
241
|
+
copy_progress: '4194304/4194304',
|
242
|
+
copy_completion_time: 'Thu, 04 Feb 2016 08:35:52 GMT',
|
243
|
+
copy_status_description: nil,
|
244
|
+
accept_ranges: 0
|
245
|
+
}
|
246
|
+
mock_blob.metadata = {
|
247
|
+
'key1' => 'value1',
|
248
|
+
'key2' => 'value2'
|
249
|
+
}
|
250
|
+
mock_blob
|
251
|
+
end
|
252
|
+
|
140
253
|
def public_ip(service)
|
141
254
|
Fog::Network::AzureRM::PublicIp.new(
|
142
255
|
name: 'fog-test-public-ip',
|
@@ -562,7 +675,7 @@ def express_route_circuit_authorization(service)
|
|
562
675
|
authorization_use_status: 'Available',
|
563
676
|
authorization_name: 'circuit-auth-name',
|
564
677
|
service: service
|
565
|
-
|
678
|
+
)
|
566
679
|
end
|
567
680
|
|
568
681
|
def virtual_network_gateway_connection(service)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-azure-rm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shaffan Chaudhry
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2016-09-
|
17
|
+
date: 2016-09-29 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: rake
|
@@ -193,7 +193,6 @@ extensions: []
|
|
193
193
|
extra_rdoc_files:
|
194
194
|
- README.md
|
195
195
|
files:
|
196
|
-
- ".DS_Store"
|
197
196
|
- ".codeclimate.yml"
|
198
197
|
- ".gitignore"
|
199
198
|
- ".hound.yml"
|
@@ -220,7 +219,6 @@ files:
|
|
220
219
|
- lib/fog/azurerm/docs/storage.md
|
221
220
|
- lib/fog/azurerm/docs/structure.md
|
222
221
|
- lib/fog/azurerm/docs/traffic_manager.md
|
223
|
-
- lib/fog/azurerm/fog_azure_rm_exception.rb
|
224
222
|
- lib/fog/azurerm/models/application_gateway/backend_address_pool.rb
|
225
223
|
- lib/fog/azurerm/models/application_gateway/backend_http_setting.rb
|
226
224
|
- lib/fog/azurerm/models/application_gateway/frontend_ip_configuration.rb
|
@@ -237,6 +235,8 @@ files:
|
|
237
235
|
- lib/fog/azurerm/models/compute/availability_sets.rb
|
238
236
|
- lib/fog/azurerm/models/compute/server.rb
|
239
237
|
- lib/fog/azurerm/models/compute/servers.rb
|
238
|
+
- lib/fog/azurerm/models/compute/virtual_machine_extension.rb
|
239
|
+
- lib/fog/azurerm/models/compute/virtual_machine_extensions.rb
|
240
240
|
- lib/fog/azurerm/models/dns/record_set.rb
|
241
241
|
- lib/fog/azurerm/models/dns/record_sets.rb
|
242
242
|
- lib/fog/azurerm/models/dns/zone.rb
|
@@ -262,6 +262,7 @@ files:
|
|
262
262
|
- lib/fog/azurerm/models/network/network_security_group.rb
|
263
263
|
- lib/fog/azurerm/models/network/network_security_groups.rb
|
264
264
|
- lib/fog/azurerm/models/network/network_security_rule.rb
|
265
|
+
- lib/fog/azurerm/models/network/network_security_rules.rb
|
265
266
|
- lib/fog/azurerm/models/network/path_rule.rb
|
266
267
|
- lib/fog/azurerm/models/network/probe.rb
|
267
268
|
- lib/fog/azurerm/models/network/public_ip.rb
|
@@ -286,11 +287,11 @@ files:
|
|
286
287
|
- lib/fog/azurerm/models/resources/provider_resource_type.rb
|
287
288
|
- lib/fog/azurerm/models/resources/resource_group.rb
|
288
289
|
- lib/fog/azurerm/models/resources/resource_groups.rb
|
289
|
-
- lib/fog/azurerm/models/storage/blob.rb
|
290
|
-
- lib/fog/azurerm/models/storage/blobs.rb
|
291
|
-
- lib/fog/azurerm/models/storage/container.rb
|
292
|
-
- lib/fog/azurerm/models/storage/containers.rb
|
293
290
|
- lib/fog/azurerm/models/storage/data_disk.rb
|
291
|
+
- lib/fog/azurerm/models/storage/directories.rb
|
292
|
+
- lib/fog/azurerm/models/storage/directory.rb
|
293
|
+
- lib/fog/azurerm/models/storage/file.rb
|
294
|
+
- lib/fog/azurerm/models/storage/files.rb
|
294
295
|
- lib/fog/azurerm/models/storage/storage_account.rb
|
295
296
|
- lib/fog/azurerm/models/storage/storage_accounts.rb
|
296
297
|
- lib/fog/azurerm/models/traffic_manager/traffic_manager_end_point.rb
|
@@ -307,14 +308,17 @@ files:
|
|
307
308
|
- lib/fog/azurerm/requests/compute/attach_data_disk_to_vm.rb
|
308
309
|
- lib/fog/azurerm/requests/compute/check_vm_status.rb
|
309
310
|
- lib/fog/azurerm/requests/compute/create_availability_set.rb
|
311
|
+
- lib/fog/azurerm/requests/compute/create_or_update_vm_extension.rb
|
310
312
|
- lib/fog/azurerm/requests/compute/create_virtual_machine.rb
|
311
313
|
- lib/fog/azurerm/requests/compute/deallocate_virtual_machine.rb
|
312
314
|
- lib/fog/azurerm/requests/compute/delete_availability_set.rb
|
313
315
|
- lib/fog/azurerm/requests/compute/delete_virtual_machine.rb
|
316
|
+
- lib/fog/azurerm/requests/compute/delete_vm_extension.rb
|
314
317
|
- lib/fog/azurerm/requests/compute/detach_data_disk_from_vm.rb
|
315
318
|
- lib/fog/azurerm/requests/compute/generalize_virtual_machine.rb
|
316
319
|
- lib/fog/azurerm/requests/compute/get_availability_set.rb
|
317
320
|
- lib/fog/azurerm/requests/compute/get_virtual_machine.rb
|
321
|
+
- lib/fog/azurerm/requests/compute/get_vm_extension.rb
|
318
322
|
- lib/fog/azurerm/requests/compute/list_availability_sets.rb
|
319
323
|
- lib/fog/azurerm/requests/compute/list_available_sizes_for_virtual_machine.rb
|
320
324
|
- lib/fog/azurerm/requests/compute/list_virtual_machines.rb
|
@@ -348,6 +352,7 @@ files:
|
|
348
352
|
- lib/fog/azurerm/requests/network/create_or_update_local_network_gateway.rb
|
349
353
|
- lib/fog/azurerm/requests/network/create_or_update_network_interface.rb
|
350
354
|
- lib/fog/azurerm/requests/network/create_or_update_network_security_group.rb
|
355
|
+
- lib/fog/azurerm/requests/network/create_or_update_network_security_rule.rb
|
351
356
|
- lib/fog/azurerm/requests/network/create_or_update_public_ip.rb
|
352
357
|
- lib/fog/azurerm/requests/network/create_or_update_virtual_network.rb
|
353
358
|
- lib/fog/azurerm/requests/network/create_or_update_virtual_network_gateway.rb
|
@@ -360,6 +365,7 @@ files:
|
|
360
365
|
- lib/fog/azurerm/requests/network/delete_local_network_gateway.rb
|
361
366
|
- lib/fog/azurerm/requests/network/delete_network_interface.rb
|
362
367
|
- lib/fog/azurerm/requests/network/delete_network_security_group.rb
|
368
|
+
- lib/fog/azurerm/requests/network/delete_network_security_rule.rb
|
363
369
|
- lib/fog/azurerm/requests/network/delete_public_ip.rb
|
364
370
|
- lib/fog/azurerm/requests/network/delete_subnet.rb
|
365
371
|
- lib/fog/azurerm/requests/network/delete_virtual_network.rb
|
@@ -368,6 +374,7 @@ files:
|
|
368
374
|
- lib/fog/azurerm/requests/network/detach_network_security_group_from_subnet.rb
|
369
375
|
- lib/fog/azurerm/requests/network/detach_resource_from_nic.rb
|
370
376
|
- lib/fog/azurerm/requests/network/detach_route_table_from_subnet.rb
|
377
|
+
- lib/fog/azurerm/requests/network/get_available_ipaddresses_count.rb
|
371
378
|
- lib/fog/azurerm/requests/network/get_connection_shared_key.rb
|
372
379
|
- lib/fog/azurerm/requests/network/get_express_route_circuit.rb
|
373
380
|
- lib/fog/azurerm/requests/network/get_express_route_circuit_authorization.rb
|
@@ -376,6 +383,7 @@ files:
|
|
376
383
|
- lib/fog/azurerm/requests/network/get_local_network_gateway.rb
|
377
384
|
- lib/fog/azurerm/requests/network/get_network_interface.rb
|
378
385
|
- lib/fog/azurerm/requests/network/get_network_security_group.rb
|
386
|
+
- lib/fog/azurerm/requests/network/get_network_security_rule.rb
|
379
387
|
- lib/fog/azurerm/requests/network/get_public_ip.rb
|
380
388
|
- lib/fog/azurerm/requests/network/get_subnet.rb
|
381
389
|
- lib/fog/azurerm/requests/network/get_virtual_network.rb
|
@@ -389,6 +397,7 @@ files:
|
|
389
397
|
- lib/fog/azurerm/requests/network/list_local_network_gateways.rb
|
390
398
|
- lib/fog/azurerm/requests/network/list_network_interfaces.rb
|
391
399
|
- lib/fog/azurerm/requests/network/list_network_security_groups.rb
|
400
|
+
- lib/fog/azurerm/requests/network/list_network_security_rules.rb
|
392
401
|
- lib/fog/azurerm/requests/network/list_public_ips.rb
|
393
402
|
- lib/fog/azurerm/requests/network/list_subnets.rb
|
394
403
|
- lib/fog/azurerm/requests/network/list_virtual_network_gateway_connections.rb
|
@@ -411,23 +420,37 @@ files:
|
|
411
420
|
- lib/fog/azurerm/requests/resources/list_resource_groups.rb
|
412
421
|
- lib/fog/azurerm/requests/resources/list_tagged_resources.rb
|
413
422
|
- lib/fog/azurerm/requests/resources/tag_resource.rb
|
423
|
+
- lib/fog/azurerm/requests/storage/acquire_blob_lease.rb
|
424
|
+
- lib/fog/azurerm/requests/storage/acquire_container_lease.rb
|
425
|
+
- lib/fog/azurerm/requests/storage/check_blob_exist.rb
|
414
426
|
- lib/fog/azurerm/requests/storage/check_storage_account_name_availability.rb
|
427
|
+
- lib/fog/azurerm/requests/storage/compare_blob.rb
|
428
|
+
- lib/fog/azurerm/requests/storage/copy_blob.rb
|
429
|
+
- lib/fog/azurerm/requests/storage/copy_blob_from_uri.rb
|
415
430
|
- lib/fog/azurerm/requests/storage/create_container.rb
|
416
431
|
- lib/fog/azurerm/requests/storage/create_storage_account.rb
|
432
|
+
- lib/fog/azurerm/requests/storage/delete_blob.rb
|
417
433
|
- lib/fog/azurerm/requests/storage/delete_container.rb
|
418
434
|
- lib/fog/azurerm/requests/storage/delete_disk.rb
|
419
435
|
- lib/fog/azurerm/requests/storage/delete_storage_account.rb
|
436
|
+
- lib/fog/azurerm/requests/storage/download_blob_to_file.rb
|
420
437
|
- lib/fog/azurerm/requests/storage/get_blob_metadata.rb
|
438
|
+
- lib/fog/azurerm/requests/storage/get_blob_properties.rb
|
421
439
|
- lib/fog/azurerm/requests/storage/get_container_access_control_list.rb
|
422
440
|
- lib/fog/azurerm/requests/storage/get_container_metadata.rb
|
423
441
|
- lib/fog/azurerm/requests/storage/get_container_properties.rb
|
424
442
|
- lib/fog/azurerm/requests/storage/get_storage_access_keys.rb
|
425
443
|
- lib/fog/azurerm/requests/storage/get_storage_account.rb
|
444
|
+
- lib/fog/azurerm/requests/storage/list_blobs.rb
|
426
445
|
- lib/fog/azurerm/requests/storage/list_containers.rb
|
427
446
|
- lib/fog/azurerm/requests/storage/list_storage_account_for_rg.rb
|
428
447
|
- lib/fog/azurerm/requests/storage/list_storage_accounts.rb
|
448
|
+
- lib/fog/azurerm/requests/storage/release_blob_lease.rb
|
449
|
+
- lib/fog/azurerm/requests/storage/release_container_lease.rb
|
429
450
|
- lib/fog/azurerm/requests/storage/set_blob_metadata.rb
|
451
|
+
- lib/fog/azurerm/requests/storage/set_blob_properties.rb
|
430
452
|
- lib/fog/azurerm/requests/storage/set_container_metadata.rb
|
453
|
+
- lib/fog/azurerm/requests/storage/upload_block_blob_from_file.rb
|
431
454
|
- lib/fog/azurerm/requests/traffic_manager/create_or_update_traffic_manager_endpoint.rb
|
432
455
|
- lib/fog/azurerm/requests/traffic_manager/create_or_update_traffic_manager_profile.rb
|
433
456
|
- lib/fog/azurerm/requests/traffic_manager/delete_traffic_manager_endpoint.rb
|
@@ -445,6 +468,7 @@ files:
|
|
445
468
|
- test/api_stub/models/application_gateway/gateway.rb
|
446
469
|
- test/api_stub/models/compute/availability_set.rb
|
447
470
|
- test/api_stub/models/compute/server.rb
|
471
|
+
- test/api_stub/models/compute/virtual_machine_extension.rb
|
448
472
|
- test/api_stub/models/dns/record_set.rb
|
449
473
|
- test/api_stub/models/dns/zone.rb
|
450
474
|
- test/api_stub/models/network/express_route_circuit.rb
|
@@ -455,6 +479,7 @@ files:
|
|
455
479
|
- test/api_stub/models/network/local_network_gateway.rb
|
456
480
|
- test/api_stub/models/network/network_interface.rb
|
457
481
|
- test/api_stub/models/network/network_security_group.rb
|
482
|
+
- test/api_stub/models/network/network_security_rule.rb
|
458
483
|
- test/api_stub/models/network/public_ip.rb
|
459
484
|
- test/api_stub/models/network/subnet.rb
|
460
485
|
- test/api_stub/models/network/virtual_network.rb
|
@@ -463,14 +488,15 @@ files:
|
|
463
488
|
- test/api_stub/models/resources/deployment.rb
|
464
489
|
- test/api_stub/models/resources/resource.rb
|
465
490
|
- test/api_stub/models/resources/resource_group.rb
|
466
|
-
- test/api_stub/models/storage/
|
467
|
-
- test/api_stub/models/storage/
|
491
|
+
- test/api_stub/models/storage/directory.rb
|
492
|
+
- test/api_stub/models/storage/file.rb
|
468
493
|
- test/api_stub/models/storage/storageaccount.rb
|
469
494
|
- test/api_stub/models/traffic_manager/traffic_manager_end_point.rb
|
470
495
|
- test/api_stub/models/traffic_manager/traffic_manager_profile.rb
|
471
496
|
- test/api_stub/requests/application_gateway/gateway.rb
|
472
497
|
- test/api_stub/requests/compute/availability_set.rb
|
473
498
|
- test/api_stub/requests/compute/virtual_machine.rb
|
499
|
+
- test/api_stub/requests/compute/virtual_machine_extension.rb
|
474
500
|
- test/api_stub/requests/dns/record_set.rb
|
475
501
|
- test/api_stub/requests/dns/zone.rb
|
476
502
|
- test/api_stub/requests/network/express_route_circuit.rb
|
@@ -481,6 +507,7 @@ files:
|
|
481
507
|
- test/api_stub/requests/network/local_network_gateway.rb
|
482
508
|
- test/api_stub/requests/network/network_interface.rb
|
483
509
|
- test/api_stub/requests/network/network_security_group.rb
|
510
|
+
- test/api_stub/requests/network/network_security_rule.rb
|
484
511
|
- test/api_stub/requests/network/public_ip.rb
|
485
512
|
- test/api_stub/requests/network/subnet.rb
|
486
513
|
- test/api_stub/requests/network/virtual_network.rb
|
@@ -489,8 +516,8 @@ files:
|
|
489
516
|
- test/api_stub/requests/resources/deployment.rb
|
490
517
|
- test/api_stub/requests/resources/resource.rb
|
491
518
|
- test/api_stub/requests/resources/resource_group.rb
|
492
|
-
- test/api_stub/requests/storage/
|
493
|
-
- test/api_stub/requests/storage/
|
519
|
+
- test/api_stub/requests/storage/directory.rb
|
520
|
+
- test/api_stub/requests/storage/file.rb
|
494
521
|
- test/api_stub/requests/storage/storageaccount.rb
|
495
522
|
- test/api_stub/requests/traffic_manager/traffic_manager_endpoint.rb
|
496
523
|
- test/api_stub/requests/traffic_manager/traffic_manager_profile.rb
|
@@ -498,6 +525,7 @@ files:
|
|
498
525
|
- test/integration/Virtual_network_gateway_connection.rb
|
499
526
|
- test/integration/application_gateway.rb
|
500
527
|
- test/integration/availability_set.rb
|
528
|
+
- test/integration/blob.rb
|
501
529
|
- test/integration/container.rb
|
502
530
|
- test/integration/credentials/azure.yml
|
503
531
|
- test/integration/deployment.rb
|
@@ -507,16 +535,20 @@ files:
|
|
507
535
|
- test/integration/local_network_gateway.rb
|
508
536
|
- test/integration/network_interface.rb
|
509
537
|
- test/integration/network_security_group.rb
|
538
|
+
- test/integration/network_security_rule.rb
|
510
539
|
- test/integration/public_ip.rb
|
511
540
|
- test/integration/record_set.rb
|
512
541
|
- test/integration/resource_group.rb
|
513
542
|
- test/integration/resource_tag.rb
|
514
543
|
- test/integration/server.rb
|
544
|
+
- test/integration/server_custom_image.rb
|
515
545
|
- test/integration/storage_account.rb
|
516
546
|
- test/integration/subnet.rb
|
517
547
|
- test/integration/traffic_manager.rb
|
548
|
+
- test/integration/virtual_machine_extension.rb
|
518
549
|
- test/integration/virtual_network.rb
|
519
550
|
- test/integration/virtual_network_gateway.rb
|
551
|
+
- test/integration/virtual_network_gateway_connection_to_express_route.rb
|
520
552
|
- test/integration/zone.rb
|
521
553
|
- test/models/application_gateway/test_gateway.rb
|
522
554
|
- test/models/application_gateway/test_gateways.rb
|
@@ -524,6 +556,8 @@ files:
|
|
524
556
|
- test/models/compute/test_availability_sets.rb
|
525
557
|
- test/models/compute/test_server.rb
|
526
558
|
- test/models/compute/test_servers.rb
|
559
|
+
- test/models/compute/test_virtual_machine_extension.rb
|
560
|
+
- test/models/compute/test_virtual_machine_extensions.rb
|
527
561
|
- test/models/dns/test_record_set.rb
|
528
562
|
- test/models/dns/test_record_sets.rb
|
529
563
|
- test/models/dns/test_zone.rb
|
@@ -544,6 +578,7 @@ files:
|
|
544
578
|
- test/models/network/test_network_security_group.rb
|
545
579
|
- test/models/network/test_network_security_groups.rb
|
546
580
|
- test/models/network/test_network_security_rule.rb
|
581
|
+
- test/models/network/test_network_security_rules.rb
|
547
582
|
- test/models/network/test_public_ip.rb
|
548
583
|
- test/models/network/test_public_ips.rb
|
549
584
|
- test/models/network/test_subnet.rb
|
@@ -560,10 +595,11 @@ files:
|
|
560
595
|
- test/models/resources/test_resource_group.rb
|
561
596
|
- test/models/resources/test_resource_groups.rb
|
562
597
|
- test/models/resources/test_resources.rb
|
563
|
-
- test/models/storage/test_blobs.rb
|
564
|
-
- test/models/storage/test_container.rb
|
565
|
-
- test/models/storage/test_containers.rb
|
566
598
|
- test/models/storage/test_data_disk.rb
|
599
|
+
- test/models/storage/test_directories.rb
|
600
|
+
- test/models/storage/test_directory.rb
|
601
|
+
- test/models/storage/test_file.rb
|
602
|
+
- test/models/storage/test_files.rb
|
567
603
|
- test/models/storage/test_storage_account.rb
|
568
604
|
- test/models/storage/test_storage_accounts.rb
|
569
605
|
- test/models/traffic_manager/test_traffic_manager_end_point.rb
|
@@ -577,6 +613,7 @@ files:
|
|
577
613
|
- test/requests/compute/test_attach_data_disk_to_vm.rb
|
578
614
|
- test/requests/compute/test_create_availability_set.rb
|
579
615
|
- test/requests/compute/test_create_virtual_machine.rb
|
616
|
+
- test/requests/compute/test_create_vm_extension.rb
|
580
617
|
- test/requests/compute/test_deallocate_virtual_machine.rb
|
581
618
|
- test/requests/compute/test_delete_availability_set.rb
|
582
619
|
- test/requests/compute/test_delete_virtual_machine.rb
|
@@ -584,6 +621,7 @@ files:
|
|
584
621
|
- test/requests/compute/test_generalize_virtual_machine.rb
|
585
622
|
- test/requests/compute/test_get_availability_set.rb
|
586
623
|
- test/requests/compute/test_get_virtual_machine.rb
|
624
|
+
- test/requests/compute/test_get_vm_extension.rb
|
587
625
|
- test/requests/compute/test_get_vm_status.rb
|
588
626
|
- test/requests/compute/test_list_availability_sets.rb
|
589
627
|
- test/requests/compute/test_list_available_sizes_for_virtual_machine.rb
|
@@ -592,6 +630,7 @@ files:
|
|
592
630
|
- test/requests/compute/test_redeploy_virtual_machine.rb
|
593
631
|
- test/requests/compute/test_restart_virtual_machine.rb
|
594
632
|
- test/requests/compute/test_start_virtual_machine.rb
|
633
|
+
- test/requests/compute/test_update_vm_extension.rb
|
595
634
|
- test/requests/dns/test_check_for_zone.rb
|
596
635
|
- test/requests/dns/test_create_record_set.rb
|
597
636
|
- test/requests/dns/test_create_zone.rb
|
@@ -618,6 +657,7 @@ files:
|
|
618
657
|
- test/requests/network/test_create_network_interface.rb
|
619
658
|
- test/requests/network/test_create_or_update_local_network_gateway.rb
|
620
659
|
- test/requests/network/test_create_or_update_network_security_group.rb
|
660
|
+
- test/requests/network/test_create_or_update_network_security_rule.rb
|
621
661
|
- test/requests/network/test_create_or_update_virtual_network.rb
|
622
662
|
- test/requests/network/test_create_public_ip.rb
|
623
663
|
- test/requests/network/test_create_subnet.rb
|
@@ -630,6 +670,7 @@ files:
|
|
630
670
|
- test/requests/network/test_delete_local_network_gateway.rb
|
631
671
|
- test/requests/network/test_delete_network_interface.rb
|
632
672
|
- test/requests/network/test_delete_network_security_group.rb
|
673
|
+
- test/requests/network/test_delete_network_security_rule.rb
|
633
674
|
- test/requests/network/test_delete_public_ip.rb
|
634
675
|
- test/requests/network/test_delete_subnet.rb
|
635
676
|
- test/requests/network/test_delete_virtual_network.rb
|
@@ -638,6 +679,7 @@ files:
|
|
638
679
|
- test/requests/network/test_detach_network_security_group_from_subnet.rb
|
639
680
|
- test/requests/network/test_detach_resource_from_nic.rb
|
640
681
|
- test/requests/network/test_detach_route_table_from_subnet.rb
|
682
|
+
- test/requests/network/test_get_available_ipaddresses_count.rb
|
641
683
|
- test/requests/network/test_get_connection_shared_key.rb
|
642
684
|
- test/requests/network/test_get_express_route_circuit.rb
|
643
685
|
- test/requests/network/test_get_express_route_circuit_authorization.rb
|
@@ -646,6 +688,7 @@ files:
|
|
646
688
|
- test/requests/network/test_get_local_network_gateway.rb
|
647
689
|
- test/requests/network/test_get_network_interface.rb
|
648
690
|
- test/requests/network/test_get_network_security_group.rb
|
691
|
+
- test/requests/network/test_get_network_security_rule.rb
|
649
692
|
- test/requests/network/test_get_public_ip.rb
|
650
693
|
- test/requests/network/test_get_subnet.rb
|
651
694
|
- test/requests/network/test_get_virtual_network.rb
|
@@ -659,6 +702,7 @@ files:
|
|
659
702
|
- test/requests/network/test_list_local_network_gateways.rb
|
660
703
|
- test/requests/network/test_list_network_interfaces.rb
|
661
704
|
- test/requests/network/test_list_network_security_groups.rb
|
705
|
+
- test/requests/network/test_list_network_security_rules.rb
|
662
706
|
- test/requests/network/test_list_public_ips.rb
|
663
707
|
- test/requests/network/test_list_subnets.rb
|
664
708
|
- test/requests/network/test_list_virtual_network_gateway_connections.rb
|
@@ -682,22 +726,36 @@ files:
|
|
682
726
|
- test/requests/resources/test_list_resource_groups.rb
|
683
727
|
- test/requests/resources/test_list_tagged_resources.rb
|
684
728
|
- test/requests/resources/test_tag_resource.rb
|
729
|
+
- test/requests/storage/test_acquire_blob_lease.rb
|
730
|
+
- test/requests/storage/test_acquire_container_lease.rb
|
731
|
+
- test/requests/storage/test_check_blob_exist.rb
|
685
732
|
- test/requests/storage/test_check_storage_account_name_availability.rb
|
733
|
+
- test/requests/storage/test_compare_blob.rb
|
734
|
+
- test/requests/storage/test_copy_blob.rb
|
735
|
+
- test/requests/storage/test_copy_blob_from_uri.rb
|
686
736
|
- test/requests/storage/test_create_container.rb
|
687
737
|
- test/requests/storage/test_create_storage_account.rb
|
738
|
+
- test/requests/storage/test_delete_blob.rb
|
688
739
|
- test/requests/storage/test_delete_container.rb
|
689
740
|
- test/requests/storage/test_delete_storage_account.rb
|
741
|
+
- test/requests/storage/test_download_blob_to_file.rb
|
690
742
|
- test/requests/storage/test_get_blob_metadata.rb
|
743
|
+
- test/requests/storage/test_get_blob_properties.rb
|
691
744
|
- test/requests/storage/test_get_container_access_control_list.rb
|
692
745
|
- test/requests/storage/test_get_container_metadata.rb
|
693
746
|
- test/requests/storage/test_get_container_properties.rb
|
694
747
|
- test/requests/storage/test_get_storage_access_keys.rb
|
695
748
|
- test/requests/storage/test_get_storage_account.rb
|
749
|
+
- test/requests/storage/test_list_blobs_in_container.rb
|
696
750
|
- test/requests/storage/test_list_containers.rb
|
697
751
|
- test/requests/storage/test_list_storage_accounts.rb
|
698
752
|
- test/requests/storage/test_list_storage_accounts_for_rg.rb
|
753
|
+
- test/requests/storage/test_release_blob_lease.rb
|
754
|
+
- test/requests/storage/test_release_container_lease.rb
|
699
755
|
- test/requests/storage/test_set_blob_metadata.rb
|
756
|
+
- test/requests/storage/test_set_blob_properties.rb
|
700
757
|
- test/requests/storage/test_set_container_metadata.rb
|
758
|
+
- test/requests/storage/test_upload_block_blob_from_file.rb
|
701
759
|
- test/requests/traffic_manager/test_create_traffic_manager_endpoint.rb
|
702
760
|
- test/requests/traffic_manager/test_create_traffic_manager_profile.rb
|
703
761
|
- test/requests/traffic_manager/test_delete_traffic_manager_endpoint.rb
|