azure 0.7.1 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +31 -0
  3. data/azure.gemspec +2 -1
  4. data/lib/azure.rb +1 -0
  5. data/lib/azure/base_management/management_http_request.rb +3 -12
  6. data/lib/azure/blob/auth/shared_access_signature.rb +4 -0
  7. data/lib/azure/blob/blob_service.rb +2 -2
  8. data/lib/azure/client_services.rb +13 -13
  9. data/lib/azure/core/http/http_request.rb +3 -14
  10. data/lib/azure/core/service.rb +2 -1
  11. data/lib/azure/http_client.rb +1 -17
  12. data/lib/azure/http_response_helper.rb +38 -0
  13. data/lib/azure/sql_database_management/serialization.rb +4 -0
  14. data/lib/azure/sql_database_management/sql_database_management_service.rb +10 -9
  15. data/lib/azure/version.rb +1 -1
  16. data/lib/azure/virtual_machine_image_management/virtual_machine_image_management_service.rb +2 -2
  17. data/lib/azure/virtual_machine_management/serialization.rb +21 -12
  18. data/lib/azure/virtual_machine_management/virtual_machine_management_service.rb +8 -3
  19. metadata +17 -199
  20. data/test/fixtures/32px-fulls-black.jpg +0 -0
  21. data/test/fixtures/affinity_group.xml +0 -33
  22. data/test/fixtures/all_containers.xml +0 -20
  23. data/test/fixtures/all_tables.xml +0 -22
  24. data/test/fixtures/container_acl.xml +0 -11
  25. data/test/fixtures/create_sql_database_server.xml +0 -2
  26. data/test/fixtures/create_storage_desc_error.xml +0 -5
  27. data/test/fixtures/create_storage_extendedprop_error.xml +0 -8
  28. data/test/fixtures/create_storage_extendedpropname_error.xml +0 -6
  29. data/test/fixtures/create_storage_full_error.xml +0 -6
  30. data/test/fixtures/create_storage_label_error.xml +0 -5
  31. data/test/fixtures/create_storage_location_error.xml +0 -5
  32. data/test/fixtures/create_storage_name_error.xml +0 -6
  33. data/test/fixtures/create_table_response_entry.xml +0 -15
  34. data/test/fixtures/delete_storage_container_error.xml +0 -5
  35. data/test/fixtures/delete_storage_error.xml +0 -5
  36. data/test/fixtures/deployment_error.xml +0 -5
  37. data/test/fixtures/empty_xml_file +0 -0
  38. data/test/fixtures/get_storage_account_error.xml +0 -5
  39. data/test/fixtures/get_storage_account_properties.xml +0 -34
  40. data/test/fixtures/get_storage_account_properties_new.xml +0 -32
  41. data/test/fixtures/http_error.xml +0 -5
  42. data/test/fixtures/insert_entity_response_entry.xml +0 -25
  43. data/test/fixtures/list_affinity_groups.xml +0 -22
  44. data/test/fixtures/list_blobs.xml +0 -121
  45. data/test/fixtures/list_block_all_with_none_committed.xml +0 -22
  46. data/test/fixtures/list_blocks_all.xml +0 -23
  47. data/test/fixtures/list_blocks_committed.xml +0 -13
  48. data/test/fixtures/list_cloud_services.xml +0 -39
  49. data/test/fixtures/list_containers.xml +0 -38
  50. data/test/fixtures/list_firewall_management_endpoint.xml +0 -27
  51. data/test/fixtures/list_locations.xml +0 -212
  52. data/test/fixtures/list_os_images.xml +0 -110
  53. data/test/fixtures/list_page_ranges.xml +0 -11
  54. data/test/fixtures/list_sql_database.xml +0 -24
  55. data/test/fixtures/list_sql_server_firewall.xml +0 -23
  56. data/test/fixtures/list_storage_account_single.xml +0 -25
  57. data/test/fixtures/list_storage_accounts.xml +0 -48
  58. data/test/fixtures/list_virtual_networks.xml +0 -91
  59. data/test/fixtures/list_vm_images.xml +0 -21
  60. data/test/fixtures/logging.xml +0 -11
  61. data/test/fixtures/management_certificate.pem +0 -55
  62. data/test/fixtures/management_certificate.pfx +0 -0
  63. data/test/fixtures/management_certificate.publishsettings +0 -12
  64. data/test/fixtures/messages.xml +0 -12
  65. data/test/fixtures/metrics.xml +0 -10
  66. data/test/fixtures/privatekey.key +0 -28
  67. data/test/fixtures/query_entities_empty_response.xml +0 -7
  68. data/test/fixtures/query_entities_response.xml +0 -45
  69. data/test/fixtures/queue_service_properties.xml +0 -22
  70. data/test/fixtures/queue_service_properties_original.xml +0 -19
  71. data/test/fixtures/queues.xml +0 -16
  72. data/test/fixtures/retention_policy.xml +0 -5
  73. data/test/fixtures/sb_default_create_queue_response.xml +0 -23
  74. data/test/fixtures/sb_default_create_relay_response.xml +0 -15
  75. data/test/fixtures/sb_default_create_topic_response.xml +0 -18
  76. data/test/fixtures/sb_get_access_token_response.txt +0 -1
  77. data/test/fixtures/sb_queues_runtime_peek_message_response_headers.txt +0 -9
  78. data/test/fixtures/storage_service_keys.xml +0 -8
  79. data/test/fixtures/storage_service_properties.xml +0 -55
  80. data/test/fixtures/update_storage_account.xml +0 -16
  81. data/test/fixtures/update_storage_error.xml +0 -5
  82. data/test/fixtures/updated_storage_accounts.xml +0 -55
  83. data/test/fixtures/virtual_machine.xml +0 -116
  84. data/test/fixtures/windows_virtual_machine.xml +0 -106
  85. data/test/integration/affinity_group/Affinity_test.rb +0 -55
  86. data/test/integration/affinity_group/Create_Affinity_test.rb +0 -64
  87. data/test/integration/affinity_group/Delete_Affinity_test.rb +0 -56
  88. data/test/integration/affinity_group/List_Affinity_test.rb +0 -41
  89. data/test/integration/affinity_group/Update_Affinity_test.rb +0 -87
  90. data/test/integration/blob/blob_gb18030_test.rb +0 -199
  91. data/test/integration/blob/blob_metadata_test.rb +0 -75
  92. data/test/integration/blob/blob_pages_test.rb +0 -119
  93. data/test/integration/blob/blob_properties_test.rb +0 -77
  94. data/test/integration/blob/block_blob_test.rb +0 -303
  95. data/test/integration/blob/container/container_acl_test.rb +0 -69
  96. data/test/integration/blob/container/container_metadata_test.rb +0 -50
  97. data/test/integration/blob/container/create_container_test.rb +0 -60
  98. data/test/integration/blob/container/delete_container_test.rb +0 -39
  99. data/test/integration/blob/container/get_container_properties_test.rb +0 -48
  100. data/test/integration/blob/container/list_containers_test.rb +0 -79
  101. data/test/integration/blob/container/root_container_test.rb +0 -55
  102. data/test/integration/blob/copy_blob_test.rb +0 -113
  103. data/test/integration/blob/create_blob_snapshot_test.rb +0 -80
  104. data/test/integration/blob/create_page_blob_test.rb +0 -83
  105. data/test/integration/blob/delete_blob_test.rb +0 -159
  106. data/test/integration/blob/get_blob_test.rb +0 -65
  107. data/test/integration/blob/informative_errors_test.rb +0 -39
  108. data/test/integration/blob/lease/acquire_lease_test.rb +0 -36
  109. data/test/integration/blob/lease/break_lease_test.rb +0 -40
  110. data/test/integration/blob/lease/release_lease_test.rb +0 -40
  111. data/test/integration/blob/lease/renew_lease_test.rb +0 -42
  112. data/test/integration/blob/list_blobs_test.rb +0 -113
  113. data/test/integration/cloud_service/Cloud_Create_test.rb +0 -45
  114. data/test/integration/cloud_service/Cloud_Delete_test.rb +0 -45
  115. data/test/integration/database/create_sql_server_firewall_test.rb +0 -81
  116. data/test/integration/database/create_sql_server_test.rb +0 -53
  117. data/test/integration/database/delete_sql_server_firewall_test.rb +0 -63
  118. data/test/integration/database/delete_sql_server_test.rb +0 -44
  119. data/test/integration/database/list_sql_server_firewall_test.rb +0 -44
  120. data/test/integration/database/list_sql_servers_test.rb +0 -44
  121. data/test/integration/database/reset_password_sql_server_test.rb +0 -53
  122. data/test/integration/location/Location_List_test.rb +0 -38
  123. data/test/integration/location/RoleSize_List_test.rb +0 -34
  124. data/test/integration/queue/clear_messages_test.rb +0 -42
  125. data/test/integration/queue/create_message_test.rb +0 -75
  126. data/test/integration/queue/create_queue_test.rb +0 -50
  127. data/test/integration/queue/delete_message_test.rb +0 -67
  128. data/test/integration/queue/delete_queue_test.rb +0 -45
  129. data/test/integration/queue/informative_errors_test.rb +0 -42
  130. data/test/integration/queue/list_messages_encoded_test.rb +0 -79
  131. data/test/integration/queue/list_messages_test.rb +0 -79
  132. data/test/integration/queue/list_queues_test.rb +0 -43
  133. data/test/integration/queue/peek_messages_test.rb +0 -59
  134. data/test/integration/queue/queue_gb18030_test.rb +0 -131
  135. data/test/integration/queue/queue_metadata_test.rb +0 -40
  136. data/test/integration/queue/update_message_test.rb +0 -74
  137. data/test/integration/service_bus/informative_errors_test.rb +0 -37
  138. data/test/integration/service_bus/queues_scenario_test.rb +0 -200
  139. data/test/integration/service_bus/queues_test.rb +0 -266
  140. data/test/integration/service_bus/relay_test.rb +0 -132
  141. data/test/integration/service_bus/rules_test.rb +0 -145
  142. data/test/integration/service_bus/sb_queue_gb18030_test.rb +0 -182
  143. data/test/integration/service_bus/scenario_test.rb +0 -101
  144. data/test/integration/service_bus/subscriptions_test.rb +0 -211
  145. data/test/integration/service_bus/topics_scenario_test.rb +0 -406
  146. data/test/integration/service_bus/topics_test.rb +0 -129
  147. data/test/integration/storage_management/storage_management_test.rb +0 -185
  148. data/test/integration/table/create_table_test.rb +0 -36
  149. data/test/integration/table/delete_entity_batch_test.rb +0 -107
  150. data/test/integration/table/delete_entity_test.rb +0 -94
  151. data/test/integration/table/delete_table_test.rb +0 -40
  152. data/test/integration/table/get_table_test.rb +0 -37
  153. data/test/integration/table/informative_errors_test.rb +0 -39
  154. data/test/integration/table/insert_entity_batch_test.rb +0 -100
  155. data/test/integration/table/insert_entity_test.rb +0 -88
  156. data/test/integration/table/insert_or_merge_entity_batch_test.rb +0 -159
  157. data/test/integration/table/insert_or_merge_entity_test.rb +0 -143
  158. data/test/integration/table/insert_or_replace_entity_batch_test.rb +0 -152
  159. data/test/integration/table/insert_or_replace_entity_test.rb +0 -137
  160. data/test/integration/table/merge_entity_batch_test.rb +0 -128
  161. data/test/integration/table/merge_entity_test.rb +0 -113
  162. data/test/integration/table/query_entities_test.rb +0 -196
  163. data/test/integration/table/query_tables_test.rb +0 -43
  164. data/test/integration/table/query_test.rb +0 -251
  165. data/test/integration/table/table_acl_test.rb +0 -52
  166. data/test/integration/table/table_gb18030_test.rb +0 -355
  167. data/test/integration/table/update_entity_batch_test.rb +0 -149
  168. data/test/integration/table/update_entity_test.rb +0 -131
  169. data/test/integration/test_helper.rb +0 -40
  170. data/test/integration/vm/VM_Create_test.rb +0 -262
  171. data/test/integration/vm/VM_Delete_test.rb +0 -53
  172. data/test/integration/vm/VM_Operations_test.rb +0 -172
  173. data/test/integration/vm_image/virtual_machine_disk_test.rb +0 -37
  174. data/test/integration/vm_image/virtual_machine_image_test.rb +0 -37
  175. data/test/integration/vnet/Virtual_Network_Create_test.rb +0 -116
  176. data/test/integration/vnet/Virtual_Network_list_test.rb +0 -48
  177. data/test/support/env.rb +0 -19
  178. data/test/support/fixtures.rb +0 -36
  179. data/test/support/name_generator.rb +0 -168
  180. data/test/support/stubs.rb +0 -42
  181. data/test/support/virtual_machine_name_generator.rb +0 -102
  182. data/test/support/virtual_network_helper.rb +0 -73
  183. data/test/test_helper.rb +0 -47
  184. data/test/unit/affinity_group/affinity_group_test.rb +0 -189
  185. data/test/unit/affinity_group/serialization_test.rb +0 -87
  186. data/test/unit/base_management/base_management_service_test.rb +0 -19
  187. data/test/unit/base_management/location_test.rb +0 -56
  188. data/test/unit/base_management/role_size_test.rb +0 -50
  189. data/test/unit/blob/auth/shared_access_signature_test.rb +0 -71
  190. data/test/unit/blob/blob_service_test.rb +0 -1970
  191. data/test/unit/cloud_service_management/cloud_service_management_service_test.rb +0 -94
  192. data/test/unit/cloud_service_management/serialization_test.rb +0 -169
  193. data/test/unit/config/azure_test.rb +0 -131
  194. data/test/unit/config/client_test.rb +0 -37
  195. data/test/unit/core/auth/shared_key_lite_test.rb +0 -51
  196. data/test/unit/core/auth/shared_key_test.rb +0 -58
  197. data/test/unit/core/auth/signer_test.rb +0 -30
  198. data/test/unit/core/http/http_error_test.rb +0 -61
  199. data/test/unit/core/http/http_request_test.rb +0 -138
  200. data/test/unit/core/http/http_response_test.rb +0 -20
  201. data/test/unit/core/http/retry_policy_test.rb +0 -23
  202. data/test/unit/core/utility_test.rb +0 -122
  203. data/test/unit/database/serialization_test.rb +0 -94
  204. data/test/unit/database/sql_database_server_service_test.rb +0 -341
  205. data/test/unit/http_client_test.rb +0 -74
  206. data/test/unit/service/serialization_test.rb +0 -533
  207. data/test/unit/service/storage_service_test.rb +0 -297
  208. data/test/unit/storage_management/serialization_test.rb +0 -244
  209. data/test/unit/storage_management/storage_management_service_test.rb +0 -247
  210. data/test/unit/table/edmtype_test.rb +0 -108
  211. data/test/unit/virtual_machine_image_management/serialization_test.rb +0 -50
  212. data/test/unit/virtual_machine_image_management/virtual_machine_image_management_service_test.rb +0 -114
  213. data/test/unit/virtual_machine_management/serialization_test.rb +0 -316
  214. data/test/unit/virtual_machine_management/virtual_machine_management_service_test.rb +0 -480
  215. data/test/unit/vnet/serialization_test.rb +0 -187
  216. data/test/unit/vnet/virtual_network_management_service_test.rb +0 -131
