fog-azure-rm 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +2 -0
  3. data/.travis.yml +13 -8
  4. data/CHANGELOG.md +23 -10
  5. data/CONTRIBUTORS.md +2 -0
  6. data/lib/fog/azurerm/application_gateway.rb +4 -3
  7. data/lib/fog/azurerm/compute.rb +0 -1
  8. data/lib/fog/azurerm/dns.rb +0 -3
  9. data/lib/fog/azurerm/docs/application_gateway.md +72 -2
  10. data/lib/fog/azurerm/docs/compute.md +8 -5
  11. data/lib/fog/azurerm/docs/network.md +185 -6
  12. data/lib/fog/azurerm/docs/resources.md +2 -2
  13. data/lib/fog/azurerm/docs/storage.md +2 -2
  14. data/lib/fog/azurerm/docs/traffic_manager.md +23 -0
  15. data/lib/fog/azurerm/models/application_gateway/gateway.rb +180 -22
  16. data/lib/fog/azurerm/models/application_gateway/gateways.rb +4 -2
  17. data/lib/fog/azurerm/models/application_gateway/ip_configuration.rb +7 -2
  18. data/lib/fog/azurerm/models/compute/server.rb +5 -2
  19. data/lib/fog/azurerm/models/compute/servers.rb +4 -8
  20. data/lib/fog/azurerm/models/network/express_route_circuit_authorization.rb +58 -0
  21. data/lib/fog/azurerm/models/network/express_route_circuit_authorizations.rb +31 -0
  22. data/lib/fog/azurerm/models/network/load_balancers.rb +4 -2
  23. data/lib/fog/azurerm/models/network/local_network_gateway.rb +68 -0
  24. data/lib/fog/azurerm/models/network/local_network_gateways.rb +29 -0
  25. data/lib/fog/azurerm/models/network/public_ip.rb +16 -1
  26. data/lib/fog/azurerm/models/network/virtual_network_gateway_connection.rb +93 -0
  27. data/lib/fog/azurerm/models/network/virtual_network_gateway_connections.rb +29 -0
  28. data/lib/fog/azurerm/models/network/virtual_network_gateways.rb +1 -1
  29. data/lib/fog/azurerm/models/resources/deployments.rb +4 -2
  30. data/lib/fog/azurerm/models/resources/resource_groups.rb +4 -2
  31. data/lib/fog/azurerm/models/storage/storage_accounts.rb +4 -2
  32. data/lib/fog/azurerm/models/traffic_manager/traffic_manager_end_point.rb +23 -6
  33. data/lib/fog/azurerm/models/traffic_manager/traffic_manager_profile.rb +29 -3
  34. data/lib/fog/azurerm/network.rb +23 -3
  35. data/lib/fog/azurerm/requests/application_gateway/{create_application_gateway.rb → create_or_update_application_gateway.rb} +23 -63
  36. data/lib/fog/azurerm/requests/application_gateway/get_application_gateway.rb +159 -0
  37. data/lib/fog/azurerm/requests/application_gateway/update_sku_attributes.rb +28 -0
  38. data/lib/fog/azurerm/requests/application_gateway/update_subnet_id_in_gateway_ip_configuration.rb +29 -0
  39. data/lib/fog/azurerm/requests/compute/create_virtual_machine.rb +31 -20
  40. data/lib/fog/azurerm/requests/compute/get_virtual_machine.rb +1 -1
  41. data/lib/fog/azurerm/requests/network/create_or_update_express_route_circuit.rb +1 -1
  42. data/lib/fog/azurerm/requests/network/create_or_update_express_route_circuit_authorization.rb +49 -0
  43. data/lib/fog/azurerm/requests/network/create_or_update_local_network_gateway.rb +78 -0
  44. data/lib/fog/azurerm/requests/network/{create_public_ip.rb → create_or_update_public_ip.rb} +22 -8
  45. data/lib/fog/azurerm/requests/network/create_or_update_virtual_network_gateway_connection.rb +81 -0
  46. data/lib/fog/azurerm/requests/network/delete_express_route_circuit_authorization.rb +28 -0
  47. data/lib/fog/azurerm/requests/network/delete_local_network_gateway.rb +28 -0
  48. data/lib/fog/azurerm/requests/network/delete_virtual_network_gateway_connection.rb +28 -0
  49. data/lib/fog/azurerm/requests/network/get_connection_shared_key.rb +25 -0
  50. data/lib/fog/azurerm/requests/network/get_express_route_circuit_authorization.rb +34 -0
  51. data/lib/fog/azurerm/requests/network/get_load_balancer.rb +169 -0
  52. data/lib/fog/azurerm/requests/network/get_local_network_gateway.rb +46 -0
  53. data/lib/fog/azurerm/requests/network/get_virtual_network_gateway_connection.rb +46 -0
  54. data/lib/fog/azurerm/requests/network/list_express_route_circuit_authorizations.rb +36 -0
  55. data/lib/fog/azurerm/requests/network/list_local_network_gateways.rb +49 -0
  56. data/lib/fog/azurerm/requests/network/list_virtual_network_gateway_connections.rb +49 -0
  57. data/lib/fog/azurerm/requests/network/reset_connection_shared_key.rb +36 -0
  58. data/lib/fog/azurerm/requests/network/set_connection_shared_key.rb +36 -0
  59. data/lib/fog/azurerm/requests/resources/create_deployment.rb +5 -4
  60. data/lib/fog/azurerm/requests/resources/create_resource_group.rb +5 -4
  61. data/lib/fog/azurerm/requests/resources/delete_deployment.rb +5 -4
  62. data/lib/fog/azurerm/requests/resources/delete_resource_group.rb +5 -4
  63. data/lib/fog/azurerm/requests/resources/delete_resource_tag.rb +6 -4
  64. data/lib/fog/azurerm/requests/resources/get_deployment.rb +81 -0
  65. data/lib/fog/azurerm/requests/resources/get_resource_group.rb +47 -0
  66. data/lib/fog/azurerm/requests/resources/list_deployments.rb +5 -4
  67. data/lib/fog/azurerm/requests/resources/list_resource_groups.rb +6 -5
  68. data/lib/fog/azurerm/requests/resources/list_tagged_resources.rb +5 -4
  69. data/lib/fog/azurerm/requests/resources/tag_resource.rb +6 -4
  70. data/lib/fog/azurerm/requests/storage/get_storage_account.rb +36 -0
  71. data/lib/fog/azurerm/requests/traffic_manager/{create_traffic_manager_endpoint.rb → create_or_update_traffic_manager_endpoint.rb} +2 -2
  72. data/lib/fog/azurerm/requests/traffic_manager/{create_traffic_manager_profile.rb → create_or_update_traffic_manager_profile.rb} +6 -6
  73. data/lib/fog/azurerm/requests/traffic_manager/list_traffic_manager_profiles.rb +1 -1
  74. data/lib/fog/azurerm/resources.rb +2 -3
  75. data/lib/fog/azurerm/storage.rb +1 -1
  76. data/lib/fog/azurerm/traffic_manager.rb +2 -3
  77. data/lib/fog/azurerm/utilities/general.rb +5 -0
  78. data/lib/fog/azurerm/version.rb +1 -1
  79. data/lib/fog/azurerm.rb +34 -32
  80. data/test/api_stub/models/application_gateway/gateway.rb +29 -0
  81. data/test/api_stub/models/network/express_route_circuit_authorization.rb +22 -0
  82. data/test/api_stub/models/network/local_network_gateway.rb +31 -0
  83. data/test/api_stub/models/network/virtual_network_gateway_connection.rb +31 -0
  84. data/test/api_stub/requests/application_gateway/gateway.rb +30 -0
  85. data/test/api_stub/requests/compute/virtual_machine.rb +129 -2
  86. data/test/api_stub/requests/network/express_route_circuit_authorization.rb +31 -0
  87. data/test/api_stub/requests/network/local_network_gateway.rb +62 -0
  88. data/test/api_stub/requests/network/virtual_network_gateway_connection.rb +68 -0
  89. data/test/api_stub/requests/traffic_manager/traffic_manager_profile.rb +13 -0
  90. data/test/api_stub.rb +97 -48
  91. data/test/integration/Virtual_network_gateway_connection.rb +212 -0
  92. data/test/integration/application_gateway.rb +125 -54
  93. data/test/integration/deployment.rb +1 -1
  94. data/test/integration/express_route_circuit.rb +43 -4
  95. data/test/integration/external_load_balancer.rb +4 -4
  96. data/test/integration/internal_load_balancer.rb +4 -4
  97. data/test/integration/local_network_gateway.rb +76 -0
  98. data/test/integration/public_ip.rb +7 -0
  99. data/test/integration/server.rb +5 -4
  100. data/test/integration/storage_account.rb +5 -5
  101. data/test/integration/traffic_manager.rb +21 -0
  102. data/test/integration/virtual_network_gateway.rb +51 -22
  103. data/test/models/application_gateway/test_gateway.rb +56 -1
  104. data/test/models/application_gateway/test_gateways.rb +5 -5
  105. data/test/models/compute/test_servers.rb +6 -14
  106. data/test/models/network/test_express_route_circuit_authorization.rb +50 -0
  107. data/test/models/network/test_express_route_circuit_authorizations.rb +43 -0
  108. data/test/models/network/test_load_balancers.rb +6 -6
  109. data/test/models/network/test_local_network_gateway.rb +53 -0
  110. data/test/models/network/test_local_network_gateways.rb +42 -0
  111. data/test/models/network/test_public_ip.rb +16 -12
  112. data/test/models/network/test_virtual_network_gateway_connection.rb +59 -0
  113. data/test/models/network/test_virtual_network_gateway_connections.rb +42 -0
  114. data/test/models/resources/test_deployments.rb +5 -5
  115. data/test/models/resources/test_resource_groups.rb +5 -5
  116. data/test/models/storage/test_storage_accounts.rb +3 -3
  117. data/test/models/traffic_manager/test_traffic_manager_end_point.rb +1 -1
  118. data/test/models/traffic_manager/test_traffic_manager_profile.rb +11 -4
  119. data/test/requests/application_gateway/test_create_or_update_application_gateway.rb +35 -0
  120. data/test/requests/application_gateway/test_get_application_gateway.rb +24 -0
  121. data/test/requests/compute/test_create_virtual_machine.rb +17 -2
  122. data/test/requests/network/test_create_express_route_circuit_authorization.rb +35 -0
  123. data/test/requests/network/test_create_or_update_local_network_gateway.rb +36 -0
  124. data/test/requests/network/test_create_public_ip.rb +3 -3
  125. data/test/requests/network/test_create_virtual_network_gateway_connection.rb +36 -0
  126. data/test/requests/network/test_delete_express_route_circuit_authorization.rb +23 -0
  127. data/test/requests/network/test_delete_local_network_gateway.rb +23 -0
  128. data/test/requests/network/test_delete_virtual_network_gateway.rb +2 -2
  129. data/test/requests/network/test_delete_virtual_network_gateway_connection.rb +23 -0
  130. data/test/requests/network/test_get_connection_shared_key.rb +24 -0
  131. data/test/requests/network/test_get_express_route_circuit_authorization.rb +24 -0
  132. data/test/requests/network/test_get_load_balancer.rb +24 -0
  133. data/test/requests/network/test_get_local_network_gateway.rb +24 -0
  134. data/test/requests/network/test_get_virtual_network_gateway_connection.rb +24 -0
  135. data/test/requests/network/test_list_express_route_circuit_authorizations.rb +24 -0
  136. data/test/requests/network/test_list_local_network_gateways.rb +24 -0
  137. data/test/requests/network/test_list_virtual_network_gateway_connections.rb +24 -0
  138. data/test/requests/network/test_reset_connection_shared_key.rb +23 -0
  139. data/test/requests/network/test_set_connection_shared_key.rb +23 -0
  140. data/test/requests/network/test_update_public_ip.rb +34 -0
  141. data/test/requests/resources/test_create_deployment.rb +1 -1
  142. data/test/requests/resources/test_create_resource_group.rb +1 -1
  143. data/test/requests/resources/test_delete_deployment.rb +1 -1
  144. data/test/requests/resources/test_delete_resource_group.rb +1 -1
  145. data/test/requests/resources/test_delete_resource_tag.rb +1 -1
  146. data/test/requests/resources/test_get_deployment.rb +24 -0
  147. data/test/requests/resources/test_get_resource_group.rb +24 -0
  148. data/test/requests/resources/test_list_deployments.rb +1 -1
  149. data/test/requests/resources/test_list_resource_groups.rb +1 -1
  150. data/test/requests/resources/test_list_tagged_resources.rb +1 -1
  151. data/test/requests/resources/test_tag_resource.rb +1 -1
  152. data/test/requests/storage/test_get_storage_account.rb +25 -0
  153. data/test/requests/traffic_manager/test_create_traffic_manager_endpoint.rb +2 -2
  154. data/test/requests/traffic_manager/test_create_traffic_manager_profile.rb +3 -3
  155. data/test/requests/traffic_manager/test_update_traffic_manager_endpoint.rb +27 -0
  156. data/test/requests/traffic_manager/test_update_traffic_manager_profile.rb +27 -0
  157. data/test/test_helper.rb +52 -0
  158. metadata +73 -9
  159. data/lib/fog/azurerm/core.rb +0 -14
  160. data/test/requests/application_gateway/test_create_application_gateway.rb +0 -51
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-azure-rm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaffan Chaudhry
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2016-08-26 00:00:00.000000000 Z
17
+ date: 2016-09-09 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rake
@@ -210,7 +210,6 @@ files:
210
210
  - lib/fog/azurerm/application_gateway.rb
