azure_mgmt_network 0.23.1 → 0.23.2

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