azure_mgmt_network 0.18.8 → 0.18.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (681) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +1 -1
  4. data/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  5. data/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb +140 -84
  6. data/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
  7. data/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  8. data/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  9. data/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  10. data/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +143 -87
  11. data/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  12. data/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  13. data/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb +143 -87
  14. data/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  15. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  16. data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb +143 -87
  17. data/lib/2017-03-30/generated/azure_mgmt_network.rb +10 -9
  18. data/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +1 -1
  19. data/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +1 -1
  20. data/lib/2017-03-30/generated/azure_mgmt_network/models/delegation.rb +2 -2
  21. data/lib/2017-03-30/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +13 -0
  22. data/lib/2017-03-30/generated/azure_mgmt_network/models/ip_tag.rb +2 -2
  23. data/lib/2017-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb +1 -1
  24. data/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface.rb +7 -7
  25. data/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_tap_configuration.rb +1 -1
  26. data/lib/2017-03-30/generated/azure_mgmt_network/models/{interface_endpoint.rb → private_endpoint.rb} +48 -42
  27. data/lib/2017-03-30/generated/azure_mgmt_network/models/private_link_service_connection.rb +111 -0
  28. data/lib/2017-03-30/generated/azure_mgmt_network/models/private_link_service_connection_state.rb +71 -0
  29. data/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +1 -1
  30. data/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +1 -1
  31. data/lib/2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb +13 -1
  32. data/lib/2017-03-30/generated/azure_mgmt_network/models/route.rb +1 -1
  33. data/lib/2017-03-30/generated/azure_mgmt_network/models/security_rule.rb +1 -2
  34. data/lib/2017-03-30/generated/azure_mgmt_network/models/service_association_link.rb +41 -0
  35. data/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb +8 -8
  36. data/lib/2017-03-30/generated/azure_mgmt_network/models/virtual_network_tap.rb +3 -3
  37. data/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb +10 -10
  38. data/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +5 -1
  39. data/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb +6 -6
  40. data/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  41. data/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  42. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  43. data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +144 -88
  44. data/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  45. data/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  46. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  47. data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb +144 -88
  48. data/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  49. data/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  50. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  51. data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb +144 -88
  52. data/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  53. data/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  54. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  55. data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb +144 -88
  56. data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  57. data/lib/2018-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  58. data/lib/2018-02-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  59. data/lib/2018-02-01/generated/azure_mgmt_network/virtual_network_gateways.rb +145 -89
  60. data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  61. data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_connection.rb +13 -43
  62. data/lib/2018-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  63. data/lib/2018-04-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  64. data/lib/2018-04-01/generated/azure_mgmt_network/virtual_network_gateways.rb +146 -90
  65. data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  66. data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_connection.rb +13 -43
  67. data/lib/2018-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  68. data/lib/2018-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  69. data/lib/2018-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb +147 -91
  70. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  71. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_connection.rb +13 -43
  72. data/lib/2018-07-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  73. data/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  74. data/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateways.rb +146 -90
  75. data/lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  76. data/lib/2018-08-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  77. data/lib/2018-08-01/generated/azure_mgmt_network/network_profiles.rb +83 -0
  78. data/lib/2018-08-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  79. data/lib/2018-08-01/generated/azure_mgmt_network/virtual_network_gateways.rb +147 -91
  80. data/lib/2018-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  81. data/lib/2018-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  82. data/lib/2018-10-01/generated/azure_mgmt_network/network_profiles.rb +83 -0
  83. data/lib/2018-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  84. data/lib/2018-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb +147 -91
  85. data/lib/2018-11-01/generated/azure_mgmt_network.rb +122 -125
  86. data/lib/2018-11-01/generated/azure_mgmt_network/application_gateways.rb +51 -6
  87. data/lib/2018-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  88. data/lib/2018-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  89. data/lib/2018-11-01/generated/azure_mgmt_network/network_profiles.rb +83 -0
  90. data/lib/2018-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  91. data/lib/2018-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb +147 -91
  92. data/lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  93. data/lib/2018-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  94. data/lib/2018-12-01/generated/azure_mgmt_network/network_profiles.rb +83 -0
  95. data/lib/2018-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -1
  96. data/lib/2018-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb +147 -91
  97. data/lib/2019-02-01/generated/azure_mgmt_network.rb +133 -129
  98. data/lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +3 -0
  99. data/lib/2019-02-01/generated/azure_mgmt_network/models/resource_navigation_links_list_result.rb +67 -0
  100. data/lib/2019-02-01/generated/azure_mgmt_network/models/service_association_links_list_result.rb +67 -0
  101. data/lib/2019-02-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +1 -1
  102. data/lib/2019-02-01/generated/azure_mgmt_network/models/web_application_firewall_policy_list_result.rb +1 -1
  103. data/lib/2019-02-01/generated/azure_mgmt_network/network_management_client.rb +9 -1
  104. data/lib/2019-02-01/generated/azure_mgmt_network/network_profiles.rb +83 -0
  105. data/lib/2019-02-01/generated/azure_mgmt_network/resource_navigation_links.rb +123 -0
  106. data/lib/2019-02-01/generated/azure_mgmt_network/service_association_links.rb +123 -0
  107. data/lib/2019-02-01/generated/azure_mgmt_network/virtual_network_gateways.rb +278 -166
  108. data/lib/2019-04-01/generated/azure_mgmt_network.rb +593 -0
  109. data/lib/2019-04-01/generated/azure_mgmt_network/application_gateways.rb +2276 -0
  110. data/lib/2019-04-01/generated/azure_mgmt_network/application_security_groups.rb +973 -0
  111. data/lib/2019-04-01/generated/azure_mgmt_network/available_delegations.rb +233 -0
  112. data/lib/2019-04-01/generated/azure_mgmt_network/available_endpoint_services.rb +226 -0
  113. data/lib/2019-04-01/generated/azure_mgmt_network/available_private_endpoint_types.rb +233 -0
  114. data/lib/2019-04-01/generated/azure_mgmt_network/available_resource_group_delegations.rb +238 -0
  115. data/lib/2019-04-01/generated/azure_mgmt_network/available_resource_group_private_endpoint_types.rb +238 -0
  116. data/lib/2019-04-01/generated/azure_mgmt_network/azure_firewall_fqdn_tags.rb +221 -0
  117. data/lib/2019-04-01/generated/azure_mgmt_network/azure_firewalls.rb +801 -0
  118. data/lib/2019-04-01/generated/azure_mgmt_network/bastion_hosts.rb +801 -0
  119. data/lib/2019-04-01/generated/azure_mgmt_network/bgp_service_communities.rb +221 -0
  120. data/lib/2019-04-01/generated/azure_mgmt_network/connection_monitors.rb +987 -0
  121. data/lib/2019-04-01/generated/azure_mgmt_network/ddos_custom_policies.rb +558 -0
  122. data/lib/2019-04-01/generated/azure_mgmt_network/ddos_protection_plans.rb +973 -0
  123. data/lib/2019-04-01/generated/azure_mgmt_network/default_security_rules.rb +339 -0
  124. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +631 -0
  125. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +683 -0
  126. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +626 -0
  127. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_circuits.rb +1603 -0
  128. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_connections.rb +534 -0
  129. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +648 -0
  130. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1308 -0
  131. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_gateways.rb +601 -0
  132. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_links.rb +343 -0
  133. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_ports.rb +970 -0
  134. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_ports_locations.rb +331 -0
  135. data/lib/2019-04-01/generated/azure_mgmt_network/express_route_service_providers.rb +221 -0
  136. data/lib/2019-04-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +336 -0
  137. data/lib/2019-04-01/generated/azure_mgmt_network/inbound_nat_rules.rb +629 -0
  138. data/lib/2019-04-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +332 -0
  139. data/lib/2019-04-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +332 -0
  140. data/lib/2019-04-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +329 -0
  141. data/lib/2019-04-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +231 -0
  142. data/lib/2019-04-01/generated/azure_mgmt_network/load_balancer_outbound_rules.rb +329 -0
  143. data/lib/2019-04-01/generated/azure_mgmt_network/load_balancer_probes.rb +329 -0
  144. data/lib/2019-04-01/generated/azure_mgmt_network/load_balancers.rb +958 -0
  145. data/lib/2019-04-01/generated/azure_mgmt_network/local_network_gateways.rb +781 -0
  146. data/lib/2019-04-01/generated/azure_mgmt_network/models/access.rb +16 -0
  147. data/lib/{2018-11-01/generated/azure_mgmt_network/models/application_gateway_available_request_headers_result.rb → 2019-04-01/generated/azure_mgmt_network/models/address_space.rb} +12 -12
  148. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway.rb +593 -0
  149. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
  150. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +65 -0
  151. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  152. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  153. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  154. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  155. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
  156. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +56 -0
  157. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  158. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_on_demand.rb +61 -0
  159. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  160. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +83 -0
  161. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  162. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +262 -0
  163. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  164. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  165. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb +60 -0
  166. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_custom_error_status_code.rb +16 -0
  167. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  168. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb +71 -0
  169. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  170. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  171. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  172. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
  173. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
  174. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
  175. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_header_configuration.rb +57 -0
  176. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +184 -0
  177. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
  178. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  179. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb +132 -0
  180. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  181. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +161 -0
  182. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +219 -0
  183. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  184. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  185. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +199 -0
  186. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  187. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +179 -0
  188. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  189. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb +93 -0
  190. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_action_set.rb +77 -0
  191. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb +82 -0
  192. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_set.rb +102 -0
  193. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  194. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
  195. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +138 -0
  196. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +42 -0
  197. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  198. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  199. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  200. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  201. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  202. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
  203. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_trusted_root_certificate.rb +113 -0
  204. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +164 -0
  205. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +180 -0
  206. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  207. data/lib/2019-04-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  208. data/lib/2019-04-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  209. data/lib/2019-04-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  210. data/lib/2019-04-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  211. data/lib/2019-04-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  212. data/lib/2019-04-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  213. data/lib/2019-04-01/generated/azure_mgmt_network/models/available_delegation.rb +101 -0
  214. data/lib/2019-04-01/generated/azure_mgmt_network/models/available_delegations_result.rb +99 -0
  215. data/lib/2019-04-01/generated/azure_mgmt_network/models/available_private_endpoint_type.rb +69 -0
  216. data/lib/2019-04-01/generated/azure_mgmt_network/models/available_private_endpoint_types_result.rb +100 -0
  217. data/lib/2019-04-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  218. data/lib/2019-04-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  219. data/lib/2019-04-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  220. data/lib/2019-04-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  221. data/lib/2019-04-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  222. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  223. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall.rb +226 -0
  224. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +135 -0
  225. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +128 -0
  226. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
  227. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +16 -0
  228. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag.rb +122 -0
  229. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag_list_result.rb +99 -0
  230. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +119 -0
  231. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
  232. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction.rb +47 -0
  233. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction_type.rb +16 -0
  234. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule.rb +157 -0
  235. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule_collection.rb +129 -0
  236. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +134 -0
  237. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +128 -0
  238. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
  239. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
  240. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
  241. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_threat_intel_mode.rb +17 -0
  242. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +81 -0
  243. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  244. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  245. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  246. data/lib/2019-04-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +108 -0
  247. data/lib/2019-04-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
  248. data/lib/2019-04-01/generated/azure_mgmt_network/models/bastion_host.rb +143 -0
  249. data/lib/2019-04-01/generated/azure_mgmt_network/models/bastion_host_ipconfiguration.rb +129 -0
  250. data/lib/2019-04-01/generated/azure_mgmt_network/models/bastion_host_list_result.rb +98 -0
  251. data/lib/2019-04-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  252. data/lib/2019-04-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
  253. data/lib/2019-04-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  254. data/lib/2019-04-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  255. data/lib/2019-04-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  256. data/lib/2019-04-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
  257. data/lib/2019-04-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  258. data/lib/2019-04-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
  259. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_monitor.rb +116 -0
  260. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
  261. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  262. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +86 -0
  263. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
  264. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +202 -0
  265. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
  266. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
  267. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  268. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
  269. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  270. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +158 -0
  271. data/lib/2019-04-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  272. data/lib/2019-04-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
  273. data/lib/2019-04-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
  274. data/lib/2019-04-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  275. data/lib/2019-04-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  276. data/lib/2019-04-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +84 -0
  277. data/lib/2019-04-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
  278. data/lib/2019-04-01/generated/azure_mgmt_network/models/container.rb +43 -0
  279. data/lib/2019-04-01/generated/azure_mgmt_network/models/container_network_interface.rb +139 -0
  280. data/lib/2019-04-01/generated/azure_mgmt_network/models/container_network_interface_configuration.rb +133 -0
  281. data/lib/2019-04-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb +83 -0
  282. data/lib/2019-04-01/generated/azure_mgmt_network/models/ddos_custom_policy.rb +170 -0
  283. data/lib/2019-04-01/generated/azure_mgmt_network/models/ddos_custom_policy_protocol.rb +17 -0
  284. data/lib/2019-04-01/generated/azure_mgmt_network/models/ddos_custom_policy_trigger_sensitivity_override.rb +18 -0
  285. data/lib/2019-04-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
  286. data/lib/2019-04-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
  287. data/lib/2019-04-01/generated/azure_mgmt_network/models/ddos_settings.rb +61 -0
  288. data/lib/2019-04-01/generated/azure_mgmt_network/models/ddos_settings_protection_coverage.rb +16 -0
  289. data/lib/2019-04-01/generated/azure_mgmt_network/models/delegation.rb +111 -0
  290. data/lib/2019-04-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
  291. data/lib/2019-04-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  292. data/lib/{2018-11-01/generated/azure_mgmt_network/models/application_gateway_available_response_headers_result.rb → 2019-04-01/generated/azure_mgmt_network/models/dhcp_options.rb} +12 -12
  293. data/lib/2019-04-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  294. data/lib/2019-04-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  295. data/lib/2019-04-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  296. data/lib/2019-04-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  297. data/lib/2019-04-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  298. data/lib/2019-04-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  299. data/lib/2019-04-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +260 -0
  300. data/lib/2019-04-01/generated/azure_mgmt_network/models/effective_route.rb +135 -0
  301. data/lib/2019-04-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  302. data/lib/2019-04-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  303. data/lib/2019-04-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  304. data/lib/2019-04-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  305. data/lib/2019-04-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  306. data/lib/2019-04-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  307. data/lib/2019-04-01/generated/azure_mgmt_network/models/error.rb +99 -0
  308. data/lib/2019-04-01/generated/azure_mgmt_network/models/error_details.rb +68 -0
  309. data/lib/2019-04-01/generated/azure_mgmt_network/models/error_response.rb +47 -0
  310. data/lib/2019-04-01/generated/azure_mgmt_network/models/evaluated_network_security_group.rb +92 -0
  311. data/lib/2019-04-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  312. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit.rb +294 -0
  313. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  314. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +115 -0
  315. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +156 -0
  316. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_connection_list_result.rb +101 -0
  317. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  318. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +338 -0
  319. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  320. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +121 -0
  321. data/lib/{2017-03-30/generated/azure_mgmt_network/models/endpoint_service.rb → 2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_id.rb} +7 -8
  322. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  323. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  324. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +46 -0
  325. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
  326. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  327. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  328. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +70 -0
  329. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  330. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +18 -0
  331. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  332. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
  333. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  334. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  335. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_connection.rb +101 -0
  336. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_connection_id.rb +47 -0
  337. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_connection_list.rb +56 -0
  338. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +228 -0
  339. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
  340. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +250 -0
  341. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
  342. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
  343. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
  344. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_gateway.rb +158 -0
  345. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_gateway_list.rb +55 -0
  346. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration.rb +49 -0
  347. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration_bounds.rb +60 -0
  348. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_link.rb +157 -0
  349. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_link_admin_state.rb +16 -0
  350. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_link_connector_type.rb +16 -0
  351. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_link_list_result.rb +99 -0
  352. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
  353. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
  354. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_port.rb +254 -0
  355. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_port_list_result.rb +98 -0
  356. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_ports_encapsulation.rb +16 -0
  357. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_ports_location.rb +146 -0
  358. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_ports_location_bandwidths.rb +61 -0
  359. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_ports_location_list_result.rb +99 -0
  360. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
  361. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  362. data/lib/2019-04-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  363. data/lib/2019-04-01/generated/azure_mgmt_network/models/flow_log_format_parameters.rb +60 -0
  364. data/lib/2019-04-01/generated/azure_mgmt_network/models/flow_log_format_type.rb +15 -0
  365. data/lib/2019-04-01/generated/azure_mgmt_network/models/flow_log_information.rb +110 -0
  366. data/lib/2019-04-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
  367. data/lib/2019-04-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +259 -0
  368. data/lib/2019-04-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  369. data/lib/2019-04-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  370. data/lib/2019-04-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +67 -0
  371. data/lib/2019-04-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
  372. data/lib/2019-04-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
  373. data/lib/2019-04-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
  374. data/lib/2019-04-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +125 -0
  375. data/lib/2019-04-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
  376. data/lib/2019-04-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
  377. data/lib/2019-04-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
  378. data/lib/2019-04-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +183 -0
  379. data/lib/2019-04-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +186 -0
  380. data/lib/2019-04-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  381. data/lib/2019-04-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
  382. data/lib/2019-04-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  383. data/lib/2019-04-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  384. data/lib/2019-04-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  385. data/lib/2019-04-01/generated/azure_mgmt_network/models/ipconfiguration.rb +126 -0
  386. data/lib/2019-04-01/generated/azure_mgmt_network/models/ipconfiguration_profile.rb +104 -0
  387. data/lib/2019-04-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  388. data/lib/2019-04-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  389. data/lib/2019-04-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
  390. data/lib/2019-04-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +94 -0
  391. data/lib/2019-04-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  392. data/lib/2019-04-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  393. data/lib/2019-04-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
  394. data/lib/2019-04-01/generated/azure_mgmt_network/models/list_p2svpn_gateways_result.rb +100 -0
  395. data/lib/2019-04-01/generated/azure_mgmt_network/models/list_p2svpn_server_configurations_result.rb +102 -0
  396. data/lib/2019-04-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
  397. data/lib/2019-04-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
  398. data/lib/2019-04-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
  399. data/lib/2019-04-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
  400. data/lib/2019-04-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
  401. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
  402. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  403. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  404. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  405. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  406. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_list_result.rb +100 -0
  407. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_protocol.rb +17 -0
  408. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  409. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
  410. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  411. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +222 -0
  412. data/lib/2019-04-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  413. data/lib/2019-04-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
  414. data/lib/2019-04-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  415. data/lib/2019-04-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  416. data/lib/2019-04-01/generated/azure_mgmt_network/models/managed_service_identity.rb +102 -0
  417. data/lib/2019-04-01/generated/azure_mgmt_network/models/managed_service_identity_user_assigned_identities_value.rb +61 -0
  418. data/lib/2019-04-01/generated/azure_mgmt_network/models/match_condition.rb +118 -0
  419. data/lib/2019-04-01/generated/azure_mgmt_network/models/match_variable.rb +60 -0
  420. data/lib/2019-04-01/generated/azure_mgmt_network/models/matched_rule.rb +58 -0
  421. data/lib/2019-04-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  422. data/lib/2019-04-01/generated/azure_mgmt_network/models/nat_gateway.rb +228 -0
  423. data/lib/2019-04-01/generated/azure_mgmt_network/models/nat_gateway_list_result.rb +99 -0
  424. data/lib/2019-04-01/generated/azure_mgmt_network/models/nat_gateway_sku.rb +47 -0
  425. data/lib/2019-04-01/generated/azure_mgmt_network/models/nat_gateway_sku_name.rb +15 -0
  426. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb +81 -0
  427. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb +95 -0
  428. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_response.rb +57 -0
  429. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_result.rb +61 -0
  430. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_intent_policy.rb +97 -0
  431. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_intent_policy_configuration.rb +60 -0
  432. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_interface.rb +284 -0
  433. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  434. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
  435. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +258 -0
  436. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  437. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  438. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  439. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_interface_tap_configuration.rb +106 -0
  440. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_interface_tap_configuration_list_result.rb +102 -0
  441. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  442. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_profile.rb +164 -0
  443. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_profile_list_result.rb +99 -0
  444. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
  445. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  446. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_security_group_result.rb +70 -0
  447. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb +101 -0
  448. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_watcher.rb +109 -0
  449. data/lib/2019-04-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  450. data/lib/2019-04-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  451. data/lib/2019-04-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  452. data/lib/2019-04-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  453. data/lib/2019-04-01/generated/azure_mgmt_network/models/office_traffic_category.rb +18 -0
  454. data/lib/2019-04-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  455. data/lib/2019-04-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  456. data/lib/2019-04-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  457. data/lib/2019-04-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  458. data/lib/2019-04-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  459. data/lib/2019-04-01/generated/azure_mgmt_network/models/outbound_rule.rb +161 -0
  460. data/lib/2019-04-01/generated/azure_mgmt_network/models/p2svpn_gateway.rb +187 -0
  461. data/lib/2019-04-01/generated/azure_mgmt_network/models/p2svpn_profile_parameters.rb +47 -0
  462. data/lib/2019-04-01/generated/azure_mgmt_network/models/p2svpn_server_config_radius_client_root_certificate.rb +93 -0
  463. data/lib/2019-04-01/generated/azure_mgmt_network/models/p2svpn_server_config_radius_server_root_certificate.rb +93 -0
  464. data/lib/2019-04-01/generated/azure_mgmt_network/models/p2svpn_server_config_vpn_client_revoked_certificate.rb +93 -0
  465. data/lib/2019-04-01/generated/azure_mgmt_network/models/p2svpn_server_config_vpn_client_root_certificate.rb +93 -0
  466. data/lib/2019-04-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb +277 -0
  467. data/lib/2019-04-01/generated/azure_mgmt_network/models/packet_capture.rb +119 -0
  468. data/lib/2019-04-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  469. data/lib/2019-04-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  470. data/lib/2019-04-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +119 -0
  471. data/lib/2019-04-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  472. data/lib/2019-04-01/generated/azure_mgmt_network/models/packet_capture_result.rb +170 -0
  473. data/lib/2019-04-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  474. data/lib/2019-04-01/generated/azure_mgmt_network/models/patch_route_filter.rb +176 -0
  475. data/lib/2019-04-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
  476. data/lib/2019-04-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  477. data/lib/2019-04-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  478. data/lib/2019-04-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  479. data/lib/2019-04-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection.rb +170 -0
  480. data/lib/2019-04-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection_list_result.rb +104 -0
  481. data/lib/2019-04-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
  482. data/lib/2019-04-01/generated/azure_mgmt_network/models/policy_settings.rb +61 -0
  483. data/lib/2019-04-01/generated/azure_mgmt_network/models/prepare_network_policies_request.rb +80 -0
  484. data/lib/2019-04-01/generated/azure_mgmt_network/models/private_endpoint.rb +189 -0
  485. data/lib/2019-04-01/generated/azure_mgmt_network/models/private_endpoint_connection.rb +81 -0
  486. data/lib/2019-04-01/generated/azure_mgmt_network/models/private_endpoint_list_result.rb +100 -0
  487. data/lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service.rb +252 -0
  488. data/lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service_connection.rb +111 -0
  489. data/lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service_connection_state.rb +71 -0
  490. data/lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service_ip_configuration.rb +118 -0
  491. data/lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service_list_result.rb +100 -0
  492. data/lib/{2018-11-01/generated/azure_mgmt_network/models/application_gateway_available_server_variables_result.rb → 2019-04-01/generated/azure_mgmt_network/models/private_link_service_properties_auto_approval.rb} +8 -13
  493. data/lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service_properties_visibility.rb +51 -0
  494. data/lib/2019-04-01/generated/azure_mgmt_network/models/probe.rb +170 -0
  495. data/lib/2019-04-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
  496. data/lib/2019-04-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  497. data/lib/2019-04-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
  498. data/lib/2019-04-01/generated/azure_mgmt_network/models/protocol_configuration.rb +48 -0
  499. data/lib/2019-04-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb +87 -0
  500. data/lib/2019-04-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  501. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipaddress.rb +273 -0
  502. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  503. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  504. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
  505. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  506. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipprefix.rb +229 -0
  507. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipprefix_list_result.rb +99 -0
  508. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipprefix_sku.rb +47 -0
  509. data/lib/2019-04-01/generated/azure_mgmt_network/models/public_ipprefix_sku_name.rb +15 -0
  510. data/lib/2019-04-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  511. data/lib/2019-04-01/generated/azure_mgmt_network/models/referenced_public_ip_address.rb +46 -0
  512. data/lib/2019-04-01/generated/azure_mgmt_network/models/resource.rb +109 -0
  513. data/lib/2019-04-01/generated/azure_mgmt_network/models/resource_identity_type.rb +18 -0
  514. data/lib/2019-04-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +115 -0
  515. data/lib/2019-04-01/generated/azure_mgmt_network/models/resource_navigation_links_list_result.rb +68 -0
  516. data/lib/2019-04-01/generated/azure_mgmt_network/models/resource_set.rb +54 -0
  517. data/lib/2019-04-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  518. data/lib/2019-04-01/generated/azure_mgmt_network/models/route.rb +116 -0
  519. data/lib/2019-04-01/generated/azure_mgmt_network/models/route_filter.rb +174 -0
  520. data/lib/2019-04-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  521. data/lib/2019-04-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
  522. data/lib/2019-04-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  523. data/lib/2019-04-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  524. data/lib/2019-04-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  525. data/lib/2019-04-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
  526. data/lib/2019-04-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
  527. data/lib/2019-04-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +59 -0
  528. data/lib/2019-04-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  529. data/lib/2019-04-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  530. data/lib/2019-04-01/generated/azure_mgmt_network/models/security_rule.rb +312 -0
  531. data/lib/2019-04-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  532. data/lib/2019-04-01/generated/azure_mgmt_network/models/security_rule_associations.rb +102 -0
  533. data/lib/2019-04-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  534. data/lib/2019-04-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  535. data/lib/2019-04-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +19 -0
  536. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_association_link.rb +144 -0
  537. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_association_links_list_result.rb +68 -0
  538. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_endpoint_policy.rb +165 -0
  539. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition.rb +121 -0
  540. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition_list_result.rb +103 -0
  541. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_endpoint_policy_list_result.rb +100 -0
  542. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
  543. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  544. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_tag_information.rb +73 -0
  545. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_tag_information_properties_format.rb +91 -0
  546. data/lib/2019-04-01/generated/azure_mgmt_network/models/service_tags_list_result.rb +117 -0
  547. data/lib/2019-04-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  548. data/lib/2019-04-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  549. data/lib/2019-04-01/generated/azure_mgmt_network/models/subnet.rb +329 -0
  550. data/lib/2019-04-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  551. data/lib/2019-04-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  552. data/lib/2019-04-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  553. data/lib/2019-04-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  554. data/lib/2019-04-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  555. data/lib/2019-04-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  556. data/lib/2019-04-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  557. data/lib/2019-04-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +91 -0
  558. data/lib/2019-04-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +48 -0
  559. data/lib/2019-04-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  560. data/lib/2019-04-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  561. data/lib/2019-04-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  562. data/lib/2019-04-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  563. data/lib/2019-04-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  564. data/lib/2019-04-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  565. data/lib/2019-04-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
  566. data/lib/2019-04-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  567. data/lib/2019-04-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  568. data/lib/2019-04-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  569. data/lib/2019-04-01/generated/azure_mgmt_network/models/verbosity_level.rb +17 -0
  570. data/lib/2019-04-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  571. data/lib/2019-04-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  572. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_hub.rb +205 -0
  573. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_hub_id.rb +48 -0
  574. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_hub_route.rb +65 -0
  575. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_hub_route_table.rb +55 -0
  576. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network.rb +228 -0
  577. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  578. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +258 -0
  579. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +346 -0
  580. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +347 -0
  581. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  582. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_protocol.rb +16 -0
  583. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  584. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  585. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +116 -0
  586. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  587. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  588. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +74 -0
  589. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +27 -0
  590. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +27 -0
  591. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
  592. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  593. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  594. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
  595. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  596. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  597. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_tap.rb +183 -0
  598. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_tap_list_result.rb +99 -0
  599. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  600. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  601. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_wan.rb +229 -0
  602. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_wan_security_provider.rb +69 -0
  603. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_wan_security_provider_type.rb +16 -0
  604. data/lib/2019-04-01/generated/azure_mgmt_network/models/virtual_wan_security_providers.rb +56 -0
  605. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +191 -0
  606. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb +93 -0
  607. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail.rb +179 -0
  608. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail_list_result.rb +57 -0
  609. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
  610. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +94 -0
  611. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
  612. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
  613. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
  614. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_connection.rb +249 -0
  615. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
  616. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  617. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_gateway.rb +166 -0
  618. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_gateway_tunneling_protocol.rb +16 -0
  619. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_profile_response.rb +46 -0
  620. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_site.rb +192 -0
  621. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
  622. data/lib/2019-04-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  623. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_action.rb +17 -0
  624. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_custom_rule.rb +119 -0
  625. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_enabled_state.rb +16 -0
  626. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_match_variable.rb +22 -0
  627. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_mode.rb +16 -0
  628. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_operator.rb +24 -0
  629. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_policy.rb +179 -0
  630. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_policy_list_result.rb +105 -0
  631. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_policy_resource_state.rb +20 -0
  632. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_rule_type.rb +16 -0
  633. data/lib/2019-04-01/generated/azure_mgmt_network/models/web_application_firewall_transform.rb +20 -0
  634. data/lib/2019-04-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  635. data/lib/2019-04-01/generated/azure_mgmt_network/nat_gateways.rb +922 -0
  636. data/lib/2019-04-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +329 -0
  637. data/lib/2019-04-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +231 -0
  638. data/lib/2019-04-01/generated/azure_mgmt_network/network_interface_tap_configurations.rb +626 -0
  639. data/lib/2019-04-01/generated/azure_mgmt_network/network_interfaces.rb +1230 -0
  640. data/lib/2019-04-01/generated/azure_mgmt_network/network_management_client.rb +656 -0
  641. data/lib/2019-04-01/generated/azure_mgmt_network/network_profiles.rb +732 -0
  642. data/lib/2019-04-01/generated/azure_mgmt_network/network_security_groups.rb +976 -0
  643. data/lib/2019-04-01/generated/azure_mgmt_network/network_watchers.rb +2634 -0
  644. data/lib/2019-04-01/generated/azure_mgmt_network/operations.rb +219 -0
  645. data/lib/2019-04-01/generated/azure_mgmt_network/p2s_vpn_gateways.rb +1289 -0
  646. data/lib/2019-04-01/generated/azure_mgmt_network/p2s_vpn_server_configurations.rb +660 -0
  647. data/lib/2019-04-01/generated/azure_mgmt_network/packet_captures.rb +796 -0
  648. data/lib/2019-04-01/generated/azure_mgmt_network/peer_express_route_circuit_connections.rb +351 -0
  649. data/lib/2019-04-01/generated/azure_mgmt_network/private_endpoints.rb +804 -0
  650. data/lib/2019-04-01/generated/azure_mgmt_network/private_link_services.rb +1047 -0
  651. data/lib/2019-04-01/generated/azure_mgmt_network/public_ipaddresses.rb +958 -0
  652. data/lib/2019-04-01/generated/azure_mgmt_network/public_ipprefixes.rb +958 -0
  653. data/lib/2019-04-01/generated/azure_mgmt_network/resource_navigation_links.rb +123 -0
  654. data/lib/2019-04-01/generated/azure_mgmt_network/route_filter_rules.rb +786 -0
  655. data/lib/2019-04-01/generated/azure_mgmt_network/route_filters.rb +961 -0
  656. data/lib/2019-04-01/generated/azure_mgmt_network/route_tables.rb +958 -0
  657. data/lib/2019-04-01/generated/azure_mgmt_network/routes.rb +625 -0
  658. data/lib/2019-04-01/generated/azure_mgmt_network/security_rules.rb +643 -0
  659. data/lib/2019-04-01/generated/azure_mgmt_network/service_association_links.rb +123 -0
  660. data/lib/2019-04-01/generated/azure_mgmt_network/service_endpoint_policies.rb +976 -0
  661. data/lib/2019-04-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb +668 -0
  662. data/lib/2019-04-01/generated/azure_mgmt_network/service_tags.rb +115 -0
  663. data/lib/2019-04-01/generated/azure_mgmt_network/subnets.rb +779 -0
  664. data/lib/2019-04-01/generated/azure_mgmt_network/usages.rb +227 -0
  665. data/lib/2019-04-01/generated/azure_mgmt_network/virtual_hubs.rb +991 -0
  666. data/lib/2019-04-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1249 -0
  667. data/lib/2019-04-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2922 -0
  668. data/lib/2019-04-01/generated/azure_mgmt_network/virtual_network_peerings.rb +634 -0
  669. data/lib/2019-04-01/generated/azure_mgmt_network/virtual_network_taps.rb +955 -0
  670. data/lib/2019-04-01/generated/azure_mgmt_network/virtual_networks.rb +1262 -0
  671. data/lib/2019-04-01/generated/azure_mgmt_network/virtual_wans.rb +996 -0
  672. data/lib/2019-04-01/generated/azure_mgmt_network/vpn_connections.rb +647 -0
  673. data/lib/2019-04-01/generated/azure_mgmt_network/vpn_gateways.rb +1132 -0
  674. data/lib/2019-04-01/generated/azure_mgmt_network/vpn_sites.rb +974 -0
  675. data/lib/2019-04-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +173 -0
  676. data/lib/2019-04-01/generated/azure_mgmt_network/web_application_firewall_policies.rb +758 -0
  677. data/lib/azure_mgmt_network.rb +1 -0
  678. data/lib/profiles/latest/modules/network_profile_module.rb +1269 -1175
  679. data/lib/profiles/v2018_03_01/modules/network_profile_module.rb +10 -6
  680. data/lib/version.rb +1 -1
  681. metadata +579 -8
