azure_mgmt_network 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1191) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_network/application_gateways.rb +76 -69
  3. data/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +41 -38
  4. data/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_peerings.rb +41 -38
  5. data/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuits.rb +101 -90
  6. data/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_service_providers.rb +15 -13
  7. data/lib/2015-05-01-preview/generated/azure_mgmt_network/load_balancers.rb +56 -51
  8. data/lib/2015-05-01-preview/generated/azure_mgmt_network/local_network_gateways.rb +41 -38
  9. data/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usages_list_result.rb +11 -0
  10. data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb +92 -82
  11. data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +10 -6
  12. data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_security_groups.rb +56 -51
  13. data/lib/2015-05-01-preview/generated/azure_mgmt_network/public_ip_addresses.rb +56 -51
  14. data/lib/2015-05-01-preview/generated/azure_mgmt_network/route_tables.rb +56 -51
  15. data/lib/2015-05-01-preview/generated/azure_mgmt_network/routes.rb +41 -38
  16. data/lib/2015-05-01-preview/generated/azure_mgmt_network/security_rules.rb +41 -38
  17. data/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb +41 -38
  18. data/lib/2015-05-01-preview/generated/azure_mgmt_network/usages.rb +15 -13
  19. data/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +67 -65
  20. data/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateways.rb +51 -49
  21. data/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_networks.rb +56 -51
  22. data/lib/2015-06-15/generated/azure_mgmt_network/application_gateways.rb +76 -69
  23. data/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +41 -38
  24. data/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_peerings.rb +41 -38
  25. data/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuits.rb +101 -90
  26. data/lib/2015-06-15/generated/azure_mgmt_network/express_route_service_providers.rb +15 -13
  27. data/lib/2015-06-15/generated/azure_mgmt_network/load_balancers.rb +56 -51
  28. data/lib/2015-06-15/generated/azure_mgmt_network/local_network_gateways.rb +41 -38
  29. data/lib/2015-06-15/generated/azure_mgmt_network/models/usages_list_result.rb +11 -0
  30. data/lib/2015-06-15/generated/azure_mgmt_network/network_interfaces.rb +92 -82
  31. data/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +10 -6
  32. data/lib/2015-06-15/generated/azure_mgmt_network/network_security_groups.rb +56 -51
  33. data/lib/2015-06-15/generated/azure_mgmt_network/public_ipaddresses.rb +56 -51
  34. data/lib/2015-06-15/generated/azure_mgmt_network/route_tables.rb +56 -51
  35. data/lib/2015-06-15/generated/azure_mgmt_network/routes.rb +41 -38
  36. data/lib/2015-06-15/generated/azure_mgmt_network/security_rules.rb +41 -38
  37. data/lib/2015-06-15/generated/azure_mgmt_network/subnets.rb +41 -38
  38. data/lib/2015-06-15/generated/azure_mgmt_network/usages.rb +15 -13
  39. data/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +67 -65
  40. data/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb +57 -56
  41. data/lib/2015-06-15/generated/azure_mgmt_network/virtual_networks.rb +56 -51
  42. data/lib/2016-03-30/generated/azure_mgmt_network/application_gateways.rb +76 -69
  43. data/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +41 -38
  44. data/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_peerings.rb +41 -38
  45. data/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuits.rb +98 -88
  46. data/lib/2016-03-30/generated/azure_mgmt_network/express_route_service_providers.rb +15 -13
  47. data/lib/2016-03-30/generated/azure_mgmt_network/load_balancers.rb +56 -51
  48. data/lib/2016-03-30/generated/azure_mgmt_network/local_network_gateways.rb +41 -38
  49. data/lib/2016-03-30/generated/azure_mgmt_network/network_interfaces.rb +92 -82
  50. data/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +10 -6
  51. data/lib/2016-03-30/generated/azure_mgmt_network/network_security_groups.rb +56 -51
  52. data/lib/2016-03-30/generated/azure_mgmt_network/public_ipaddresses.rb +56 -51
  53. data/lib/2016-03-30/generated/azure_mgmt_network/route_tables.rb +56 -51
  54. data/lib/2016-03-30/generated/azure_mgmt_network/routes.rb +41 -38
  55. data/lib/2016-03-30/generated/azure_mgmt_network/security_rules.rb +41 -38
  56. data/lib/2016-03-30/generated/azure_mgmt_network/subnets.rb +41 -38
  57. data/lib/2016-03-30/generated/azure_mgmt_network/usages.rb +6 -5
  58. data/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +67 -65
  59. data/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateways.rb +57 -56
  60. data/lib/2016-03-30/generated/azure_mgmt_network/virtual_networks.rb +56 -51
  61. data/lib/2016-06-01/generated/azure_mgmt_network/application_gateways.rb +76 -69
  62. data/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +41 -38
  63. data/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +41 -38
  64. data/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuits.rb +98 -88
  65. data/lib/2016-06-01/generated/azure_mgmt_network/express_route_service_providers.rb +15 -13
  66. data/lib/2016-06-01/generated/azure_mgmt_network/load_balancers.rb +56 -51
  67. data/lib/2016-06-01/generated/azure_mgmt_network/local_network_gateways.rb +41 -38
  68. data/lib/2016-06-01/generated/azure_mgmt_network/network_interfaces.rb +112 -100
  69. data/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +10 -6
  70. data/lib/2016-06-01/generated/azure_mgmt_network/network_security_groups.rb +56 -51
  71. data/lib/2016-06-01/generated/azure_mgmt_network/public_ipaddresses.rb +56 -51
  72. data/lib/2016-06-01/generated/azure_mgmt_network/route_tables.rb +56 -51
  73. data/lib/2016-06-01/generated/azure_mgmt_network/routes.rb +41 -38
  74. data/lib/2016-06-01/generated/azure_mgmt_network/security_rules.rb +41 -38
  75. data/lib/2016-06-01/generated/azure_mgmt_network/subnets.rb +41 -38
  76. data/lib/2016-06-01/generated/azure_mgmt_network/usages.rb +15 -13
  77. data/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +67 -65
  78. data/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb +57 -56
  79. data/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb +41 -38
  80. data/lib/2016-06-01/generated/azure_mgmt_network/virtual_networks.rb +62 -56
  81. data/lib/2016-09-01/generated/azure_mgmt_network/application_gateways.rb +86 -78
  82. data/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +41 -38
  83. data/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +41 -38
  84. data/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuits.rb +98 -88
  85. data/lib/2016-09-01/generated/azure_mgmt_network/express_route_service_providers.rb +15 -13
  86. data/lib/2016-09-01/generated/azure_mgmt_network/load_balancers.rb +56 -51
  87. data/lib/2016-09-01/generated/azure_mgmt_network/local_network_gateways.rb +41 -38
  88. data/lib/2016-09-01/generated/azure_mgmt_network/network_interfaces.rb +112 -100
  89. data/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +10 -6
  90. data/lib/2016-09-01/generated/azure_mgmt_network/network_security_groups.rb +56 -51
  91. data/lib/2016-09-01/generated/azure_mgmt_network/network_watchers.rb +110 -115
  92. data/lib/2016-09-01/generated/azure_mgmt_network/packet_captures.rb +52 -48
  93. data/lib/2016-09-01/generated/azure_mgmt_network/public_ipaddresses.rb +56 -51
  94. data/lib/2016-09-01/generated/azure_mgmt_network/route_tables.rb +56 -51
  95. data/lib/2016-09-01/generated/azure_mgmt_network/routes.rb +41 -38
  96. data/lib/2016-09-01/generated/azure_mgmt_network/security_rules.rb +41 -38
  97. data/lib/2016-09-01/generated/azure_mgmt_network/subnets.rb +41 -38
  98. data/lib/2016-09-01/generated/azure_mgmt_network/usages.rb +15 -13
  99. data/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +67 -65
  100. data/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +87 -81
  101. data/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb +41 -38
  102. data/lib/2016-09-01/generated/azure_mgmt_network/virtual_networks.rb +62 -56
  103. data/lib/2016-12-01/generated/azure_mgmt_network/application_gateways.rb +86 -78
  104. data/lib/2016-12-01/generated/azure_mgmt_network/bgp_service_communities.rb +15 -13
  105. data/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +41 -38
  106. data/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +41 -38
  107. data/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuits.rb +98 -88
  108. data/lib/2016-12-01/generated/azure_mgmt_network/express_route_service_providers.rb +15 -13
  109. data/lib/2016-12-01/generated/azure_mgmt_network/load_balancers.rb +56 -51
  110. data/lib/2016-12-01/generated/azure_mgmt_network/local_network_gateways.rb +41 -38
  111. data/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb +112 -100
  112. data/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +10 -6
  113. data/lib/2016-12-01/generated/azure_mgmt_network/network_security_groups.rb +56 -51
  114. data/lib/2016-12-01/generated/azure_mgmt_network/network_watchers.rb +110 -115
  115. data/lib/2016-12-01/generated/azure_mgmt_network/packet_captures.rb +52 -48
  116. data/lib/2016-12-01/generated/azure_mgmt_network/public_ipaddresses.rb +56 -51
  117. data/lib/2016-12-01/generated/azure_mgmt_network/route_filter_rules.rb +51 -49
  118. data/lib/2016-12-01/generated/azure_mgmt_network/route_filters.rb +66 -62
  119. data/lib/2016-12-01/generated/azure_mgmt_network/route_tables.rb +56 -51
  120. data/lib/2016-12-01/generated/azure_mgmt_network/routes.rb +41 -38
  121. data/lib/2016-12-01/generated/azure_mgmt_network/security_rules.rb +41 -38
  122. data/lib/2016-12-01/generated/azure_mgmt_network/subnets.rb +41 -38
  123. data/lib/2016-12-01/generated/azure_mgmt_network/usages.rb +15 -13
  124. data/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +67 -65
  125. data/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb +87 -81
  126. data/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb +41 -38
  127. data/lib/2016-12-01/generated/azure_mgmt_network/virtual_networks.rb +62 -56
  128. data/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb +92 -83
  129. data/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb +15 -13
  130. data/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +41 -38
  131. data/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +41 -38
  132. data/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb +98 -88
  133. data/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb +15 -13
  134. data/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb +56 -51
  135. data/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb +41 -38
  136. data/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb +76 -69
  137. data/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +10 -6
  138. data/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb +56 -51
  139. data/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb +120 -126
  140. data/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb +52 -48
  141. data/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb +56 -51
  142. data/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb +51 -49
  143. data/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb +66 -62
  144. data/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb +56 -51
  145. data/lib/2017-03-01/generated/azure_mgmt_network/routes.rb +41 -38
  146. data/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb +41 -38
  147. data/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb +41 -38
  148. data/lib/2017-03-01/generated/azure_mgmt_network/usages.rb +15 -13
  149. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +67 -65
  150. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb +87 -81
  151. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb +41 -38
  152. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb +77 -69
  153. data/lib/2017-03-30/generated/azure_mgmt_network.rb +6 -5
  154. data/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  155. data/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb +376 -31
  156. data/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +4 -1
  157. data/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb +36 -31
  158. data/lib/2017-09-01/generated/azure_mgmt_network.rb +95 -85
  159. data/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb +271 -106
  160. data/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb +56 -51
  161. data/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb +15 -13
  162. data/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb +15 -13
  163. data/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb +21 -18
  164. data/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +41 -38
  165. data/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +41 -38
  166. data/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb +250 -88
  167. data/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb +15 -13
  168. data/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb +41 -38
  169. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +21 -18
  170. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +21 -18
  171. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +21 -18
  172. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +15 -13
  173. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb +21 -18
  174. data/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb +208 -51
  175. data/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb +199 -38
  176. data/lib/2017-09-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  177. data/lib/2017-09-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  178. data/lib/2017-09-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  179. data/lib/2017-09-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  180. data/lib/2017-09-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  181. data/lib/2017-09-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  182. data/lib/2017-09-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  183. data/lib/2017-09-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  184. data/lib/2017-09-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  185. data/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +13 -0
  186. data/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +21 -18
  187. data/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +15 -13
  188. data/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb +228 -69
  189. data/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +14 -6
  190. data/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb +213 -51
  191. data/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb +246 -148
  192. data/lib/2017-09-01/generated/azure_mgmt_network/operations.rb +218 -0
  193. data/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb +52 -48
  194. data/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb +208 -51
  195. data/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb +51 -49
  196. data/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb +66 -62
  197. data/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb +208 -51
  198. data/lib/2017-09-01/generated/azure_mgmt_network/routes.rb +41 -38
  199. data/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb +41 -38
  200. data/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb +41 -38
  201. data/lib/2017-09-01/generated/azure_mgmt_network/usages.rb +15 -13
  202. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +224 -65
  203. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +295 -130
  204. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb +41 -38
  205. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb +229 -69
  206. data/lib/2017-10-01/generated/azure_mgmt_network.rb +349 -0
  207. data/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb +1776 -0
  208. data/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb +803 -0
  209. data/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb +225 -0
  210. data/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb +220 -0
  211. data/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb +976 -0
  212. data/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb +336 -0
  213. data/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +624 -0
  214. data/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +619 -0
  215. data/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb +1580 -0
  216. data/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb +220 -0
  217. data/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb +622 -0
  218. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +329 -0
  219. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +329 -0
  220. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +326 -0
  221. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +230 -0
  222. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb +326 -0
  223. data/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb +945 -0
  224. data/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb +772 -0
  225. data/lib/2017-10-01/generated/azure_mgmt_network/models/access.rb +16 -0
  226. data/lib/2017-10-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
  227. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway.rb +438 -0
  228. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
  229. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  230. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  231. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  232. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  233. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
  234. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
  235. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  236. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  237. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
  238. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  239. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +241 -0
  240. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  241. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  242. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  243. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  244. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  245. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  246. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
  247. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
  248. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
  249. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +163 -0
  250. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
  251. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  252. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  253. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
  254. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +201 -0
  255. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  256. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  257. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
  258. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  259. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
  260. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  261. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  262. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +19 -0
  263. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
  264. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
  265. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  266. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  267. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  268. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  269. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  270. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +16 -0
  271. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
  272. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +104 -0
  273. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  274. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  275. data/lib/2017-10-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  276. data/lib/2017-10-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  277. data/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  278. data/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  279. data/lib/2017-10-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  280. data/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  281. data/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  282. data/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  283. data/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  284. data/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  285. data/lib/2017-10-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  286. data/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
  287. data/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  288. data/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  289. data/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  290. data/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
  291. data/lib/2017-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
  292. data/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  293. data/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
  294. data/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  295. data/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  296. data/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  297. data/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
  298. data/lib/2017-10-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  299. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
  300. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
  301. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  302. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
  303. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +56 -0
  304. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
  305. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
  306. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  307. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_shared_key.rb +46 -0
  308. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  309. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +103 -0
  310. data/lib/2017-10-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  311. data/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
  312. data/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
  313. data/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  314. data/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  315. data/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +59 -0
  316. data/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
  317. data/lib/2017-10-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  318. data/lib/2017-10-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
  319. data/lib/2017-10-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  320. data/lib/2017-10-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  321. data/lib/2017-10-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  322. data/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  323. data/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  324. data/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  325. data/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
  326. data/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
  327. data/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  328. data/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  329. data/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  330. data/lib/2017-10-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  331. data/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  332. data/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  333. data/lib/2017-10-01/generated/azure_mgmt_network/models/error.rb +100 -0
  334. data/lib/2017-10-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
  335. data/lib/2017-10-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  336. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit.rb +246 -0
  337. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  338. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
  339. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  340. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +272 -0
  341. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  342. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
  343. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  344. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  345. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb +17 -0
  346. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +90 -0
  347. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  348. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  349. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
  350. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  351. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
  352. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  353. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
  354. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  355. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  356. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
  357. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  358. data/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  359. data/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_information.rb +81 -0
  360. data/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +47 -0
  361. data/lib/2017-10-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +235 -0
  362. data/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  363. data/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  364. data/lib/2017-10-01/generated/azure_mgmt_network/models/ike_encryption.rb +19 -0
  365. data/lib/2017-10-01/generated/azure_mgmt_network/models/ike_integrity.rb +18 -0
  366. data/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +141 -0
  367. data/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +172 -0
  368. data/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  369. data/lib/2017-10-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  370. data/lib/2017-10-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  371. data/lib/2017-10-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
  372. data/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  373. data/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  374. data/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_policy.rb +135 -0
  375. data/lib/2017-10-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
  376. data/lib/2017-10-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  377. data/lib/2017-10-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  378. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
  379. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  380. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  381. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  382. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  383. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  384. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
  385. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  386. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +209 -0
  387. data/lib/2017-10-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  388. data/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
  389. data/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  390. data/lib/2017-10-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  391. data/lib/2017-10-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  392. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
  393. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  394. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
  395. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
  396. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  397. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  398. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  399. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  400. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
  401. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  402. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
  403. data/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  404. data/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  405. data/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  406. data/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  407. data/lib/2017-10-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  408. data/lib/2017-10-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  409. data/lib/2017-10-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  410. data/lib/2017-10-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  411. data/lib/2017-10-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  412. data/lib/2017-10-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +124 -0
  413. data/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
  414. data/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  415. data/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  416. data/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
  417. data/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  418. data/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
  419. data/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  420. data/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
  421. data/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +147 -0
  422. data/lib/2017-10-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  423. data/lib/2017-10-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  424. data/lib/2017-10-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  425. data/lib/2017-10-01/generated/azure_mgmt_network/models/pfs_group.rb +21 -0
  426. data/lib/2017-10-01/generated/azure_mgmt_network/models/probe.rb +170 -0
  427. data/lib/2017-10-01/generated/azure_mgmt_network/models/probe_protocol.rb +16 -0
  428. data/lib/2017-10-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  429. data/lib/2017-10-01/generated/azure_mgmt_network/models/protocol.rb +16 -0
  430. data/lib/2017-10-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  431. data/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress.rb +227 -0
  432. data/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  433. data/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  434. data/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
  435. data/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  436. data/lib/2017-10-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  437. data/lib/2017-10-01/generated/azure_mgmt_network/models/resource.rb +100 -0
  438. data/lib/2017-10-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
  439. data/lib/2017-10-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  440. data/lib/2017-10-01/generated/azure_mgmt_network/models/route.rb +118 -0
  441. data/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
  442. data/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  443. data/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule.rb +157 -0
  444. data/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  445. data/lib/2017-10-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  446. data/lib/2017-10-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  447. data/lib/2017-10-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
  448. data/lib/2017-10-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
  449. data/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
  450. data/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  451. data/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  452. data/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
  453. data/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  454. data/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
  455. data/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  456. data/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  457. data/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
  458. data/lib/2017-10-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
  459. data/lib/2017-10-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  460. data/lib/2017-10-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  461. data/lib/2017-10-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  462. data/lib/2017-10-01/generated/azure_mgmt_network/models/subnet.rb +178 -0
  463. data/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  464. data/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  465. data/lib/2017-10-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  466. data/lib/2017-10-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  467. data/lib/2017-10-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  468. data/lib/2017-10-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  469. data/lib/2017-10-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  470. data/lib/2017-10-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  471. data/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  472. data/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  473. data/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  474. data/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  475. data/lib/2017-10-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  476. data/lib/2017-10-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  477. data/lib/2017-10-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  478. data/lib/2017-10-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  479. data/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  480. data/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  481. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network.rb +212 -0
  482. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  483. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
  484. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +325 -0
  485. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +326 -0
  486. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  487. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  488. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  489. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
  490. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  491. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  492. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +72 -0
  493. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +21 -0
  494. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +21 -0
  495. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
  496. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  497. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  498. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
  499. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  500. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  501. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  502. data/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  503. data/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +134 -0
  504. data/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
  505. data/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +16 -0
  506. data/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
  507. data/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
  508. data/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  509. data/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  510. data/lib/2017-10-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  511. data/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +326 -0
  512. data/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +230 -0
  513. data/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb +1213 -0
  514. data/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +380 -0
  515. data/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb +963 -0
  516. data/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb +2435 -0
  517. data/lib/2017-10-01/generated/azure_mgmt_network/operations.rb +218 -0
  518. data/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb +787 -0
  519. data/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb +945 -0
  520. data/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb +777 -0
  521. data/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb +948 -0
  522. data/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb +945 -0
  523. data/lib/2017-10-01/generated/azure_mgmt_network/routes.rb +618 -0
  524. data/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb +636 -0
  525. data/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb +622 -0
  526. data/lib/2017-10-01/generated/azure_mgmt_network/usages.rb +226 -0
  527. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1234 -0
  528. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2295 -0
  529. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb +627 -0
  530. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb +1242 -0
  531. data/lib/2017-11-01/generated/azure_mgmt_network.rb +350 -0
  532. data/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb +1776 -0
  533. data/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb +803 -0
  534. data/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb +225 -0
  535. data/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb +220 -0
  536. data/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb +976 -0
  537. data/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb +336 -0
  538. data/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +624 -0
  539. data/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +619 -0
  540. data/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb +1580 -0
  541. data/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb +220 -0
  542. data/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb +622 -0
  543. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +329 -0
  544. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +329 -0
  545. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +326 -0
  546. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +230 -0
  547. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb +326 -0
  548. data/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb +945 -0
  549. data/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb +772 -0
  550. data/lib/2017-11-01/generated/azure_mgmt_network/models/access.rb +16 -0
  551. data/lib/2017-11-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
  552. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway.rb +438 -0
  553. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
  554. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  555. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  556. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  557. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  558. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
  559. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
  560. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  561. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  562. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
  563. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  564. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +241 -0
  565. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  566. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  567. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  568. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  569. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  570. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  571. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
  572. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
  573. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
  574. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +163 -0
  575. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
  576. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  577. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  578. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
  579. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +201 -0
  580. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  581. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  582. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
  583. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  584. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
  585. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  586. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  587. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +19 -0
  588. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
  589. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
  590. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  591. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  592. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  593. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  594. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  595. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +16 -0
  596. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
  597. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +104 -0
  598. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  599. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  600. data/lib/2017-11-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  601. data/lib/2017-11-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  602. data/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  603. data/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  604. data/lib/2017-11-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  605. data/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  606. data/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  607. data/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  608. data/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  609. data/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  610. data/lib/2017-11-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  611. data/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
  612. data/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  613. data/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  614. data/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  615. data/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
  616. data/lib/2017-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
  617. data/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  618. data/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
  619. data/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  620. data/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  621. data/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  622. data/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
  623. data/lib/2017-11-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  624. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
  625. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
  626. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  627. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
  628. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +56 -0
  629. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
  630. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
  631. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  632. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_shared_key.rb +46 -0
  633. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  634. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +103 -0
  635. data/lib/2017-11-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  636. data/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
  637. data/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
  638. data/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  639. data/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  640. data/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +59 -0
  641. data/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
  642. data/lib/2017-11-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  643. data/lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
  644. data/lib/2017-11-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  645. data/lib/2017-11-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  646. data/lib/2017-11-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  647. data/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  648. data/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  649. data/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  650. data/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
  651. data/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
  652. data/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  653. data/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  654. data/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  655. data/lib/2017-11-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  656. data/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  657. data/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  658. data/lib/2017-11-01/generated/azure_mgmt_network/models/error.rb +100 -0
  659. data/lib/2017-11-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
  660. data/lib/2017-11-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  661. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb +246 -0
  662. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  663. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
  664. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  665. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +272 -0
  666. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  667. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
  668. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  669. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  670. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb +17 -0
  671. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +90 -0
  672. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  673. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  674. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
  675. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  676. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
  677. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  678. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
  679. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  680. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  681. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
  682. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  683. data/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  684. data/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_information.rb +81 -0
  685. data/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +47 -0
  686. data/lib/2017-11-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +235 -0
  687. data/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  688. data/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  689. data/lib/2017-11-01/generated/azure_mgmt_network/models/ike_encryption.rb +19 -0
  690. data/lib/2017-11-01/generated/azure_mgmt_network/models/ike_integrity.rb +18 -0
  691. data/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +169 -0
  692. data/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +172 -0
  693. data/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  694. data/lib/2017-11-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  695. data/lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  696. data/lib/2017-11-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  697. data/lib/2017-11-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
  698. data/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  699. data/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  700. data/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_policy.rb +135 -0
  701. data/lib/2017-11-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
  702. data/lib/2017-11-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  703. data/lib/2017-11-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  704. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
  705. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  706. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  707. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  708. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  709. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  710. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
  711. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  712. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +209 -0
  713. data/lib/2017-11-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  714. data/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
  715. data/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  716. data/lib/2017-11-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  717. data/lib/2017-11-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  718. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
  719. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  720. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
  721. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
  722. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  723. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  724. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  725. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  726. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
  727. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  728. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
  729. data/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  730. data/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  731. data/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  732. data/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  733. data/lib/2017-11-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  734. data/lib/2017-11-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  735. data/lib/2017-11-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  736. data/lib/2017-11-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  737. data/lib/2017-11-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  738. data/lib/2017-11-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +124 -0
  739. data/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
  740. data/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  741. data/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  742. data/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
  743. data/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  744. data/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
  745. data/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  746. data/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
  747. data/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
  748. data/lib/2017-11-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  749. data/lib/2017-11-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  750. data/lib/2017-11-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  751. data/lib/2017-11-01/generated/azure_mgmt_network/models/pfs_group.rb +21 -0
  752. data/lib/2017-11-01/generated/azure_mgmt_network/models/probe.rb +170 -0
  753. data/lib/2017-11-01/generated/azure_mgmt_network/models/probe_protocol.rb +16 -0
  754. data/lib/2017-11-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  755. data/lib/2017-11-01/generated/azure_mgmt_network/models/protocol.rb +16 -0
  756. data/lib/2017-11-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  757. data/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress.rb +248 -0
  758. data/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  759. data/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  760. data/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
  761. data/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  762. data/lib/2017-11-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  763. data/lib/2017-11-01/generated/azure_mgmt_network/models/resource.rb +100 -0
  764. data/lib/2017-11-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
  765. data/lib/2017-11-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  766. data/lib/2017-11-01/generated/azure_mgmt_network/models/route.rb +118 -0
  767. data/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
  768. data/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  769. data/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
  770. data/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  771. data/lib/2017-11-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  772. data/lib/2017-11-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  773. data/lib/2017-11-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
  774. data/lib/2017-11-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
  775. data/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
  776. data/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  777. data/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  778. data/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
  779. data/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  780. data/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
  781. data/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  782. data/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  783. data/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
  784. data/lib/2017-11-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
  785. data/lib/2017-11-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  786. data/lib/2017-11-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  787. data/lib/2017-11-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  788. data/lib/2017-11-01/generated/azure_mgmt_network/models/subnet.rb +178 -0
  789. data/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  790. data/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  791. data/lib/2017-11-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  792. data/lib/2017-11-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  793. data/lib/2017-11-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  794. data/lib/2017-11-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  795. data/lib/2017-11-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  796. data/lib/2017-11-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  797. data/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  798. data/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  799. data/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  800. data/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  801. data/lib/2017-11-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  802. data/lib/2017-11-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  803. data/lib/2017-11-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  804. data/lib/2017-11-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  805. data/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  806. data/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  807. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network.rb +212 -0
  808. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  809. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
  810. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +325 -0
  811. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +326 -0
  812. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  813. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  814. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  815. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
  816. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  817. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  818. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +72 -0
  819. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +21 -0
  820. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +21 -0
  821. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
  822. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  823. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  824. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
  825. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  826. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  827. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  828. data/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  829. data/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +134 -0
  830. data/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
  831. data/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +16 -0
  832. data/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
  833. data/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
  834. data/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  835. data/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  836. data/lib/2017-11-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  837. data/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +326 -0
  838. data/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +230 -0
  839. data/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb +1213 -0
  840. data/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +380 -0
  841. data/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb +963 -0
  842. data/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb +2435 -0
  843. data/lib/2017-11-01/generated/azure_mgmt_network/operations.rb +218 -0
  844. data/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb +787 -0
  845. data/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb +945 -0
  846. data/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb +777 -0
  847. data/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb +948 -0
  848. data/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb +945 -0
  849. data/lib/2017-11-01/generated/azure_mgmt_network/routes.rb +618 -0
  850. data/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb +636 -0
  851. data/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb +622 -0
  852. data/lib/2017-11-01/generated/azure_mgmt_network/usages.rb +226 -0
  853. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1234 -0
  854. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2295 -0
  855. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb +627 -0
  856. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb +1242 -0
  857. data/lib/2018-01-01/generated/azure_mgmt_network.rb +350 -0
  858. data/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb +1776 -0
  859. data/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb +803 -0
  860. data/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb +225 -0
  861. data/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb +220 -0
  862. data/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb +976 -0
  863. data/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb +336 -0
  864. data/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +624 -0
  865. data/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +619 -0
  866. data/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb +1580 -0
  867. data/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb +220 -0
  868. data/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb +622 -0
  869. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +329 -0
  870. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +329 -0
  871. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +326 -0
  872. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +230 -0
  873. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb +326 -0
  874. data/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb +945 -0
  875. data/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb +772 -0
  876. data/lib/2018-01-01/generated/azure_mgmt_network/models/access.rb +16 -0
  877. data/lib/2018-01-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
  878. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway.rb +438 -0
  879. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
  880. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  881. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  882. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  883. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  884. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
  885. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
  886. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  887. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  888. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
  889. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  890. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +241 -0
  891. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  892. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  893. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  894. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  895. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  896. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  897. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
  898. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
  899. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
  900. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +163 -0
  901. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
  902. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  903. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  904. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
  905. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +201 -0
  906. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  907. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  908. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
  909. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  910. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
  911. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  912. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  913. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +19 -0
  914. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
  915. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
  916. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  917. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  918. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  919. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  920. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  921. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +16 -0
  922. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
  923. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +130 -0
  924. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  925. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  926. data/lib/2018-01-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  927. data/lib/2018-01-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  928. data/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  929. data/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  930. data/lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  931. data/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  932. data/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  933. data/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  934. data/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  935. data/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  936. data/lib/2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  937. data/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
  938. data/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  939. data/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  940. data/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  941. data/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
  942. data/lib/2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
  943. data/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  944. data/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
  945. data/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  946. data/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  947. data/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  948. data/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
  949. data/lib/2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  950. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
  951. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
  952. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  953. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
  954. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +56 -0
  955. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
  956. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
  957. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  958. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb +46 -0
  959. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  960. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +103 -0
  961. data/lib/2018-01-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  962. data/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
  963. data/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
  964. data/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  965. data/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  966. data/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +59 -0
  967. data/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
  968. data/lib/2018-01-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  969. data/lib/2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
  970. data/lib/2018-01-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  971. data/lib/2018-01-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  972. data/lib/2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  973. data/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  974. data/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  975. data/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  976. data/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
  977. data/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
  978. data/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  979. data/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  980. data/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  981. data/lib/2018-01-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  982. data/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  983. data/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  984. data/lib/2018-01-01/generated/azure_mgmt_network/models/error.rb +100 -0
  985. data/lib/2018-01-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
  986. data/lib/2018-01-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  987. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit.rb +246 -0
  988. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  989. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
  990. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  991. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +272 -0
  992. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  993. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
  994. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  995. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  996. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb +17 -0
  997. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +90 -0
  998. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  999. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  1000. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
  1001. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  1002. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
  1003. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  1004. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
  1005. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  1006. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  1007. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
  1008. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  1009. data/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  1010. data/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb +81 -0
  1011. data/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +47 -0
  1012. data/lib/2018-01-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +235 -0
  1013. data/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  1014. data/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  1015. data/lib/2018-01-01/generated/azure_mgmt_network/models/ike_encryption.rb +19 -0
  1016. data/lib/2018-01-01/generated/azure_mgmt_network/models/ike_integrity.rb +18 -0
  1017. data/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +169 -0
  1018. data/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +172 -0
  1019. data/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  1020. data/lib/2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  1021. data/lib/2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  1022. data/lib/2018-01-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  1023. data/lib/2018-01-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
  1024. data/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  1025. data/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  1026. data/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb +135 -0
  1027. data/lib/2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
  1028. data/lib/2018-01-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  1029. data/lib/2018-01-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  1030. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
  1031. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  1032. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  1033. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  1034. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  1035. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  1036. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
  1037. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  1038. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +209 -0
  1039. data/lib/2018-01-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  1040. data/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
  1041. data/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  1042. data/lib/2018-01-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  1043. data/lib/2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  1044. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
  1045. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  1046. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
  1047. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
  1048. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  1049. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  1050. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  1051. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  1052. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
  1053. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  1054. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
  1055. data/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  1056. data/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  1057. data/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  1058. data/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  1059. data/lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  1060. data/lib/2018-01-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  1061. data/lib/2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  1062. data/lib/2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  1063. data/lib/2018-01-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  1064. data/lib/2018-01-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +124 -0
  1065. data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
  1066. data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  1067. data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  1068. data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
  1069. data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  1070. data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
  1071. data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  1072. data/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
  1073. data/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
  1074. data/lib/2018-01-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  1075. data/lib/2018-01-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  1076. data/lib/2018-01-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  1077. data/lib/2018-01-01/generated/azure_mgmt_network/models/pfs_group.rb +21 -0
  1078. data/lib/2018-01-01/generated/azure_mgmt_network/models/probe.rb +170 -0
  1079. data/lib/2018-01-01/generated/azure_mgmt_network/models/probe_protocol.rb +16 -0
  1080. data/lib/2018-01-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  1081. data/lib/2018-01-01/generated/azure_mgmt_network/models/protocol.rb +16 -0
  1082. data/lib/2018-01-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  1083. data/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress.rb +248 -0
  1084. data/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  1085. data/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  1086. data/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
  1087. data/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  1088. data/lib/2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  1089. data/lib/2018-01-01/generated/azure_mgmt_network/models/resource.rb +100 -0
  1090. data/lib/2018-01-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
  1091. data/lib/2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  1092. data/lib/2018-01-01/generated/azure_mgmt_network/models/route.rb +118 -0
  1093. data/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
  1094. data/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  1095. data/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
  1096. data/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  1097. data/lib/2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  1098. data/lib/2018-01-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  1099. data/lib/2018-01-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
  1100. data/lib/2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
  1101. data/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
  1102. data/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  1103. data/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  1104. data/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
  1105. data/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  1106. data/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
  1107. data/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  1108. data/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  1109. data/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
  1110. data/lib/2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
  1111. data/lib/2018-01-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  1112. data/lib/2018-01-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  1113. data/lib/2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  1114. data/lib/2018-01-01/generated/azure_mgmt_network/models/subnet.rb +178 -0
  1115. data/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  1116. data/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  1117. data/lib/2018-01-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  1118. data/lib/2018-01-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  1119. data/lib/2018-01-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  1120. data/lib/2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  1121. data/lib/2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  1122. data/lib/2018-01-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  1123. data/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  1124. data/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  1125. data/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  1126. data/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  1127. data/lib/2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  1128. data/lib/2018-01-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  1129. data/lib/2018-01-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  1130. data/lib/2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  1131. data/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  1132. data/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  1133. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network.rb +212 -0
  1134. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  1135. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
  1136. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +325 -0
  1137. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +326 -0
  1138. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  1139. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  1140. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  1141. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
  1142. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  1143. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  1144. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +72 -0
  1145. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +21 -0
  1146. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +21 -0
  1147. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
  1148. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  1149. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  1150. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
  1151. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  1152. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  1153. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  1154. data/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  1155. data/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +134 -0
  1156. data/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
  1157. data/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +16 -0
  1158. data/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
  1159. data/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
  1160. data/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  1161. data/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  1162. data/lib/2018-01-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  1163. data/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +326 -0
  1164. data/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +230 -0
  1165. data/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb +1213 -0
  1166. data/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +380 -0
  1167. data/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb +963 -0
  1168. data/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb +2435 -0
  1169. data/lib/2018-01-01/generated/azure_mgmt_network/operations.rb +218 -0
  1170. data/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb +787 -0
  1171. data/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb +945 -0
  1172. data/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb +777 -0
  1173. data/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb +948 -0
  1174. data/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb +945 -0
  1175. data/lib/2018-01-01/generated/azure_mgmt_network/routes.rb +618 -0
  1176. data/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb +636 -0
  1177. data/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb +622 -0
  1178. data/lib/2018-01-01/generated/azure_mgmt_network/usages.rb +226 -0
  1179. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1234 -0
  1180. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2295 -0
  1181. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb +627 -0
  1182. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb +1242 -0
  1183. data/lib/azure_mgmt_network.rb +3 -0
  1184. data/lib/profiles/latest/modules/network_profile_module.rb +1246 -1143
  1185. data/lib/profiles/latest/network_latest_profile_client.rb +28 -9
  1186. data/lib/profiles/latest/network_module_definition.rb +0 -1
  1187. data/lib/profiles/v2017_03_09/modules/network_profile_module.rb +399 -380
  1188. data/lib/profiles/v2017_03_09/network_module_definition.rb +0 -1
  1189. data/lib/profiles/v2017_03_09/network_v2017_03_09_profile_client.rb +28 -9
  1190. data/lib/version.rb +1 -1
  1191. metadata +991 -3
