azure 0.7.1 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,5 +0,0 @@
1
- <?xml version="1.0"?>
2
- <RetentionPolicy>
3
- <Enabled>true</Enabled>
4
- <Days>7</Days>
5
- </RetentionPolicy>
@@ -1,23 +0,0 @@
1
- <entry xmlns="http://www.w3.org/2005/Atom">
2
- <id>https://gmonfort.servicebus.windows.net/gfyhfiwdqg</id>
3
- <title type="text">gfyhfiwdqg</title>
4
- <published>2012-06-06T05:00:06Z</published>
5
- <updated>2012-06-06T05:00:06Z</updated>
6
- <author><name>gmonfort</name></author>
7
- <link rel="self" href="https://gmonfort.servicebus.windows.net/gfyhfiwdqg"/>
8
- <content type="application/xml">
9
- <QueueDescription xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
10
- <LockDuration>PT1M</LockDuration>
11
- <MaxSizeInMegabytes>1024</MaxSizeInMegabytes>
12
- <RequiresDuplicateDetection>false</RequiresDuplicateDetection>
13
- <RequiresSession>false</RequiresSession>
14
- <DefaultMessageTimeToLive>P10675199DT2H48M5.4775807S</DefaultMessageTimeToLive>
15
- <DeadLetteringOnMessageExpiration>false</DeadLetteringOnMessageExpiration>
16
- <DuplicateDetectionHistoryTimeWindow>PT10M</DuplicateDetectionHistoryTimeWindow>
17
- <MaxDeliveryCount>10</MaxDeliveryCount>
18
- <EnableBatchedOperations>true</EnableBatchedOperations>
19
- <SizeInBytes>0</SizeInBytes>
20
- <MessageCount>0</MessageCount>
21
- </QueueDescription>
22
- </content>
23
- </entry>
@@ -1,15 +0,0 @@
1
- <entry xmlns="http://www.w3.org/2005/Atom">
2
- <id>https://gmonfort.servicebus.windows.net/gfyhfiwdqger</id>
3
- <title type="text">gfyhfiwdqger</title>
4
- <published>2012-06-06T05:00:06Z</published>
5
- <updated>2012-06-06T05:00:06Z</updated>
6
- <author><name>gmonfort</name></author>
7
- <link rel="self" href="https://gmonfort.servicebus.windows.net/gfyhfiwdqg"/>
8
- <content type="application/xml">
9
- <RelayDescription xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
10
- <RelayType>Http</RelayType>
11
- <RequiresClientAuthorization>true</RequiresClientAuthorization>
12
- <RequiresTransportSecurity>true</RequiresTransportSecurity>
13
- </RelayDescription>
14
- </content>
15
- </entry>
@@ -1,18 +0,0 @@
1
- <entry xmlns="http://www.w3.org/2005/Atom">
2
- <id>https://gmonfort.servicebus.windows.net/htsjvyukon</id>
3
- <title type="text">htsjvyukon</title>
4
- <published>2012-06-07T19:49:00Z</published>
5
- <updated>2012-06-07T19:49:01Z</updated>
6
- <author><name>gmonfort</name></author>
7
- <link rel="self" href="https://gmonfort.servicebus.windows.net/htsjvyukon"/>
8
- <content type="application/xml">
9
- <TopicDescription xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
10
- <DefaultMessageTimeToLive>P10675199DT2H48M5.4775807S</DefaultMessageTimeToLive>
11
- <MaxSizeInMegabytes>1024</MaxSizeInMegabytes>
12
- <RequiresDuplicateDetection>false</RequiresDuplicateDetection>
13
- <DuplicateDetectionHistoryTimeWindow>PT10M</DuplicateDetectionHistoryTimeWindow>
14
- <EnableBatchedOperations>true</EnableBatchedOperations>
15
- <SizeInBytes>0</SizeInBytes>
16
- </TopicDescription>
17
- </content>
18
- </entry>
@@ -1 +0,0 @@
1
- wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSend%26http%253a%252f%252fschemas.microsoft.com%252faccesscontrolservice%252f2010%252f07%252fclaims%252fidentityprovider%3dhttps%253a%252f%252fgmonfort-sb.accesscontrol.windows.net%252f%26Audience%3dhttp%253a%252f%252fgmonfort.servicebus.windows.net%252f%2524Resources%252fQueues%26ExpiresOn%3d1338862002%26Issuer%3dhttps%253a%252f%252fgmonfort-sb.accesscontrol.windows.net%252f%26HMACSHA256%3dCFydD48JENdtcaha7TAcH8X4jXRKgFW6X7sRfbbrWBE%253d&wrap_access_token_expires_in=1199
@@ -1,9 +0,0 @@
1
- {
2
- "transfer-encoding" => "chunked",
3
- "content-type" => "text/plain",
4
- "location" => "https://gmonfort.servicebus.windows.net/fgdutifgta/messages/1/670b782c-7dff-4ac1-9858-fa412a66f9b0",
5
- "server" => "Microsoft-HTTPAPI/2.0",
6
- "brokerproperties" => '"DeliveryCount":1,"LockToken":"670b782c-7dff-4ac1-9858-fa412a66f9b0","LockedUntilUtc":"Tue, 12 Jun 2012 07:25:45 GMT","MessageId":"383598482f704d87bee3ea26a92b9ac0","SequenceNumber":1,"TimeToLive":922337203685.47754,"To":"yo"}',
7
- "date" => "Tue, 12 Jun 2012 07:24:45 GMT",
8
- "connection" => "close"
9
- }
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <StorageService>
3
- <Url>https://management.core.windows.net/268a3762-fce0-4cd3-a4ea-80e84bddff87/services/storageservices/mystorageaccount</Url>
4
- <StorageServiceKeys>
5
- <Primary>NUDgoUeopv3eacgEQYhLlPCq751UBzcfn9AR3YWHXJu4m+A==</Primary>
6
- <Secondary>7M+cT1mt4YqJ7mQ5bK+/MZwk1tdwaKKivA0hg==</Secondary>
7
- </StorageServiceKeys>
8
- </StorageService>
@@ -1,55 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <StorageServiceProperties>
3
- <DefaultServiceVersion>2011-08-18</DefaultServiceVersion>
4
- <Logging>
5
- <Version>1.0</Version>
6
- <Delete>true</Delete>
7
- <Read>false</Read>
8
- <Write>true</Write>
9
- <RetentionPolicy>
10
- <Enabled>true</Enabled>
11
- <Days>7</Days>
12
- </RetentionPolicy>
13
- </Logging>
14
- <HourMetrics>
15
- <Version>1.0</Version>
16
- <Enabled>true</Enabled>
17
- <IncludeAPIs>false</IncludeAPIs>
18
- <RetentionPolicy>
19
- <Enabled>true</Enabled>
20
- <Days>7</Days>
21
- </RetentionPolicy>
22
- </HourMetrics>
23
- <MinuteMetrics>
24
- <Version>1.0</Version>
25
- <Enabled>true</Enabled>
26
- <IncludeAPIs>false</IncludeAPIs>
27
- <RetentionPolicy>
28
- <Enabled>true</Enabled>
29
- <Days>7</Days>
30
- </RetentionPolicy>
31
- </MinuteMetrics>
32
- <Cors>
33
- <CorsRule>
34
- <AllowedOrigins>http://www.contoso.com,http://dummy.uri</AllowedOrigins>
35
- <AllowedMethods>PUT,HEAD</AllowedMethods>
36
- <MaxAgeInSeconds>5</MaxAgeInSeconds>
37
- <ExposedHeaders>x-ms-*</ExposedHeaders>
38
- <AllowedHeaders>x-ms-blob-content-type,x-ms-blob-content-disposition</AllowedHeaders>
39
- </CorsRule>
40
- <CorsRule>
41
- <AllowedOrigins>*</AllowedOrigins>
42
- <AllowedMethods>PUT,GET</AllowedMethods>
43
- <MaxAgeInSeconds>5</MaxAgeInSeconds>
44
- <ExposedHeaders>x-ms-*</ExposedHeaders>
45
- <AllowedHeaders>x-ms-blob-content-type,x-ms-blob-content-disposition</AllowedHeaders>
46
- </CorsRule>
47
- <CorsRule>
48
- <AllowedOrigins>http://www.contoso.com</AllowedOrigins>
49
- <AllowedMethods>GET</AllowedMethods>
50
- <MaxAgeInSeconds>5</MaxAgeInSeconds>
51
- <ExposedHeaders>x-ms-*</ExposedHeaders>
52
- <AllowedHeaders>x-ms-client-request-id</AllowedHeaders>
53
- </CorsRule>
54
- </Cors>
55
- </StorageServiceProperties>
@@ -1,16 +0,0 @@
1
- <?xml version="1.0"?>
2
- <UpdateStorageServiceInput xmlns="http://schemas.microsoft.com/windowsazure">
3
- <Label>VGVzdCBMYWJlbA==
4
- </Label>
5
- <GeoReplicationEnabled>false</GeoReplicationEnabled>
6
- <ExtendedProperties>
7
- <ExtendedProperty>
8
- <Name>prop_1_name</Name>
9
- <Value>prop_1_value</Value>
10
- </ExtendedProperty>
11
- <ExtendedProperty>
12
- <Name>prop_2_name</Name>
13
- <Value>prop_2_value</Value>
14
- </ExtendedProperty>
15
- </ExtendedProperties>
16
- </UpdateStorageServiceInput>
@@ -1,5 +0,0 @@
1
- <?xml version="1.0"?>
2
- <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
3
- <Code>InvalidXmlRequest</Code>
4
- <Message>The request body's XML was invalid or not correctly specified.</Message>
5
- </Error>
@@ -1,55 +0,0 @@
1
- <?xml version="1.0"?>
2
- <StorageServices xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
3
- <StorageService>
4
- <Url>https://management.core.windows.net/268a3762-abcd-4cd3-a4ea-80e84bddff87/services/storageservices/storage1</Url>
5
- <ServiceName>storage1</ServiceName>
6
- <StorageServiceProperties>
7
- <Description i:nil="true"/>
8
- <Location>West US</Location>
9
- <Label>c3VzZQ==</Label>
10
- <Status>Created</Status>
11
- <Endpoints>
12
- <Endpoint>http://storage1.blob.core.windows.net/</Endpoint>
13
- <Endpoint>http://storage1.queue.core.windows.net/</Endpoint>
14
- <Endpoint>http://storage1.table.core.windows.net/</Endpoint>
15
- </Endpoints>
16
- <GeoReplicationEnabled>true</GeoReplicationEnabled>
17
- <GeoPrimaryRegion>West US</GeoPrimaryRegion>
18
- <StatusOfPrimary/>
19
- <GeoSecondaryRegion>East US</GeoSecondaryRegion>
20
- <StatusOfSecondary/>
21
- <AccountType>Standard_GRS</AccountType>
22
- </StorageServiceProperties>
23
- <ExtendedProperties/>
24
- </StorageService>
25
- <StorageService>
26
- <Url>https://management.core.windows.net/268a3762-abcd-4cd3-a4ea-80e84bddff87/services/storageservices/storage2</Url>
27
- <ServiceName>storage2</ServiceName>
28
- <StorageServiceProperties>
29
- <Location>West US</Location>
30
- <Label>VGVzdCBMYWJlbA==</Label>
31
- <Status>Created</Status>
32
- <Endpoints>
33
- <Endpoint>http://storage2.blob.core.windows.net/</Endpoint>
34
- <Endpoint>http://storage2.queue.core.windows.net/</Endpoint>
35
- <Endpoint>http://storage2.table.core.windows.net/</Endpoint>
36
- </Endpoints>
37
- <GeoReplicationEnabled>false</GeoReplicationEnabled>
38
- <GeoPrimaryRegion>West US</GeoPrimaryRegion>
39
- <StatusOfPrimary/>
40
- <GeoSecondaryRegion>East US</GeoSecondaryRegion>
41
- <StatusOfSecondary/>
42
- <AccountType>Standard_GRS</AccountType>
43
- </StorageServiceProperties>
44
- <ExtendedProperties>
45
- <ExtendedProperty>
46
- <Name>prop_1_name</Name>
47
- <Value>prop_1_value</Value>
48
- </ExtendedProperty>
49
- <ExtendedProperty>
50
- <Name>prop_2_name</Name>
51
- <Value>prop_2_value</Value>
52
- </ExtendedProperty>
53
- </ExtendedProperties>
54
- </StorageService>
55
- </StorageServices>
@@ -1,116 +0,0 @@
1
- <?xml version="1.0"?>
2
- <Deployment xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
3
- <Name>deployment-name</Name>
4
- <DeploymentSlot>Production</DeploymentSlot>
5
- <PrivateID>9f30f91509484fc1909a48ada256eb4a</PrivateID>
6
- <Status>Running</Status>
7
- <Label>Y21GdWFtRnVaZz09</Label>
8
- <Url>http://instance-name.cloudapp.net/</Url>
9
- <Configuration>PFNlcnZpY2VDb25maWd1cmF0aW9uIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2h
10
- lbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL1NlcnZpY2VIb3N0aW5nLzIwMDgvMTAvU2VydmljZUNvbmZpZ3VyYXRpb24iPg0KICA8Um9sZSBuYW1lPSJkZWxldGUtbm9
11
- kZS1mYWNlNSI+DQogICAgPEluc3RhbmNlcyBjb3VudD0iMSIgLz4NCiAgPC9Sb2xlPg0KPC9TZXJ2aWNlQ29uZmlndXJhdGlvbj4=</Configuration>
12
- <RoleInstanceList>
13
- <RoleInstance>
14
- <RoleName>instance-name</RoleName>
15
- <InstanceName>instance-name</InstanceName>
16
- <InstanceStatus>ReadyRole</InstanceStatus>
17
- <InstanceUpgradeDomain>0</InstanceUpgradeDomain>
18
- <InstanceFaultDomain>0</InstanceFaultDomain>
19
- <InstanceSize>Small</InstanceSize>
20
- <InstanceStateDetails/>
21
- <IpAddress>100.65.164.123</IpAddress>
22
- <InstanceEndpoints>
23
- <InstanceEndpoint>
24
- <Name>SSH</Name>
25
- <Vip>137.116.17.187</Vip>
26
- <PublicPort>22</PublicPort>
27
- <LocalPort>22</LocalPort>
28
- <Protocol>tcp</Protocol>
29
- </InstanceEndpoint>
30
- <InstanceEndpoint>
31
- <Name>tcp-port-3889</Name>
32
- <Vip>137.116.17.187</Vip>
33
- <PublicPort>3889</PublicPort>
34
- <LocalPort>3889</LocalPort>
35
- <Protocol>tcp</Protocol>
36
- </InstanceEndpoint>
37
- <InstanceEndpoint>
38
- <Name>tcp-port-80</Name>
39
- <Vip>137.116.17.187</Vip>
40
- <PublicPort>80</PublicPort>
41
- <LocalPort>80</LocalPort>
42
- <Protocol>tcp</Protocol>
43
- </InstanceEndpoint>
44
- </InstanceEndpoints>
45
- <PowerState>Started</PowerState>
46
- <HostName>host-name</HostName>
47
- </RoleInstance>
48
- </RoleInstanceList>
49
- <UpgradeDomainCount>1</UpgradeDomainCount>
50
- <RoleList>
51
- <Role i:type="PersistentVMRole">
52
- <RoleName>instance-name</RoleName>
53
- <OsVersion/>
54
- <RoleType>PersistentVMRole</RoleType>
55
- <ConfigurationSets>
56
- <ConfigurationSet i:type="NetworkConfigurationSet">
57
- <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
58
- <InputEndpoints>
59
- <InputEndpoint>
60
- <LocalPort>22</LocalPort>
61
- <Name>SSH</Name>
62
- <Port>22</Port>
63
- <Protocol>tcp</Protocol>
64
- <Vip>137.116.17.187</Vip>
65
- </InputEndpoint>
66
- <InputEndpoint>
67
- <LocalPort>3889</LocalPort>
68
- <Name>tcp-port-3889</Name>
69
- <Port>3889</Port>
70
- <Protocol>tcp</Protocol>
71
- <Vip>137.116.17.187</Vip>
72
- </InputEndpoint>
73
- <InputEndpoint>
74
- <LocalPort>80</LocalPort>
75
- <Name>tcp-port-80</Name>
76
- <Port>80</Port>
77
- <Protocol>tcp</Protocol>
78
- <Vip>137.117.17.187</Vip>
79
- </InputEndpoint>
80
- </InputEndpoints>
81
- <SubnetNames>
82
- <SubnetName>test-subnet</SubnetName>
83
- </SubnetNames>
84
- <StaticVirtualNetworkIPAddress>100.65.164.123</StaticVirtualNetworkIPAddress>
85
- </ConfigurationSet>
86
- </ConfigurationSets>
87
- <AvailabilitySetName>vm-availability</AvailabilitySetName>
88
- <DataVirtualHardDisks/>
89
- <OSVirtualHardDisk>
90
- <HostCaching>ReadWrite</HostCaching>
91
- <DiskName>disk-name-0-201304290612030573</DiskName>
92
- <MediaLink>http://suse.blob.core.windows.net/vhds/disk_2013_04_29_11_41.vhd</MediaLink>
93
- <SourceImageName>5112500ae3b842c8b9c604889f8753c3__OpenLogic-CentOS-63APR20130415</SourceImageName>
94
- <OS>Linux</OS>
95
- </OSVirtualHardDisk>
96
- <RoleSize>Small</RoleSize>
97
- </Role>
98
- </RoleList>
99
- <SdkVersion/>
100
- <Locked>false</Locked>
101
- <RollbackAllowed>false</RollbackAllowed>
102
- <VirtualNetworkName>test-virtual-network</VirtualNetworkName>
103
- <CreatedTime>2013-04-29T06:12:01Z</CreatedTime>
104
- <LastModifiedTime>2013-04-29T10:45:19Z</LastModifiedTime>
105
- <ExtendedProperties/>
106
- <PersistentVMDowntime>
107
- <StartTime>2013-04-11T08:00:00Z</StartTime>
108
- <EndTime>2013-04-13T08:00:00Z</EndTime>
109
- <Status>PersistentVMUpdateCompleted</Status>
110
- </PersistentVMDowntime>
111
- <VirtualIPs>
112
- <VirtualIP>
113
- <Address>137.116.17.187</Address>
114
- </VirtualIP>
115
- </VirtualIPs>
116
- </Deployment>
@@ -1,106 +0,0 @@
1
- <?xml version="1.0"?>
2
- <Deployment xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
3
- <Name>deployment-name</Name>
4
- <DeploymentSlot>Production</DeploymentSlot>
5
- <PrivateID>9f30f91509484fc1909a48ada256eb4a</PrivateID>
6
- <Status>Running</Status>
7
- <Label>Y21GdWFtRnVaZz09</Label>
8
- <Url>http://instance-name.cloudapp.net/</Url>
9
- <Configuration>PFNlcnZpY2VDb25maWd1cmF0aW9uIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2h
10
- lbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL1NlcnZpY2VIb3N0aW5nLzIwMDgvMTAvU2VydmljZUNvbmZpZ3VyYXRpb24iPg0KICA8Um9sZSBuYW1lPSJkZWxldGUtbm9
11
- kZS1mYWNlNSI+DQogICAgPEluc3RhbmNlcyBjb3VudD0iMSIgLz4NCiAgPC9Sb2xlPg0KPC9TZXJ2aWNlQ29uZmlndXJhdGlvbj4=</Configuration>
12
- <RoleInstanceList>
13
- <RoleInstance>
14
- <RoleName>windows-instance</RoleName>
15
- <InstanceName>windows-instance</InstanceName>
16
- <InstanceStatus>ReadyRole</InstanceStatus>
17
- <InstanceUpgradeDomain>0</InstanceUpgradeDomain>
18
- <InstanceFaultDomain>0</InstanceFaultDomain>
19
- <InstanceSize>Small</InstanceSize>
20
- <InstanceStateDetails/>
21
- <IpAddress>100.65.164.123</IpAddress>
22
- <InstanceEndpoints>
23
- <InstanceEndpoint>
24
- <Name>WINRM-HTTP</Name>
25
- <Vip>137.116.17.187</Vip>
26
- <PublicPort>5985</PublicPort>
27
- <LocalPort>5985</LocalPort>
28
- <Protocol>tcp</Protocol>
29
- </InstanceEndpoint>
30
- <InstanceEndpoint>
31
- <Name>tcp-port-3889</Name>
32
- <Vip>137.116.17.187</Vip>
33
- <PublicPort>3889</PublicPort>
34
- <LocalPort>3889</LocalPort>
35
- <Protocol>tcp</Protocol>
36
- </InstanceEndpoint>
37
- <InstanceEndpoint>
38
- <Name>tcp-port-80</Name>
39
- <Vip>137.116.17.187</Vip>
40
- <PublicPort>80</PublicPort>
41
- <LocalPort>80</LocalPort>
42
- <Protocol>tcp</Protocol>
43
- </InstanceEndpoint>
44
- </InstanceEndpoints>
45
- <PowerState>Started</PowerState>
46
- <HostName>host-name</HostName>
47
- </RoleInstance>
48
- </RoleInstanceList>
49
- <UpgradeDomainCount>1</UpgradeDomainCount>
50
- <RoleList>
51
- <Role i:type="PersistentVMRole">
52
- <RoleName>instance-name</RoleName>
53
- <OsVersion/>
54
- <RoleType>PersistentVMRole</RoleType>
55
- <ConfigurationSets>
56
- <ConfigurationSet i:type="NetworkConfigurationSet">
57
- <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
58
- <InputEndpoints>
59
- <InputEndpoint>
60
- <LocalPort>22</LocalPort>
61
- <Name>SSH</Name>
62
- <Port>22</Port>
63
- <Protocol>tcp</Protocol>
64
- <Vip>137.116.17.187</Vip>
65
- </InputEndpoint>
66
- <InputEndpoint>
67
- <LocalPort>3889</LocalPort>
68
- <Name>tcp-port-3889</Name>
69
- <Port>3889</Port>
70
- <Protocol>tcp</Protocol>
71
- <Vip>137.116.17.187</Vip>
72
- </InputEndpoint>
73
- <InputEndpoint>
74
- <LocalPort>80</LocalPort>
75
- <Name>tcp-port-80</Name>
76
- <Port>80</Port>
77
- <Protocol>tcp</Protocol>
78
- <Vip>137.117.17.187</Vip>
79
- </InputEndpoint>
80
- </InputEndpoints>
81
- <SubnetNames/>
82
- </ConfigurationSet>
83
- </ConfigurationSets>
84
- <DataVirtualHardDisks/>
85
- <OSVirtualHardDisk>
86
- <HostCaching>ReadWrite</HostCaching>
87
- <DiskName>disk-name-0-201304290612030573</DiskName>
88
- <MediaLink>http://suse.blob.core.windows.net/vhds/disk_2013_04_29_11_41.vhd</MediaLink>
89
- <SourceImageName>5112500ae3b842c8b9c604889f8753c3__OpenLogic-CentOS-63APR20130415</SourceImageName>
90
- <OS>Windows</OS>
91
- </OSVirtualHardDisk>
92
- <RoleSize>Small</RoleSize>
93
- </Role>
94
- </RoleList>
95
- <SdkVersion/>
96
- <Locked>false</Locked>
97
- <RollbackAllowed>false</RollbackAllowed>
98
- <CreatedTime>2013-04-29T06:12:01Z</CreatedTime>
99
- <LastModifiedTime>2013-04-29T10:45:19Z</LastModifiedTime>
100
- <ExtendedProperties/>
101
- <PersistentVMDowntime>
102
- <StartTime>2013-04-11T08:00:00Z</StartTime>
103
- <EndTime>2013-04-13T08:00:00Z</EndTime>
104
- <Status>PersistentVMUpdateCompleted</Status>
105
- </PersistentVMDowntime>
106
- </Deployment>