211
211
  - lib/fog/azurerm/compute.rb
212
212
  - lib/fog/azurerm/config.rb
213
- - lib/fog/azurerm/core.rb
214
213
  - lib/fog/azurerm/credentials.rb
215
214
  - lib/fog/azurerm/dns.rb
216
215
  - lib/fog/azurerm/docs/application_gateway.md
@@ -243,6 +242,8 @@ files:
243
242
  - lib/fog/azurerm/models/dns/zone.rb
244
243
  - lib/fog/azurerm/models/dns/zones.rb
245
244
  - lib/fog/azurerm/models/network/express_route_circuit.rb
245
+ - lib/fog/azurerm/models/network/express_route_circuit_authorization.rb
246
+ - lib/fog/azurerm/models/network/express_route_circuit_authorizations.rb
246
247
  - lib/fog/azurerm/models/network/express_route_circuit_peering.rb
247
248
  - lib/fog/azurerm/models/network/express_route_circuit_peerings.rb
248
249
  - lib/fog/azurerm/models/network/express_route_circuits.rb
@@ -254,6 +255,8 @@ files:
254
255
  - lib/fog/azurerm/models/network/load_balancer.rb
255
256
  - lib/fog/azurerm/models/network/load_balancers.rb
256
257
  - lib/fog/azurerm/models/network/load_balancing_rule.rb
