azure_mgmt_network 0.20.0 → 0.21.0

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