azure 0.7.1 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +31 -0
- data/azure.gemspec +2 -1
- data/lib/azure.rb +1 -0
- data/lib/azure/base_management/management_http_request.rb +3 -12
- data/lib/azure/blob/auth/shared_access_signature.rb +4 -0
- data/lib/azure/blob/blob_service.rb +2 -2
- data/lib/azure/client_services.rb +13 -13
- data/lib/azure/core/http/http_request.rb +3 -14
- data/lib/azure/core/service.rb +2 -1
- data/lib/azure/http_client.rb +1 -17
- data/lib/azure/http_response_helper.rb +38 -0
- data/lib/azure/sql_database_management/serialization.rb +4 -0
- data/lib/azure/sql_database_management/sql_database_management_service.rb +10 -9
- data/lib/azure/version.rb +1 -1
- data/lib/azure/virtual_machine_image_management/virtual_machine_image_management_service.rb +2 -2
- data/lib/azure/virtual_machine_management/serialization.rb +21 -12
- data/lib/azure/virtual_machine_management/virtual_machine_management_service.rb +8 -3
- metadata +17 -199
- data/test/fixtures/32px-fulls-black.jpg +0 -0
- data/test/fixtures/affinity_group.xml +0 -33
- data/test/fixtures/all_containers.xml +0 -20
- data/test/fixtures/all_tables.xml +0 -22
- data/test/fixtures/container_acl.xml +0 -11
- data/test/fixtures/create_sql_database_server.xml +0 -2
- data/test/fixtures/create_storage_desc_error.xml +0 -5
- data/test/fixtures/create_storage_extendedprop_error.xml +0 -8
- data/test/fixtures/create_storage_extendedpropname_error.xml +0 -6
- data/test/fixtures/create_storage_full_error.xml +0 -6
- data/test/fixtures/create_storage_label_error.xml +0 -5
- data/test/fixtures/create_storage_location_error.xml +0 -5
- data/test/fixtures/create_storage_name_error.xml +0 -6
- data/test/fixtures/create_table_response_entry.xml +0 -15
- data/test/fixtures/delete_storage_container_error.xml +0 -5
- data/test/fixtures/delete_storage_error.xml +0 -5
- data/test/fixtures/deployment_error.xml +0 -5
- data/test/fixtures/empty_xml_file +0 -0
- data/test/fixtures/get_storage_account_error.xml +0 -5
- data/test/fixtures/get_storage_account_properties.xml +0 -34
- data/test/fixtures/get_storage_account_properties_new.xml +0 -32
- data/test/fixtures/http_error.xml +0 -5
- data/test/fixtures/insert_entity_response_entry.xml +0 -25
- data/test/fixtures/list_affinity_groups.xml +0 -22
- data/test/fixtures/list_blobs.xml +0 -121
- data/test/fixtures/list_block_all_with_none_committed.xml +0 -22
- data/test/fixtures/list_blocks_all.xml +0 -23
- data/test/fixtures/list_blocks_committed.xml +0 -13
- data/test/fixtures/list_cloud_services.xml +0 -39
- data/test/fixtures/list_containers.xml +0 -38
- data/test/fixtures/list_firewall_management_endpoint.xml +0 -27
- data/test/fixtures/list_locations.xml +0 -212
- data/test/fixtures/list_os_images.xml +0 -110
- data/test/fixtures/list_page_ranges.xml +0 -11
- data/test/fixtures/list_sql_database.xml +0 -24
- data/test/fixtures/list_sql_server_firewall.xml +0 -23
- data/test/fixtures/list_storage_account_single.xml +0 -25
- data/test/fixtures/list_storage_accounts.xml +0 -48
- data/test/fixtures/list_virtual_networks.xml +0 -91
- data/test/fixtures/list_vm_images.xml +0 -21
- data/test/fixtures/logging.xml +0 -11
- data/test/fixtures/management_certificate.pem +0 -55
- data/test/fixtures/management_certificate.pfx +0 -0
- data/test/fixtures/management_certificate.publishsettings +0 -12
- data/test/fixtures/messages.xml +0 -12
- data/test/fixtures/metrics.xml +0 -10
- data/test/fixtures/privatekey.key +0 -28
- data/test/fixtures/query_entities_empty_response.xml +0 -7
- data/test/fixtures/query_entities_response.xml +0 -45
- data/test/fixtures/queue_service_properties.xml +0 -22
- data/test/fixtures/queue_service_properties_original.xml +0 -19
- data/test/fixtures/queues.xml +0 -16
- data/test/fixtures/retention_policy.xml +0 -5
- data/test/fixtures/sb_default_create_queue_response.xml +0 -23
- data/test/fixtures/sb_default_create_relay_response.xml +0 -15
- data/test/fixtures/sb_default_create_topic_response.xml +0 -18
- data/test/fixtures/sb_get_access_token_response.txt +0 -1
- data/test/fixtures/sb_queues_runtime_peek_message_response_headers.txt +0 -9
- data/test/fixtures/storage_service_keys.xml +0 -8
- data/test/fixtures/storage_service_properties.xml +0 -55
- data/test/fixtures/update_storage_account.xml +0 -16
- data/test/fixtures/update_storage_error.xml +0 -5
- data/test/fixtures/updated_storage_accounts.xml +0 -55
- data/test/fixtures/virtual_machine.xml +0 -116
- data/test/fixtures/windows_virtual_machine.xml +0 -106
- data/test/integration/affinity_group/Affinity_test.rb +0 -55
- data/test/integration/affinity_group/Create_Affinity_test.rb +0 -64
- data/test/integration/affinity_group/Delete_Affinity_test.rb +0 -56
- data/test/integration/affinity_group/List_Affinity_test.rb +0 -41
- data/test/integration/affinity_group/Update_Affinity_test.rb +0 -87
- data/test/integration/blob/blob_gb18030_test.rb +0 -199
- data/test/integration/blob/blob_metadata_test.rb +0 -75
- data/test/integration/blob/blob_pages_test.rb +0 -119
- data/test/integration/blob/blob_properties_test.rb +0 -77
- data/test/integration/blob/block_blob_test.rb +0 -303
- data/test/integration/blob/container/container_acl_test.rb +0 -69
- data/test/integration/blob/container/container_metadata_test.rb +0 -50
- data/test/integration/blob/container/create_container_test.rb +0 -60
- data/test/integration/blob/container/delete_container_test.rb +0 -39
- data/test/integration/blob/container/get_container_properties_test.rb +0 -48
- data/test/integration/blob/container/list_containers_test.rb +0 -79
- data/test/integration/blob/container/root_container_test.rb +0 -55
- data/test/integration/blob/copy_blob_test.rb +0 -113
- data/test/integration/blob/create_blob_snapshot_test.rb +0 -80
- data/test/integration/blob/create_page_blob_test.rb +0 -83
- data/test/integration/blob/delete_blob_test.rb +0 -159
- data/test/integration/blob/get_blob_test.rb +0 -65
- data/test/integration/blob/informative_errors_test.rb +0 -39
- data/test/integration/blob/lease/acquire_lease_test.rb +0 -36
- data/test/integration/blob/lease/break_lease_test.rb +0 -40
- data/test/integration/blob/lease/release_lease_test.rb +0 -40
- data/test/integration/blob/lease/renew_lease_test.rb +0 -42
- data/test/integration/blob/list_blobs_test.rb +0 -113
- data/test/integration/cloud_service/Cloud_Create_test.rb +0 -45
- data/test/integration/cloud_service/Cloud_Delete_test.rb +0 -45
- data/test/integration/database/create_sql_server_firewall_test.rb +0 -81
- data/test/integration/database/create_sql_server_test.rb +0 -53
- data/test/integration/database/delete_sql_server_firewall_test.rb +0 -63
- data/test/integration/database/delete_sql_server_test.rb +0 -44
- data/test/integration/database/list_sql_server_firewall_test.rb +0 -44
- data/test/integration/database/list_sql_servers_test.rb +0 -44
- data/test/integration/database/reset_password_sql_server_test.rb +0 -53
- data/test/integration/location/Location_List_test.rb +0 -38
- data/test/integration/location/RoleSize_List_test.rb +0 -34
- data/test/integration/queue/clear_messages_test.rb +0 -42
- data/test/integration/queue/create_message_test.rb +0 -75
- data/test/integration/queue/create_queue_test.rb +0 -50
- data/test/integration/queue/delete_message_test.rb +0 -67
- data/test/integration/queue/delete_queue_test.rb +0 -45
- data/test/integration/queue/informative_errors_test.rb +0 -42
- data/test/integration/queue/list_messages_encoded_test.rb +0 -79
- data/test/integration/queue/list_messages_test.rb +0 -79
- data/test/integration/queue/list_queues_test.rb +0 -43
- data/test/integration/queue/peek_messages_test.rb +0 -59
- data/test/integration/queue/queue_gb18030_test.rb +0 -131
- data/test/integration/queue/queue_metadata_test.rb +0 -40
- data/test/integration/queue/update_message_test.rb +0 -74
- data/test/integration/service_bus/informative_errors_test.rb +0 -37
- data/test/integration/service_bus/queues_scenario_test.rb +0 -200
- data/test/integration/service_bus/queues_test.rb +0 -266
- data/test/integration/service_bus/relay_test.rb +0 -132
- data/test/integration/service_bus/rules_test.rb +0 -145
- data/test/integration/service_bus/sb_queue_gb18030_test.rb +0 -182
- data/test/integration/service_bus/scenario_test.rb +0 -101
- data/test/integration/service_bus/subscriptions_test.rb +0 -211
- data/test/integration/service_bus/topics_scenario_test.rb +0 -406
- data/test/integration/service_bus/topics_test.rb +0 -129
- data/test/integration/storage_management/storage_management_test.rb +0 -185
- data/test/integration/table/create_table_test.rb +0 -36
- data/test/integration/table/delete_entity_batch_test.rb +0 -107
- data/test/integration/table/delete_entity_test.rb +0 -94
- data/test/integration/table/delete_table_test.rb +0 -40
- data/test/integration/table/get_table_test.rb +0 -37
- data/test/integration/table/informative_errors_test.rb +0 -39
- data/test/integration/table/insert_entity_batch_test.rb +0 -100
- data/test/integration/table/insert_entity_test.rb +0 -88
- data/test/integration/table/insert_or_merge_entity_batch_test.rb +0 -159
- data/test/integration/table/insert_or_merge_entity_test.rb +0 -143
- data/test/integration/table/insert_or_replace_entity_batch_test.rb +0 -152
- data/test/integration/table/insert_or_replace_entity_test.rb +0 -137
- data/test/integration/table/merge_entity_batch_test.rb +0 -128
- data/test/integration/table/merge_entity_test.rb +0 -113
- data/test/integration/table/query_entities_test.rb +0 -196
- data/test/integration/table/query_tables_test.rb +0 -43
- data/test/integration/table/query_test.rb +0 -251
- data/test/integration/table/table_acl_test.rb +0 -52
- data/test/integration/table/table_gb18030_test.rb +0 -355
- data/test/integration/table/update_entity_batch_test.rb +0 -149
- data/test/integration/table/update_entity_test.rb +0 -131
- data/test/integration/test_helper.rb +0 -40
- data/test/integration/vm/VM_Create_test.rb +0 -262
- data/test/integration/vm/VM_Delete_test.rb +0 -53
- data/test/integration/vm/VM_Operations_test.rb +0 -172
- data/test/integration/vm_image/virtual_machine_disk_test.rb +0 -37
- data/test/integration/vm_image/virtual_machine_image_test.rb +0 -37
- data/test/integration/vnet/Virtual_Network_Create_test.rb +0 -116
- data/test/integration/vnet/Virtual_Network_list_test.rb +0 -48
- data/test/support/env.rb +0 -19
- data/test/support/fixtures.rb +0 -36
- data/test/support/name_generator.rb +0 -168
- data/test/support/stubs.rb +0 -42
- data/test/support/virtual_machine_name_generator.rb +0 -102
- data/test/support/virtual_network_helper.rb +0 -73
- data/test/test_helper.rb +0 -47
- data/test/unit/affinity_group/affinity_group_test.rb +0 -189
- data/test/unit/affinity_group/serialization_test.rb +0 -87
- data/test/unit/base_management/base_management_service_test.rb +0 -19
- data/test/unit/base_management/location_test.rb +0 -56
- data/test/unit/base_management/role_size_test.rb +0 -50
- data/test/unit/blob/auth/shared_access_signature_test.rb +0 -71
- data/test/unit/blob/blob_service_test.rb +0 -1970
- data/test/unit/cloud_service_management/cloud_service_management_service_test.rb +0 -94
- data/test/unit/cloud_service_management/serialization_test.rb +0 -169
- data/test/unit/config/azure_test.rb +0 -131
- data/test/unit/config/client_test.rb +0 -37
- data/test/unit/core/auth/shared_key_lite_test.rb +0 -51
- data/test/unit/core/auth/shared_key_test.rb +0 -58
- data/test/unit/core/auth/signer_test.rb +0 -30
- data/test/unit/core/http/http_error_test.rb +0 -61
- data/test/unit/core/http/http_request_test.rb +0 -138
- data/test/unit/core/http/http_response_test.rb +0 -20
- data/test/unit/core/http/retry_policy_test.rb +0 -23
- data/test/unit/core/utility_test.rb +0 -122
- data/test/unit/database/serialization_test.rb +0 -94
- data/test/unit/database/sql_database_server_service_test.rb +0 -341
- data/test/unit/http_client_test.rb +0 -74
- data/test/unit/service/serialization_test.rb +0 -533
- data/test/unit/service/storage_service_test.rb +0 -297
- data/test/unit/storage_management/serialization_test.rb +0 -244
- data/test/unit/storage_management/storage_management_service_test.rb +0 -247
- data/test/unit/table/edmtype_test.rb +0 -108
- data/test/unit/virtual_machine_image_management/serialization_test.rb +0 -50
- data/test/unit/virtual_machine_image_management/virtual_machine_image_management_service_test.rb +0 -114
- data/test/unit/virtual_machine_management/serialization_test.rb +0 -316
- data/test/unit/virtual_machine_management/virtual_machine_management_service_test.rb +0 -480
- data/test/unit/vnet/serialization_test.rb +0 -187
- data/test/unit/vnet/virtual_network_management_service_test.rb +0 -131
data/lib/azure/version.rb
CHANGED
@@ -70,9 +70,9 @@ module Azure
|
|
70
70
|
# Public: Deletes the specified data or operating system disk from the image repository.
|
71
71
|
#
|
72
72
|
# Returns None
|
73
|
-
def delete_virtual_machine_disk(disk_name)
|
73
|
+
def delete_virtual_machine_disk(disk_name, options={})
|
74
74
|
Azure::Loggerx.info "Deleting Disk \"#{disk_name}\". "
|
75
|
-
path = "/services/disks/#{disk_name}"
|
75
|
+
path = "/services/disks/#{disk_name}#{ '?comp=media' if options[:delete_vhd] }"
|
76
76
|
request = client.management_request(:delete, path)
|
77
77
|
request.call
|
78
78
|
end
|
@@ -94,11 +94,18 @@ module Azure
|
|
94
94
|
xml.ConfigurationSetType 'NetworkConfiguration'
|
95
95
|
xml.InputEndpoints do
|
96
96
|
default_endpoints_to_xml(xml, options)
|
97
|
-
|
97
|
+
specified_endpoints_to_xml(
|
98
98
|
xml,
|
99
|
+
'TCP',
|
99
100
|
options[:tcp_endpoints],
|
100
101
|
options[:existing_ports]
|
101
102
|
) if options[:tcp_endpoints]
|
103
|
+
specified_endpoints_to_xml(
|
104
|
+
xml,
|
105
|
+
'UDP',
|
106
|
+
options[:udp_endpoints],
|
107
|
+
options[:existing_ports]
|
108
|
+
) if options[:udp_endpoints]
|
102
109
|
end
|
103
110
|
if options[:virtual_network_name] && options[:subnet_name]
|
104
111
|
xml.SubnetNames do
|
@@ -182,6 +189,7 @@ module Azure
|
|
182
189
|
end
|
183
190
|
end
|
184
191
|
xml.AdminUsername params[:vm_user]
|
192
|
+
xml.CustomData params[:custom_data] if params[:custom_data]
|
185
193
|
end
|
186
194
|
end
|
187
195
|
end
|
@@ -224,33 +232,34 @@ module Azure
|
|
224
232
|
endpoints_to_xml(xml, endpoints)
|
225
233
|
end
|
226
234
|
|
227
|
-
def self.
|
235
|
+
def self.specified_endpoints_to_xml(xml, protocol, specified_endpoints, existing_ports = [])
|
228
236
|
endpoints = []
|
237
|
+
protocol_up = protocol.upcase
|
229
238
|
|
230
|
-
|
239
|
+
specified_endpoints.split(',').each do |endpoint|
|
231
240
|
ports = endpoint.split(':')
|
232
|
-
|
241
|
+
specified_ep = {}
|
233
242
|
|
234
243
|
if ports.length > 1
|
235
244
|
port_already_opened?(existing_ports, ports[1])
|
236
245
|
|
237
|
-
|
238
|
-
|
246
|
+
specified_ep[:name] = "#{protocol_up}-PORT-#{ports[1]}"
|
247
|
+
specified_ep[:public_port] = ports[1]
|
239
248
|
else
|
240
249
|
port_already_opened?(existing_ports, ports[0])
|
241
250
|
|
242
|
-
|
243
|
-
|
251
|
+
specified_ep[:name] = "#{protocol_up}-PORT-#{ports[0]}"
|
252
|
+
specified_ep[:public_port] = ports[0]
|
244
253
|
end
|
245
254
|
|
246
|
-
|
247
|
-
|
255
|
+
specified_ep[:local_port] = ports[0]
|
256
|
+
specified_ep[:protocol] = protocol_up
|
248
257
|
|
249
|
-
endpoints <<
|
258
|
+
endpoints << specified_ep
|
250
259
|
end
|
251
260
|
endpoints_to_xml(xml, endpoints)
|
252
261
|
end
|
253
|
-
|
262
|
+
|
254
263
|
def self.virtual_machines_from_xml(deployXML, cloud_service_name)
|
255
264
|
unless deployXML.nil? or deployXML.at_css('Deployment Name').nil?
|
256
265
|
instances = deployXML.css('Deployment RoleInstanceList RoleInstance')
|
@@ -209,14 +209,19 @@ module Azure
|
|
209
209
|
#
|
210
210
|
# ==== Attributes
|
211
211
|
#
|
212
|
-
# * +vm_name+
|
212
|
+
# * +vm_name+ - String. Virtual machine name.
|
213
213
|
# * +cloud_service_name+ - String. Cloud service name.
|
214
214
|
#
|
215
|
+
# ==== Options
|
216
|
+
#
|
217
|
+
# Accepted key/value pairs are:
|
218
|
+
# * +delete_vhd+ - Boolean. To delete the associated VHD from the blob storage location.
|
219
|
+
#
|
215
220
|
# See http://msdn.microsoft.com/en-us/library/azure/gg441305.aspx
|
216
221
|
# See http://msdn.microsoft.com/en-us/library/azure/jj157179.aspx
|
217
222
|
#
|
218
223
|
# Returns NONE
|
219
|
-
def delete_virtual_machine(vm_name, cloud_service_name)
|
224
|
+
def delete_virtual_machine(vm_name, cloud_service_name, options={})
|
220
225
|
virtual_machines = list_virtual_machines(cloud_service_name)
|
221
226
|
vm = virtual_machines.select { |x| x.vm_name == vm_name }.first
|
222
227
|
if vm
|
@@ -247,7 +252,7 @@ module Azure
|
|
247
252
|
if disk.attached
|
248
253
|
Azure::Loggerx.error "\nCannot delete disk #{disk_name}."
|
249
254
|
else
|
250
|
-
disk_management_service.delete_virtual_machine_disk(disk_name)
|
255
|
+
disk_management_service.delete_virtual_machine_disk(disk_name, options)
|
251
256
|
end
|
252
257
|
else
|
253
258
|
Azure::Loggerx.error "Cannot find virtual machine #{vm_name} under cloud service #{cloud_service_name}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -241,6 +241,20 @@ dependencies:
|
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
243
|
version: '0.8'
|
244
|
+
- !ruby/object:Gem::Dependency
|
245
|
+
name: vcr
|
246
|
+
requirement: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '3.0'
|
251
|
+
type: :development
|
252
|
+
prerelease: false
|
253
|
+
version_requirements: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - "~>"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '3.0'
|
244
258
|
description: Microsoft Azure Client Library for Ruby
|
245
259
|
email: azureruby@microsoft.com
|
246
260
|
executables:
|
@@ -291,6 +305,7 @@ files:
|
|
291
305
|
- lib/azure/core/utility.rb
|
292
306
|
- lib/azure/default.rb
|
293
307
|
- lib/azure/http_client.rb
|
308
|
+
- lib/azure/http_response_helper.rb
|
294
309
|
- lib/azure/queue/message.rb
|
295
310
|
- lib/azure/queue/queue.rb
|
296
311
|
- lib/azure/queue/queue_service.rb
|
@@ -358,203 +373,6 @@ files:
|
|
358
373
|
- lib/azure/virtual_network_management/serialization.rb
|
359
374
|
- lib/azure/virtual_network_management/virtual_network.rb
|
360
375
|
- lib/azure/virtual_network_management/virtual_network_management_service.rb
|
361
|
-
- test/fixtures/32px-fulls-black.jpg
|
362
|
-
- test/fixtures/affinity_group.xml
|
363
|
-
- test/fixtures/all_containers.xml
|
364
|
-
- test/fixtures/all_tables.xml
|
365
|
-
- test/fixtures/container_acl.xml
|
366
|
-
- test/fixtures/create_sql_database_server.xml
|
367
|
-
- test/fixtures/create_storage_desc_error.xml
|
368
|
-
- test/fixtures/create_storage_extendedprop_error.xml
|
369
|
-
- test/fixtures/create_storage_extendedpropname_error.xml
|
370
|
-
- test/fixtures/create_storage_full_error.xml
|
371
|
-
- test/fixtures/create_storage_label_error.xml
|
372
|
-
- test/fixtures/create_storage_location_error.xml
|
373
|
-
- test/fixtures/create_storage_name_error.xml
|
374
|
-
- test/fixtures/create_table_response_entry.xml
|
375
|
-
- test/fixtures/delete_storage_container_error.xml
|
376
|
-
- test/fixtures/delete_storage_error.xml
|
377
|
-
- test/fixtures/deployment_error.xml
|
378
|
-
- test/fixtures/empty_xml_file
|
379
|
-
- test/fixtures/get_storage_account_error.xml
|
380
|
-
- test/fixtures/get_storage_account_properties.xml
|
381
|
-
- test/fixtures/get_storage_account_properties_new.xml
|
382
|
-
- test/fixtures/http_error.xml
|
383
|
-
- test/fixtures/insert_entity_response_entry.xml
|
384
|
-
- test/fixtures/list_affinity_groups.xml
|
385
|
-
- test/fixtures/list_blobs.xml
|
386
|
-
- test/fixtures/list_block_all_with_none_committed.xml
|
387
|
-
- test/fixtures/list_blocks_all.xml
|
388
|
-
- test/fixtures/list_blocks_committed.xml
|
389
|
-
- test/fixtures/list_cloud_services.xml
|
390
|
-
- test/fixtures/list_containers.xml
|
391
|
-
- test/fixtures/list_firewall_management_endpoint.xml
|
392
|
-
- test/fixtures/list_locations.xml
|
393
|
-
- test/fixtures/list_os_images.xml
|
394
|
-
- test/fixtures/list_page_ranges.xml
|
395
|
-
- test/fixtures/list_sql_database.xml
|
396
|
-
- test/fixtures/list_sql_server_firewall.xml
|
397
|
-
- test/fixtures/list_storage_account_single.xml
|
398
|
-
- test/fixtures/list_storage_accounts.xml
|
399
|
-
- test/fixtures/list_virtual_networks.xml
|
400
|
-
- test/fixtures/list_vm_images.xml
|
401
|
-
- test/fixtures/logging.xml
|
402
|
-
- test/fixtures/management_certificate.pem
|
403
|
-
- test/fixtures/management_certificate.pfx
|
404
|
-
- test/fixtures/management_certificate.publishsettings
|
405
|
-
- test/fixtures/messages.xml
|
406
|
-
- test/fixtures/metrics.xml
|
407
|
-
- test/fixtures/privatekey.key
|
408
|
-
- test/fixtures/query_entities_empty_response.xml
|
409
|
-
- test/fixtures/query_entities_response.xml
|
410
|
-
- test/fixtures/queue_service_properties.xml
|
411
|
-
- test/fixtures/queue_service_properties_original.xml
|
412
|
-
- test/fixtures/queues.xml
|
413
|
-
- test/fixtures/retention_policy.xml
|
414
|
-
- test/fixtures/sb_default_create_queue_response.xml
|
415
|
-
- test/fixtures/sb_default_create_relay_response.xml
|
416
|
-
- test/fixtures/sb_default_create_topic_response.xml
|
417
|
-
- test/fixtures/sb_get_access_token_response.txt
|
418
|
-
- test/fixtures/sb_queues_runtime_peek_message_response_headers.txt
|
419
|
-
- test/fixtures/storage_service_keys.xml
|
420
|
-
- test/fixtures/storage_service_properties.xml
|
421
|
-
- test/fixtures/update_storage_account.xml
|
422
|
-
- test/fixtures/update_storage_error.xml
|
423
|
-
- test/fixtures/updated_storage_accounts.xml
|
424
|
-
- test/fixtures/virtual_machine.xml
|
425
|
-
- test/fixtures/windows_virtual_machine.xml
|
426
|
-
- test/integration/affinity_group/Affinity_test.rb
|
427
|
-
- test/integration/affinity_group/Create_Affinity_test.rb
|
428
|
-
- test/integration/affinity_group/Delete_Affinity_test.rb
|
429
|
-
- test/integration/affinity_group/List_Affinity_test.rb
|
430
|
-
- test/integration/affinity_group/Update_Affinity_test.rb
|
431
|
-
- test/integration/blob/blob_gb18030_test.rb
|
432
|
-
- test/integration/blob/blob_metadata_test.rb
|
433
|
-
- test/integration/blob/blob_pages_test.rb
|
434
|
-
- test/integration/blob/blob_properties_test.rb
|
435
|
-
- test/integration/blob/block_blob_test.rb
|
436
|
-
- test/integration/blob/container/container_acl_test.rb
|
437
|
-
- test/integration/blob/container/container_metadata_test.rb
|
438
|
-
- test/integration/blob/container/create_container_test.rb
|
439
|
-
- test/integration/blob/container/delete_container_test.rb
|
440
|
-
- test/integration/blob/container/get_container_properties_test.rb
|
441
|
-
- test/integration/blob/container/list_containers_test.rb
|
442
|
-
- test/integration/blob/container/root_container_test.rb
|
443
|
-
- test/integration/blob/copy_blob_test.rb
|
444
|
-
- test/integration/blob/create_blob_snapshot_test.rb
|
445
|
-
- test/integration/blob/create_page_blob_test.rb
|
446
|
-
- test/integration/blob/delete_blob_test.rb
|
447
|
-
- test/integration/blob/get_blob_test.rb
|
448
|
-
- test/integration/blob/informative_errors_test.rb
|
449
|
-
- test/integration/blob/lease/acquire_lease_test.rb
|
450
|
-
- test/integration/blob/lease/break_lease_test.rb
|
451
|
-
- test/integration/blob/lease/release_lease_test.rb
|
452
|
-
- test/integration/blob/lease/renew_lease_test.rb
|
453
|
-
- test/integration/blob/list_blobs_test.rb
|
454
|
-
- test/integration/cloud_service/Cloud_Create_test.rb
|
455
|
-
- test/integration/cloud_service/Cloud_Delete_test.rb
|
456
|
-
- test/integration/database/create_sql_server_firewall_test.rb
|
457
|
-
- test/integration/database/create_sql_server_test.rb
|
458
|
-
- test/integration/database/delete_sql_server_firewall_test.rb
|
459
|
-
- test/integration/database/delete_sql_server_test.rb
|
460
|
-
- test/integration/database/list_sql_server_firewall_test.rb
|
461
|
-
- test/integration/database/list_sql_servers_test.rb
|
462
|
-
- test/integration/database/reset_password_sql_server_test.rb
|
463
|
-
- test/integration/location/Location_List_test.rb
|
464
|
-
- test/integration/location/RoleSize_List_test.rb
|
465
|
-
- test/integration/queue/clear_messages_test.rb
|
466
|
-
- test/integration/queue/create_message_test.rb
|
467
|
-
- test/integration/queue/create_queue_test.rb
|
468
|
-
- test/integration/queue/delete_message_test.rb
|
469
|
-
- test/integration/queue/delete_queue_test.rb
|
470
|
-
- test/integration/queue/informative_errors_test.rb
|
471
|
-
- test/integration/queue/list_messages_encoded_test.rb
|
472
|
-
- test/integration/queue/list_messages_test.rb
|
473
|
-
- test/integration/queue/list_queues_test.rb
|
474
|
-
- test/integration/queue/peek_messages_test.rb
|
475
|
-
- test/integration/queue/queue_gb18030_test.rb
|
476
|
-
- test/integration/queue/queue_metadata_test.rb
|
477
|
-
- test/integration/queue/update_message_test.rb
|
478
|
-
- test/integration/service_bus/informative_errors_test.rb
|
479
|
-
- test/integration/service_bus/queues_scenario_test.rb
|
480
|
-
- test/integration/service_bus/queues_test.rb
|
481
|
-
- test/integration/service_bus/relay_test.rb
|
482
|
-
- test/integration/service_bus/rules_test.rb
|
483
|
-
- test/integration/service_bus/sb_queue_gb18030_test.rb
|
484
|
-
- test/integration/service_bus/scenario_test.rb
|
485
|
-
- test/integration/service_bus/subscriptions_test.rb
|
486
|
-
- test/integration/service_bus/topics_scenario_test.rb
|
487
|
-
- test/integration/service_bus/topics_test.rb
|
488
|
-
- test/integration/storage_management/storage_management_test.rb
|
489
|
-
- test/integration/table/create_table_test.rb
|
490
|
-
- test/integration/table/delete_entity_batch_test.rb
|
491
|
-
- test/integration/table/delete_entity_test.rb
|
492
|
-
- test/integration/table/delete_table_test.rb
|
493
|
-
- test/integration/table/get_table_test.rb
|
494
|
-
- test/integration/table/informative_errors_test.rb
|
495
|
-
- test/integration/table/insert_entity_batch_test.rb
|
496
|
-
- test/integration/table/insert_entity_test.rb
|
497
|
-
- test/integration/table/insert_or_merge_entity_batch_test.rb
|
498
|
-
- test/integration/table/insert_or_merge_entity_test.rb
|
499
|
-
- test/integration/table/insert_or_replace_entity_batch_test.rb
|
500
|
-
- test/integration/table/insert_or_replace_entity_test.rb
|
501
|
-
- test/integration/table/merge_entity_batch_test.rb
|
502
|
-
- test/integration/table/merge_entity_test.rb
|
503
|
-
- test/integration/table/query_entities_test.rb
|
504
|
-
- test/integration/table/query_tables_test.rb
|
505
|
-
- test/integration/table/query_test.rb
|
506
|
-
- test/integration/table/table_acl_test.rb
|
507
|
-
- test/integration/table/table_gb18030_test.rb
|
508
|
-
- test/integration/table/update_entity_batch_test.rb
|
509
|
-
- test/integration/table/update_entity_test.rb
|
510
|
-
- test/integration/test_helper.rb
|
511
|
-
- test/integration/vm/VM_Create_test.rb
|
512
|
-
- test/integration/vm/VM_Delete_test.rb
|
513
|
-
- test/integration/vm/VM_Operations_test.rb
|
514
|
-
- test/integration/vm_image/virtual_machine_disk_test.rb
|
515
|
-
- test/integration/vm_image/virtual_machine_image_test.rb
|
516
|
-
- test/integration/vnet/Virtual_Network_Create_test.rb
|
517
|
-
- test/integration/vnet/Virtual_Network_list_test.rb
|
518
|
-
- test/support/env.rb
|
519
|
-
- test/support/fixtures.rb
|
520
|
-
- test/support/name_generator.rb
|
521
|
-
- test/support/stubs.rb
|
522
|
-
- test/support/virtual_machine_name_generator.rb
|
523
|
-
- test/support/virtual_network_helper.rb
|
524
|
-
- test/test_helper.rb
|
525
|
-
- test/unit/affinity_group/affinity_group_test.rb
|
526
|
-
- test/unit/affinity_group/serialization_test.rb
|
527
|
-
- test/unit/base_management/base_management_service_test.rb
|
528
|
-
- test/unit/base_management/location_test.rb
|
529
|
-
- test/unit/base_management/role_size_test.rb
|
530
|
-
- test/unit/blob/auth/shared_access_signature_test.rb
|
531
|
-
- test/unit/blob/blob_service_test.rb
|
532
|
-
- test/unit/cloud_service_management/cloud_service_management_service_test.rb
|
533
|
-
- test/unit/cloud_service_management/serialization_test.rb
|
534
|
-
- test/unit/config/azure_test.rb
|
535
|
-
- test/unit/config/client_test.rb
|
536
|
-
- test/unit/core/auth/shared_key_lite_test.rb
|
537
|
-
- test/unit/core/auth/shared_key_test.rb
|
538
|
-
- test/unit/core/auth/signer_test.rb
|
539
|
-
- test/unit/core/http/http_error_test.rb
|
540
|
-
- test/unit/core/http/http_request_test.rb
|
541
|
-
- test/unit/core/http/http_response_test.rb
|
542
|
-
- test/unit/core/http/retry_policy_test.rb
|
543
|
-
- test/unit/core/utility_test.rb
|
544
|
-
- test/unit/database/serialization_test.rb
|
545
|
-
- test/unit/database/sql_database_server_service_test.rb
|
546
|
-
- test/unit/http_client_test.rb
|
547
|
-
- test/unit/service/serialization_test.rb
|
548
|
-
- test/unit/service/storage_service_test.rb
|
549
|
-
- test/unit/storage_management/serialization_test.rb
|
550
|
-
- test/unit/storage_management/storage_management_service_test.rb
|
551
|
-
- test/unit/table/edmtype_test.rb
|
552
|
-
- test/unit/virtual_machine_image_management/serialization_test.rb
|
553
|
-
- test/unit/virtual_machine_image_management/virtual_machine_image_management_service_test.rb
|
554
|
-
- test/unit/virtual_machine_management/serialization_test.rb
|
555
|
-
- test/unit/virtual_machine_management/virtual_machine_management_service_test.rb
|
556
|
-
- test/unit/vnet/serialization_test.rb
|
557
|
-
- test/unit/vnet/virtual_network_management_service_test.rb
|
558
376
|
homepage: http://github.com/azure/azure-sdk-for-ruby
|
559
377
|
licenses:
|
560
378
|
- Apache License, Version 2.0
|
Binary file
|
@@ -1,33 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<AffinityGroup xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
|
3
|
-
<Name>AG1</Name>
|
4
|
-
<Label>QUcx\n==</Label>
|
5
|
-
<Description>First Affinity Group</Description>
|
6
|
-
<Location>West US</Location>
|
7
|
-
<HostedServices>
|
8
|
-
<HostedService>
|
9
|
-
<Url>https://management.core.windows.net/abcd/services/hostedservices/vnet-1</Url>
|
10
|
-
<ServiceName>vnet-1</ServiceName>
|
11
|
-
<HostedServiceProperties>
|
12
|
-
<Description i:nil="true"/>
|
13
|
-
<AffinityGroup>Test</AffinityGroup>
|
14
|
-
<Label>dm5ldC0x</Label>
|
15
|
-
<Status>Created</Status>
|
16
|
-
<DateCreated>2013-09-11T06:06:42Z</DateCreated>
|
17
|
-
<DateLastModified>2013-09-11T06:06:49Z</DateLastModified>
|
18
|
-
<ExtendedProperties/>
|
19
|
-
</HostedServiceProperties>
|
20
|
-
</HostedService>
|
21
|
-
</HostedServices>
|
22
|
-
<StorageServices>
|
23
|
-
<StorageService>
|
24
|
-
<Url>https://management.core.windows.net/abcd/services/storageservices/mystorageservice</Url>
|
25
|
-
<ServiceName>mystorageservice</ServiceName>
|
26
|
-
<ExtendedProperties/>
|
27
|
-
</StorageService>
|
28
|
-
</StorageServices>
|
29
|
-
<Capabilities>
|
30
|
-
<Capability>PersistentVMRole</Capability>
|
31
|
-
<Capability>HighMemory</Capability>
|
32
|
-
</Capabilities>
|
33
|
-
</AffinityGroup>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<EnumerationResults AccountName="http://myaccount.blob.core.windows.net">
|
3
|
-
<Prefix>string-value</Prefix>
|
4
|
-
<Marker>string-value</Marker>
|
5
|
-
<MaxResults>int-value</MaxResults>
|
6
|
-
<Containers>
|
7
|
-
<Container>
|
8
|
-
<Name>container-name</Name>
|
9
|
-
<Url>http://myaccount.blob.core.windows.net/container-name</Url>
|
10
|
-
<Properties>
|
11
|
-
<Last-Modified>date/time-value</Last-Modified>
|
12
|
-
<Etag>etag</Etag>
|
13
|
-
</Properties>
|
14
|
-
<Metadata>
|
15
|
-
<metadata-name>value</metadata-name>
|
16
|
-
</Metadata>
|
17
|
-
</Container>
|
18
|
-
</Containers>
|
19
|
-
<NextMarker>marker-value</NextMarker>
|
20
|
-
</EnumerationResults>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
2
|
-
<feed xml:base="http://myaccount.table.core.windows.net/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
|
3
|
-
<title type="text">Tables</title>
|
4
|
-
<id>http://myaccount.table.core.windows.net/Tables</id>
|
5
|
-
<updated>2009-01-04T17:18:54.7062347Z</updated>
|
6
|
-
<link rel="self" title="Tables" href="Tables" />
|
7
|
-
<entry>
|
8
|
-
<id>http://myaccount.table.core.windows.net/Tables('mytable')</id>
|
9
|
-
<title type="text"></title>
|
10
|
-
<updated>2009-01-04T17:18:54.7062347Z</updated>
|
11
|
-
<author>
|
12
|
-
<name />
|
13
|
-
</author>
|
14
|
-
<link rel="edit" title="Tables" href="Tables('mytable')" />
|
15
|
-
<category term="myaccount.Tables" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
|
16
|
-
<content type="application/xml">
|
17
|
-
<m:properties>
|
18
|
-
<d:TableName>mytable</d:TableName>
|
19
|
-
</m:properties>
|
20
|
-
</content>
|
21
|
-
</entry>
|
22
|
-
</feed>
|