258
+ - lib/fog/azurerm/models/network/local_network_gateway.rb
259
+ - lib/fog/azurerm/models/network/local_network_gateways.rb
257
260
  - lib/fog/azurerm/models/network/network_interface.rb
258
261
  - lib/fog/azurerm/models/network/network_interfaces.rb
259
262
  - lib/fog/azurerm/models/network/network_security_group.rb
@@ -267,6 +270,8 @@ files:
267
270
  - lib/fog/azurerm/models/network/subnets.rb
268
271
  - lib/fog/azurerm/models/network/virtual_network.rb
269
272
  - lib/fog/azurerm/models/network/virtual_network_gateway.rb
273
+ - lib/fog/azurerm/models/network/virtual_network_gateway_connection.rb
274
+ - lib/fog/azurerm/models/network/virtual_network_gateway_connections.rb
270
275
  - lib/fog/azurerm/models/network/virtual_network_gateways.rb
271
276
  - lib/fog/azurerm/models/network/virtual_networks.rb
272
277
  - lib/fog/azurerm/models/network/vpn_client_configuration.rb
@@ -293,9 +298,12 @@ files:
293
298
  - lib/fog/azurerm/models/traffic_manager/traffic_manager_profile.rb
294
299
  - lib/fog/azurerm/models/traffic_manager/traffic_manager_profiles.rb
