azure_mgmt_network 0.19.1 → 0.20.0

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