@@ -17,7 +17,7 @@ module Azure
17
17
  class Version
18
18
  MAJOR = 0 unless defined? MAJOR
19
19
  MINOR = 7 unless defined? MINOR
20
- UPDATE = 1 unless defined? UPDATE
20
+ UPDATE = 3 unless defined? UPDATE
21
21
  PRE = nil unless defined? PRE
22
22
 
23
23
  class << self
@@ -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
- tcp_endpoints_to_xml(
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.tcp_endpoints_to_xml(xml, tcp_endpoints, existing_ports = [])
235
+ def self.specified_endpoints_to_xml(xml, protocol, specified_endpoints, existing_ports = [])
228
236
  endpoints = []
237
+ protocol_up = protocol.upcase
229
238
 
230
- tcp_endpoints.split(',').each do |endpoint|
239
+ specified_endpoints.split(',').each do |endpoint|
231
240
  ports = endpoint.split(':')
232
- tcp_ep = {}
241
+ specified_ep = {}
233
242
 
234
243
  if ports.length > 1
235
244
  port_already_opened?(existing_ports, ports[1])
236
245
 
237
- tcp_ep[:name] = "TCP-PORT-#{ports[1]}"
238
- tcp_ep[:public_port] = ports[1]
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
- tcp_ep[:name] = "TCP-PORT-#{ports[0]}"
243
- tcp_ep[:public_port] = ports[0]
251
+ specified_ep[:name] = "#{protocol_up}-PORT-#{ports[0]}"
252
+ specified_ep[:public_port] = ports[0]
244
253
  end
245
254
 
246
- tcp_ep[:local_port] = ports[0]
247
- tcp_ep[:protocol] = 'TCP'
255
+ specified_ep[:local_port] = ports[0]
256
+ specified_ep[:protocol] = protocol_up
248
257
 
249
- endpoints << tcp_ep
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+ - String. Virtual machine 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.1
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: 2015-10-06 00:00:00.000000000 Z
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
@@ -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>