295
300
  - lib/fog/azurerm/network.rb
296
- - lib/fog/azurerm/requests/application_gateway/create_application_gateway.rb
301
+ - lib/fog/azurerm/requests/application_gateway/create_or_update_application_gateway.rb
297
302
  - lib/fog/azurerm/requests/application_gateway/delete_application_gateway.rb
303
+ - lib/fog/azurerm/requests/application_gateway/get_application_gateway.rb
298
304
  - lib/fog/azurerm/requests/application_gateway/list_application_gateways.rb
305
+ - lib/fog/azurerm/requests/application_gateway/update_sku_attributes.rb
306
+ - lib/fog/azurerm/requests/application_gateway/update_subnet_id_in_gateway_ip_configuration.rb
299
307
  - lib/fog/azurerm/requests/compute/attach_data_disk_to_vm.rb
300
308
  - lib/fog/azurerm/requests/compute/check_vm_status.rb
301
309
  - lib/fog/azurerm/requests/compute/create_availability_set.rb
@@ -335,52 +343,70 @@ files:
335
343
  - lib/fog/azurerm/requests/network/check_for_virtual_network.rb
336
344
  - lib/fog/azurerm/requests/network/create_load_balancer.rb
337
345
  - lib/fog/azurerm/requests/network/create_or_update_express_route_circuit.rb
346
+ - lib/fog/azurerm/requests/network/create_or_update_express_route_circuit_authorization.rb
338
347
  - lib/fog/azurerm/requests/network/create_or_update_express_route_circuit_peering.rb
348
+ - lib/fog/azurerm/requests/network/create_or_update_local_network_gateway.rb
339
349
  - lib/fog/azurerm/requests/network/create_or_update_network_interface.rb
340
350
  - lib/fog/azurerm/requests/network/create_or_update_network_security_group.rb
351
+ - lib/fog/azurerm/requests/network/create_or_update_public_ip.rb
341
352
  - lib/fog/azurerm/requests/network/create_or_update_virtual_network.rb
342
353
  - lib/fog/azurerm/requests/network/create_or_update_virtual_network_gateway.rb
343
- - lib/fog/azurerm/requests/network/create_public_ip.rb
354
+ - lib/fog/azurerm/requests/network/create_or_update_virtual_network_gateway_connection.rb
344
355
  - lib/fog/azurerm/requests/network/create_subnet.rb
345
356
  - lib/fog/azurerm/requests/network/delete_express_route_circuit.rb
357
+ - lib/fog/azurerm/requests/network/delete_express_route_circuit_authorization.rb
346
358
  - lib/fog/azurerm/requests/network/delete_express_route_circuit_peering.rb
347
359
  - lib/fog/azurerm/requests/network/delete_load_balancer.rb
360
+ - lib/fog/azurerm/requests/network/delete_local_network_gateway.rb
348
361
  - lib/fog/azurerm/requests/network/delete_network_interface.rb
349
362
  - lib/fog/azurerm/requests/network/delete_network_security_group.rb
350
363
  - lib/fog/azurerm/requests/network/delete_public_ip.rb
351
364
  - lib/fog/azurerm/requests/network/delete_subnet.rb
352
365
  - lib/fog/azurerm/requests/network/delete_virtual_network.rb
353
366
  - lib/fog/azurerm/requests/network/delete_virtual_network_gateway.rb
367
+ - lib/fog/azurerm/requests/network/delete_virtual_network_gateway_connection.rb
354
368
  - lib/fog/azurerm/requests/network/detach_network_security_group_from_subnet.rb
355
369
  - lib/fog/azurerm/requests/network/detach_resource_from_nic.rb
356
370
  - lib/fog/azurerm/requests/network/detach_route_table_from_subnet.rb
371
+ - lib/fog/azurerm/requests/network/get_connection_shared_key.rb
357
372
  - lib/fog/azurerm/requests/network/get_express_route_circuit.rb
373
+ - lib/fog/azurerm/requests/network/get_express_route_circuit_authorization.rb
358
374
  - lib/fog/azurerm/requests/network/get_express_route_circuit_peering.rb
375
+ - lib/fog/azurerm/requests/network/get_load_balancer.rb
376
+ - lib/fog/azurerm/requests/network/get_local_network_gateway.rb
359
377
  - lib/fog/azurerm/requests/network/get_network_interface.rb
360
378
  - lib/fog/azurerm/requests/network/get_network_security_group.rb
361
379
  - lib/fog/azurerm/requests/network/get_public_ip.rb
362
380
  - lib/fog/azurerm/requests/network/get_subnet.rb
363
381
  - lib/fog/azurerm/requests/network/get_virtual_network.rb