@@ -0,0 +1,2295 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Network::Mgmt::V2017_11_01
7
+ #
8
+ # The Microsoft Azure Network management API provides a RESTful set of web
9
+ # services that interact with Microsoft Azure Networks service to manage your
10
+ # network resources. The API has entities that capture the relationship
11
+ # between an end user and the Microsoft Azure Networks service.
12
+ #
13
+ class VirtualNetworkGateways
14
+ include MsRestAzure
15
+
16
+ #
17
+ # Creates and initializes a new instance of the VirtualNetworkGateways class.
18
+ # @param client service class for accessing basic functionality.
19
+ #
20
+ def initialize(client)
21
+ @client = client
22
+ end
23
+
24
+ # @return [NetworkManagementClient] reference to the NetworkManagementClient
25
+ attr_reader :client
26
+
27
+ #
28
+ # Creates or updates a virtual network gateway in the specified resource group.
29
+ #
30
+ # @param resource_group_name [String] The name of the resource group.
31
+ # @param virtual_network_gateway_name [String] The name of the virtual network
32
+ # gateway.
33
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
34
+ # update virtual network gateway operation.
35
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
36
+ # will be added to the HTTP request.
37
+ #
38
+ # @return [VirtualNetworkGateway] operation results.
39
+ #
40
+ def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
41
+ response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
42
+ response.body unless response.nil?
43
+ end
44
+
45
+ #
46
+ # @param resource_group_name [String] The name of the resource group.
47
+ # @param virtual_network_gateway_name [String] The name of the virtual network
48
+ # gateway.
49
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
50
+ # update virtual network gateway operation.
51
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
52
+ # will be added to the HTTP request.
53
+ #
54
+ # @return [Concurrent::Promise] promise which provides async access to http
55
+ # response.
56
+ #
57
+ def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
58
+ # Send request
59
+ promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
60
+
61
+ promise = promise.then do |response|
62
+ # Defining deserialization method.
63
+ deserialize_method = lambda do |parsed_response|
64
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper()
65
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
66
+ end
67
+
68
+ # Waiting for response.
69
+ @client.get_long_running_operation_result(response, deserialize_method)
70
+ end
71
+
72
+ promise
73
+ end
74
+
75
+ #
76
+ # Gets the specified virtual network gateway by resource group.
77
+ #
78
+ # @param resource_group_name [String] The name of the resource group.
79
+ # @param virtual_network_gateway_name [String] The name of the virtual network
80
+ # gateway.
81
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
82
+ # will be added to the HTTP request.
83
+ #
84
+ # @return [VirtualNetworkGateway] operation results.
85
+ #
86
+ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
87
+ response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
88
+ response.body unless response.nil?
89
+ end
90
+
91
+ #
92
+ # Gets the specified virtual network gateway by resource group.
93
+ #
94
+ # @param resource_group_name [String] The name of the resource group.
95
+ # @param virtual_network_gateway_name [String] The name of the virtual network
96
+ # gateway.
97
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
98
+ # will be added to the HTTP request.
99
+ #
100
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
101
+ #
102
+ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
103
+ get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
104
+ end
105
+
106
+ #
107
+ # Gets the specified virtual network gateway by resource group.
108
+ #
109
+ # @param resource_group_name [String] The name of the resource group.
110
+ # @param virtual_network_gateway_name [String] The name of the virtual network
111
+ # gateway.
112
+ # @param [Hash{String => String}] A hash of custom headers that will be added
113
+ # to the HTTP request.
114
+ #
115
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
116
+ #
117
+ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
118
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
119
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
120
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
121
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
122
+
123
+
124
+ request_headers = {}
125
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
126
+
127
+ # Set Headers
128
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
129
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
130
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
131
+
132
+ request_url = @base_url || @client.base_url
133
+
134
+ options = {
135
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
136
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
137
+ query_params: {'api-version' => @client.api_version},
138
+ headers: request_headers.merge(custom_headers || {}),
139
+ base_url: request_url
140
+ }
141
+ promise = @client.make_request_async(:get, path_template, options)
142
+
143
+ promise = promise.then do |result|
144
+ http_response = result.response
145
+ status_code = http_response.status
146
+ response_content = http_response.body
147
+ unless status_code == 200
148
+ error_model = JSON.load(response_content)
149
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
150
+ end
151
+
152
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
153
+ # Deserialize Response
154
+ if status_code == 200
155
+ begin
156
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
157
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper()
158
+ result.body = @client.deserialize(result_mapper, parsed_response)
159
+ rescue Exception => e
160
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
161
+ end
162
+ end
163
+
164
+ result
165
+ end
166
+
167
+ promise.execute
168
+ end
169
+
170
+ #
171
+ # Deletes the specified virtual network gateway.
172
+ #
173
+ # @param resource_group_name [String] The name of the resource group.
174
+ # @param virtual_network_gateway_name [String] The name of the virtual network
175
+ # gateway.
176
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
177
+ # will be added to the HTTP request.
178
+ #
179
+ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
180
+ response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
181
+ nil
182
+ end
183
+
184
+ #
185
+ # @param resource_group_name [String] The name of the resource group.
186
+ # @param virtual_network_gateway_name [String] The name of the virtual network
187
+ # gateway.
188
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
189
+ # will be added to the HTTP request.
190
+ #
191
+ # @return [Concurrent::Promise] promise which provides async access to http
192
+ # response.
193
+ #
194
+ def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
195
+ # Send request
196
+ promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
197
+
198
+ promise = promise.then do |response|
199
+ # Defining deserialization method.
200
+ deserialize_method = lambda do |parsed_response|
201
+ end
202
+
203
+ # Waiting for response.
204
+ @client.get_long_running_operation_result(response, deserialize_method)
205
+ end
206
+
207
+ promise
208
+ end
209
+
210
+ #
211
+ # Updates a virtual network gateway tags.
212
+ #
213
+ # @param resource_group_name [String] The name of the resource group.
214
+ # @param virtual_network_gateway_name [String] The name of the virtual network
215
+ # gateway.
216
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
217
+ # gateway tags.
218
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
219
+ # will be added to the HTTP request.
220
+ #
221
+ # @return [VirtualNetworkGateway] operation results.
222
+ #
223
+ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
224
+ response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
225
+ response.body unless response.nil?
226
+ end
227
+
228
+ #
229
+ # @param resource_group_name [String] The name of the resource group.
230
+ # @param virtual_network_gateway_name [String] The name of the virtual network
231
+ # gateway.
232
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
233
+ # gateway tags.
234
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
235
+ # will be added to the HTTP request.
236
+ #
237
+ # @return [Concurrent::Promise] promise which provides async access to http
238
+ # response.
239
+ #
240
+ def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
241
+ # Send request
242
+ promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
243
+
244
+ promise = promise.then do |response|
245
+ # Defining deserialization method.
246
+ deserialize_method = lambda do |parsed_response|
247
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper()
248
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
249
+ end
250
+
251
+ # Waiting for response.
252
+ @client.get_long_running_operation_result(response, deserialize_method)
253
+ end
254
+
255
+ promise
256
+ end
257
+
258
+ #
259
+ # Gets all virtual network gateways by resource group.
260
+ #
261
+ # @param resource_group_name [String] The name of the resource group.
262
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
263
+ # will be added to the HTTP request.
264
+ #
265
+ # @return [Array<VirtualNetworkGateway>] operation results.
266
+ #
267
+ def list(resource_group_name, custom_headers:nil)
268
+ first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
269
+ first_page.get_all_items
270
+ end
271
+
272
+ #
273
+ # Gets all virtual network gateways by resource group.
274
+ #
275
+ # @param resource_group_name [String] The name of the resource group.
276
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
277
+ # will be added to the HTTP request.
278
+ #
279
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
280
+ #
281
+ def list_with_http_info(resource_group_name, custom_headers:nil)
282
+ list_async(resource_group_name, custom_headers:custom_headers).value!
283
+ end
284
+
285
+ #
286
+ # Gets all virtual network gateways by resource group.
287
+ #
288
+ # @param resource_group_name [String] The name of the resource group.
289
+ # @param [Hash{String => String}] A hash of custom headers that will be added
290
+ # to the HTTP request.
291
+ #
292
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
293
+ #
294
+ def list_async(resource_group_name, custom_headers:nil)
295
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
296
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
297
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
298
+
299
+
300
+ request_headers = {}
301
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
302
+
303
+ # Set Headers
304
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
305
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
306
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways'
307
+
308
+ request_url = @base_url || @client.base_url
309
+
310
+ options = {
311
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
312
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
313
+ query_params: {'api-version' => @client.api_version},
314
+ headers: request_headers.merge(custom_headers || {}),
315
+ base_url: request_url
316
+ }
317
+ promise = @client.make_request_async(:get, path_template, options)
318
+
319
+ promise = promise.then do |result|
320
+ http_response = result.response
321
+ status_code = http_response.status
322
+ response_content = http_response.body
323
+ unless status_code == 200
324
+ error_model = JSON.load(response_content)
325
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
326
+ end
327
+
328
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
329
+ # Deserialize Response
330
+ if status_code == 200
331
+ begin
332
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
333
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGatewayListResult.mapper()
334
+ result.body = @client.deserialize(result_mapper, parsed_response)
335
+ rescue Exception => e
336
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
337
+ end
338
+ end
339
+
340
+ result
341
+ end
342
+
343
+ promise.execute
344
+ end
345
+
346
+ #
347
+ # Gets all the connections in a virtual network gateway.
348
+ #
349
+ # @param resource_group_name [String] The name of the resource group.
350
+ # @param virtual_network_gateway_name [String] The name of the virtual network
351
+ # gateway.
352
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
353
+ # will be added to the HTTP request.
354
+ #
355
+ # @return [Array<VirtualNetworkGatewayConnectionListEntity>] operation results.
356
+ #
357
+ def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
358
+ first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
359
+ first_page.get_all_items
360
+ end
361
+
362
+ #
363
+ # Gets all the connections in a virtual network gateway.
364
+ #
365
+ # @param resource_group_name [String] The name of the resource group.
366
+ # @param virtual_network_gateway_name [String] The name of the virtual network
367
+ # gateway.
368
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
369
+ # will be added to the HTTP request.
370
+ #
371
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
372
+ #
373
+ def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
374
+ list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
375
+ end
376
+
377
+ #
378
+ # Gets all the connections in a virtual network gateway.
379
+ #
380
+ # @param resource_group_name [String] The name of the resource group.
381
+ # @param virtual_network_gateway_name [String] The name of the virtual network
382
+ # gateway.
383
+ # @param [Hash{String => String}] A hash of custom headers that will be added
384
+ # to the HTTP request.
385
+ #
386
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
387
+ #
388
+ def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
389
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
390
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
391
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
392
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
393
+
394
+
395
+ request_headers = {}
396
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
397
+
398
+ # Set Headers
399
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
400
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
401
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections'
402
+
403
+ request_url = @base_url || @client.base_url
404
+
405
+ options = {
406
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
407
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
408
+ query_params: {'api-version' => @client.api_version},
409
+ headers: request_headers.merge(custom_headers || {}),
410
+ base_url: request_url
411
+ }
412
+ promise = @client.make_request_async(:get, path_template, options)
413
+
414
+ promise = promise.then do |result|
415
+ http_response = result.response
416
+ status_code = http_response.status
417
+ response_content = http_response.body
418
+ unless status_code == 200
419
+ error_model = JSON.load(response_content)
420
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
421
+ end
422
+
423
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
424
+ # Deserialize Response
425
+ if status_code == 200
426
+ begin
427
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
428
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGatewayListConnectionsResult.mapper()
429
+ result.body = @client.deserialize(result_mapper, parsed_response)
430
+ rescue Exception => e
431
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
432
+ end
433
+ end
434
+
435
+ result
436
+ end
437
+
438
+ promise.execute
439
+ end
440
+
441
+ #
442
+ # Resets the primary of the virtual network gateway in the specified resource
443
+ # group.
444
+ #
445
+ # @param resource_group_name [String] The name of the resource group.
446
+ # @param virtual_network_gateway_name [String] The name of the virtual network
447
+ # gateway.
448
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
449
+ # the begin reset of the active-active feature enabled gateway.
450
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
451
+ # will be added to the HTTP request.
452
+ #
453
+ # @return [VirtualNetworkGateway] operation results.
454
+ #
455
+ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
456
+ response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value!
457
+ response.body unless response.nil?
458
+ end
459
+
460
+ #
461
+ # @param resource_group_name [String] The name of the resource group.
462
+ # @param virtual_network_gateway_name [String] The name of the virtual network
463
+ # gateway.
464
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
465
+ # the begin reset of the active-active feature enabled gateway.
466
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
467
+ # will be added to the HTTP request.
468
+ #
469
+ # @return [Concurrent::Promise] promise which provides async access to http
470
+ # response.
471
+ #
472
+ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
473
+ # Send request
474
+ promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers)
475
+
476
+ promise = promise.then do |response|
477
+ # Defining deserialization method.
478
+ deserialize_method = lambda do |parsed_response|
479
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper()
480
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
481
+ end
482
+
483
+ # Waiting for response.
484
+ @client.get_long_running_operation_result(response, deserialize_method)
485
+ end
486
+
487
+ promise
488
+ end
489
+
490
+ #
491
+ # Generates VPN client package for P2S client of the virtual network gateway in
492
+ # the specified resource group.
493
+ #
494
+ # @param resource_group_name [String] The name of the resource group.
495
+ # @param virtual_network_gateway_name [String] The name of the virtual network
496
+ # gateway.
497
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
498
+ # virtual network gateway VPN client package operation.
499
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
500
+ # will be added to the HTTP request.
501
+ #
502
+ # @return [String] operation results.
503
+ #
504
+ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
505
+ response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
506
+ response.body unless response.nil?
507
+ end
508
+
509
+ #
510
+ # @param resource_group_name [String] The name of the resource group.
511
+ # @param virtual_network_gateway_name [String] The name of the virtual network
512
+ # gateway.
513
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
514
+ # virtual network gateway VPN client package operation.
515
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
516
+ # will be added to the HTTP request.
517
+ #
518
+ # @return [Concurrent::Promise] promise which provides async access to http
519
+ # response.
520
+ #
521
+ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
522
+ # Send request
523
+ promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
524
+
525
+ promise = promise.then do |response|
526
+ # Defining deserialization method.
527
+ deserialize_method = lambda do |parsed_response|
528
+ result_mapper = {
529
+ client_side_validation: true,
530
+ required: false,
531
+ serialized_name: 'parsed_response',
532
+ type: {
533
+ name: 'String'
534
+ }
535
+ }
536
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
537
+ end
538
+
539
+ # Waiting for response.
540
+ @client.get_long_running_operation_result(response, deserialize_method)
541
+ end
542
+
543
+ promise
544
+ end
545
+
546
+ #
547
+ # Generates VPN profile for P2S client of the virtual network gateway in the
548
+ # specified resource group. Used for IKEV2 and radius based authentication.
549
+ #
550
+ # @param resource_group_name [String] The name of the resource group.
551
+ # @param virtual_network_gateway_name [String] The name of the virtual network
552
+ # gateway.
553
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
554
+ # virtual network gateway VPN client package operation.
555
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
556
+ # will be added to the HTTP request.
557
+ #
558
+ # @return [String] operation results.
559
+ #
560
+ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
561
+ response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
562
+ response.body unless response.nil?
563
+ end
564
+
565
+ #
566
+ # @param resource_group_name [String] The name of the resource group.
567
+ # @param virtual_network_gateway_name [String] The name of the virtual network
568
+ # gateway.
569
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
570
+ # virtual network gateway VPN client package operation.
571
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
572
+ # will be added to the HTTP request.
573
+ #
574
+ # @return [Concurrent::Promise] promise which provides async access to http
575
+ # response.
576
+ #
577
+ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
578
+ # Send request
579
+ promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
580
+
581
+ promise = promise.then do |response|
582
+ # Defining deserialization method.
583
+ deserialize_method = lambda do |parsed_response|
584
+ result_mapper = {
585
+ client_side_validation: true,
586
+ required: false,
587
+ serialized_name: 'parsed_response',
588
+ type: {
589
+ name: 'String'
590
+ }
591
+ }
592
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
593
+ end
594
+
595
+ # Waiting for response.
596
+ @client.get_long_running_operation_result(response, deserialize_method)
597
+ end
598
+
599
+ promise
600
+ end
601
+
602
+ #
603
+ # Gets pre-generated VPN profile for P2S client of the virtual network gateway
604
+ # in the specified resource group. The profile needs to be generated first
605
+ # using generateVpnProfile.
606
+ #
607
+ # @param resource_group_name [String] The name of the resource group.
608
+ # @param virtual_network_gateway_name [String] The name of the virtual network
609
+ # gateway.
610
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
611
+ # will be added to the HTTP request.
612
+ #
613
+ # @return [String] operation results.
614
+ #
615
+ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
616
+ response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
617
+ response.body unless response.nil?
618
+ end
619
+
620
+ #
621
+ # @param resource_group_name [String] The name of the resource group.
622
+ # @param virtual_network_gateway_name [String] The name of the virtual network
623
+ # gateway.
624
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
625
+ # will be added to the HTTP request.
626
+ #
627
+ # @return [Concurrent::Promise] promise which provides async access to http
628
+ # response.
629
+ #
630
+ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
631
+ # Send request
632
+ promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
633
+
634
+ promise = promise.then do |response|
635
+ # Defining deserialization method.
636
+ deserialize_method = lambda do |parsed_response|
637
+ result_mapper = {
638
+ client_side_validation: true,
639
+ required: false,
640
+ serialized_name: 'parsed_response',
641
+ type: {
642
+ name: 'String'
643
+ }
644
+ }
645
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
646
+ end
647
+
648
+ # Waiting for response.
649
+ @client.get_long_running_operation_result(response, deserialize_method)
650
+ end
651
+
652
+ promise
653
+ end
654
+
655
+ #
656
+ # The GetBgpPeerStatus operation retrieves the status of all BGP peers.
657
+ #
658
+ # @param resource_group_name [String] The name of the resource group.
659
+ # @param virtual_network_gateway_name [String] The name of the virtual network
660
+ # gateway.
661
+ # @param peer [String] The IP address of the peer to retrieve the status of.
662
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
663
+ # will be added to the HTTP request.
664
+ #
665
+ # @return [BgpPeerStatusListResult] operation results.
666
+ #
667
+ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
668
+ response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value!
669
+ response.body unless response.nil?
670
+ end
671
+
672
+ #
673
+ # @param resource_group_name [String] The name of the resource group.
674
+ # @param virtual_network_gateway_name [String] The name of the virtual network
675
+ # gateway.
676
+ # @param peer [String] The IP address of the peer to retrieve the status of.
677
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
678
+ # will be added to the HTTP request.
679
+ #
680
+ # @return [Concurrent::Promise] promise which provides async access to http
681
+ # response.
682
+ #
683
+ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
684
+ # Send request
685
+ promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers)
686
+
687
+ promise = promise.then do |response|
688
+ # Defining deserialization method.
689
+ deserialize_method = lambda do |parsed_response|
690
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::BgpPeerStatusListResult.mapper()
691
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
692
+ end
693
+
694
+ # Waiting for response.
695
+ @client.get_long_running_operation_result(response, deserialize_method)
696
+ end
697
+
698
+ promise
699
+ end
700
+
701
+ #
702
+ # Gets a xml format representation for supported vpn devices.
703
+ #
704
+ # @param resource_group_name [String] The name of the resource group.
705
+ # @param virtual_network_gateway_name [String] The name of the virtual network
706
+ # gateway.
707
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
708
+ # will be added to the HTTP request.
709
+ #
710
+ # @return [String] operation results.
711
+ #
712
+ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
713
+ response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
714
+ response.body unless response.nil?
715
+ end
716
+
717
+ #
718
+ # Gets a xml format representation for supported vpn devices.
719
+ #
720
+ # @param resource_group_name [String] The name of the resource group.
721
+ # @param virtual_network_gateway_name [String] The name of the virtual network
722
+ # gateway.
723
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
724
+ # will be added to the HTTP request.
725
+ #
726
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
727
+ #
728
+ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
729
+ supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
730
+ end
731
+
732
+ #
733
+ # Gets a xml format representation for supported vpn devices.
734
+ #
735
+ # @param resource_group_name [String] The name of the resource group.
736
+ # @param virtual_network_gateway_name [String] The name of the virtual network
737
+ # gateway.
738
+ # @param [Hash{String => String}] A hash of custom headers that will be added
739
+ # to the HTTP request.
740
+ #
741
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
742
+ #
743
+ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
744
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
745
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
746
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
747
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
748
+
749
+
750
+ request_headers = {}
751
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
752
+
753
+ # Set Headers
754
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
755
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
756
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices'
757
+
758
+ request_url = @base_url || @client.base_url
759
+
760
+ options = {
761
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
762
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
763
+ query_params: {'api-version' => @client.api_version},
764
+ headers: request_headers.merge(custom_headers || {}),
765
+ base_url: request_url
766
+ }
767
+ promise = @client.make_request_async(:post, path_template, options)
768
+
769
+ promise = promise.then do |result|
770
+ http_response = result.response
771
+ status_code = http_response.status
772
+ response_content = http_response.body
773
+ unless status_code == 200
774
+ error_model = JSON.load(response_content)
775
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
776
+ end
777
+
778
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
779
+ # Deserialize Response
780
+ if status_code == 200
781
+ begin
782
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
783
+ result_mapper = {
784
+ client_side_validation: true,
785
+ required: false,
786
+ serialized_name: 'parsed_response',
787
+ type: {
788
+ name: 'String'
789
+ }
790
+ }
791
+ result.body = @client.deserialize(result_mapper, parsed_response)
792
+ rescue Exception => e
793
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
794
+ end
795
+ end
796
+
797
+ result
798
+ end
799
+
800
+ promise.execute
801
+ end
802
+
803
+ #
804
+ # This operation retrieves a list of routes the virtual network gateway has
805
+ # learned, including routes learned from BGP peers.
806
+ #
807
+ # @param resource_group_name [String] The name of the resource group.
808
+ # @param virtual_network_gateway_name [String] The name of the virtual network
809
+ # gateway.
810
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
811
+ # will be added to the HTTP request.
812
+ #
813
+ # @return [GatewayRouteListResult] operation results.
814
+ #
815
+ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
816
+ response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
817
+ response.body unless response.nil?
818
+ end
819
+
820
+ #
821
+ # @param resource_group_name [String] The name of the resource group.
822
+ # @param virtual_network_gateway_name [String] The name of the virtual network
823
+ # gateway.
824
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
825
+ # will be added to the HTTP request.
826
+ #
827
+ # @return [Concurrent::Promise] promise which provides async access to http
828
+ # response.
829
+ #
830
+ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
831
+ # Send request
832
+ promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
833
+
834
+ promise = promise.then do |response|
835
+ # Defining deserialization method.
836
+ deserialize_method = lambda do |parsed_response|
837
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::GatewayRouteListResult.mapper()
838
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
839
+ end
840
+
841
+ # Waiting for response.
842
+ @client.get_long_running_operation_result(response, deserialize_method)
843
+ end
844
+
845
+ promise
846
+ end
847
+
848
+ #
849
+ # This operation retrieves a list of routes the virtual network gateway is
850
+ # advertising to the specified peer.
851
+ #
852
+ # @param resource_group_name [String] The name of the resource group.
853
+ # @param virtual_network_gateway_name [String] The name of the virtual network
854
+ # gateway.
855
+ # @param peer [String] The IP address of the peer
856
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
857
+ # will be added to the HTTP request.
858
+ #
859
+ # @return [GatewayRouteListResult] operation results.
860
+ #
861
+ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
862
+ response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value!
863
+ response.body unless response.nil?
864
+ end
865
+
866
+ #
867
+ # @param resource_group_name [String] The name of the resource group.
868
+ # @param virtual_network_gateway_name [String] The name of the virtual network
869
+ # gateway.
870
+ # @param peer [String] The IP address of the peer
871
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
872
+ # will be added to the HTTP request.
873
+ #
874
+ # @return [Concurrent::Promise] promise which provides async access to http
875
+ # response.
876
+ #
877
+ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
878
+ # Send request
879
+ promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers)
880
+
881
+ promise = promise.then do |response|
882
+ # Defining deserialization method.
883
+ deserialize_method = lambda do |parsed_response|
884
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::GatewayRouteListResult.mapper()
885
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
886
+ end
887
+
888
+ # Waiting for response.
889
+ @client.get_long_running_operation_result(response, deserialize_method)
890
+ end
891
+
892
+ promise
893
+ end
894
+
895
+ #
896
+ # Gets a xml format representation for vpn device configuration script.
897
+ #
898
+ # @param resource_group_name [String] The name of the resource group.
899
+ # @param virtual_network_gateway_connection_name [String] The name of the
900
+ # virtual network gateway connection for which the configuration script is
901
+ # generated.
902
+ # @param parameters [VpnDeviceScriptParameters] Parameters supplied to the
903
+ # generate vpn device script operation.
904
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
905
+ # will be added to the HTTP request.
906
+ #
907
+ # @return [String] operation results.
908
+ #
909
+ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
910
+ response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
911
+ response.body unless response.nil?
912
+ end
913
+
914
+ #
915
+ # Gets a xml format representation for vpn device configuration script.
916
+ #
917
+ # @param resource_group_name [String] The name of the resource group.
918
+ # @param virtual_network_gateway_connection_name [String] The name of the
919
+ # virtual network gateway connection for which the configuration script is
920
+ # generated.
921
+ # @param parameters [VpnDeviceScriptParameters] Parameters supplied to the
922
+ # generate vpn device script operation.
923
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
924
+ # will be added to the HTTP request.
925
+ #
926
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
927
+ #
928
+ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
929
+ vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
930
+ end
931
+
932
+ #
933
+ # Gets a xml format representation for vpn device configuration script.
934
+ #
935
+ # @param resource_group_name [String] The name of the resource group.
936
+ # @param virtual_network_gateway_connection_name [String] The name of the
937
+ # virtual network gateway connection for which the configuration script is
938
+ # generated.
939
+ # @param parameters [VpnDeviceScriptParameters] Parameters supplied to the
940
+ # generate vpn device script operation.
941
+ # @param [Hash{String => String}] A hash of custom headers that will be added
942
+ # to the HTTP request.
943
+ #
944
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
945
+ #
946
+ def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
947
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
948
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
949
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
950
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
951
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
952
+
953
+
954
+ request_headers = {}
955
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
956
+
957
+ # Set Headers
958
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
959
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
960
+
961
+ # Serialize Request
962
+ request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VpnDeviceScriptParameters.mapper()
963
+ request_content = @client.serialize(request_mapper, parameters)
964
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
965
+
966
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript'
967
+
968
+ request_url = @base_url || @client.base_url
969
+
970
+ options = {
971
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
972
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
973
+ query_params: {'api-version' => @client.api_version},
974
+ body: request_content,
975
+ headers: request_headers.merge(custom_headers || {}),
976
+ base_url: request_url
977
+ }
978
+ promise = @client.make_request_async(:post, path_template, options)
979
+
980
+ promise = promise.then do |result|
981
+ http_response = result.response
982
+ status_code = http_response.status
983
+ response_content = http_response.body
984
+ unless status_code == 200
985
+ error_model = JSON.load(response_content)
986
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
987
+ end
988
+
989
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
990
+ # Deserialize Response
991
+ if status_code == 200
992
+ begin
993
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
994
+ result_mapper = {
995
+ client_side_validation: true,
996
+ required: false,
997
+ serialized_name: 'parsed_response',
998
+ type: {
999
+ name: 'String'
1000
+ }
1001
+ }
1002
+ result.body = @client.deserialize(result_mapper, parsed_response)
1003
+ rescue Exception => e
1004
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1005
+ end
1006
+ end
1007
+
1008
+ result
1009
+ end
1010
+
1011
+ promise.execute
1012
+ end
1013
+
1014
+ #
1015
+ # Creates or updates a virtual network gateway in the specified resource group.
1016
+ #
1017
+ # @param resource_group_name [String] The name of the resource group.
1018
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1019
+ # gateway.
1020
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
1021
+ # update virtual network gateway operation.
1022
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1023
+ # will be added to the HTTP request.
1024
+ #
1025
+ # @return [VirtualNetworkGateway] operation results.
1026
+ #
1027
+ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1028
+ response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1029
+ response.body unless response.nil?
1030
+ end
1031
+
1032
+ #
1033
+ # Creates or updates a virtual network gateway in the specified resource group.
1034
+ #
1035
+ # @param resource_group_name [String] The name of the resource group.
1036
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1037
+ # gateway.
1038
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
1039
+ # update virtual network gateway operation.
1040
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1041
+ # will be added to the HTTP request.
1042
+ #
1043
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1044
+ #
1045
+ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1046
+ begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1047
+ end
1048
+
1049
+ #
1050
+ # Creates or updates a virtual network gateway in the specified resource group.
1051
+ #
1052
+ # @param resource_group_name [String] The name of the resource group.
1053
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1054
+ # gateway.
1055
+ # @param parameters [VirtualNetworkGateway] Parameters supplied to create or
1056
+ # update virtual network gateway operation.
1057
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1058
+ # to the HTTP request.
1059
+ #
1060
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1061
+ #
1062
+ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1063
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1064
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1065
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1066
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1067
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1068
+
1069
+
1070
+ request_headers = {}
1071
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1072
+
1073
+ # Set Headers
1074
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1075
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1076
+
1077
+ # Serialize Request
1078
+ request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper()
1079
+ request_content = @client.serialize(request_mapper, parameters)
1080
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1081
+
1082
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
1083
+
1084
+ request_url = @base_url || @client.base_url
1085
+
1086
+ options = {
1087
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1088
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1089
+ query_params: {'api-version' => @client.api_version},
1090
+ body: request_content,
1091
+ headers: request_headers.merge(custom_headers || {}),
1092
+ base_url: request_url
1093
+ }
1094
+ promise = @client.make_request_async(:put, path_template, options)
1095
+
1096
+ promise = promise.then do |result|
1097
+ http_response = result.response
1098
+ status_code = http_response.status
1099
+ response_content = http_response.body
1100
+ unless status_code == 200 || status_code == 201
1101
+ error_model = JSON.load(response_content)
1102
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1103
+ end
1104
+
1105
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1106
+ # Deserialize Response
1107
+ if status_code == 200
1108
+ begin
1109
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1110
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper()
1111
+ result.body = @client.deserialize(result_mapper, parsed_response)
1112
+ rescue Exception => e
1113
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1114
+ end
1115
+ end
1116
+ # Deserialize Response
1117
+ if status_code == 201
1118
+ begin
1119
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1120
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper()
1121
+ result.body = @client.deserialize(result_mapper, parsed_response)
1122
+ rescue Exception => e
1123
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1124
+ end
1125
+ end
1126
+
1127
+ result
1128
+ end
1129
+
1130
+ promise.execute
1131
+ end
1132
+
1133
+ #
1134
+ # Deletes the specified virtual network gateway.
1135
+ #
1136
+ # @param resource_group_name [String] The name of the resource group.
1137
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1138
+ # gateway.
1139
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1140
+ # will be added to the HTTP request.
1141
+ #
1142
+ #
1143
+ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1144
+ response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1145
+ nil
1146
+ end
1147
+
1148
+ #
1149
+ # Deletes the specified virtual network gateway.
1150
+ #
1151
+ # @param resource_group_name [String] The name of the resource group.
1152
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1153
+ # gateway.
1154
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1155
+ # will be added to the HTTP request.
1156
+ #
1157
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1158
+ #
1159
+ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1160
+ begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1161
+ end
1162
+
1163
+ #
1164
+ # Deletes the specified virtual network gateway.
1165
+ #
1166
+ # @param resource_group_name [String] The name of the resource group.
1167
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1168
+ # gateway.
1169
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1170
+ # to the HTTP request.
1171
+ #
1172
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1173
+ #
1174
+ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1175
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1176
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1177
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1178
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1179
+
1180
+
1181
+ request_headers = {}
1182
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1183
+
1184
+ # Set Headers
1185
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1186
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1187
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
1188
+
1189
+ request_url = @base_url || @client.base_url
1190
+
1191
+ options = {
1192
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1193
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1194
+ query_params: {'api-version' => @client.api_version},
1195
+ headers: request_headers.merge(custom_headers || {}),
1196
+ base_url: request_url
1197
+ }
1198
+ promise = @client.make_request_async(:delete, path_template, options)
1199
+
1200
+ promise = promise.then do |result|
1201
+ http_response = result.response
1202
+ status_code = http_response.status
1203
+ response_content = http_response.body
1204
+ unless status_code == 204 || status_code == 202 || status_code == 200
1205
+ error_model = JSON.load(response_content)
1206
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1207
+ end
1208
+
1209
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1210
+
1211
+ result
1212
+ end
1213
+
1214
+ promise.execute
1215
+ end
1216
+
1217
+ #
1218
+ # Updates a virtual network gateway tags.
1219
+ #
1220
+ # @param resource_group_name [String] The name of the resource group.
1221
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1222
+ # gateway.
1223
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
1224
+ # gateway tags.
1225
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1226
+ # will be added to the HTTP request.
1227
+ #
1228
+ # @return [VirtualNetworkGateway] operation results.
1229
+ #
1230
+ def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1231
+ response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1232
+ response.body unless response.nil?
1233
+ end
1234
+
1235
+ #
1236
+ # Updates a virtual network gateway tags.
1237
+ #
1238
+ # @param resource_group_name [String] The name of the resource group.
1239
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1240
+ # gateway.
1241
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
1242
+ # gateway tags.
1243
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1244
+ # will be added to the HTTP request.
1245
+ #
1246
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1247
+ #
1248
+ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1249
+ begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1250
+ end
1251
+
1252
+ #
1253
+ # Updates a virtual network gateway tags.
1254
+ #
1255
+ # @param resource_group_name [String] The name of the resource group.
1256
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1257
+ # gateway.
1258
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
1259
+ # gateway tags.
1260
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1261
+ # to the HTTP request.
1262
+ #
1263
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1264
+ #
1265
+ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1266
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1267
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1268
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1269
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1270
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1271
+
1272
+
1273
+ request_headers = {}
1274
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1275
+
1276
+ # Set Headers
1277
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1278
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1279
+
1280
+ # Serialize Request
1281
+ request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper()
1282
+ request_content = @client.serialize(request_mapper, parameters)
1283
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1284
+
1285
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
1286
+
1287
+ request_url = @base_url || @client.base_url
1288
+
1289
+ options = {
1290
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1291
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1292
+ query_params: {'api-version' => @client.api_version},
1293
+ body: request_content,
1294
+ headers: request_headers.merge(custom_headers || {}),
1295
+ base_url: request_url
1296
+ }
1297
+ promise = @client.make_request_async(:patch, path_template, options)
1298
+
1299
+ promise = promise.then do |result|
1300
+ http_response = result.response
1301
+ status_code = http_response.status
1302
+ response_content = http_response.body
1303
+ unless status_code == 200
1304
+ error_model = JSON.load(response_content)
1305
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1306
+ end
1307
+
1308
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1309
+ # Deserialize Response
1310
+ if status_code == 200
1311
+ begin
1312
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1313
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper()
1314
+ result.body = @client.deserialize(result_mapper, parsed_response)
1315
+ rescue Exception => e
1316
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1317
+ end
1318
+ end
1319
+
1320
+ result
1321
+ end
1322
+
1323
+ promise.execute
1324
+ end
1325
+
1326
+ #
1327
+ # Resets the primary of the virtual network gateway in the specified resource
1328
+ # group.
1329
+ #
1330
+ # @param resource_group_name [String] The name of the resource group.
1331
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1332
+ # gateway.
1333
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
1334
+ # the begin reset of the active-active feature enabled gateway.
1335
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1336
+ # will be added to the HTTP request.
1337
+ #
1338
+ # @return [VirtualNetworkGateway] operation results.
1339
+ #
1340
+ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
1341
+ response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value!
1342
+ response.body unless response.nil?
1343
+ end
1344
+
1345
+ #
1346
+ # Resets the primary of the virtual network gateway in the specified resource
1347
+ # group.
1348
+ #
1349
+ # @param resource_group_name [String] The name of the resource group.
1350
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1351
+ # gateway.
1352
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
1353
+ # the begin reset of the active-active feature enabled gateway.
1354
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1355
+ # will be added to the HTTP request.
1356
+ #
1357
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1358
+ #
1359
+ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
1360
+ begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value!
1361
+ end
1362
+
1363
+ #
1364
+ # Resets the primary of the virtual network gateway in the specified resource
1365
+ # group.
1366
+ #
1367
+ # @param resource_group_name [String] The name of the resource group.
1368
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1369
+ # gateway.
1370
+ # @param gateway_vip [String] Virtual network gateway vip address supplied to
1371
+ # the begin reset of the active-active feature enabled gateway.
1372
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1373
+ # to the HTTP request.
1374
+ #
1375
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1376
+ #
1377
+ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
1378
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1379
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1380
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1381
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1382
+
1383
+
1384
+ request_headers = {}
1385
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1386
+
1387
+ # Set Headers
1388
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1389
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1390
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset'
1391
+
1392
+ request_url = @base_url || @client.base_url
1393
+
1394
+ options = {
1395
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1396
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1397
+ query_params: {'gatewayVip' => gateway_vip,'api-version' => @client.api_version},
1398
+ headers: request_headers.merge(custom_headers || {}),
1399
+ base_url: request_url
1400
+ }
1401
+ promise = @client.make_request_async(:post, path_template, options)
1402
+
1403
+ promise = promise.then do |result|
1404
+ http_response = result.response
1405
+ status_code = http_response.status
1406
+ response_content = http_response.body
1407
+ unless status_code == 202 || status_code == 200
1408
+ error_model = JSON.load(response_content)
1409
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1410
+ end
1411
+
1412
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1413
+ # Deserialize Response
1414
+ if status_code == 200
1415
+ begin
1416
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1417
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper()
1418
+ result.body = @client.deserialize(result_mapper, parsed_response)
1419
+ rescue Exception => e
1420
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1421
+ end
1422
+ end
1423
+
1424
+ result
1425
+ end
1426
+
1427
+ promise.execute
1428
+ end
1429
+
1430
+ #
1431
+ # Generates VPN client package for P2S client of the virtual network gateway in
1432
+ # the specified resource group.
1433
+ #
1434
+ # @param resource_group_name [String] The name of the resource group.
1435
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1436
+ # gateway.
1437
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1438
+ # virtual network gateway VPN client package operation.
1439
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1440
+ # will be added to the HTTP request.
1441
+ #
1442
+ # @return [String] operation results.
1443
+ #
1444
+ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1445
+ response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1446
+ response.body unless response.nil?
1447
+ end
1448
+
1449
+ #
1450
+ # Generates VPN client package for P2S client of the virtual network gateway in
1451
+ # the specified resource group.
1452
+ #
1453
+ # @param resource_group_name [String] The name of the resource group.
1454
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1455
+ # gateway.
1456
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1457
+ # virtual network gateway VPN client package operation.
1458
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1459
+ # will be added to the HTTP request.
1460
+ #
1461
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1462
+ #
1463
+ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1464
+ begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1465
+ end
1466
+
1467
+ #
1468
+ # Generates VPN client package for P2S client of the virtual network gateway in
1469
+ # the specified resource group.
1470
+ #
1471
+ # @param resource_group_name [String] The name of the resource group.
1472
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1473
+ # gateway.
1474
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1475
+ # virtual network gateway VPN client package operation.
1476
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1477
+ # to the HTTP request.
1478
+ #
1479
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1480
+ #
1481
+ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1482
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1483
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1484
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1485
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1486
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1487
+
1488
+
1489
+ request_headers = {}
1490
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1491
+
1492
+ # Set Headers
1493
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1494
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1495
+
1496
+ # Serialize Request
1497
+ request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VpnClientParameters.mapper()
1498
+ request_content = @client.serialize(request_mapper, parameters)
1499
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1500
+
1501
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage'
1502
+
1503
+ request_url = @base_url || @client.base_url
1504
+
1505
+ options = {
1506
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1507
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1508
+ query_params: {'api-version' => @client.api_version},
1509
+ body: request_content,
1510
+ headers: request_headers.merge(custom_headers || {}),
1511
+ base_url: request_url
1512
+ }
1513
+ promise = @client.make_request_async(:post, path_template, options)
1514
+
1515
+ promise = promise.then do |result|
1516
+ http_response = result.response
1517
+ status_code = http_response.status
1518
+ response_content = http_response.body
1519
+ unless status_code == 200
1520
+ error_model = JSON.load(response_content)
1521
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1522
+ end
1523
+
1524
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1525
+ # Deserialize Response
1526
+ if status_code == 200
1527
+ begin
1528
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1529
+ result_mapper = {
1530
+ client_side_validation: true,
1531
+ required: false,
1532
+ serialized_name: 'parsed_response',
1533
+ type: {
1534
+ name: 'String'
1535
+ }
1536
+ }
1537
+ result.body = @client.deserialize(result_mapper, parsed_response)
1538
+ rescue Exception => e
1539
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1540
+ end
1541
+ end
1542
+
1543
+ result
1544
+ end
1545
+
1546
+ promise.execute
1547
+ end
1548
+
1549
+ #
1550
+ # Generates VPN profile for P2S client of the virtual network gateway in the
1551
+ # specified resource group. Used for IKEV2 and radius based authentication.
1552
+ #
1553
+ # @param resource_group_name [String] The name of the resource group.
1554
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1555
+ # gateway.
1556
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1557
+ # virtual network gateway VPN client package operation.
1558
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1559
+ # will be added to the HTTP request.
1560
+ #
1561
+ # @return [String] operation results.
1562
+ #
1563
+ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1564
+ response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1565
+ response.body unless response.nil?
1566
+ end
1567
+
1568
+ #
1569
+ # Generates VPN profile for P2S client of the virtual network gateway in the
1570
+ # specified resource group. Used for IKEV2 and radius based authentication.
1571
+ #
1572
+ # @param resource_group_name [String] The name of the resource group.
1573
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1574
+ # gateway.
1575
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1576
+ # virtual network gateway VPN client package operation.
1577
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1578
+ # will be added to the HTTP request.
1579
+ #
1580
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1581
+ #
1582
+ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1583
+ begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
1584
+ end
1585
+
1586
+ #
1587
+ # Generates VPN profile for P2S client of the virtual network gateway in the
1588
+ # specified resource group. Used for IKEV2 and radius based authentication.
1589
+ #
1590
+ # @param resource_group_name [String] The name of the resource group.
1591
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1592
+ # gateway.
1593
+ # @param parameters [VpnClientParameters] Parameters supplied to the generate
1594
+ # virtual network gateway VPN client package operation.
1595
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1596
+ # to the HTTP request.
1597
+ #
1598
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1599
+ #
1600
+ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
1601
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1602
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1603
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1604
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1605
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1606
+
1607
+
1608
+ request_headers = {}
1609
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1610
+
1611
+ # Set Headers
1612
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1613
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1614
+
1615
+ # Serialize Request
1616
+ request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VpnClientParameters.mapper()
1617
+ request_content = @client.serialize(request_mapper, parameters)
1618
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1619
+
1620
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile'
1621
+
1622
+ request_url = @base_url || @client.base_url
1623
+
1624
+ options = {
1625
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1626
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1627
+ query_params: {'api-version' => @client.api_version},
1628
+ body: request_content,
1629
+ headers: request_headers.merge(custom_headers || {}),
1630
+ base_url: request_url
1631
+ }
1632
+ promise = @client.make_request_async(:post, path_template, options)
1633
+
1634
+ promise = promise.then do |result|
1635
+ http_response = result.response
1636
+ status_code = http_response.status
1637
+ response_content = http_response.body
1638
+ unless status_code == 200 || status_code == 202
1639
+ error_model = JSON.load(response_content)
1640
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1641
+ end
1642
+
1643
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1644
+ # Deserialize Response
1645
+ if status_code == 200
1646
+ begin
1647
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1648
+ result_mapper = {
1649
+ client_side_validation: true,
1650
+ required: false,
1651
+ serialized_name: 'parsed_response',
1652
+ type: {
1653
+ name: 'String'
1654
+ }
1655
+ }
1656
+ result.body = @client.deserialize(result_mapper, parsed_response)
1657
+ rescue Exception => e
1658
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1659
+ end
1660
+ end
1661
+
1662
+ result
1663
+ end
1664
+
1665
+ promise.execute
1666
+ end
1667
+
1668
+ #
1669
+ # Gets pre-generated VPN profile for P2S client of the virtual network gateway
1670
+ # in the specified resource group. The profile needs to be generated first
1671
+ # using generateVpnProfile.
1672
+ #
1673
+ # @param resource_group_name [String] The name of the resource group.
1674
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1675
+ # gateway.
1676
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1677
+ # will be added to the HTTP request.
1678
+ #
1679
+ # @return [String] operation results.
1680
+ #
1681
+ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1682
+ response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1683
+ response.body unless response.nil?
1684
+ end
1685
+
1686
+ #
1687
+ # Gets pre-generated VPN profile for P2S client of the virtual network gateway
1688
+ # in the specified resource group. The profile needs to be generated first
1689
+ # using generateVpnProfile.
1690
+ #
1691
+ # @param resource_group_name [String] The name of the resource group.
1692
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1693
+ # gateway.
1694
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1695
+ # will be added to the HTTP request.
1696
+ #
1697
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1698
+ #
1699
+ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1700
+ begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1701
+ end
1702
+
1703
+ #
1704
+ # Gets pre-generated VPN profile for P2S client of the virtual network gateway
1705
+ # in the specified resource group. The profile needs to be generated first
1706
+ # using generateVpnProfile.
1707
+ #
1708
+ # @param resource_group_name [String] The name of the resource group.
1709
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1710
+ # gateway.
1711
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1712
+ # to the HTTP request.
1713
+ #
1714
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1715
+ #
1716
+ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1717
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1718
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1719
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1720
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1721
+
1722
+
1723
+ request_headers = {}
1724
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1725
+
1726
+ # Set Headers
1727
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1728
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1729
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl'
1730
+
1731
+ request_url = @base_url || @client.base_url
1732
+
1733
+ options = {
1734
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1735
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1736
+ query_params: {'api-version' => @client.api_version},
1737
+ headers: request_headers.merge(custom_headers || {}),
1738
+ base_url: request_url
1739
+ }
1740
+ promise = @client.make_request_async(:post, path_template, options)
1741
+
1742
+ promise = promise.then do |result|
1743
+ http_response = result.response
1744
+ status_code = http_response.status
1745
+ response_content = http_response.body
1746
+ unless status_code == 200 || status_code == 202
1747
+ error_model = JSON.load(response_content)
1748
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1749
+ end
1750
+
1751
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1752
+ # Deserialize Response
1753
+ if status_code == 200
1754
+ begin
1755
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1756
+ result_mapper = {
1757
+ client_side_validation: true,
1758
+ required: false,
1759
+ serialized_name: 'parsed_response',
1760
+ type: {
1761
+ name: 'String'
1762
+ }
1763
+ }
1764
+ result.body = @client.deserialize(result_mapper, parsed_response)
1765
+ rescue Exception => e
1766
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1767
+ end
1768
+ end
1769
+
1770
+ result
1771
+ end
1772
+
1773
+ promise.execute
1774
+ end
1775
+
1776
+ #
1777
+ # The GetBgpPeerStatus operation retrieves the status of all BGP peers.
1778
+ #
1779
+ # @param resource_group_name [String] The name of the resource group.
1780
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1781
+ # gateway.
1782
+ # @param peer [String] The IP address of the peer to retrieve the status of.
1783
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1784
+ # will be added to the HTTP request.
1785
+ #
1786
+ # @return [BgpPeerStatusListResult] operation results.
1787
+ #
1788
+ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
1789
+ response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value!
1790
+ response.body unless response.nil?
1791
+ end
1792
+
1793
+ #
1794
+ # The GetBgpPeerStatus operation retrieves the status of all BGP peers.
1795
+ #
1796
+ # @param resource_group_name [String] The name of the resource group.
1797
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1798
+ # gateway.
1799
+ # @param peer [String] The IP address of the peer to retrieve the status of.
1800
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1801
+ # will be added to the HTTP request.
1802
+ #
1803
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1804
+ #
1805
+ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
1806
+ begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value!
1807
+ end
1808
+
1809
+ #
1810
+ # The GetBgpPeerStatus operation retrieves the status of all BGP peers.
1811
+ #
1812
+ # @param resource_group_name [String] The name of the resource group.
1813
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1814
+ # gateway.
1815
+ # @param peer [String] The IP address of the peer to retrieve the status of.
1816
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1817
+ # to the HTTP request.
1818
+ #
1819
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1820
+ #
1821
+ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
1822
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1823
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1824
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1825
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1826
+
1827
+
1828
+ request_headers = {}
1829
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1830
+
1831
+ # Set Headers
1832
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1833
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1834
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus'
1835
+
1836
+ request_url = @base_url || @client.base_url
1837
+
1838
+ options = {
1839
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1840
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1841
+ query_params: {'peer' => peer,'api-version' => @client.api_version},
1842
+ headers: request_headers.merge(custom_headers || {}),
1843
+ base_url: request_url
1844
+ }
1845
+ promise = @client.make_request_async(:post, path_template, options)
1846
+
1847
+ promise = promise.then do |result|
1848
+ http_response = result.response
1849
+ status_code = http_response.status
1850
+ response_content = http_response.body
1851
+ unless status_code == 200 || status_code == 202
1852
+ error_model = JSON.load(response_content)
1853
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1854
+ end
1855
+
1856
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1857
+ # Deserialize Response
1858
+ if status_code == 200
1859
+ begin
1860
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1861
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::BgpPeerStatusListResult.mapper()
1862
+ result.body = @client.deserialize(result_mapper, parsed_response)
1863
+ rescue Exception => e
1864
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1865
+ end
1866
+ end
1867
+
1868
+ result
1869
+ end
1870
+
1871
+ promise.execute
1872
+ end
1873
+
1874
+ #
1875
+ # This operation retrieves a list of routes the virtual network gateway has
1876
+ # learned, including routes learned from BGP peers.
1877
+ #
1878
+ # @param resource_group_name [String] The name of the resource group.
1879
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1880
+ # gateway.
1881
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1882
+ # will be added to the HTTP request.
1883
+ #
1884
+ # @return [GatewayRouteListResult] operation results.
1885
+ #
1886
+ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1887
+ response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1888
+ response.body unless response.nil?
1889
+ end
1890
+
1891
+ #
1892
+ # This operation retrieves a list of routes the virtual network gateway has
1893
+ # learned, including routes learned from BGP peers.
1894
+ #
1895
+ # @param resource_group_name [String] The name of the resource group.
1896
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1897
+ # gateway.
1898
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1899
+ # will be added to the HTTP request.
1900
+ #
1901
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1902
+ #
1903
+ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1904
+ begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
1905
+ end
1906
+
1907
+ #
1908
+ # This operation retrieves a list of routes the virtual network gateway has
1909
+ # learned, including routes learned from BGP peers.
1910
+ #
1911
+ # @param resource_group_name [String] The name of the resource group.
1912
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1913
+ # gateway.
1914
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1915
+ # to the HTTP request.
1916
+ #
1917
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1918
+ #
1919
+ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
1920
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1921
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
1922
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1923
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1924
+
1925
+
1926
+ request_headers = {}
1927
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1928
+
1929
+ # Set Headers
1930
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1931
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1932
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes'
1933
+
1934
+ request_url = @base_url || @client.base_url
1935
+
1936
+ options = {
1937
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1938
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
1939
+ query_params: {'api-version' => @client.api_version},
1940
+ headers: request_headers.merge(custom_headers || {}),
1941
+ base_url: request_url
1942
+ }
1943
+ promise = @client.make_request_async(:post, path_template, options)
1944
+
1945
+ promise = promise.then do |result|
1946
+ http_response = result.response
1947
+ status_code = http_response.status
1948
+ response_content = http_response.body
1949
+ unless status_code == 200 || status_code == 202
1950
+ error_model = JSON.load(response_content)
1951
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1952
+ end
1953
+
1954
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1955
+ # Deserialize Response
1956
+ if status_code == 200
1957
+ begin
1958
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1959
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::GatewayRouteListResult.mapper()
1960
+ result.body = @client.deserialize(result_mapper, parsed_response)
1961
+ rescue Exception => e
1962
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1963
+ end
1964
+ end
1965
+
1966
+ result
1967
+ end
1968
+
1969
+ promise.execute
1970
+ end
1971
+
1972
+ #
1973
+ # This operation retrieves a list of routes the virtual network gateway is
1974
+ # advertising to the specified peer.
1975
+ #
1976
+ # @param resource_group_name [String] The name of the resource group.
1977
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1978
+ # gateway.
1979
+ # @param peer [String] The IP address of the peer
1980
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1981
+ # will be added to the HTTP request.
1982
+ #
1983
+ # @return [GatewayRouteListResult] operation results.
1984
+ #
1985
+ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
1986
+ response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value!
1987
+ response.body unless response.nil?
1988
+ end
1989
+
1990
+ #
1991
+ # This operation retrieves a list of routes the virtual network gateway is
1992
+ # advertising to the specified peer.
1993
+ #
1994
+ # @param resource_group_name [String] The name of the resource group.
1995
+ # @param virtual_network_gateway_name [String] The name of the virtual network
1996
+ # gateway.
1997
+ # @param peer [String] The IP address of the peer
1998
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1999
+ # will be added to the HTTP request.
2000
+ #
2001
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2002
+ #
2003
+ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
2004
+ begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value!
2005
+ end
2006
+
2007
+ #
2008
+ # This operation retrieves a list of routes the virtual network gateway is
2009
+ # advertising to the specified peer.
2010
+ #
2011
+ # @param resource_group_name [String] The name of the resource group.
2012
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2013
+ # gateway.
2014
+ # @param peer [String] The IP address of the peer
2015
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2016
+ # to the HTTP request.
2017
+ #
2018
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2019
+ #
2020
+ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
2021
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2022
+ fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
2023
+ fail ArgumentError, 'peer is nil' if peer.nil?
2024
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2025
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
2026
+
2027
+
2028
+ request_headers = {}
2029
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2030
+
2031
+ # Set Headers
2032
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2033
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2034
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes'
2035
+
2036
+ request_url = @base_url || @client.base_url
2037
+
2038
+ options = {
2039
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2040
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
2041
+ query_params: {'peer' => peer,'api-version' => @client.api_version},
2042
+ headers: request_headers.merge(custom_headers || {}),
2043
+ base_url: request_url
2044
+ }
2045
+ promise = @client.make_request_async(:post, path_template, options)
2046
+
2047
+ promise = promise.then do |result|
2048
+ http_response = result.response
2049
+ status_code = http_response.status
2050
+ response_content = http_response.body
2051
+ unless status_code == 200 || status_code == 202
2052
+ error_model = JSON.load(response_content)
2053
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2054
+ end
2055
+
2056
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2057
+ # Deserialize Response
2058
+ if status_code == 200
2059
+ begin
2060
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2061
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::GatewayRouteListResult.mapper()
2062
+ result.body = @client.deserialize(result_mapper, parsed_response)
2063
+ rescue Exception => e
2064
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2065
+ end
2066
+ end
2067
+
2068
+ result
2069
+ end
2070
+
2071
+ promise.execute
2072
+ end
2073
+
2074
+ #
2075
+ # Gets all virtual network gateways by resource group.
2076
+ #
2077
+ # @param next_page_link [String] The NextLink from the previous successful call
2078
+ # to List operation.
2079
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2080
+ # will be added to the HTTP request.
2081
+ #
2082
+ # @return [VirtualNetworkGatewayListResult] operation results.
2083
+ #
2084
+ def list_next(next_page_link, custom_headers:nil)
2085
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
2086
+ response.body unless response.nil?
2087
+ end
2088
+
2089
+ #
2090
+ # Gets all virtual network gateways by resource group.
2091
+ #
2092
+ # @param next_page_link [String] The NextLink from the previous successful call
2093
+ # to List operation.
2094
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2095
+ # will be added to the HTTP request.
2096
+ #
2097
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2098
+ #
2099
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
2100
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
2101
+ end
2102
+
2103
+ #
2104
+ # Gets all virtual network gateways by resource group.
2105
+ #
2106
+ # @param next_page_link [String] The NextLink from the previous successful call
2107
+ # to List operation.
2108
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2109
+ # to the HTTP request.
2110
+ #
2111
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2112
+ #
2113
+ def list_next_async(next_page_link, custom_headers:nil)
2114
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2115
+
2116
+
2117
+ request_headers = {}
2118
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2119
+
2120
+ # Set Headers
2121
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2122
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2123
+ path_template = '{nextLink}'
2124
+
2125
+ request_url = @base_url || @client.base_url
2126
+
2127
+ options = {
2128
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2129
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2130
+ headers: request_headers.merge(custom_headers || {}),
2131
+ base_url: request_url
2132
+ }
2133
+ promise = @client.make_request_async(:get, path_template, options)
2134
+
2135
+ promise = promise.then do |result|
2136
+ http_response = result.response
2137
+ status_code = http_response.status
2138
+ response_content = http_response.body
2139
+ unless status_code == 200
2140
+ error_model = JSON.load(response_content)
2141
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2142
+ end
2143
+
2144
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2145
+ # Deserialize Response
2146
+ if status_code == 200
2147
+ begin
2148
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2149
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGatewayListResult.mapper()
2150
+ result.body = @client.deserialize(result_mapper, parsed_response)
2151
+ rescue Exception => e
2152
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2153
+ end
2154
+ end
2155
+
2156
+ result
2157
+ end
2158
+
2159
+ promise.execute
2160
+ end
2161
+
2162
+ #
2163
+ # Gets all the connections in a virtual network gateway.
2164
+ #
2165
+ # @param next_page_link [String] The NextLink from the previous successful call
2166
+ # to List operation.
2167
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2168
+ # will be added to the HTTP request.
2169
+ #
2170
+ # @return [VirtualNetworkGatewayListConnectionsResult] operation results.
2171
+ #
2172
+ def list_connections_next(next_page_link, custom_headers:nil)
2173
+ response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value!
2174
+ response.body unless response.nil?
2175
+ end
2176
+
2177
+ #
2178
+ # Gets all the connections in a virtual network gateway.
2179
+ #
2180
+ # @param next_page_link [String] The NextLink from the previous successful call
2181
+ # to List operation.
2182
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2183
+ # will be added to the HTTP request.
2184
+ #
2185
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2186
+ #
2187
+ def list_connections_next_with_http_info(next_page_link, custom_headers:nil)
2188
+ list_connections_next_async(next_page_link, custom_headers:custom_headers).value!
2189
+ end
2190
+
2191
+ #
2192
+ # Gets all the connections in a virtual network gateway.
2193
+ #
2194
+ # @param next_page_link [String] The NextLink from the previous successful call
2195
+ # to List operation.
2196
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2197
+ # to the HTTP request.
2198
+ #
2199
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2200
+ #
2201
+ def list_connections_next_async(next_page_link, custom_headers:nil)
2202
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2203
+
2204
+
2205
+ request_headers = {}
2206
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2207
+
2208
+ # Set Headers
2209
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2210
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2211
+ path_template = '{nextLink}'
2212
+
2213
+ request_url = @base_url || @client.base_url
2214
+
2215
+ options = {
2216
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2217
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2218
+ headers: request_headers.merge(custom_headers || {}),
2219
+ base_url: request_url
2220
+ }
2221
+ promise = @client.make_request_async(:get, path_template, options)
2222
+
2223
+ promise = promise.then do |result|
2224
+ http_response = result.response
2225
+ status_code = http_response.status
2226
+ response_content = http_response.body
2227
+ unless status_code == 200
2228
+ error_model = JSON.load(response_content)
2229
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2230
+ end
2231
+
2232
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2233
+ # Deserialize Response
2234
+ if status_code == 200
2235
+ begin
2236
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2237
+ result_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGatewayListConnectionsResult.mapper()
2238
+ result.body = @client.deserialize(result_mapper, parsed_response)
2239
+ rescue Exception => e
2240
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2241
+ end
2242
+ end
2243
+
2244
+ result
2245
+ end
2246
+
2247
+ promise.execute
2248
+ end
2249
+
2250
+ #
2251
+ # Gets all virtual network gateways by resource group.
2252
+ #
2253
+ # @param resource_group_name [String] The name of the resource group.
2254
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2255
+ # will be added to the HTTP request.
2256
+ #
2257
+ # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages
2258
+ # of the response.
2259
+ #
2260
+ def list_as_lazy(resource_group_name, custom_headers:nil)
2261
+ response = list_async(resource_group_name, custom_headers:custom_headers).value!
2262
+ unless response.nil?
2263
+ page = response.body
2264
+ page.next_method = Proc.new do |next_page_link|
2265
+ list_next_async(next_page_link, custom_headers:custom_headers)
2266
+ end
2267
+ page
2268
+ end
2269
+ end
2270
+
2271
+ #
2272
+ # Gets all the connections in a virtual network gateway.
2273
+ #
2274
+ # @param resource_group_name [String] The name of the resource group.
2275
+ # @param virtual_network_gateway_name [String] The name of the virtual network
2276
+ # gateway.
2277
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2278
+ # will be added to the HTTP request.
2279
+ #
2280
+ # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy
2281
+ # access to pages of the response.
2282
+ #
2283
+ def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
2284
+ response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
2285
+ unless response.nil?
2286
+ page = response.body
2287
+ page.next_method = Proc.new do |next_page_link|
2288
+ list_connections_next_async(next_page_link, custom_headers:custom_headers)
2289
+ end
2290
+ page
2291
+ end
2292
+ end
2293
+
2294
+ end
2295
+ end