@@ -0,0 +1,221 @@
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::V2019_04_01
7
+ #
8
+ # BgpServiceCommunities
9
+ #
10
+ class BgpServiceCommunities
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the BgpServiceCommunities class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [NetworkManagementClient] reference to the NetworkManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets all the available bgp service communities.
26
+ #
27
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
28
+ # will be added to the HTTP request.
29
+ #
30
+ # @return [Array<BgpServiceCommunity>] operation results.
31
+ #
32
+ def list(custom_headers:nil)
33
+ first_page = list_as_lazy(custom_headers:custom_headers)
34
+ first_page.get_all_items
35
+ end
36
+
37
+ #
38
+ # Gets all the available bgp service communities.
39
+ #
40
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
41
+ # will be added to the HTTP request.
42
+ #
43
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
44
+ #
45
+ def list_with_http_info(custom_headers:nil)
46
+ list_async(custom_headers:custom_headers).value!
47
+ end
48
+
49
+ #
50
+ # Gets all the available bgp service communities.
51
+ #
52
+ # @param [Hash{String => String}] A hash of custom headers that will be added
53
+ # to the HTTP request.
54
+ #
55
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
56
+ #
57
+ def list_async(custom_headers:nil)
58
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
59
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
60
+
61
+
62
+ request_headers = {}
63
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
64
+
65
+ # Set Headers
66
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
67
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
68
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities'
69
+
70
+ request_url = @base_url || @client.base_url
71
+
72
+ options = {
73
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
74
+ path_params: {'subscriptionId' => @client.subscription_id},
75
+ query_params: {'api-version' => @client.api_version},
76
+ headers: request_headers.merge(custom_headers || {}),
77
+ base_url: request_url
78
+ }
79
+ promise = @client.make_request_async(:get, path_template, options)
80
+
81
+ promise = promise.then do |result|
82
+ http_response = result.response
83
+ status_code = http_response.status
84
+ response_content = http_response.body
85
+ unless status_code == 200
86
+ error_model = JSON.load(response_content)
87
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
88
+ end
89
+
90
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
91
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
92
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
93
+ # Deserialize Response
94
+ if status_code == 200
95
+ begin
96
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
97
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::BgpServiceCommunityListResult.mapper()
98
+ result.body = @client.deserialize(result_mapper, parsed_response)
99
+ rescue Exception => e
100
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
101
+ end
102
+ end
103
+
104
+ result
105
+ end
106
+
107
+ promise.execute
108
+ end
109
+
110
+ #
111
+ # Gets all the available bgp service communities.
112
+ #
113
+ # @param next_page_link [String] The NextLink from the previous successful call
114
+ # to List operation.
115
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
116
+ # will be added to the HTTP request.
117
+ #
118
+ # @return [BgpServiceCommunityListResult] operation results.
119
+ #
120
+ def list_next(next_page_link, custom_headers:nil)
121
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
122
+ response.body unless response.nil?
123
+ end
124
+
125
+ #
126
+ # Gets all the available bgp service communities.
127
+ #
128
+ # @param next_page_link [String] The NextLink from the previous successful call
129
+ # to List operation.
130
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
131
+ # will be added to the HTTP request.
132
+ #
133
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
134
+ #
135
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
136
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
137
+ end
138
+
139
+ #
140
+ # Gets all the available bgp service communities.
141
+ #
142
+ # @param next_page_link [String] The NextLink from the previous successful call
143
+ # to List operation.
144
+ # @param [Hash{String => String}] A hash of custom headers that will be added
145
+ # to the HTTP request.
146
+ #
147
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
148
+ #
149
+ def list_next_async(next_page_link, custom_headers:nil)
150
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
151
+
152
+
153
+ request_headers = {}
154
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
155
+
156
+ # Set Headers
157
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
158
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
159
+ path_template = '{nextLink}'
160
+
161
+ request_url = @base_url || @client.base_url
162
+
163
+ options = {
164
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
165
+ skip_encoding_path_params: {'nextLink' => next_page_link},
166
+ headers: request_headers.merge(custom_headers || {}),
167
+ base_url: request_url
168
+ }
169
+ promise = @client.make_request_async(:get, path_template, options)
170
+
171
+ promise = promise.then do |result|
172
+ http_response = result.response
173
+ status_code = http_response.status
174
+ response_content = http_response.body
175
+ unless status_code == 200
176
+ error_model = JSON.load(response_content)
177
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
178
+ end
179
+
180
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
181
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
182
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
183
+ # Deserialize Response
184
+ if status_code == 200
185
+ begin
186
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
187
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::BgpServiceCommunityListResult.mapper()
188
+ result.body = @client.deserialize(result_mapper, parsed_response)
189
+ rescue Exception => e
190
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
191
+ end
192
+ end
193
+
194
+ result
195
+ end
196
+
197
+ promise.execute
198
+ end
199
+
200
+ #
201
+ # Gets all the available bgp service communities.
202
+ #
203
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
204
+ # will be added to the HTTP request.
205
+ #
206
+ # @return [BgpServiceCommunityListResult] which provide lazy access to pages of
207
+ # the response.
208
+ #
209
+ def list_as_lazy(custom_headers:nil)
210
+ response = list_async(custom_headers:custom_headers).value!
211
+ unless response.nil?
212
+ page = response.body
213
+ page.next_method = Proc.new do |next_page_link|
214
+ list_next_async(next_page_link, custom_headers:custom_headers)
215
+ end
216
+ page
217
+ end
218
+ end
219
+
220
+ end
221
+ end
@@ -0,0 +1,987 @@
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::V2019_04_01
7
+ #
8
+ # ConnectionMonitors
9
+ #
10
+ class ConnectionMonitors
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the ConnectionMonitors class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [NetworkManagementClient] reference to the NetworkManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Create or update a connection monitor.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group containing
28
+ # Network Watcher.
29
+ # @param network_watcher_name [String] The name of the Network Watcher
30
+ # resource.
31
+ # @param connection_monitor_name [String] The name of the connection monitor.
32
+ # @param parameters [ConnectionMonitor] Parameters that define the operation to
33
+ # create a connection monitor.
34
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
35
+ # will be added to the HTTP request.
36
+ #
37
+ # @return [ConnectionMonitorResult] operation results.
38
+ #
39
+ def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil)
40
+ response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value!
41
+ response.body unless response.nil?
42
+ end
43
+
44
+ #
45
+ # @param resource_group_name [String] The name of the resource group containing
46
+ # Network Watcher.
47
+ # @param network_watcher_name [String] The name of the Network Watcher
48
+ # resource.
49
+ # @param connection_monitor_name [String] The name of the connection monitor.
50
+ # @param parameters [ConnectionMonitor] Parameters that define the operation to
51
+ # create a connection monitor.
52
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
53
+ # will be added to the HTTP request.
54
+ #
55
+ # @return [Concurrent::Promise] promise which provides async access to http
56
+ # response.
57
+ #
58
+ def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil)
59
+ # Send request
60
+ promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers)
61
+
62
+ promise = promise.then do |response|
63
+ # Defining deserialization method.
64
+ deserialize_method = lambda do |parsed_response|
65
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::ConnectionMonitorResult.mapper()
66
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
67
+ end
68
+
69
+ # Waiting for response.
70
+ @client.get_long_running_operation_result(response, deserialize_method)
71
+ end
72
+
73
+ promise
74
+ end
75
+
76
+ #
77
+ # Gets a connection monitor by name.
78
+ #
79
+ # @param resource_group_name [String] The name of the resource group containing
80
+ # Network Watcher.
81
+ # @param network_watcher_name [String] The name of the Network Watcher
82
+ # resource.
83
+ # @param connection_monitor_name [String] The name of the connection monitor.
84
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
85
+ # will be added to the HTTP request.
86
+ #
87
+ # @return [ConnectionMonitorResult] operation results.
88
+ #
89
+ def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
90
+ response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
91
+ response.body unless response.nil?
92
+ end
93
+
94
+ #
95
+ # Gets a connection monitor by name.
96
+ #
97
+ # @param resource_group_name [String] The name of the resource group containing
98
+ # Network Watcher.
99
+ # @param network_watcher_name [String] The name of the Network Watcher
100
+ # resource.
101
+ # @param connection_monitor_name [String] The name of the connection monitor.
102
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
103
+ # will be added to the HTTP request.
104
+ #
105
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
106
+ #
107
+ def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
108
+ get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
109
+ end
110
+
111
+ #
112
+ # Gets a connection monitor by name.
113
+ #
114
+ # @param resource_group_name [String] The name of the resource group containing
115
+ # Network Watcher.
116
+ # @param network_watcher_name [String] The name of the Network Watcher
117
+ # resource.
118
+ # @param connection_monitor_name [String] The name of the connection monitor.
119
+ # @param [Hash{String => String}] A hash of custom headers that will be added
120
+ # to the HTTP request.
121
+ #
122
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
123
+ #
124
+ def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
125
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
126
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
127
+ fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil?
128
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
129
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
130
+
131
+
132
+ request_headers = {}
133
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
134
+
135
+ # Set Headers
136
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
137
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
138
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'
139
+
140
+ request_url = @base_url || @client.base_url
141
+
142
+ options = {
143
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
144
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'connectionMonitorName' => connection_monitor_name,'subscriptionId' => @client.subscription_id},
145
+ query_params: {'api-version' => @client.api_version},
146
+ headers: request_headers.merge(custom_headers || {}),
147
+ base_url: request_url
148
+ }
149
+ promise = @client.make_request_async(:get, path_template, options)
150
+
151
+ promise = promise.then do |result|
152
+ http_response = result.response
153
+ status_code = http_response.status
154
+ response_content = http_response.body
155
+ unless status_code == 200
156
+ error_model = JSON.load(response_content)
157
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
158
+ end
159
+
160
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
161
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
162
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
163
+ # Deserialize Response
164
+ if status_code == 200
165
+ begin
166
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
167
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::ConnectionMonitorResult.mapper()
168
+ result.body = @client.deserialize(result_mapper, parsed_response)
169
+ rescue Exception => e
170
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
171
+ end
172
+ end
173
+
174
+ result
175
+ end
176
+
177
+ promise.execute
178
+ end
179
+
180
+ #
181
+ # Deletes the specified connection monitor.
182
+ #
183
+ # @param resource_group_name [String] The name of the resource group containing
184
+ # Network Watcher.
185
+ # @param network_watcher_name [String] The name of the Network Watcher
186
+ # resource.
187
+ # @param connection_monitor_name [String] The name of the connection monitor.
188
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
189
+ # will be added to the HTTP request.
190
+ #
191
+ def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
192
+ response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
193
+ nil
194
+ end
195
+
196
+ #
197
+ # @param resource_group_name [String] The name of the resource group containing
198
+ # Network Watcher.
199
+ # @param network_watcher_name [String] The name of the Network Watcher
200
+ # resource.
201
+ # @param connection_monitor_name [String] The name of the connection monitor.
202
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
203
+ # will be added to the HTTP request.
204
+ #
205
+ # @return [Concurrent::Promise] promise which provides async access to http
206
+ # response.
207
+ #
208
+ def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
209
+ # Send request
210
+ promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers)
211
+
212
+ promise = promise.then do |response|
213
+ # Defining deserialization method.
214
+ deserialize_method = lambda do |parsed_response|
215
+ end
216
+
217
+ # Waiting for response.
218
+ @client.get_long_running_operation_result(response, deserialize_method)
219
+ end
220
+
221
+ promise
222
+ end
223
+
224
+ #
225
+ # Stops the specified connection monitor.
226
+ #
227
+ # @param resource_group_name [String] The name of the resource group containing
228
+ # Network Watcher.
229
+ # @param network_watcher_name [String] The name of the Network Watcher
230
+ # resource.
231
+ # @param connection_monitor_name [String] The name of the connection monitor.
232
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
233
+ # will be added to the HTTP request.
234
+ #
235
+ def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
236
+ response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
237
+ nil
238
+ end
239
+
240
+ #
241
+ # @param resource_group_name [String] The name of the resource group containing
242
+ # Network Watcher.
243
+ # @param network_watcher_name [String] The name of the Network Watcher
244
+ # resource.
245
+ # @param connection_monitor_name [String] The name of the connection monitor.
246
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
247
+ # will be added to the HTTP request.
248
+ #
249
+ # @return [Concurrent::Promise] promise which provides async access to http
250
+ # response.
251
+ #
252
+ def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
253
+ # Send request
254
+ promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers)
255
+
256
+ promise = promise.then do |response|
257
+ # Defining deserialization method.
258
+ deserialize_method = lambda do |parsed_response|
259
+ end
260
+
261
+ # Waiting for response.
262
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
263
+ end
264
+
265
+ promise
266
+ end
267
+
268
+ #
269
+ # Starts the specified connection monitor.
270
+ #
271
+ # @param resource_group_name [String] The name of the resource group containing
272
+ # Network Watcher.
273
+ # @param network_watcher_name [String] The name of the Network Watcher
274
+ # resource.
275
+ # @param connection_monitor_name [String] The name of the connection monitor.
276
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
277
+ # will be added to the HTTP request.
278
+ #
279
+ def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
280
+ response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
281
+ nil
282
+ end
283
+
284
+ #
285
+ # @param resource_group_name [String] The name of the resource group containing
286
+ # Network Watcher.
287
+ # @param network_watcher_name [String] The name of the Network Watcher
288
+ # resource.
289
+ # @param connection_monitor_name [String] The name of the connection monitor.
290
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
291
+ # will be added to the HTTP request.
292
+ #
293
+ # @return [Concurrent::Promise] promise which provides async access to http
294
+ # response.
295
+ #
296
+ def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
297
+ # Send request
298
+ promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers)
299
+
300
+ promise = promise.then do |response|
301
+ # Defining deserialization method.
302
+ deserialize_method = lambda do |parsed_response|
303
+ end
304
+
305
+ # Waiting for response.
306
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
307
+ end
308
+
309
+ promise
310
+ end
311
+
312
+ #
313
+ # Query a snapshot of the most recent connection states.
314
+ #
315
+ # @param resource_group_name [String] The name of the resource group containing
316
+ # Network Watcher.
317
+ # @param network_watcher_name [String] The name of the Network Watcher
318
+ # resource.
319
+ # @param connection_monitor_name [String] The name given to the connection
320
+ # monitor.
321
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
322
+ # will be added to the HTTP request.
323
+ #
324
+ # @return [ConnectionMonitorQueryResult] operation results.
325
+ #
326
+ def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
327
+ response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
328
+ response.body unless response.nil?
329
+ end
330
+
331
+ #
332
+ # @param resource_group_name [String] The name of the resource group containing
333
+ # Network Watcher.
334
+ # @param network_watcher_name [String] The name of the Network Watcher
335
+ # resource.
336
+ # @param connection_monitor_name [String] The name given to the connection
337
+ # monitor.
338
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
339
+ # will be added to the HTTP request.
340
+ #
341
+ # @return [Concurrent::Promise] promise which provides async access to http
342
+ # response.
343
+ #
344
+ def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
345
+ # Send request
346
+ promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers)
347
+
348
+ promise = promise.then do |response|
349
+ # Defining deserialization method.
350
+ deserialize_method = lambda do |parsed_response|
351
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::ConnectionMonitorQueryResult.mapper()
352
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
353
+ end
354
+
355
+ # Waiting for response.
356
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
357
+ end
358
+
359
+ promise
360
+ end
361
+
362
+ #
363
+ # Lists all connection monitors for the specified Network Watcher.
364
+ #
365
+ # @param resource_group_name [String] The name of the resource group containing
366
+ # Network Watcher.
367
+ # @param network_watcher_name [String] The name of the Network Watcher
368
+ # resource.
369
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
370
+ # will be added to the HTTP request.
371
+ #
372
+ # @return [ConnectionMonitorListResult] operation results.
373
+ #
374
+ def list(resource_group_name, network_watcher_name, custom_headers:nil)
375
+ response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value!
376
+ response.body unless response.nil?
377
+ end
378
+
379
+ #
380
+ # Lists all connection monitors for the specified Network Watcher.
381
+ #
382
+ # @param resource_group_name [String] The name of the resource group containing
383
+ # Network Watcher.
384
+ # @param network_watcher_name [String] The name of the Network Watcher
385
+ # resource.
386
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
387
+ # will be added to the HTTP request.
388
+ #
389
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
390
+ #
391
+ def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil)
392
+ list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value!
393
+ end
394
+
395
+ #
396
+ # Lists all connection monitors for the specified Network Watcher.
397
+ #
398
+ # @param resource_group_name [String] The name of the resource group containing
399
+ # Network Watcher.
400
+ # @param network_watcher_name [String] The name of the Network Watcher
401
+ # resource.
402
+ # @param [Hash{String => String}] A hash of custom headers that will be added
403
+ # to the HTTP request.
404
+ #
405
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
406
+ #
407
+ def list_async(resource_group_name, network_watcher_name, custom_headers:nil)
408
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
409
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
410
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
411
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
412
+
413
+
414
+ request_headers = {}
415
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
416
+
417
+ # Set Headers
418
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
419
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
420
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors'
421
+
422
+ request_url = @base_url || @client.base_url
423
+
424
+ options = {
425
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
426
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'subscriptionId' => @client.subscription_id},
427
+ query_params: {'api-version' => @client.api_version},
428
+ headers: request_headers.merge(custom_headers || {}),
429
+ base_url: request_url
430
+ }
431
+ promise = @client.make_request_async(:get, path_template, options)
432
+
433
+ promise = promise.then do |result|
434
+ http_response = result.response
435
+ status_code = http_response.status
436
+ response_content = http_response.body
437
+ unless status_code == 200
438
+ error_model = JSON.load(response_content)
439
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
440
+ end
441
+
442
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
443
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
444
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
445
+ # Deserialize Response
446
+ if status_code == 200
447
+ begin
448
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
449
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::ConnectionMonitorListResult.mapper()
450
+ result.body = @client.deserialize(result_mapper, parsed_response)
451
+ rescue Exception => e
452
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
453
+ end
454
+ end
455
+
456
+ result
457
+ end
458
+
459
+ promise.execute
460
+ end
461
+
462
+ #
463
+ # Create or update a connection monitor.
464
+ #
465
+ # @param resource_group_name [String] The name of the resource group containing
466
+ # Network Watcher.
467
+ # @param network_watcher_name [String] The name of the Network Watcher
468
+ # resource.
469
+ # @param connection_monitor_name [String] The name of the connection monitor.
470
+ # @param parameters [ConnectionMonitor] Parameters that define the operation to
471
+ # create a connection monitor.
472
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
473
+ # will be added to the HTTP request.
474
+ #
475
+ # @return [ConnectionMonitorResult] operation results.
476
+ #
477
+ def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil)
478
+ response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value!
479
+ response.body unless response.nil?
480
+ end
481
+
482
+ #
483
+ # Create or update a connection monitor.
484
+ #
485
+ # @param resource_group_name [String] The name of the resource group containing
486
+ # Network Watcher.
487
+ # @param network_watcher_name [String] The name of the Network Watcher
488
+ # resource.
489
+ # @param connection_monitor_name [String] The name of the connection monitor.
490
+ # @param parameters [ConnectionMonitor] Parameters that define the operation to
491
+ # create a connection monitor.
492
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
493
+ # will be added to the HTTP request.
494
+ #
495
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
496
+ #
497
+ def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil)
498
+ begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value!
499
+ end
500
+
501
+ #
502
+ # Create or update a connection monitor.
503
+ #
504
+ # @param resource_group_name [String] The name of the resource group containing
505
+ # Network Watcher.
506
+ # @param network_watcher_name [String] The name of the Network Watcher
507
+ # resource.
508
+ # @param connection_monitor_name [String] The name of the connection monitor.
509
+ # @param parameters [ConnectionMonitor] Parameters that define the operation to
510
+ # create a connection monitor.
511
+ # @param [Hash{String => String}] A hash of custom headers that will be added
512
+ # to the HTTP request.
513
+ #
514
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
515
+ #
516
+ def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil)
517
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
518
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
519
+ fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil?
520
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
521
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
522
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
523
+
524
+
525
+ request_headers = {}
526
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
527
+
528
+ # Set Headers
529
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
530
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
531
+
532
+ # Serialize Request
533
+ request_mapper = Azure::Network::Mgmt::V2019_04_01::Models::ConnectionMonitor.mapper()
534
+ request_content = @client.serialize(request_mapper, parameters)
535
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
536
+
537
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'
538
+
539
+ request_url = @base_url || @client.base_url
540
+
541
+ options = {
542
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
543
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'connectionMonitorName' => connection_monitor_name,'subscriptionId' => @client.subscription_id},
544
+ query_params: {'api-version' => @client.api_version},
545
+ body: request_content,
546
+ headers: request_headers.merge(custom_headers || {}),
547
+ base_url: request_url
548
+ }
549
+ promise = @client.make_request_async(:put, path_template, options)
550
+
551
+ promise = promise.then do |result|
552
+ http_response = result.response
553
+ status_code = http_response.status
554
+ response_content = http_response.body
555
+ unless status_code == 200 || status_code == 201
556
+ error_model = JSON.load(response_content)
557
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
558
+ end
559
+
560
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
561
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
562
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
563
+ # Deserialize Response
564
+ if status_code == 200
565
+ begin
566
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
567
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::ConnectionMonitorResult.mapper()
568
+ result.body = @client.deserialize(result_mapper, parsed_response)
569
+ rescue Exception => e
570
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
571
+ end
572
+ end
573
+ # Deserialize Response
574
+ if status_code == 201
575
+ begin
576
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
577
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::ConnectionMonitorResult.mapper()
578
+ result.body = @client.deserialize(result_mapper, parsed_response)
579
+ rescue Exception => e
580
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
581
+ end
582
+ end
583
+
584
+ result
585
+ end
586
+
587
+ promise.execute
588
+ end
589
+
590
+ #
591
+ # Deletes the specified connection monitor.
592
+ #
593
+ # @param resource_group_name [String] The name of the resource group containing
594
+ # Network Watcher.
595
+ # @param network_watcher_name [String] The name of the Network Watcher
596
+ # resource.
597
+ # @param connection_monitor_name [String] The name of the connection monitor.
598
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
599
+ # will be added to the HTTP request.
600
+ #
601
+ #
602
+ def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
603
+ response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
604
+ nil
605
+ end
606
+
607
+ #
608
+ # Deletes the specified connection monitor.
609
+ #
610
+ # @param resource_group_name [String] The name of the resource group containing
611
+ # Network Watcher.
612
+ # @param network_watcher_name [String] The name of the Network Watcher
613
+ # resource.
614
+ # @param connection_monitor_name [String] The name of the connection monitor.
615
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
616
+ # will be added to the HTTP request.
617
+ #
618
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
619
+ #
620
+ def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
621
+ begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
622
+ end
623
+
624
+ #
625
+ # Deletes the specified connection monitor.
626
+ #
627
+ # @param resource_group_name [String] The name of the resource group containing
628
+ # Network Watcher.
629
+ # @param network_watcher_name [String] The name of the Network Watcher
630
+ # resource.
631
+ # @param connection_monitor_name [String] The name of the connection monitor.
632
+ # @param [Hash{String => String}] A hash of custom headers that will be added
633
+ # to the HTTP request.
634
+ #
635
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
636
+ #
637
+ def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
638
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
639
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
640
+ fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil?
641
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
642
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
643
+
644
+
645
+ request_headers = {}
646
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
647
+
648
+ # Set Headers
649
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
650
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
651
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'
652
+
653
+ request_url = @base_url || @client.base_url
654
+
655
+ options = {
656
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
657
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'connectionMonitorName' => connection_monitor_name,'subscriptionId' => @client.subscription_id},
658
+ query_params: {'api-version' => @client.api_version},
659
+ headers: request_headers.merge(custom_headers || {}),
660
+ base_url: request_url
661
+ }
662
+ promise = @client.make_request_async(:delete, path_template, options)
663
+
664
+ promise = promise.then do |result|
665
+ http_response = result.response
666
+ status_code = http_response.status
667
+ response_content = http_response.body
668
+ unless status_code == 204 || status_code == 202
669
+ error_model = JSON.load(response_content)
670
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
671
+ end
672
+
673
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
674
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
675
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
676
+
677
+ result
678
+ end
679
+
680
+ promise.execute
681
+ end
682
+
683
+ #
684
+ # Stops the specified connection monitor.
685
+ #
686
+ # @param resource_group_name [String] The name of the resource group containing
687
+ # Network Watcher.
688
+ # @param network_watcher_name [String] The name of the Network Watcher
689
+ # resource.
690
+ # @param connection_monitor_name [String] The name of the connection monitor.
691
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
692
+ # will be added to the HTTP request.
693
+ #
694
+ #
695
+ def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
696
+ response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
697
+ nil
698
+ end
699
+
700
+ #
701
+ # Stops the specified connection monitor.
702
+ #
703
+ # @param resource_group_name [String] The name of the resource group containing
704
+ # Network Watcher.
705
+ # @param network_watcher_name [String] The name of the Network Watcher
706
+ # resource.
707
+ # @param connection_monitor_name [String] The name of the connection monitor.
708
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
709
+ # will be added to the HTTP request.
710
+ #
711
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
712
+ #
713
+ def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
714
+ begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
715
+ end
716
+
717
+ #
718
+ # Stops the specified connection monitor.
719
+ #
720
+ # @param resource_group_name [String] The name of the resource group containing
721
+ # Network Watcher.
722
+ # @param network_watcher_name [String] The name of the Network Watcher
723
+ # resource.
724
+ # @param connection_monitor_name [String] The name of the connection monitor.
725
+ # @param [Hash{String => String}] A hash of custom headers that will be added
726
+ # to the HTTP request.
727
+ #
728
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
729
+ #
730
+ def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
731
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
732
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
733
+ fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil?
734
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
735
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
736
+
737
+
738
+ request_headers = {}
739
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
740
+
741
+ # Set Headers
742
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
743
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
744
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop'
745
+
746
+ request_url = @base_url || @client.base_url
747
+
748
+ options = {
749
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
750
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'connectionMonitorName' => connection_monitor_name,'subscriptionId' => @client.subscription_id},
751
+ query_params: {'api-version' => @client.api_version},
752
+ headers: request_headers.merge(custom_headers || {}),
753
+ base_url: request_url
754
+ }
755
+ promise = @client.make_request_async(:post, path_template, options)
756
+
757
+ promise = promise.then do |result|
758
+ http_response = result.response
759
+ status_code = http_response.status
760
+ response_content = http_response.body
761
+ unless status_code == 200 || status_code == 202
762
+ error_model = JSON.load(response_content)
763
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
764
+ end
765
+
766
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
767
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
768
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
769
+
770
+ result
771
+ end
772
+
773
+ promise.execute
774
+ end
775
+
776
+ #
777
+ # Starts the specified connection monitor.
778
+ #
779
+ # @param resource_group_name [String] The name of the resource group containing
780
+ # Network Watcher.
781
+ # @param network_watcher_name [String] The name of the Network Watcher
782
+ # resource.
783
+ # @param connection_monitor_name [String] The name of the connection monitor.
784
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
785
+ # will be added to the HTTP request.
786
+ #
787
+ #
788
+ def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
789
+ response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
790
+ nil
791
+ end
792
+
793
+ #
794
+ # Starts the specified connection monitor.
795
+ #
796
+ # @param resource_group_name [String] The name of the resource group containing
797
+ # Network Watcher.
798
+ # @param network_watcher_name [String] The name of the Network Watcher
799
+ # resource.
800
+ # @param connection_monitor_name [String] The name of the connection monitor.
801
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
802
+ # will be added to the HTTP request.
803
+ #
804
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
805
+ #
806
+ def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
807
+ begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
808
+ end
809
+
810
+ #
811
+ # Starts the specified connection monitor.
812
+ #
813
+ # @param resource_group_name [String] The name of the resource group containing
814
+ # Network Watcher.
815
+ # @param network_watcher_name [String] The name of the Network Watcher
816
+ # resource.
817
+ # @param connection_monitor_name [String] The name of the connection monitor.
818
+ # @param [Hash{String => String}] A hash of custom headers that will be added
819
+ # to the HTTP request.
820
+ #
821
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
822
+ #
823
+ def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
824
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
825
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
826
+ fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil?
827
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
828
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
829
+
830
+
831
+ request_headers = {}
832
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
833
+
834
+ # Set Headers
835
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
836
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
837
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start'
838
+
839
+ request_url = @base_url || @client.base_url
840
+
841
+ options = {
842
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
843
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'connectionMonitorName' => connection_monitor_name,'subscriptionId' => @client.subscription_id},
844
+ query_params: {'api-version' => @client.api_version},
845
+ headers: request_headers.merge(custom_headers || {}),
846
+ base_url: request_url
847
+ }
848
+ promise = @client.make_request_async(:post, path_template, options)
849
+
850
+ promise = promise.then do |result|
851
+ http_response = result.response
852
+ status_code = http_response.status
853
+ response_content = http_response.body
854
+ unless status_code == 200 || status_code == 202
855
+ error_model = JSON.load(response_content)
856
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
857
+ end
858
+
859
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
860
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
861
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
862
+
863
+ result
864
+ end
865
+
866
+ promise.execute
867
+ end
868
+
869
+ #
870
+ # Query a snapshot of the most recent connection states.
871
+ #
872
+ # @param resource_group_name [String] The name of the resource group containing
873
+ # Network Watcher.
874
+ # @param network_watcher_name [String] The name of the Network Watcher
875
+ # resource.
876
+ # @param connection_monitor_name [String] The name given to the connection
877
+ # monitor.
878
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
879
+ # will be added to the HTTP request.
880
+ #
881
+ # @return [ConnectionMonitorQueryResult] operation results.
882
+ #
883
+ def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
884
+ response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
885
+ response.body unless response.nil?
886
+ end
887
+
888
+ #
889
+ # Query a snapshot of the most recent connection states.
890
+ #
891
+ # @param resource_group_name [String] The name of the resource group containing
892
+ # Network Watcher.
893
+ # @param network_watcher_name [String] The name of the Network Watcher
894
+ # resource.
895
+ # @param connection_monitor_name [String] The name given to the connection
896
+ # monitor.
897
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
898
+ # will be added to the HTTP request.
899
+ #
900
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
901
+ #
902
+ def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
903
+ begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
904
+ end
905
+
906
+ #
907
+ # Query a snapshot of the most recent connection states.
908
+ #
909
+ # @param resource_group_name [String] The name of the resource group containing
910
+ # Network Watcher.
911
+ # @param network_watcher_name [String] The name of the Network Watcher
912
+ # resource.
913
+ # @param connection_monitor_name [String] The name given to the connection
914
+ # monitor.
915
+ # @param [Hash{String => String}] A hash of custom headers that will be added
916
+ # to the HTTP request.
917
+ #
918
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
919
+ #
920
+ def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
921
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
922
+ fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil?
923
+ fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil?
924
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
925
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
926
+
927
+
928
+ request_headers = {}
929
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
930
+
931
+ # Set Headers
932
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
933
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
934
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query'
935
+
936
+ request_url = @base_url || @client.base_url
937
+
938
+ options = {
939
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
940
+ path_params: {'resourceGroupName' => resource_group_name,'networkWatcherName' => network_watcher_name,'connectionMonitorName' => connection_monitor_name,'subscriptionId' => @client.subscription_id},
941
+ query_params: {'api-version' => @client.api_version},
942
+ headers: request_headers.merge(custom_headers || {}),
943
+ base_url: request_url
944
+ }
945
+ promise = @client.make_request_async(:post, path_template, options)
946
+
947
+ promise = promise.then do |result|
948
+ http_response = result.response
949
+ status_code = http_response.status
950
+ response_content = http_response.body
951
+ unless status_code == 200 || status_code == 202
952
+ error_model = JSON.load(response_content)
953
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
954
+ end
955
+
956
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
957
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
958
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
959
+ # Deserialize Response
960
+ if status_code == 200
961
+ begin
962
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
963
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::ConnectionMonitorQueryResult.mapper()
964
+ result.body = @client.deserialize(result_mapper, parsed_response)
965
+ rescue Exception => e
966
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
967
+ end
968
+ end
969
+ # Deserialize Response
970
+ if status_code == 202
971
+ begin
972
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
973
+ result_mapper = Azure::Network::Mgmt::V2019_04_01::Models::ConnectionMonitorQueryResult.mapper()
974
+ result.body = @client.deserialize(result_mapper, parsed_response)
975
+ rescue Exception => e
976
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
977
+ end
978
+ end
979
+
980
+ result
981
+ end
982
+
983
+ promise.execute
984
+ end
985
+
986
+ end
987
+ end