364
382
  - lib/fog/azurerm/requests/network/get_virtual_network_gateway.rb
383
+ - lib/fog/azurerm/requests/network/get_virtual_network_gateway_connection.rb
384
+ - lib/fog/azurerm/requests/network/list_express_route_circuit_authorizations.rb
365
385
  - lib/fog/azurerm/requests/network/list_express_route_circuit_peerings.rb
366
386
  - lib/fog/azurerm/requests/network/list_express_route_circuits.rb
367
387
  - lib/fog/azurerm/requests/network/list_express_route_service_providers.rb
368
388
  - lib/fog/azurerm/requests/network/list_load_balancers.rb
389
+ - lib/fog/azurerm/requests/network/list_local_network_gateways.rb
369
390
  - lib/fog/azurerm/requests/network/list_network_interfaces.rb
370
391
  - lib/fog/azurerm/requests/network/list_network_security_groups.rb
371
392
  - lib/fog/azurerm/requests/network/list_public_ips.rb
372
393
  - lib/fog/azurerm/requests/network/list_subnets.rb
394
+ - lib/fog/azurerm/requests/network/list_virtual_network_gateway_connections.rb
373
395
  - lib/fog/azurerm/requests/network/list_virtual_network_gateways.rb
374
396
  - lib/fog/azurerm/requests/network/list_virtual_networks.rb
375
397
  - lib/fog/azurerm/requests/network/remove_address_prefixes_from_virtual_network.rb
376
398
  - lib/fog/azurerm/requests/network/remove_dns_servers_from_virtual_network.rb
377
399
  - lib/fog/azurerm/requests/network/remove_security_rule.rb
378
400
  - lib/fog/azurerm/requests/network/remove_subnets_from_virtual_network.rb
401
+ - lib/fog/azurerm/requests/network/reset_connection_shared_key.rb
402
+ - lib/fog/azurerm/requests/network/set_connection_shared_key.rb
379
403
  - lib/fog/azurerm/requests/resources/create_deployment.rb
380
404
  - lib/fog/azurerm/requests/resources/create_resource_group.rb
381
405
  - lib/fog/azurerm/requests/resources/delete_deployment.rb
382
406
  - lib/fog/azurerm/requests/resources/delete_resource_group.rb
383
407
  - lib/fog/azurerm/requests/resources/delete_resource_tag.rb
408
+ - lib/fog/azurerm/requests/resources/get_deployment.rb
409
+ - lib/fog/azurerm/requests/resources/get_resource_group.rb
384
410
  - lib/fog/azurerm/requests/resources/list_deployments.rb
385
411
  - lib/fog/azurerm/requests/resources/list_resource_groups.rb
386
412
  - lib/fog/azurerm/requests/resources/list_tagged_resources.rb
@@ -396,13 +422,14 @@ files:
396
422
  - lib/fog/azurerm/requests/storage/get_container_metadata.rb
397
423
  - lib/fog/azurerm/requests/storage/get_container_properties.rb
398
424
  - lib/fog/azurerm/requests/storage/get_storage_access_keys.rb
425
+ - lib/fog/azurerm/requests/storage/get_storage_account.rb
399
426
  - lib/fog/azurerm/requests/storage/list_containers.rb
400
427
  - lib/fog/azurerm/requests/storage/list_storage_account_for_rg.rb
401
428
  - lib/fog/azurerm/requests/storage/list_storage_accounts.rb
402
429
  - lib/fog/azurerm/requests/storage/set_blob_metadata.rb
403
430
  - lib/fog/azurerm/requests/storage/set_container_metadata.rb
404
- - lib/fog/azurerm/requests/traffic_manager/create_traffic_manager_endpoint.rb
405
- - lib/fog/azurerm/requests/traffic_manager/create_traffic_manager_profile.rb
431
+ - lib/fog/azurerm/requests/traffic_manager/create_or_update_traffic_manager_endpoint.rb
432
+ - lib/fog/azurerm/requests/traffic_manager/create_or_update_traffic_manager_profile.rb
406
433
  - lib/fog/azurerm/requests/traffic_manager/delete_traffic_manager_endpoint.rb
407
434
  - lib/fog/azurerm/requests/traffic_manager/delete_traffic_manager_profile.rb
408
435
  - lib/fog/azurerm/requests/traffic_manager/get_traffic_manager_endpoint.rb
@@ -421,15 +448,18 @@ files:
421
448
  - test/api_stub/models/dns/record_set.rb
422
449
  - test/api_stub/models/dns/zone.rb
423
450
  - test/api_stub/models/network/express_route_circuit.rb
451
+ - test/api_stub/models/network/express_route_circuit_authorization.rb
424
452
  - test/api_stub/models/network/express_route_circuit_peering.rb
425
453
  - test/api_stub/models/network/express_route_service_provider.rb
426
454
  - test/api_stub/models/network/load_balancer.rb
455
+ - test/api_stub/models/network/local_network_gateway.rb
427
456
  - test/api_stub/models/network/network_interface.rb
428
457
  - test/api_stub/models/network/network_security_group.rb
429
458
  - test/api_stub/models/network/public_ip.rb
430
459
  - test/api_stub/models/network/subnet.rb
431
460
  - test/api_stub/models/network/virtual_network.rb
432
461
  - test/api_stub/models/network/virtual_network_gateway.rb
462
+ - test/api_stub/models/network/virtual_network_gateway_connection.rb
433
463
  - test/api_stub/models/resources/deployment.rb
434
464
  - test/api_stub/models/resources/resource.rb
435
465
  - test/api_stub/models/resources/resource_group.rb
@@ -444,15 +474,18 @@ files:
444
474
  - test/api_stub/requests/dns/record_set.rb
445
475
  - test/api_stub/requests/dns/zone.rb
446
476
  - test/api_stub/requests/network/express_route_circuit.rb
477
+ - test/api_stub/requests/network/express_route_circuit_authorization.rb
447
478
  - test/api_stub/requests/network/express_route_circuit_peering.rb
448
479
  - test/api_stub/requests/network/express_route_service_provider.rb
449
480
  - test/api_stub/requests/network/load_balancer.rb
481
+ - test/api_stub/requests/network/local_network_gateway.rb
450
482
  - test/api_stub/requests/network/network_interface.rb
451
483
  - test/api_stub/requests/network/network_security_group.rb
452
484
  - test/api_stub/requests/network/public_ip.rb
453
485
  - test/api_stub/requests/network/subnet.rb
454
486
  - test/api_stub/requests/network/virtual_network.rb
455
487
  - test/api_stub/requests/network/virtual_network_gateway.rb
488
+ - test/api_stub/requests/network/virtual_network_gateway_connection.rb
456
489
  - test/api_stub/requests/resources/deployment.rb
457
490
  - test/api_stub/requests/resources/resource.rb
458
491
  - test/api_stub/requests/resources/resource_group.rb
@@ -462,6 +495,7 @@ files:
462
495
  - test/api_stub/requests/traffic_manager/traffic_manager_endpoint.rb
463
496
  - test/api_stub/requests/traffic_manager/traffic_manager_profile.rb
464
497
  - test/integration/README.md
498
+ - test/integration/Virtual_network_gateway_connection.rb
465
499
  - test/integration/application_gateway.rb
466
500
  - test/integration/availability_set.rb
467
501
  - test/integration/container.rb
@@ -470,6 +504,7 @@ files:
470
504
  - test/integration/express_route_circuit.rb
471
505
  - test/integration/external_load_balancer.rb
472
506
  - test/integration/internal_load_balancer.rb
507
+ - test/integration/local_network_gateway.rb
473
508
  - test/integration/network_interface.rb
474
509
  - test/integration/network_security_group.rb
475
510
  - test/integration/public_ip.rb
@@ -494,12 +529,16 @@ files:
494
529
  - test/models/dns/test_zone.rb
495
530
  - test/models/dns/test_zones.rb
496
531
  - test/models/network/test_express_route_circuit.rb
532
+ - test/models/network/test_express_route_circuit_authorization.rb
533
+ - test/models/network/test_express_route_circuit_authorizations.rb
497
534
  - test/models/network/test_express_route_circuit_peering.rb
498
535
  - test/models/network/test_express_route_circuit_peerings.rb
499
536
  - test/models/network/test_express_route_circuits.rb
500
537
  - test/models/network/test_express_route_service_providers.rb
501
538
  - test/models/network/test_load_balancer.rb
502
539
  - test/models/network/test_load_balancers.rb
540
+ - test/models/network/test_local_network_gateway.rb
541
+ - test/models/network/test_local_network_gateways.rb
503
542
  - test/models/network/test_network_interface.rb
504
543
  - test/models/network/test_network_interfaces.rb
505
544
  - test/models/network/test_network_security_group.rb
@@ -511,6 +550,8 @@ files:
511
550
  - test/models/network/test_subnets.rb
512
551
  - test/models/network/test_virtual_network.rb
513
552
  - test/models/network/test_virtual_network_gateway.rb
553
+ - test/models/network/test_virtual_network_gateway_connection.rb
554
+ - test/models/network/test_virtual_network_gateway_connections.rb
514
555
  - test/models/network/test_virtual_network_gateways.rb
515
556
  - test/models/network/test_virtual_networks.rb
516
557
  - test/models/resources/test_deployment.rb
@@ -529,8 +570,9 @@ files:
529
570
  - test/models/traffic_manager/test_traffic_manager_end_points.rb
530
571
  - test/models/traffic_manager/test_traffic_manager_profile.rb
531
572
  - test/models/traffic_manager/test_traffic_manager_profiles.rb
532
- - test/requests/application_gateway/test_create_application_gateway.rb
573
+ - test/requests/application_gateway/test_create_or_update_application_gateway.rb
533
574
  - test/requests/application_gateway/test_delete_application_gateway.rb
575
+ - test/requests/application_gateway/test_get_application_gateway.rb
534
576
  - test/requests/application_gateway/test_list_application_gateways.rb
535
577
  - test/requests/compute/test_attach_data_disk_to_vm.rb
536
578
  - test/requests/compute/test_create_availability_set.rb
@@ -570,53 +612,72 @@ files:
570
612
  - test/requests/network/test_check_for_public_ip.rb
571
613
  - test/requests/network/test_check_for_virtual_network.rb
572
614
  - test/requests/network/test_create_express_route_circuit.rb
615
+ - test/requests/network/test_create_express_route_circuit_authorization.rb
573
616
  - test/requests/network/test_create_express_route_circuit_peering.rb
574
617
  - test/requests/network/test_create_load_balancer.rb
575
618
  - test/requests/network/test_create_network_interface.rb
619
+ - test/requests/network/test_create_or_update_local_network_gateway.rb
576
620
  - test/requests/network/test_create_or_update_network_security_group.rb
577
621
  - test/requests/network/test_create_or_update_virtual_network.rb
578
622
  - test/requests/network/test_create_public_ip.rb
579
623
  - test/requests/network/test_create_subnet.rb
580
624
  - test/requests/network/test_create_virtual_network_gateway.rb
625
+ - test/requests/network/test_create_virtual_network_gateway_connection.rb
581
626
  - test/requests/network/test_delete_express_route_circuit.rb
627
+ - test/requests/network/test_delete_express_route_circuit_authorization.rb
582
628
  - test/requests/network/test_delete_express_route_circuit_peering.rb
583
629
  - test/requests/network/test_delete_load_balancer.rb
630
+ - test/requests/network/test_delete_local_network_gateway.rb
584
631
  - test/requests/network/test_delete_network_interface.rb
585
632
  - test/requests/network/test_delete_network_security_group.rb
586
633
  - test/requests/network/test_delete_public_ip.rb
587
634
  - test/requests/network/test_delete_subnet.rb
588
635
  - test/requests/network/test_delete_virtual_network.rb
589
636
  - test/requests/network/test_delete_virtual_network_gateway.rb
637
+ - test/requests/network/test_delete_virtual_network_gateway_connection.rb
590
638
  - test/requests/network/test_detach_network_security_group_from_subnet.rb
591
639
  - test/requests/network/test_detach_resource_from_nic.rb
592
640
  - test/requests/network/test_detach_route_table_from_subnet.rb
641
+ - test/requests/network/test_get_connection_shared_key.rb
593
642
  - test/requests/network/test_get_express_route_circuit.rb
643
+ - test/requests/network/test_get_express_route_circuit_authorization.rb
594
644
  - test/requests/network/test_get_express_route_circuit_peering.rb
645
+ - test/requests/network/test_get_load_balancer.rb
646
+ - test/requests/network/test_get_local_network_gateway.rb
595
647
  - test/requests/network/test_get_network_interface.rb
596
648
  - test/requests/network/test_get_network_security_group.rb
597
649
  - test/requests/network/test_get_public_ip.rb
598
650
  - test/requests/network/test_get_subnet.rb
599
651
  - test/requests/network/test_get_virtual_network.rb
600
652
  - test/requests/network/test_get_virtual_network_gateway.rb
653
+ - test/requests/network/test_get_virtual_network_gateway_connection.rb
654
+ - test/requests/network/test_list_express_route_circuit_authorizations.rb
601
655
  - test/requests/network/test_list_express_route_circuit_peerings.rb
602
656
  - test/requests/network/test_list_express_route_circuits.rb
603
657
  - test/requests/network/test_list_express_route_service_providers.rb
604
658
  - test/requests/network/test_list_load_balancers.rb
659
+ - test/requests/network/test_list_local_network_gateways.rb
605
660
  - test/requests/network/test_list_network_interfaces.rb
606
661
  - test/requests/network/test_list_network_security_groups.rb
607
662
  - test/requests/network/test_list_public_ips.rb
608
663
  - test/requests/network/test_list_subnets.rb
664
+ - test/requests/network/test_list_virtual_network_gateway_connections.rb
609
665
  - test/requests/network/test_list_virtual_network_gateways.rb
610
666
  - test/requests/network/test_list_virtual_networks.rb
611
667
  - test/requests/network/test_remove_address_prefixes_from_virtual_network.rb
612
668
  - test/requests/network/test_remove_dns_servers_from_virtual_network.rb
613
669
  - test/requests/network/test_remove_security_rule.rb
614
670
  - test/requests/network/test_remove_subnets_from_virtual_network.rb
671
+ - test/requests/network/test_reset_connection_shared_key.rb
672
+ - test/requests/network/test_set_connection_shared_key.rb
673
+ - test/requests/network/test_update_public_ip.rb
615
674
  - test/requests/resources/test_create_deployment.rb
616
675
  - test/requests/resources/test_create_resource_group.rb
617
676
  - test/requests/resources/test_delete_deployment.rb
618
677
  - test/requests/resources/test_delete_resource_group.rb
619
678
  - test/requests/resources/test_delete_resource_tag.rb
679
+ - test/requests/resources/test_get_deployment.rb
680
+ - test/requests/resources/test_get_resource_group.rb
620
681
  - test/requests/resources/test_list_deployments.rb
621
682
  - test/requests/resources/test_list_resource_groups.rb
622
683
  - test/requests/resources/test_list_tagged_resources.rb
@@ -631,6 +692,7 @@ files:
631
692
  - test/requests/storage/test_get_container_metadata.rb
632
693
  - test/requests/storage/test_get_container_properties.rb
633
694
  - test/requests/storage/test_get_storage_access_keys.rb
695
+ - test/requests/storage/test_get_storage_account.rb
634
696
  - test/requests/storage/test_list_containers.rb
635
697
  - test/requests/storage/test_list_storage_accounts.rb
636
698
  - test/requests/storage/test_list_storage_accounts_for_rg.rb
@@ -643,6 +705,8 @@ files:
643
705
  - test/requests/traffic_manager/test_get_traffic_manager_endpoint.rb
644
706
  - test/requests/traffic_manager/test_get_traffic_manager_profile.rb
645
707
  - test/requests/traffic_manager/test_list_traffic_manager_profiles.rb
708
+ - test/requests/traffic_manager/test_update_traffic_manager_endpoint.rb
709
+ - test/requests/traffic_manager/test_update_traffic_manager_profile.rb
646
710
  - test/test_credentials.rb
647
711
  - test/test_helper.rb
648
712
  homepage: https://github.com/fog/fog-azure-rm
@@ -666,7 +730,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
666
730
  version: '0'
667
731
  requirements: []
668
732
  rubyforge_project:
669
- rubygems_version: 2.2.5
733
+ rubygems_version: 2.6.6
670
734
  signing_key:
671
735
  specification_version: 4
672
736
  summary: Module for the 'fog' gem to support Azure Resource Manager cloud services.
@@ -1,14 +0,0 @@
1
- require 'fog/core'
2
-
3
- module Fog
4
- # This module registers available services
5
- module AzureRM
6
- extend Fog::Provider
7
- service(:resources, 'Resources')
8
- service(:dns, 'DNS')
9
- service(:storage, 'Storage')
10
- service(:network, 'Network')
11
- service(:compute, 'Compute')
12
- service(:application_gateway, 'ApplicationGateway')
13
- end
14
- end
@@ -1,51 +0,0 @@
1
- require File.expand_path '../../test_helper', __dir__
2
-
3
- # Test class for Create Application Gateway Request
4
- class TestCreateApplicationGateway < Minitest::Test
5
- def setup
6
- @service = Fog::ApplicationGateway::AzureRM.new(credentials)
7
- gateway_client = @service.instance_variable_get(:@network_client)
8
- @gateways = gateway_client.application_gateways
9
- @response = ApiStub::Requests::ApplicationGateway::Gateway.create_application_gateway_response(gateway_client)
10
- end
11
-
12
- def test_create_application_gateway_success
13
- gateway_ip_configurations = ApiStub::Requests::ApplicationGateway::Gateway.gateway_ip_configurations
14
- frontend_ip_configurations = ApiStub::Requests::ApplicationGateway::Gateway.frontend_ip_configurations
15
- frontend_ports = ApiStub::Requests::ApplicationGateway::Gateway.frontend_ports
16
- backend_address_pools = ApiStub::Requests::ApplicationGateway::Gateway.backend_address_pools
17
- backend_http_settings_list = ApiStub::Requests::ApplicationGateway::Gateway.backend_http_settings_list
18
- http_listeners = ApiStub::Requests::ApplicationGateway::Gateway.http_listeners
19
- request_routing_rules = ApiStub::Requests::ApplicationGateway::Gateway.request_routing_rules
20
- @gateways.stub :create_or_update, @response do
21
- assert_equal @service.create_application_gateway('gateway', 'East US', 'fogRM-rg', 'Standard_Medium', 'Standard', 2, gateway_ip_configurations, nil, frontend_ip_configurations, frontend_ports, nil, backend_address_pools, backend_http_settings_list, http_listeners, nil, request_routing_rules), @response
22
- end
23
- end
24
-
25
- def test_create_application_gateway_argument_error_failure
26
- @gateways.stub :create_or_update, @response do
27
- assert_raises ArgumentError do
28
- @service.create_application_gateway('gateway', 'East US', 'fogRM-rg', 'Standard_Medium', 'Standard', 2)
29
- end
30
- end
31
- end
32
-
33
- def test_create_application_gateway_exception_failure
34
- response = proc { raise MsRestAzure::AzureOperationError.new(nil, nil, 'error' => { 'message' => 'mocked exception' }) }
35
- gateway_ip_configurations = ApiStub::Requests::ApplicationGateway::Gateway.gateway_ip_configurations
36
- ssl_certificates = ApiStub::Requests::ApplicationGateway::Gateway.ssl_certificates
37
- frontend_ip_configurations = ApiStub::Requests::ApplicationGateway::Gateway.frontend_ip_configurations
38
- frontend_ports = ApiStub::Requests::ApplicationGateway::Gateway.frontend_ports
39
- probes = ApiStub::Requests::ApplicationGateway::Gateway.probes
40
- backend_address_pools = ApiStub::Requests::ApplicationGateway::Gateway.backend_address_pools
41
- backend_http_settings_list = ApiStub::Requests::ApplicationGateway::Gateway.backend_http_settings_list
42
- http_listeners = ApiStub::Requests::ApplicationGateway::Gateway.http_listeners
43
- url_path_paths = ApiStub::Requests::ApplicationGateway::Gateway.url_path_maps
44
- request_routing_rules = ApiStub::Requests::ApplicationGateway::Gateway.request_routing_rules
45
- @gateways.stub :create_or_update, response do
46
- assert_raises RuntimeError do
47
- @service.create_application_gateway('gateway', 'East US', 'fogRM-rg', 'Standard_Medium', 'Standard', 2, gateway_ip_configurations, ssl_certificates, frontend_ip_configurations, frontend_ports, probes, backend_address_pools, backend_http_settings_list, http_listeners, url_path_paths, request_routing_rules)
48
- end
49
- end
50
- end
51
- end