azure_mgmt_network 0.25.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (845) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +1 -1
  4. data/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
  5. data/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  6. data/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  7. data/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  8. data/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  9. data/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
  10. data/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  11. data/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  12. data/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  13. data/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  14. data/lib/2018-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  15. data/lib/2018-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  16. data/lib/2018-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  17. data/lib/2018-07-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  18. data/lib/2018-08-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  19. data/lib/2018-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  20. data/lib/2018-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  21. data/lib/2018-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  22. data/lib/2019-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  23. data/lib/2019-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  24. data/lib/2019-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  25. data/lib/2019-07-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  26. data/lib/2019-08-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  27. data/lib/2019-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  28. data/lib/2019-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  29. data/lib/2019-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  30. data/lib/2020-03-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  31. data/lib/2020-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  32. data/lib/2020-05-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  33. data/lib/2020-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  34. data/lib/2020-07-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  35. data/lib/2020-08-01/generated/azure_mgmt_network.rb +831 -0
  36. data/lib/2020-08-01/generated/azure_mgmt_network/application_gateway_private_endpoint_connections.rb +631 -0
  37. data/lib/2020-08-01/generated/azure_mgmt_network/application_gateway_private_link_resources.rb +231 -0
  38. data/lib/2020-08-01/generated/azure_mgmt_network/application_gateways.rb +2230 -0
  39. data/lib/2020-08-01/generated/azure_mgmt_network/application_security_groups.rb +925 -0
  40. data/lib/2020-08-01/generated/azure_mgmt_network/available_delegations.rb +233 -0
  41. data/lib/2020-08-01/generated/azure_mgmt_network/available_endpoint_services.rb +226 -0
  42. data/lib/2020-08-01/generated/azure_mgmt_network/available_private_endpoint_types.rb +446 -0
  43. data/lib/2020-08-01/generated/azure_mgmt_network/available_resource_group_delegations.rb +238 -0
  44. data/lib/2020-08-01/generated/azure_mgmt_network/available_service_aliases.rb +432 -0
  45. data/lib/2020-08-01/generated/azure_mgmt_network/azure_firewall_fqdn_tags.rb +221 -0
  46. data/lib/2020-08-01/generated/azure_mgmt_network/azure_firewalls.rb +957 -0
  47. data/lib/2020-08-01/generated/azure_mgmt_network/bastion_hosts.rb +801 -0
  48. data/lib/2020-08-01/generated/azure_mgmt_network/bgp_service_communities.rb +221 -0
  49. data/lib/2020-08-01/generated/azure_mgmt_network/connection_monitors.rb +1109 -0
  50. data/lib/2020-08-01/generated/azure_mgmt_network/custom_ipprefixes.rb +912 -0
  51. data/lib/2020-08-01/generated/azure_mgmt_network/ddos_custom_policies.rb +512 -0
  52. data/lib/2020-08-01/generated/azure_mgmt_network/ddos_protection_plans.rb +925 -0
  53. data/lib/2020-08-01/generated/azure_mgmt_network/default_security_rules.rb +339 -0
  54. data/lib/2020-08-01/generated/azure_mgmt_network/dscp_configuration_operations.rb +801 -0
  55. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +631 -0
  56. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +683 -0
  57. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +626 -0
  58. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_circuits.rb +1557 -0
  59. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_connections.rb +534 -0
  60. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +648 -0
  61. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1262 -0
  62. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_gateways.rb +760 -0
  63. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_links.rb +343 -0
  64. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_ports.rb +1033 -0
  65. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_ports_locations.rb +331 -0
  66. data/lib/2020-08-01/generated/azure_mgmt_network/express_route_service_providers.rb +221 -0
  67. data/lib/2020-08-01/generated/azure_mgmt_network/firewall_policies.rb +804 -0
  68. data/lib/2020-08-01/generated/azure_mgmt_network/firewall_policy_rule_collection_groups.rb +639 -0
  69. data/lib/2020-08-01/generated/azure_mgmt_network/flow_logs.rb +743 -0
  70. data/lib/2020-08-01/generated/azure_mgmt_network/hub_route_tables.rb +647 -0
  71. data/lib/2020-08-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +652 -0
  72. data/lib/2020-08-01/generated/azure_mgmt_network/inbound_nat_rules.rb +629 -0
  73. data/lib/2020-08-01/generated/azure_mgmt_network/inbound_security_rule_operations.rb +204 -0
  74. data/lib/2020-08-01/generated/azure_mgmt_network/ip_allocations.rb +912 -0
  75. data/lib/2020-08-01/generated/azure_mgmt_network/ip_groups.rb +915 -0
  76. data/lib/2020-08-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +639 -0
  77. data/lib/2020-08-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +332 -0
  78. data/lib/2020-08-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +329 -0
  79. data/lib/2020-08-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +231 -0
  80. data/lib/2020-08-01/generated/azure_mgmt_network/load_balancer_outbound_rules.rb +329 -0
  81. data/lib/2020-08-01/generated/azure_mgmt_network/load_balancer_probes.rb +329 -0
  82. data/lib/2020-08-01/generated/azure_mgmt_network/load_balancers.rb +912 -0
  83. data/lib/2020-08-01/generated/azure_mgmt_network/local_network_gateways.rb +733 -0
  84. data/lib/2020-08-01/generated/azure_mgmt_network/models/aad_authentication_parameters.rb +68 -0
  85. data/lib/2020-08-01/generated/azure_mgmt_network/models/access.rb +16 -0
  86. data/lib/2020-08-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
  87. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway.rb +699 -0
  88. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +106 -0
  89. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +65 -0
  90. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  91. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  92. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  93. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  94. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +136 -0
  95. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +56 -0
  96. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  97. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_backend_health_on_demand.rb +61 -0
  98. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  99. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +83 -0
  100. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  101. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +266 -0
  102. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_client_auth_configuration.rb +48 -0
  103. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  104. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  105. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb +60 -0
  106. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_custom_error_status_code.rb +16 -0
  107. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  108. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb +71 -0
  109. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  110. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  111. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  112. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +143 -0
  113. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +156 -0
  114. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +105 -0
  115. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_header_configuration.rb +57 -0
  116. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +232 -0
  117. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +108 -0
  118. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  119. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb +134 -0
  120. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  121. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +177 -0
  122. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_private_endpoint_connection.rb +134 -0
  123. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_private_endpoint_connection_list_result.rb +103 -0
  124. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_private_link_configuration.rb +116 -0
  125. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_private_link_ip_configuration.rb +141 -0
  126. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_private_link_resource.rb +132 -0
  127. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_private_link_resource_list_result.rb +103 -0
  128. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +223 -0
  129. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  130. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  131. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +201 -0
  132. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  133. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +198 -0
  134. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  135. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb +93 -0
  136. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_action_set.rb +90 -0
  137. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb +82 -0
  138. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_set.rb +103 -0
  139. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  140. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
  141. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +143 -0
  142. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +42 -0
  143. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  144. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  145. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  146. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  147. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_ssl_profile.rb +141 -0
  148. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  149. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
  150. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_trusted_client_certificate.rb +106 -0
  151. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_trusted_root_certificate.rb +117 -0
  152. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_url_configuration.rb +72 -0
  153. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +168 -0
  154. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +180 -0
  155. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_rule.rb +232 -0
  156. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  157. data/lib/2020-08-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  158. data/lib/2020-08-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  159. data/lib/2020-08-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  160. data/lib/2020-08-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  161. data/lib/2020-08-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  162. data/lib/2020-08-01/generated/azure_mgmt_network/models/auto_approved_private_link_service.rb +46 -0
  163. data/lib/2020-08-01/generated/azure_mgmt_network/models/auto_approved_private_link_services_result.rb +101 -0
  164. data/lib/2020-08-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  165. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_delegation.rb +101 -0
  166. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_delegations_result.rb +99 -0
  167. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_private_endpoint_type.rb +80 -0
  168. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_private_endpoint_types_result.rb +100 -0
  169. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  170. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  171. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  172. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  173. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  174. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_service_alias.rb +79 -0
  175. data/lib/2020-08-01/generated/azure_mgmt_network/models/available_service_aliases_result.rb +100 -0
  176. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  177. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall.rb +332 -0
  178. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +154 -0
  179. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +130 -0
  180. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
  181. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +17 -0
  182. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag.rb +124 -0
  183. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag_list_result.rb +99 -0
  184. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_ip_groups.rb +59 -0
  185. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +133 -0
  186. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
  187. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction.rb +47 -0
  188. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction_type.rb +16 -0
  189. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule.rb +187 -0
  190. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule_collection.rb +131 -0
  191. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +191 -0
  192. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +130 -0
  193. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
  194. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_public_ipaddress.rb +46 -0
  195. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
  196. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
  197. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_sku.rb +59 -0
  198. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_sku_name.rb +16 -0
  199. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_sku_tier.rb +16 -0
  200. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_firewall_threat_intel_mode.rb +17 -0
  201. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +81 -0
  202. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  203. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  204. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  205. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +108 -0
  206. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_web_category.rb +95 -0
  207. data/lib/2020-08-01/generated/azure_mgmt_network/models/azure_web_category_list_result.rb +99 -0
  208. data/lib/2020-08-01/generated/azure_mgmt_network/models/backend_address_pool.rb +207 -0
  209. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_active_session.rb +168 -0
  210. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_active_session_list_result.rb +99 -0
  211. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_connect_protocol.rb +16 -0
  212. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_host.rb +145 -0
  213. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_host_ipconfiguration.rb +130 -0
  214. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_host_list_result.rb +98 -0
  215. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_session_delete_result.rb +99 -0
  216. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_session_state.rb +72 -0
  217. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb +85 -0
  218. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_shareable_link_list_request.rb +55 -0
  219. data/lib/2020-08-01/generated/azure_mgmt_network/models/bastion_shareable_link_list_result.rb +99 -0
  220. data/lib/2020-08-01/generated/azure_mgmt_network/models/bgp_connection.rb +132 -0
  221. data/lib/2020-08-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  222. data/lib/2020-08-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +136 -0
  223. data/lib/2020-08-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  224. data/lib/2020-08-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  225. data/lib/2020-08-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  226. data/lib/2020-08-01/generated/azure_mgmt_network/models/bgp_settings.rb +95 -0
  227. data/lib/2020-08-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  228. data/lib/2020-08-01/generated/azure_mgmt_network/models/break_out_category_policies.rb +68 -0
  229. data/lib/2020-08-01/generated/azure_mgmt_network/models/check_private_link_service_visibility_request.rb +46 -0
  230. data/lib/2020-08-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
  231. data/lib/2020-08-01/generated/azure_mgmt_network/models/commissioned_state.rb +20 -0
  232. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor.rb +216 -0
  233. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +74 -0
  234. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_endpoint.rb +120 -0
  235. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter.rb +69 -0
  236. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter_item.rb +59 -0
  237. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter_item_type.rb +15 -0
  238. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter_type.rb +15 -0
  239. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_scope.rb +77 -0
  240. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_scope_item.rb +47 -0
  241. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_http_configuration.rb +127 -0
  242. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_icmp_configuration.rb +47 -0
  243. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  244. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_output.rb +61 -0
  245. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +186 -0
  246. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
  247. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +317 -0
  248. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +62 -0
  249. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
  250. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_success_threshold.rb +59 -0
  251. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_tcp_configuration.rb +74 -0
  252. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_test_configuration.rb +135 -0
  253. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_test_configuration_protocol.rb +17 -0
  254. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb +114 -0
  255. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_type.rb +16 -0
  256. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_monitor_workspace_settings.rb +47 -0
  257. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  258. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
  259. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  260. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +178 -0
  261. data/lib/2020-08-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  262. data/lib/2020-08-01/generated/azure_mgmt_network/models/connectivity_destination.rb +74 -0
  263. data/lib/2020-08-01/generated/azure_mgmt_network/models/connectivity_hop.rb +186 -0
  264. data/lib/2020-08-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  265. data/lib/2020-08-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  266. data/lib/2020-08-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +95 -0
  267. data/lib/2020-08-01/generated/azure_mgmt_network/models/connectivity_source.rb +63 -0
  268. data/lib/2020-08-01/generated/azure_mgmt_network/models/container.rb +43 -0
  269. data/lib/2020-08-01/generated/azure_mgmt_network/models/container_network_interface.rb +144 -0
  270. data/lib/2020-08-01/generated/azure_mgmt_network/models/container_network_interface_configuration.rb +136 -0
  271. data/lib/2020-08-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb +86 -0
  272. data/lib/2020-08-01/generated/azure_mgmt_network/models/coverage_level.rb +20 -0
  273. data/lib/2020-08-01/generated/azure_mgmt_network/models/custom_dns_config_properties_format.rb +66 -0
  274. data/lib/2020-08-01/generated/azure_mgmt_network/models/custom_ip_prefix.rb +205 -0
  275. data/lib/2020-08-01/generated/azure_mgmt_network/models/custom_ip_prefix_list_result.rb +99 -0
  276. data/lib/2020-08-01/generated/azure_mgmt_network/models/ddos_custom_policy.rb +170 -0
  277. data/lib/2020-08-01/generated/azure_mgmt_network/models/ddos_custom_policy_protocol.rb +17 -0
  278. data/lib/2020-08-01/generated/azure_mgmt_network/models/ddos_custom_policy_trigger_sensitivity_override.rb +18 -0
  279. data/lib/2020-08-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
  280. data/lib/2020-08-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
  281. data/lib/2020-08-01/generated/azure_mgmt_network/models/ddos_settings.rb +72 -0
  282. data/lib/2020-08-01/generated/azure_mgmt_network/models/ddos_settings_protection_coverage.rb +16 -0
  283. data/lib/2020-08-01/generated/azure_mgmt_network/models/delegation.rb +115 -0
  284. data/lib/2020-08-01/generated/azure_mgmt_network/models/destination_port_behavior.rb +16 -0
  285. data/lib/2020-08-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
  286. data/lib/2020-08-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  287. data/lib/2020-08-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
  288. data/lib/2020-08-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  289. data/lib/2020-08-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  290. data/lib/2020-08-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  291. data/lib/2020-08-01/generated/azure_mgmt_network/models/dns_settings.rb +78 -0
  292. data/lib/2020-08-01/generated/azure_mgmt_network/models/dscp_configuration.rb +272 -0
  293. data/lib/2020-08-01/generated/azure_mgmt_network/models/dscp_configuration_list_result.rb +100 -0
  294. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  295. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  296. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  297. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +260 -0
  298. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_route.rb +135 -0
  299. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  300. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  301. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  302. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_routes_parameters.rb +61 -0
  303. data/lib/2020-08-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  304. data/lib/2020-08-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  305. data/lib/2020-08-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  306. data/lib/2020-08-01/generated/azure_mgmt_network/models/endpoint_type.rb +20 -0
  307. data/lib/2020-08-01/generated/azure_mgmt_network/models/error.rb +99 -0
  308. data/lib/2020-08-01/generated/azure_mgmt_network/models/error_details.rb +68 -0
  309. data/lib/2020-08-01/generated/azure_mgmt_network/models/error_response.rb +47 -0
  310. data/lib/2020-08-01/generated/azure_mgmt_network/models/evaluated_network_security_group.rb +92 -0
  311. data/lib/2020-08-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  312. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit.rb +296 -0
  313. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  314. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +117 -0
  315. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +170 -0
  316. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_connection_list_result.rb +101 -0
  317. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  318. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +341 -0
  319. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  320. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
  321. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering_id.rb +46 -0
  322. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  323. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  324. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +46 -0
  325. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
  326. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  327. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  328. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +70 -0
  329. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  330. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +18 -0
  331. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  332. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +66 -0
  333. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  334. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  335. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_connection.rb +138 -0
  336. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_connection_id.rb +47 -0
  337. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_connection_list.rb +56 -0
  338. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +231 -0
  339. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
  340. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +251 -0
  341. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
  342. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
  343. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
  344. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_gateway.rb +160 -0
  345. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_gateway_list.rb +55 -0
  346. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration.rb +49 -0
  347. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration_bounds.rb +60 -0
  348. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_link.rb +169 -0
  349. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_link_admin_state.rb +16 -0
  350. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_link_connector_type.rb +16 -0
  351. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_link_list_result.rb +99 -0
  352. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_link_mac_sec_cipher.rb +18 -0
  353. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_link_mac_sec_config.rb +86 -0
  354. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_link_mac_sec_sci_state.rb +16 -0
  355. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
  356. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
  357. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_port.rb +268 -0
  358. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_port_list_result.rb +98 -0
  359. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_ports_encapsulation.rb +16 -0
  360. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_ports_location.rb +146 -0
  361. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_ports_location_bandwidths.rb +61 -0
  362. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_ports_location_list_result.rb +99 -0
  363. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +139 -0
  364. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  365. data/lib/2020-08-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  366. data/lib/2020-08-01/generated/azure_mgmt_network/models/extended_location.rb +60 -0
  367. data/lib/2020-08-01/generated/azure_mgmt_network/models/extended_location_types.rb +15 -0
  368. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy.rb +277 -0
  369. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_certificate_authority.rb +58 -0
  370. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_collection.rb +106 -0
  371. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_collection_action.rb +47 -0
  372. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_collection_action_type.rb +16 -0
  373. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_intrusion_detection.rb +60 -0
  374. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_intrusion_detection_bypass_traffic_specifications.rb +167 -0
  375. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_intrusion_detection_configuration.rb +79 -0
  376. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_intrusion_detection_protocol.rb +18 -0
  377. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_intrusion_detection_signature_specification.rb +59 -0
  378. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_intrusion_detection_state_type.rb +17 -0
  379. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_list_result.rb +99 -0
  380. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_collection.rb +106 -0
  381. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_collection_action.rb +47 -0
  382. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_collection_action_type.rb +15 -0
  383. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_rule.rb +70 -0
  384. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_rule_application_protocol.rb +63 -0
  385. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_rule_application_protocol_type.rb +16 -0
  386. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_rule_collection.rb +74 -0
  387. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_rule_collection_group.rb +133 -0
  388. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_rule_collection_group_list_result.rb +101 -0
  389. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_rule_network_protocol.rb +18 -0
  390. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_sku.rb +47 -0
  391. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_sku_tier.rb +16 -0
  392. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_threat_intel_whitelist.rb +74 -0
  393. data/lib/2020-08-01/generated/azure_mgmt_network/models/firewall_policy_transport_security.rb +48 -0
  394. data/lib/2020-08-01/generated/azure_mgmt_network/models/flow_log.rb +198 -0
  395. data/lib/2020-08-01/generated/azure_mgmt_network/models/flow_log_format_parameters.rb +60 -0
  396. data/lib/2020-08-01/generated/azure_mgmt_network/models/flow_log_format_type.rb +15 -0
  397. data/lib/2020-08-01/generated/azure_mgmt_network/models/flow_log_information.rb +110 -0
  398. data/lib/2020-08-01/generated/azure_mgmt_network/models/flow_log_list_result.rb +99 -0
  399. data/lib/2020-08-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
  400. data/lib/2020-08-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +274 -0
  401. data/lib/2020-08-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  402. data/lib/2020-08-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  403. data/lib/2020-08-01/generated/azure_mgmt_network/models/generate_express_route_ports_loarequest.rb +46 -0
  404. data/lib/2020-08-01/generated/azure_mgmt_network/models/generate_express_route_ports_loaresult.rb +46 -0
  405. data/lib/2020-08-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +67 -0
  406. data/lib/2020-08-01/generated/azure_mgmt_network/models/hop_link.rb +160 -0
  407. data/lib/2020-08-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
  408. data/lib/2020-08-01/generated/azure_mgmt_network/models/httpconfiguration_method.rb +16 -0
  409. data/lib/2020-08-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
  410. data/lib/2020-08-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
  411. data/lib/2020-08-01/generated/azure_mgmt_network/models/hub_bgp_connection_status.rb +18 -0
  412. data/lib/2020-08-01/generated/azure_mgmt_network/models/hub_ip_configuration.rb +140 -0
  413. data/lib/2020-08-01/generated/azure_mgmt_network/models/hub_ipaddresses.rb +59 -0
  414. data/lib/2020-08-01/generated/azure_mgmt_network/models/hub_public_ipaddresses.rb +69 -0
  415. data/lib/2020-08-01/generated/azure_mgmt_network/models/hub_route.rb +100 -0
  416. data/lib/2020-08-01/generated/azure_mgmt_network/models/hub_route_table.rb +176 -0
  417. data/lib/2020-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +142 -0
  418. data/lib/2020-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
  419. data/lib/2020-08-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
  420. data/lib/2020-08-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
  421. data/lib/2020-08-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +199 -0
  422. data/lib/2020-08-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +202 -0
  423. data/lib/2020-08-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  424. data/lib/2020-08-01/generated/azure_mgmt_network/models/inbound_security_rule.rb +112 -0
  425. data/lib/2020-08-01/generated/azure_mgmt_network/models/inbound_security_rules.rb +75 -0
  426. data/lib/2020-08-01/generated/azure_mgmt_network/models/inbound_security_rules_protocol.rb +16 -0
  427. data/lib/2020-08-01/generated/azure_mgmt_network/models/ip_allocation.rb +204 -0
  428. data/lib/2020-08-01/generated/azure_mgmt_network/models/ip_allocation_list_result.rb +98 -0
  429. data/lib/2020-08-01/generated/azure_mgmt_network/models/ip_allocation_type.rb +16 -0
  430. data/lib/2020-08-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
  431. data/lib/2020-08-01/generated/azure_mgmt_network/models/ip_group.rb +176 -0
  432. data/lib/2020-08-01/generated/azure_mgmt_network/models/ip_group_list_result.rb +98 -0
  433. data/lib/2020-08-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  434. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  435. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  436. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipconfiguration.rb +129 -0
  437. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipconfiguration_bgp_peering_address.rb +108 -0
  438. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipconfiguration_profile.rb +107 -0
  439. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  440. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  441. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
  442. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipv6circuit_connection_config.rb +61 -0
  443. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +94 -0
  444. data/lib/2020-08-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  445. data/lib/2020-08-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  446. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_hub_route_tables_result.rb +99 -0
  447. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
  448. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_p2svpn_gateways_result.rb +100 -0
  449. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_virtual_hub_bgp_connection_results.rb +98 -0
  450. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_virtual_hub_ip_configuration_results.rb +99 -0
  451. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_virtual_hub_route_table_v2s_result.rb +101 -0
  452. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
  453. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
  454. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
  455. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_vpn_gateway_nat_rules_result.rb +101 -0
  456. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
  457. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_vpn_server_configurations_result.rb +102 -0
  458. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_vpn_site_link_connections_result.rb +101 -0
  459. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_vpn_site_links_result.rb +100 -0
  460. data/lib/2020-08-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
  461. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer.rb +306 -0
  462. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_backend_address.rb +97 -0
  463. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  464. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  465. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  466. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  467. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_list_result.rb +100 -0
  468. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_protocol.rb +17 -0
  469. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  470. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +59 -0
  471. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  472. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancer_sku_tier.rb +16 -0
  473. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +238 -0
  474. data/lib/2020-08-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  475. data/lib/2020-08-01/generated/azure_mgmt_network/models/local_network_gateway.rb +171 -0
  476. data/lib/2020-08-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  477. data/lib/2020-08-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  478. data/lib/2020-08-01/generated/azure_mgmt_network/models/managed_rule_enabled_state.rb +15 -0
  479. data/lib/2020-08-01/generated/azure_mgmt_network/models/managed_rule_group_override.rb +67 -0
  480. data/lib/2020-08-01/generated/azure_mgmt_network/models/managed_rule_override.rb +59 -0
  481. data/lib/2020-08-01/generated/azure_mgmt_network/models/managed_rule_set.rb +78 -0
  482. data/lib/2020-08-01/generated/azure_mgmt_network/models/managed_rules_definition.rb +77 -0
  483. data/lib/2020-08-01/generated/azure_mgmt_network/models/managed_service_identity.rb +102 -0
  484. data/lib/2020-08-01/generated/azure_mgmt_network/models/managed_service_identity_user_assigned_identities_value.rb +61 -0
  485. data/lib/2020-08-01/generated/azure_mgmt_network/models/match_condition.rb +118 -0
  486. data/lib/2020-08-01/generated/azure_mgmt_network/models/match_variable.rb +60 -0
  487. data/lib/2020-08-01/generated/azure_mgmt_network/models/matched_rule.rb +58 -0
  488. data/lib/2020-08-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  489. data/lib/2020-08-01/generated/azure_mgmt_network/models/nat_gateway.rb +232 -0
  490. data/lib/2020-08-01/generated/azure_mgmt_network/models/nat_gateway_list_result.rb +99 -0
  491. data/lib/2020-08-01/generated/azure_mgmt_network/models/nat_gateway_sku.rb +47 -0
  492. data/lib/2020-08-01/generated/azure_mgmt_network/models/nat_gateway_sku_name.rb +15 -0
  493. data/lib/2020-08-01/generated/azure_mgmt_network/models/nat_rule.rb +196 -0
  494. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb +81 -0
  495. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb +95 -0
  496. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_response.rb +57 -0
  497. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_result.rb +61 -0
  498. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_intent_policy.rb +98 -0
  499. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_intent_policy_configuration.rb +60 -0
  500. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface.rb +318 -0
  501. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  502. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +120 -0
  503. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +274 -0
  504. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  505. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_private_link_connection_properties.rb +83 -0
  506. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  507. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  508. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface_tap_configuration.rb +107 -0
  509. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_interface_tap_configuration_list_result.rb +102 -0
  510. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  511. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_profile.rb +168 -0
  512. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_profile_list_result.rb +99 -0
  513. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_rule.rb +201 -0
  514. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_security_group.rb +233 -0
  515. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  516. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_security_group_result.rb +70 -0
  517. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb +101 -0
  518. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_virtual_appliance.rb +291 -0
  519. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_virtual_appliance_list_result.rb +99 -0
  520. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_virtual_appliance_site_list_result.rb +99 -0
  521. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_virtual_appliance_sku.rb +153 -0
  522. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_virtual_appliance_sku_instances.rb +61 -0
  523. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_virtual_appliance_sku_list_result.rb +99 -0
  524. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_watcher.rb +112 -0
  525. data/lib/2020-08-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  526. data/lib/2020-08-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  527. data/lib/2020-08-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  528. data/lib/2020-08-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  529. data/lib/2020-08-01/generated/azure_mgmt_network/models/o365break_out_category_policies.rb +68 -0
  530. data/lib/2020-08-01/generated/azure_mgmt_network/models/o365policy_properties.rb +47 -0
  531. data/lib/2020-08-01/generated/azure_mgmt_network/models/office365policy_properties.rb +47 -0
  532. data/lib/2020-08-01/generated/azure_mgmt_network/models/office_traffic_category.rb +18 -0
  533. data/lib/2020-08-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  534. data/lib/2020-08-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  535. data/lib/2020-08-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  536. data/lib/2020-08-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  537. data/lib/2020-08-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  538. data/lib/2020-08-01/generated/azure_mgmt_network/models/outbound_rule.rb +177 -0
  539. data/lib/2020-08-01/generated/azure_mgmt_network/models/output_type.rb +15 -0
  540. data/lib/2020-08-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry.rb +74 -0
  541. data/lib/2020-08-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry_match_variable.rb +17 -0
  542. data/lib/2020-08-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry_selector_match_operator.rb +19 -0
  543. data/lib/2020-08-01/generated/azure_mgmt_network/models/p2sconnection_configuration.rb +120 -0
  544. data/lib/2020-08-01/generated/azure_mgmt_network/models/p2svpn_connection_health.rb +47 -0
  545. data/lib/2020-08-01/generated/azure_mgmt_network/models/p2svpn_connection_health_request.rb +67 -0
  546. data/lib/2020-08-01/generated/azure_mgmt_network/models/p2svpn_connection_request.rb +54 -0
  547. data/lib/2020-08-01/generated/azure_mgmt_network/models/p2svpn_gateway.rb +215 -0
  548. data/lib/2020-08-01/generated/azure_mgmt_network/models/p2svpn_profile_parameters.rb +47 -0
  549. data/lib/2020-08-01/generated/azure_mgmt_network/models/packet_capture.rb +131 -0
  550. data/lib/2020-08-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  551. data/lib/2020-08-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  552. data/lib/2020-08-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +131 -0
  553. data/lib/2020-08-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  554. data/lib/2020-08-01/generated/azure_mgmt_network/models/packet_capture_result.rb +182 -0
  555. data/lib/2020-08-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  556. data/lib/2020-08-01/generated/azure_mgmt_network/models/patch_route_filter.rb +179 -0
  557. data/lib/2020-08-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +129 -0
  558. data/lib/2020-08-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  559. data/lib/2020-08-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  560. data/lib/2020-08-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  561. data/lib/2020-08-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection.rb +170 -0
  562. data/lib/2020-08-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection_list_result.rb +104 -0
  563. data/lib/2020-08-01/generated/azure_mgmt_network/models/peer_route.rb +119 -0
  564. data/lib/2020-08-01/generated/azure_mgmt_network/models/peer_route_list.rb +55 -0
  565. data/lib/2020-08-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
  566. data/lib/2020-08-01/generated/azure_mgmt_network/models/policy_settings.rb +99 -0
  567. data/lib/2020-08-01/generated/azure_mgmt_network/models/preferred_ipversion.rb +16 -0
  568. data/lib/2020-08-01/generated/azure_mgmt_network/models/prepare_network_policies_request.rb +68 -0
  569. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_dns_zone_config.rb +80 -0
  570. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_dns_zone_group.rb +103 -0
  571. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_dns_zone_group_list_result.rb +100 -0
  572. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_endpoint.rb +224 -0
  573. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_endpoint_connection.rb +133 -0
  574. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_endpoint_connection_list_result.rb +101 -0
  575. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_endpoint_list_result.rb +100 -0
  576. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_link_service.rb +279 -0
  577. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_link_service_connection.rb +150 -0
  578. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_link_service_connection_state.rb +71 -0
  579. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_link_service_ip_configuration.rb +151 -0
  580. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_link_service_list_result.rb +100 -0
  581. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_link_service_properties_auto_approval.rb +51 -0
  582. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_link_service_properties_visibility.rb +51 -0
  583. data/lib/2020-08-01/generated/azure_mgmt_network/models/private_link_service_visibility.rb +46 -0
  584. data/lib/2020-08-01/generated/azure_mgmt_network/models/probe.rb +186 -0
  585. data/lib/2020-08-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
  586. data/lib/2020-08-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  587. data/lib/2020-08-01/generated/azure_mgmt_network/models/propagated_route_table.rb +75 -0
  588. data/lib/2020-08-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
  589. data/lib/2020-08-01/generated/azure_mgmt_network/models/protocol_configuration.rb +48 -0
  590. data/lib/2020-08-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb +87 -0
  591. data/lib/2020-08-01/generated/azure_mgmt_network/models/protocol_type.rb +23 -0
  592. data/lib/2020-08-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  593. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipaddress.rb +291 -0
  594. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  595. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  596. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +59 -0
  597. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  598. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipaddress_sku_tier.rb +16 -0
  599. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipprefix.rb +275 -0
  600. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipprefix_list_result.rb +99 -0
  601. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipprefix_sku.rb +59 -0
  602. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipprefix_sku_name.rb +15 -0
  603. data/lib/2020-08-01/generated/azure_mgmt_network/models/public_ipprefix_sku_tier.rb +16 -0
  604. data/lib/2020-08-01/generated/azure_mgmt_network/models/qos_ip_range.rb +57 -0
  605. data/lib/2020-08-01/generated/azure_mgmt_network/models/qos_port_range.rb +57 -0
  606. data/lib/2020-08-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  607. data/lib/2020-08-01/generated/azure_mgmt_network/models/radius_server.rb +68 -0
  608. data/lib/2020-08-01/generated/azure_mgmt_network/models/record_set.rb +111 -0
  609. data/lib/2020-08-01/generated/azure_mgmt_network/models/referenced_public_ip_address.rb +46 -0
  610. data/lib/2020-08-01/generated/azure_mgmt_network/models/resource.rb +109 -0
  611. data/lib/2020-08-01/generated/azure_mgmt_network/models/resource_identity_type.rb +18 -0
  612. data/lib/2020-08-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +116 -0
  613. data/lib/2020-08-01/generated/azure_mgmt_network/models/resource_navigation_links_list_result.rb +68 -0
  614. data/lib/2020-08-01/generated/azure_mgmt_network/models/resource_set.rb +54 -0
  615. data/lib/2020-08-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  616. data/lib/2020-08-01/generated/azure_mgmt_network/models/route.rb +142 -0
  617. data/lib/2020-08-01/generated/azure_mgmt_network/models/route_filter.rb +177 -0
  618. data/lib/2020-08-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  619. data/lib/2020-08-01/generated/azure_mgmt_network/models/route_filter_rule.rb +139 -0
  620. data/lib/2020-08-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  621. data/lib/2020-08-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  622. data/lib/2020-08-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  623. data/lib/2020-08-01/generated/azure_mgmt_network/models/route_table.rb +178 -0
  624. data/lib/2020-08-01/generated/azure_mgmt_network/models/route_table_list_result.rb +98 -0
  625. data/lib/2020-08-01/generated/azure_mgmt_network/models/routing_configuration.rb +75 -0
  626. data/lib/2020-08-01/generated/azure_mgmt_network/models/routing_state.rb +18 -0
  627. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +59 -0
  628. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  629. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  630. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_partner_provider.rb +151 -0
  631. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_partner_provider_connection_status.rb +18 -0
  632. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_partner_provider_list_result.rb +99 -0
  633. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_provider_name.rb +17 -0
  634. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_rule.rb +326 -0
  635. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  636. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_rule_associations.rb +102 -0
  637. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  638. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  639. data/lib/2020-08-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +20 -0
  640. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_association_link.rb +146 -0
  641. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_association_links_list_result.rb +68 -0
  642. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_endpoint_policy.rb +167 -0
  643. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition.rb +123 -0
  644. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition_list_result.rb +103 -0
  645. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_endpoint_policy_list_result.rb +100 -0
  646. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +79 -0
  647. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  648. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_tag_information.rb +73 -0
  649. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_tag_information_properties_format.rb +91 -0
  650. data/lib/2020-08-01/generated/azure_mgmt_network/models/service_tags_list_result.rb +130 -0
  651. data/lib/2020-08-01/generated/azure_mgmt_network/models/session_ids.rb +54 -0
  652. data/lib/2020-08-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  653. data/lib/2020-08-01/generated/azure_mgmt_network/models/static_route.rb +77 -0
  654. data/lib/2020-08-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  655. data/lib/2020-08-01/generated/azure_mgmt_network/models/subnet.rb +380 -0
  656. data/lib/2020-08-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  657. data/lib/2020-08-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  658. data/lib/2020-08-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  659. data/lib/2020-08-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  660. data/lib/2020-08-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  661. data/lib/2020-08-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  662. data/lib/2020-08-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  663. data/lib/2020-08-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +91 -0
  664. data/lib/2020-08-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +48 -0
  665. data/lib/2020-08-01/generated/azure_mgmt_network/models/traffic_selector_policy.rb +75 -0
  666. data/lib/2020-08-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  667. data/lib/2020-08-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  668. data/lib/2020-08-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  669. data/lib/2020-08-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  670. data/lib/2020-08-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  671. data/lib/2020-08-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  672. data/lib/2020-08-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
  673. data/lib/2020-08-01/generated/azure_mgmt_network/models/unprepare_network_policies_request.rb +47 -0
  674. data/lib/2020-08-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  675. data/lib/2020-08-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  676. data/lib/2020-08-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  677. data/lib/2020-08-01/generated/azure_mgmt_network/models/verbosity_level.rb +17 -0
  678. data/lib/2020-08-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  679. data/lib/2020-08-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  680. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_appliance_nic_properties.rb +71 -0
  681. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_appliance_site.rb +115 -0
  682. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_appliance_sku_properties.rb +68 -0
  683. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_hub.rb +354 -0
  684. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_hub_effective_route.rb +106 -0
  685. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_hub_effective_route_list.rb +56 -0
  686. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_hub_id.rb +48 -0
  687. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_hub_route.rb +65 -0
  688. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_hub_route_table.rb +55 -0
  689. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_hub_route_table_v2.rb +122 -0
  690. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_hub_route_v2.rb +95 -0
  691. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network.rb +279 -0
  692. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_bgp_communities.rb +60 -0
  693. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  694. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +336 -0
  695. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +406 -0
  696. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +383 -0
  697. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  698. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_mode.rb +17 -0
  699. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_protocol.rb +16 -0
  700. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  701. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  702. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +130 -0
  703. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  704. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  705. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +77 -0
  706. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +31 -0
  707. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +31 -0
  708. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +17 -0
  709. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  710. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  711. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +188 -0
  712. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  713. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  714. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_tap.rb +186 -0
  715. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_tap_list_result.rb +99 -0
  716. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  717. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  718. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_router.rb +191 -0
  719. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_router_list_result.rb +98 -0
  720. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_router_peering.rb +119 -0
  721. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_router_peering_list_result.rb +99 -0
  722. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_wan.rb +210 -0
  723. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_wan_security_provider.rb +69 -0
  724. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_wan_security_provider_type.rb +16 -0
  725. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_wan_security_providers.rb +56 -0
  726. data/lib/2020-08-01/generated/azure_mgmt_network/models/virtual_wan_vpn_profile_parameters.rb +59 -0
  727. data/lib/2020-08-01/generated/azure_mgmt_network/models/vm.rb +85 -0
  728. data/lib/2020-08-01/generated/azure_mgmt_network/models/vnet_route.rb +56 -0
  729. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_authentication_type.rb +17 -0
  730. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +212 -0
  731. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb +93 -0
  732. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail.rb +179 -0
  733. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail_list_result.rb +57 -0
  734. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
  735. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +94 -0
  736. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
  737. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +93 -0
  738. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +93 -0
  739. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_connection.rb +296 -0
  740. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_connection_packet_capture_start_parameters.rb +67 -0
  741. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_connection_packet_capture_stop_parameters.rb +66 -0
  742. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
  743. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  744. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_gateway.rb +223 -0
  745. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_gateway_generation.rb +17 -0
  746. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_gateway_ip_configuration.rb +69 -0
  747. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_gateway_nat_rule.rb +213 -0
  748. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_gateway_packet_capture_start_parameters.rb +46 -0
  749. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_gateway_packet_capture_stop_parameters.rb +46 -0
  750. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_gateway_tunneling_protocol.rb +16 -0
  751. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_link_bgp_settings.rb +58 -0
  752. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_link_connection_mode.rb +17 -0
  753. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_link_provider_properties.rb +57 -0
  754. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_nat_rule_mapping.rb +46 -0
  755. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_nat_rule_mode.rb +16 -0
  756. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_nat_rule_type.rb +16 -0
  757. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_packet_capture_start_parameters.rb +46 -0
  758. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_packet_capture_stop_parameters.rb +46 -0
  759. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_profile_response.rb +46 -0
  760. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_server_config_radius_client_root_certificate.rb +59 -0
  761. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_server_config_radius_server_root_certificate.rb +58 -0
  762. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_server_config_vpn_client_revoked_certificate.rb +59 -0
  763. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_server_config_vpn_client_root_certificate.rb +57 -0
  764. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb +360 -0
  765. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_server_configurations_response.rb +55 -0
  766. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_site.rb +226 -0
  767. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
  768. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_site_link.rb +140 -0
  769. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_site_link_connection.rb +304 -0
  770. data/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  771. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_action.rb +17 -0
  772. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_custom_rule.rb +119 -0
  773. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_enabled_state.rb +16 -0
  774. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_match_variable.rb +22 -0
  775. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_mode.rb +16 -0
  776. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_operator.rb +25 -0
  777. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_policy.rb +237 -0
  778. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_policy_list_result.rb +105 -0
  779. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_policy_resource_state.rb +20 -0
  780. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_rule_type.rb +16 -0
  781. data/lib/2020-08-01/generated/azure_mgmt_network/models/web_application_firewall_transform.rb +20 -0
  782. data/lib/2020-08-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  783. data/lib/2020-08-01/generated/azure_mgmt_network/nat_gateways.rb +912 -0
  784. data/lib/2020-08-01/generated/azure_mgmt_network/nat_rules.rb +647 -0
  785. data/lib/2020-08-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +329 -0
  786. data/lib/2020-08-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +231 -0
  787. data/lib/2020-08-01/generated/azure_mgmt_network/network_interface_tap_configurations.rb +626 -0
  788. data/lib/2020-08-01/generated/azure_mgmt_network/network_interfaces.rb +1713 -0
  789. data/lib/2020-08-01/generated/azure_mgmt_network/network_management_client.rb +2737 -0
  790. data/lib/2020-08-01/generated/azure_mgmt_network/network_profiles.rb +866 -0
  791. data/lib/2020-08-01/generated/azure_mgmt_network/network_security_groups.rb +928 -0
  792. data/lib/2020-08-01/generated/azure_mgmt_network/network_virtual_appliances.rb +931 -0
  793. data/lib/2020-08-01/generated/azure_mgmt_network/network_watchers.rb +2670 -0
  794. data/lib/2020-08-01/generated/azure_mgmt_network/operations.rb +219 -0
  795. data/lib/2020-08-01/generated/azure_mgmt_network/p2s_vpn_gateways.rb +1721 -0
  796. data/lib/2020-08-01/generated/azure_mgmt_network/packet_captures.rb +796 -0
  797. data/lib/2020-08-01/generated/azure_mgmt_network/peer_express_route_circuit_connections.rb +351 -0
  798. data/lib/2020-08-01/generated/azure_mgmt_network/private_dns_zone_groups.rb +646 -0
  799. data/lib/2020-08-01/generated/azure_mgmt_network/private_endpoints.rb +804 -0
  800. data/lib/2020-08-01/generated/azure_mgmt_network/private_link_services.rb +2098 -0
  801. data/lib/2020-08-01/generated/azure_mgmt_network/public_ipaddresses.rb +1459 -0
  802. data/lib/2020-08-01/generated/azure_mgmt_network/public_ipprefixes.rb +912 -0
  803. data/lib/2020-08-01/generated/azure_mgmt_network/resource_navigation_links.rb +123 -0
  804. data/lib/2020-08-01/generated/azure_mgmt_network/route_filter_rules.rb +626 -0
  805. data/lib/2020-08-01/generated/azure_mgmt_network/route_filters.rb +915 -0
  806. data/lib/2020-08-01/generated/azure_mgmt_network/route_tables.rb +912 -0
  807. data/lib/2020-08-01/generated/azure_mgmt_network/routes.rb +625 -0
  808. data/lib/2020-08-01/generated/azure_mgmt_network/security_partner_providers.rb +925 -0
  809. data/lib/2020-08-01/generated/azure_mgmt_network/security_rules.rb +643 -0
  810. data/lib/2020-08-01/generated/azure_mgmt_network/service_association_links.rb +123 -0
  811. data/lib/2020-08-01/generated/azure_mgmt_network/service_endpoint_policies.rb +928 -0
  812. data/lib/2020-08-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb +668 -0
  813. data/lib/2020-08-01/generated/azure_mgmt_network/service_tags.rb +124 -0
  814. data/lib/2020-08-01/generated/azure_mgmt_network/subnets.rb +929 -0
  815. data/lib/2020-08-01/generated/azure_mgmt_network/usages.rb +227 -0
  816. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_appliance_sites.rb +650 -0
  817. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_appliance_skus.rb +311 -0
  818. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_hub_bgp_connection.rb +432 -0
  819. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_hub_bgp_connections.rb +523 -0
  820. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_hub_ip_configuration.rb +642 -0
  821. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_hub_route_table_v2s.rb +647 -0
  822. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_hubs.rb +1080 -0
  823. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1771 -0
  824. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_network_gateways.rb +3423 -0
  825. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_network_peerings.rb +634 -0
  826. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_network_taps.rb +909 -0
  827. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_networks.rb +1216 -0
  828. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_router_peerings.rb +626 -0
  829. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_routers.rb +804 -0
  830. data/lib/2020-08-01/generated/azure_mgmt_network/virtual_wans.rb +938 -0
  831. data/lib/2020-08-01/generated/azure_mgmt_network/vpn_connections.rb +1003 -0
  832. data/lib/2020-08-01/generated/azure_mgmt_network/vpn_gateways.rb +1466 -0
  833. data/lib/2020-08-01/generated/azure_mgmt_network/vpn_link_connections.rb +247 -0
  834. data/lib/2020-08-01/generated/azure_mgmt_network/vpn_server_configurations.rb +949 -0
  835. data/lib/2020-08-01/generated/azure_mgmt_network/vpn_server_configurations_associated_with_virtual_wan.rb +170 -0
  836. data/lib/2020-08-01/generated/azure_mgmt_network/vpn_site_link_connections.rb +130 -0
  837. data/lib/2020-08-01/generated/azure_mgmt_network/vpn_site_links.rb +332 -0
  838. data/lib/2020-08-01/generated/azure_mgmt_network/vpn_sites.rb +918 -0
  839. data/lib/2020-08-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +173 -0
  840. data/lib/2020-08-01/generated/azure_mgmt_network/web_application_firewall_policies.rb +758 -0
  841. data/lib/2020-08-01/generated/azure_mgmt_network/web_categories.rb +317 -0
  842. data/lib/azure_mgmt_network.rb +1 -0
  843. data/lib/profiles/latest/modules/network_profile_module.rb +1744 -1718
  844. data/lib/version.rb +1 -1
  845. metadata +809 -2
@@ -0,0 +1,1771 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Network::Mgmt::V2020_08_01
7
+ #
8
+ # VirtualNetworkGatewayConnections
9
+ #
10
+ class VirtualNetworkGatewayConnections
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the VirtualNetworkGatewayConnections 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
+ # Creates or updates a virtual network gateway connection in the specified
26
+ # resource group.
27
+ #
28
+ # @param resource_group_name [String] The name of the resource group.
29
+ # @param virtual_network_gateway_connection_name [String] The name of the
30
+ # virtual network gateway connection.
31
+ # @param parameters [VirtualNetworkGatewayConnection] Parameters supplied to
32
+ # the create or update virtual network gateway connection operation.
33
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
+ # will be added to the HTTP request.
35
+ #
36
+ # @return [VirtualNetworkGatewayConnection] operation results.
37
+ #
38
+ def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
39
+ response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
40
+ response.body unless response.nil?
41
+ end
42
+
43
+ #
44
+ # @param resource_group_name [String] The name of the resource group.
45
+ # @param virtual_network_gateway_connection_name [String] The name of the
46
+ # virtual network gateway connection.
47
+ # @param parameters [VirtualNetworkGatewayConnection] Parameters supplied to
48
+ # the create or update virtual network gateway connection operation.
49
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
50
+ # will be added to the HTTP request.
51
+ #
52
+ # @return [Concurrent::Promise] promise which provides async access to http
53
+ # response.
54
+ #
55
+ def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
56
+ # Send request
57
+ promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers)
58
+
59
+ promise = promise.then do |response|
60
+ # Defining deserialization method.
61
+ deserialize_method = lambda do |parsed_response|
62
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VirtualNetworkGatewayConnection.mapper()
63
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
64
+ end
65
+
66
+ # Waiting for response.
67
+ @client.get_long_running_operation_result(response, deserialize_method)
68
+ end
69
+
70
+ promise
71
+ end
72
+
73
+ #
74
+ # Gets the specified virtual network gateway connection by resource group.
75
+ #
76
+ # @param resource_group_name [String] The name of the resource group.
77
+ # @param virtual_network_gateway_connection_name [String] The name of the
78
+ # virtual network gateway connection.
79
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
80
+ # will be added to the HTTP request.
81
+ #
82
+ # @return [VirtualNetworkGatewayConnection] operation results.
83
+ #
84
+ def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
85
+ response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
86
+ response.body unless response.nil?
87
+ end
88
+
89
+ #
90
+ # Gets the specified virtual network gateway connection by resource group.
91
+ #
92
+ # @param resource_group_name [String] The name of the resource group.
93
+ # @param virtual_network_gateway_connection_name [String] The name of the
94
+ # virtual network gateway connection.
95
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
96
+ # will be added to the HTTP request.
97
+ #
98
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
99
+ #
100
+ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
101
+ get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
102
+ end
103
+
104
+ #
105
+ # Gets the specified virtual network gateway connection by resource group.
106
+ #
107
+ # @param resource_group_name [String] The name of the resource group.
108
+ # @param virtual_network_gateway_connection_name [String] The name of the
109
+ # virtual network gateway connection.
110
+ # @param [Hash{String => String}] A hash of custom headers that will be added
111
+ # to the HTTP request.
112
+ #
113
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
114
+ #
115
+ def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
116
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
117
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_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/connections/{virtualNetworkGatewayConnectionName}'
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,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_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 MsRestAzure::AzureOperationError.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::V2020_08_01::Models::VirtualNetworkGatewayConnection.mapper()
158
+ result.body = @client.deserialize(result_mapper, parsed_response)
159
+ rescue Exception => e
160
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
161
+ end
162
+ end
163
+
164
+ result
165
+ end
166
+
167
+ promise.execute
168
+ end
169
+
170
+ #
171
+ # Deletes the specified virtual network Gateway connection.
172
+ #
173
+ # @param resource_group_name [String] The name of the resource group.
174
+ # @param virtual_network_gateway_connection_name [String] The name of the
175
+ # virtual network gateway connection.
176
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
177
+ # will be added to the HTTP request.
178
+ #
179
+ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
180
+ response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
181
+ nil
182
+ end
183
+
184
+ #
185
+ # @param resource_group_name [String] The name of the resource group.
186
+ # @param virtual_network_gateway_connection_name [String] The name of the
187
+ # virtual network gateway connection.
188
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
189
+ # will be added to the HTTP request.
190
+ #
191
+ # @return [Concurrent::Promise] promise which provides async access to http
192
+ # response.
193
+ #
194
+ def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
195
+ # Send request
196
+ promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers)
197
+
198
+ promise = promise.then do |response|
199
+ # Defining deserialization method.
200
+ deserialize_method = lambda do |parsed_response|
201
+ end
202
+
203
+ # Waiting for response.
204
+ @client.get_long_running_operation_result(response, deserialize_method)
205
+ end
206
+
207
+ promise
208
+ end
209
+
210
+ #
211
+ # Updates a virtual network gateway connection tags.
212
+ #
213
+ # @param resource_group_name [String] The name of the resource group.
214
+ # @param virtual_network_gateway_connection_name [String] The name of the
215
+ # virtual network gateway connection.
216
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
217
+ # gateway connection tags.
218
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
219
+ # will be added to the HTTP request.
220
+ #
221
+ # @return [VirtualNetworkGatewayConnection] operation results.
222
+ #
223
+ def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
224
+ response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
225
+ response.body unless response.nil?
226
+ end
227
+
228
+ #
229
+ # @param resource_group_name [String] The name of the resource group.
230
+ # @param virtual_network_gateway_connection_name [String] The name of the
231
+ # virtual network gateway connection.
232
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
233
+ # gateway connection tags.
234
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
235
+ # will be added to the HTTP request.
236
+ #
237
+ # @return [Concurrent::Promise] promise which provides async access to http
238
+ # response.
239
+ #
240
+ def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
241
+ # Send request
242
+ promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers)
243
+
244
+ promise = promise.then do |response|
245
+ # Defining deserialization method.
246
+ deserialize_method = lambda do |parsed_response|
247
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VirtualNetworkGatewayConnection.mapper()
248
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
249
+ end
250
+
251
+ # Waiting for response.
252
+ @client.get_long_running_operation_result(response, deserialize_method)
253
+ end
254
+
255
+ promise
256
+ end
257
+
258
+ #
259
+ # The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual
260
+ # network gateway connection shared key for passed virtual network gateway
261
+ # connection in the specified resource group through Network resource provider.
262
+ #
263
+ # @param resource_group_name [String] The name of the resource group.
264
+ # @param virtual_network_gateway_connection_name [String] The virtual network
265
+ # gateway connection name.
266
+ # @param parameters [ConnectionSharedKey] Parameters supplied to the Begin Set
267
+ # Virtual Network Gateway connection Shared key operation throughNetwork
268
+ # resource provider.
269
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
270
+ # will be added to the HTTP request.
271
+ #
272
+ # @return [ConnectionSharedKey] operation results.
273
+ #
274
+ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
275
+ response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
276
+ response.body unless response.nil?
277
+ end
278
+
279
+ #
280
+ # @param resource_group_name [String] The name of the resource group.
281
+ # @param virtual_network_gateway_connection_name [String] The virtual network
282
+ # gateway connection name.
283
+ # @param parameters [ConnectionSharedKey] Parameters supplied to the Begin Set
284
+ # Virtual Network Gateway connection Shared key operation throughNetwork
285
+ # resource provider.
286
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
287
+ # will be added to the HTTP request.
288
+ #
289
+ # @return [Concurrent::Promise] promise which provides async access to http
290
+ # response.
291
+ #
292
+ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
293
+ # Send request
294
+ promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers)
295
+
296
+ promise = promise.then do |response|
297
+ # Defining deserialization method.
298
+ deserialize_method = lambda do |parsed_response|
299
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::ConnectionSharedKey.mapper()
300
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
301
+ end
302
+
303
+ # Waiting for response.
304
+ @client.get_long_running_operation_result(response, deserialize_method)
305
+ end
306
+
307
+ promise
308
+ end
309
+
310
+ #
311
+ # The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves
312
+ # information about the specified virtual network gateway connection shared key
313
+ # through Network resource provider.
314
+ #
315
+ # @param resource_group_name [String] The name of the resource group.
316
+ # @param virtual_network_gateway_connection_name [String] The virtual network
317
+ # gateway connection shared key name.
318
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
319
+ # will be added to the HTTP request.
320
+ #
321
+ # @return [ConnectionSharedKey] operation results.
322
+ #
323
+ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
324
+ response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
325
+ response.body unless response.nil?
326
+ end
327
+
328
+ #
329
+ # The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves
330
+ # information about the specified virtual network gateway connection shared key
331
+ # through Network resource provider.
332
+ #
333
+ # @param resource_group_name [String] The name of the resource group.
334
+ # @param virtual_network_gateway_connection_name [String] The virtual network
335
+ # gateway connection shared key name.
336
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
337
+ # will be added to the HTTP request.
338
+ #
339
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
340
+ #
341
+ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
342
+ get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
343
+ end
344
+
345
+ #
346
+ # The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves
347
+ # information about the specified virtual network gateway connection shared key
348
+ # through Network resource provider.
349
+ #
350
+ # @param resource_group_name [String] The name of the resource group.
351
+ # @param virtual_network_gateway_connection_name [String] The virtual network
352
+ # gateway connection shared key name.
353
+ # @param [Hash{String => String}] A hash of custom headers that will be added
354
+ # to the HTTP request.
355
+ #
356
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
357
+ #
358
+ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
359
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
360
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
361
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
362
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
363
+
364
+
365
+ request_headers = {}
366
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
367
+
368
+ # Set Headers
369
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
370
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
371
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey'
372
+
373
+ request_url = @base_url || @client.base_url
374
+
375
+ options = {
376
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
377
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
378
+ query_params: {'api-version' => @client.api_version},
379
+ headers: request_headers.merge(custom_headers || {}),
380
+ base_url: request_url
381
+ }
382
+ promise = @client.make_request_async(:get, path_template, options)
383
+
384
+ promise = promise.then do |result|
385
+ http_response = result.response
386
+ status_code = http_response.status
387
+ response_content = http_response.body
388
+ unless status_code == 200
389
+ error_model = JSON.load(response_content)
390
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
391
+ end
392
+
393
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
394
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
395
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
396
+ # Deserialize Response
397
+ if status_code == 200
398
+ begin
399
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
400
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::ConnectionSharedKey.mapper()
401
+ result.body = @client.deserialize(result_mapper, parsed_response)
402
+ rescue Exception => e
403
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
404
+ end
405
+ end
406
+
407
+ result
408
+ end
409
+
410
+ promise.execute
411
+ end
412
+
413
+ #
414
+ # The List VirtualNetworkGatewayConnections operation retrieves all the virtual
415
+ # network gateways connections created.
416
+ #
417
+ # @param resource_group_name [String] The name of the resource group.
418
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
419
+ # will be added to the HTTP request.
420
+ #
421
+ # @return [Array<VirtualNetworkGatewayConnection>] operation results.
422
+ #
423
+ def list(resource_group_name, custom_headers:nil)
424
+ first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
425
+ first_page.get_all_items
426
+ end
427
+
428
+ #
429
+ # The List VirtualNetworkGatewayConnections operation retrieves all the virtual
430
+ # network gateways connections created.
431
+ #
432
+ # @param resource_group_name [String] The name of the resource group.
433
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
434
+ # will be added to the HTTP request.
435
+ #
436
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
437
+ #
438
+ def list_with_http_info(resource_group_name, custom_headers:nil)
439
+ list_async(resource_group_name, custom_headers:custom_headers).value!
440
+ end
441
+
442
+ #
443
+ # The List VirtualNetworkGatewayConnections operation retrieves all the virtual
444
+ # network gateways connections created.
445
+ #
446
+ # @param resource_group_name [String] The name of the resource group.
447
+ # @param [Hash{String => String}] A hash of custom headers that will be added
448
+ # to the HTTP request.
449
+ #
450
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
451
+ #
452
+ def list_async(resource_group_name, custom_headers:nil)
453
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
454
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
455
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
456
+
457
+
458
+ request_headers = {}
459
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
460
+
461
+ # Set Headers
462
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
463
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
464
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections'
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,'subscriptionId' => @client.subscription_id},
471
+ query_params: {'api-version' => @client.api_version},
472
+ headers: request_headers.merge(custom_headers || {}),
473
+ base_url: request_url
474
+ }
475
+ promise = @client.make_request_async(:get, path_template, options)
476
+
477
+ promise = promise.then do |result|
478
+ http_response = result.response
479
+ status_code = http_response.status
480
+ response_content = http_response.body
481
+ unless status_code == 200
482
+ error_model = JSON.load(response_content)
483
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
484
+ end
485
+
486
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
487
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
488
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
489
+ # Deserialize Response
490
+ if status_code == 200
491
+ begin
492
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
493
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VirtualNetworkGatewayConnectionListResult.mapper()
494
+ result.body = @client.deserialize(result_mapper, parsed_response)
495
+ rescue Exception => e
496
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
497
+ end
498
+ end
499
+
500
+ result
501
+ end
502
+
503
+ promise.execute
504
+ end
505
+
506
+ #
507
+ # The VirtualNetworkGatewayConnectionResetSharedKey operation resets the
508
+ # virtual network gateway connection shared key for passed virtual network
509
+ # gateway connection in the specified resource group through Network resource
510
+ # provider.
511
+ #
512
+ # @param resource_group_name [String] The name of the resource group.
513
+ # @param virtual_network_gateway_connection_name [String] The virtual network
514
+ # gateway connection reset shared key Name.
515
+ # @param parameters [ConnectionResetSharedKey] Parameters supplied to the begin
516
+ # reset virtual network gateway connection shared key operation through network
517
+ # resource provider.
518
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
519
+ # will be added to the HTTP request.
520
+ #
521
+ # @return [ConnectionResetSharedKey] operation results.
522
+ #
523
+ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
524
+ response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
525
+ response.body unless response.nil?
526
+ end
527
+
528
+ #
529
+ # @param resource_group_name [String] The name of the resource group.
530
+ # @param virtual_network_gateway_connection_name [String] The virtual network
531
+ # gateway connection reset shared key Name.
532
+ # @param parameters [ConnectionResetSharedKey] Parameters supplied to the begin
533
+ # reset virtual network gateway connection shared key operation through network
534
+ # resource provider.
535
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
536
+ # will be added to the HTTP request.
537
+ #
538
+ # @return [Concurrent::Promise] promise which provides async access to http
539
+ # response.
540
+ #
541
+ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
542
+ # Send request
543
+ promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers)
544
+
545
+ promise = promise.then do |response|
546
+ # Defining deserialization method.
547
+ deserialize_method = lambda do |parsed_response|
548
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::ConnectionResetSharedKey.mapper()
549
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
550
+ end
551
+
552
+ # Waiting for response.
553
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
554
+ end
555
+
556
+ promise
557
+ end
558
+
559
+ #
560
+ # Starts packet capture on virtual network gateway connection in the specified
561
+ # resource group.
562
+ #
563
+ # @param resource_group_name [String] The name of the resource group.
564
+ # @param virtual_network_gateway_connection_name [String] The name of the
565
+ # virtual network gateway connection.
566
+ # @param parameters [VpnPacketCaptureStartParameters] Virtual network gateway
567
+ # packet capture parameters supplied to start packet capture on gateway
568
+ # connection.
569
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
570
+ # will be added to the HTTP request.
571
+ #
572
+ # @return [String] operation results.
573
+ #
574
+ def start_packet_capture(resource_group_name, virtual_network_gateway_connection_name, parameters:nil, custom_headers:nil)
575
+ response = start_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters:parameters, custom_headers:custom_headers).value!
576
+ response.body unless response.nil?
577
+ end
578
+
579
+ #
580
+ # @param resource_group_name [String] The name of the resource group.
581
+ # @param virtual_network_gateway_connection_name [String] The name of the
582
+ # virtual network gateway connection.
583
+ # @param parameters [VpnPacketCaptureStartParameters] Virtual network gateway
584
+ # packet capture parameters supplied to start packet capture on gateway
585
+ # connection.
586
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
587
+ # will be added to the HTTP request.
588
+ #
589
+ # @return [Concurrent::Promise] promise which provides async access to http
590
+ # response.
591
+ #
592
+ def start_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters:nil, custom_headers:nil)
593
+ # Send request
594
+ promise = begin_start_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters:parameters, custom_headers:custom_headers)
595
+
596
+ promise = promise.then do |response|
597
+ # Defining deserialization method.
598
+ deserialize_method = lambda do |parsed_response|
599
+ result_mapper = {
600
+ client_side_validation: true,
601
+ required: false,
602
+ serialized_name: 'parsed_response',
603
+ type: {
604
+ name: 'String'
605
+ }
606
+ }
607
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
608
+ end
609
+
610
+ # Waiting for response.
611
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
612
+ end
613
+
614
+ promise
615
+ end
616
+
617
+ #
618
+ # Stops packet capture on virtual network gateway connection in the specified
619
+ # resource group.
620
+ #
621
+ # @param resource_group_name [String] The name of the resource group.
622
+ # @param virtual_network_gateway_connection_name [String] The name of the
623
+ # virtual network gateway Connection.
624
+ # @param parameters [VpnPacketCaptureStopParameters] Virtual network gateway
625
+ # packet capture parameters supplied to stop packet capture on gateway
626
+ # connection.
627
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
628
+ # will be added to the HTTP request.
629
+ #
630
+ # @return [String] operation results.
631
+ #
632
+ def stop_packet_capture(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
633
+ response = stop_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
634
+ response.body unless response.nil?
635
+ end
636
+
637
+ #
638
+ # @param resource_group_name [String] The name of the resource group.
639
+ # @param virtual_network_gateway_connection_name [String] The name of the
640
+ # virtual network gateway Connection.
641
+ # @param parameters [VpnPacketCaptureStopParameters] Virtual network gateway
642
+ # packet capture parameters supplied to stop packet capture on gateway
643
+ # connection.
644
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
645
+ # will be added to the HTTP request.
646
+ #
647
+ # @return [Concurrent::Promise] promise which provides async access to http
648
+ # response.
649
+ #
650
+ def stop_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
651
+ # Send request
652
+ promise = begin_stop_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers)
653
+
654
+ promise = promise.then do |response|
655
+ # Defining deserialization method.
656
+ deserialize_method = lambda do |parsed_response|
657
+ result_mapper = {
658
+ client_side_validation: true,
659
+ required: false,
660
+ serialized_name: 'parsed_response',
661
+ type: {
662
+ name: 'String'
663
+ }
664
+ }
665
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
666
+ end
667
+
668
+ # Waiting for response.
669
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
670
+ end
671
+
672
+ promise
673
+ end
674
+
675
+ #
676
+ # Lists IKE Security Associations for the virtual network gateway connection in
677
+ # the specified resource group.
678
+ #
679
+ # @param resource_group_name [String] The name of the resource group.
680
+ # @param virtual_network_gateway_connection_name [String] The name of the
681
+ # virtual network gateway Connection.
682
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
683
+ # will be added to the HTTP request.
684
+ #
685
+ # @return [String] operation results.
686
+ #
687
+ def get_ike_sas(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
688
+ response = get_ike_sas_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
689
+ response.body unless response.nil?
690
+ end
691
+
692
+ #
693
+ # @param resource_group_name [String] The name of the resource group.
694
+ # @param virtual_network_gateway_connection_name [String] The name of the
695
+ # virtual network gateway Connection.
696
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
697
+ # will be added to the HTTP request.
698
+ #
699
+ # @return [Concurrent::Promise] promise which provides async access to http
700
+ # response.
701
+ #
702
+ def get_ike_sas_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
703
+ # Send request
704
+ promise = begin_get_ike_sas_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers)
705
+
706
+ promise = promise.then do |response|
707
+ # Defining deserialization method.
708
+ deserialize_method = lambda do |parsed_response|
709
+ result_mapper = {
710
+ client_side_validation: true,
711
+ required: false,
712
+ serialized_name: 'parsed_response',
713
+ type: {
714
+ name: 'String'
715
+ }
716
+ }
717
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
718
+ end
719
+
720
+ # Waiting for response.
721
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
722
+ end
723
+
724
+ promise
725
+ end
726
+
727
+ #
728
+ # Creates or updates a virtual network gateway connection in the specified
729
+ # resource group.
730
+ #
731
+ # @param resource_group_name [String] The name of the resource group.
732
+ # @param virtual_network_gateway_connection_name [String] The name of the
733
+ # virtual network gateway connection.
734
+ # @param parameters [VirtualNetworkGatewayConnection] Parameters supplied to
735
+ # the create or update virtual network gateway connection operation.
736
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
737
+ # will be added to the HTTP request.
738
+ #
739
+ # @return [VirtualNetworkGatewayConnection] operation results.
740
+ #
741
+ def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
742
+ response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
743
+ response.body unless response.nil?
744
+ end
745
+
746
+ #
747
+ # Creates or updates a virtual network gateway connection in the specified
748
+ # resource group.
749
+ #
750
+ # @param resource_group_name [String] The name of the resource group.
751
+ # @param virtual_network_gateway_connection_name [String] The name of the
752
+ # virtual network gateway connection.
753
+ # @param parameters [VirtualNetworkGatewayConnection] Parameters supplied to
754
+ # the create or update virtual network gateway connection operation.
755
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
756
+ # will be added to the HTTP request.
757
+ #
758
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
759
+ #
760
+ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
761
+ begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
762
+ end
763
+
764
+ #
765
+ # Creates or updates a virtual network gateway connection in the specified
766
+ # resource group.
767
+ #
768
+ # @param resource_group_name [String] The name of the resource group.
769
+ # @param virtual_network_gateway_connection_name [String] The name of the
770
+ # virtual network gateway connection.
771
+ # @param parameters [VirtualNetworkGatewayConnection] Parameters supplied to
772
+ # the create or update virtual network gateway connection operation.
773
+ # @param [Hash{String => String}] A hash of custom headers that will be added
774
+ # to the HTTP request.
775
+ #
776
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
777
+ #
778
+ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
779
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
780
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
781
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
782
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
783
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
784
+
785
+
786
+ request_headers = {}
787
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
788
+
789
+ # Set Headers
790
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
791
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
792
+
793
+ # Serialize Request
794
+ request_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VirtualNetworkGatewayConnection.mapper()
795
+ request_content = @client.serialize(request_mapper, parameters)
796
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
797
+
798
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'
799
+
800
+ request_url = @base_url || @client.base_url
801
+
802
+ options = {
803
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
804
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
805
+ query_params: {'api-version' => @client.api_version},
806
+ body: request_content,
807
+ headers: request_headers.merge(custom_headers || {}),
808
+ base_url: request_url
809
+ }
810
+ promise = @client.make_request_async(:put, path_template, options)
811
+
812
+ promise = promise.then do |result|
813
+ http_response = result.response
814
+ status_code = http_response.status
815
+ response_content = http_response.body
816
+ unless status_code == 200 || status_code == 201
817
+ error_model = JSON.load(response_content)
818
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
819
+ end
820
+
821
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
822
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
823
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
824
+ # Deserialize Response
825
+ if status_code == 200
826
+ begin
827
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
828
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VirtualNetworkGatewayConnection.mapper()
829
+ result.body = @client.deserialize(result_mapper, parsed_response)
830
+ rescue Exception => e
831
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
832
+ end
833
+ end
834
+ # Deserialize Response
835
+ if status_code == 201
836
+ begin
837
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
838
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VirtualNetworkGatewayConnection.mapper()
839
+ result.body = @client.deserialize(result_mapper, parsed_response)
840
+ rescue Exception => e
841
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
842
+ end
843
+ end
844
+
845
+ result
846
+ end
847
+
848
+ promise.execute
849
+ end
850
+
851
+ #
852
+ # Deletes the specified virtual network Gateway connection.
853
+ #
854
+ # @param resource_group_name [String] The name of the resource group.
855
+ # @param virtual_network_gateway_connection_name [String] The name of the
856
+ # virtual network gateway connection.
857
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
858
+ # will be added to the HTTP request.
859
+ #
860
+ #
861
+ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
862
+ response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
863
+ nil
864
+ end
865
+
866
+ #
867
+ # Deletes the specified virtual network Gateway connection.
868
+ #
869
+ # @param resource_group_name [String] The name of the resource group.
870
+ # @param virtual_network_gateway_connection_name [String] The name of the
871
+ # virtual network gateway connection.
872
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
873
+ # will be added to the HTTP request.
874
+ #
875
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
876
+ #
877
+ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
878
+ begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
879
+ end
880
+
881
+ #
882
+ # Deletes the specified virtual network Gateway connection.
883
+ #
884
+ # @param resource_group_name [String] The name of the resource group.
885
+ # @param virtual_network_gateway_connection_name [String] The name of the
886
+ # virtual network gateway connection.
887
+ # @param [Hash{String => String}] A hash of custom headers that will be added
888
+ # to the HTTP request.
889
+ #
890
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
891
+ #
892
+ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
893
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
894
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
895
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
896
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
897
+
898
+
899
+ request_headers = {}
900
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
901
+
902
+ # Set Headers
903
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
904
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
905
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'
906
+
907
+ request_url = @base_url || @client.base_url
908
+
909
+ options = {
910
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
911
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
912
+ query_params: {'api-version' => @client.api_version},
913
+ headers: request_headers.merge(custom_headers || {}),
914
+ base_url: request_url
915
+ }
916
+ promise = @client.make_request_async(:delete, path_template, options)
917
+
918
+ promise = promise.then do |result|
919
+ http_response = result.response
920
+ status_code = http_response.status
921
+ response_content = http_response.body
922
+ unless status_code == 200 || status_code == 202 || status_code == 204
923
+ error_model = JSON.load(response_content)
924
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
925
+ end
926
+
927
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
928
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
929
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
930
+
931
+ result
932
+ end
933
+
934
+ promise.execute
935
+ end
936
+
937
+ #
938
+ # Updates a virtual network gateway connection tags.
939
+ #
940
+ # @param resource_group_name [String] The name of the resource group.
941
+ # @param virtual_network_gateway_connection_name [String] The name of the
942
+ # virtual network gateway connection.
943
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
944
+ # gateway connection tags.
945
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
946
+ # will be added to the HTTP request.
947
+ #
948
+ # @return [VirtualNetworkGatewayConnection] operation results.
949
+ #
950
+ def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
951
+ response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
952
+ response.body unless response.nil?
953
+ end
954
+
955
+ #
956
+ # Updates a virtual network gateway connection tags.
957
+ #
958
+ # @param resource_group_name [String] The name of the resource group.
959
+ # @param virtual_network_gateway_connection_name [String] The name of the
960
+ # virtual network gateway connection.
961
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
962
+ # gateway connection tags.
963
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
964
+ # will be added to the HTTP request.
965
+ #
966
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
967
+ #
968
+ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
969
+ begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
970
+ end
971
+
972
+ #
973
+ # Updates a virtual network gateway connection tags.
974
+ #
975
+ # @param resource_group_name [String] The name of the resource group.
976
+ # @param virtual_network_gateway_connection_name [String] The name of the
977
+ # virtual network gateway connection.
978
+ # @param parameters [TagsObject] Parameters supplied to update virtual network
979
+ # gateway connection tags.
980
+ # @param [Hash{String => String}] A hash of custom headers that will be added
981
+ # to the HTTP request.
982
+ #
983
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
984
+ #
985
+ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
986
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
987
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
988
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
989
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
990
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
991
+
992
+
993
+ request_headers = {}
994
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
995
+
996
+ # Set Headers
997
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
998
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
999
+
1000
+ # Serialize Request
1001
+ request_mapper = Azure::Network::Mgmt::V2020_08_01::Models::TagsObject.mapper()
1002
+ request_content = @client.serialize(request_mapper, parameters)
1003
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1004
+
1005
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'
1006
+
1007
+ request_url = @base_url || @client.base_url
1008
+
1009
+ options = {
1010
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1011
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
1012
+ query_params: {'api-version' => @client.api_version},
1013
+ body: request_content,
1014
+ headers: request_headers.merge(custom_headers || {}),
1015
+ base_url: request_url
1016
+ }
1017
+ promise = @client.make_request_async(:patch, path_template, options)
1018
+
1019
+ promise = promise.then do |result|
1020
+ http_response = result.response
1021
+ status_code = http_response.status
1022
+ response_content = http_response.body
1023
+ unless status_code == 202 || status_code == 200
1024
+ error_model = JSON.load(response_content)
1025
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1026
+ end
1027
+
1028
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1029
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1030
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1031
+ # Deserialize Response
1032
+ if status_code == 200
1033
+ begin
1034
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1035
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VirtualNetworkGatewayConnection.mapper()
1036
+ result.body = @client.deserialize(result_mapper, parsed_response)
1037
+ rescue Exception => e
1038
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1039
+ end
1040
+ end
1041
+
1042
+ result
1043
+ end
1044
+
1045
+ promise.execute
1046
+ end
1047
+
1048
+ #
1049
+ # The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual
1050
+ # network gateway connection shared key for passed virtual network gateway
1051
+ # connection in the specified resource group through Network resource provider.
1052
+ #
1053
+ # @param resource_group_name [String] The name of the resource group.
1054
+ # @param virtual_network_gateway_connection_name [String] The virtual network
1055
+ # gateway connection name.
1056
+ # @param parameters [ConnectionSharedKey] Parameters supplied to the Begin Set
1057
+ # Virtual Network Gateway connection Shared key operation throughNetwork
1058
+ # resource provider.
1059
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1060
+ # will be added to the HTTP request.
1061
+ #
1062
+ # @return [ConnectionSharedKey] operation results.
1063
+ #
1064
+ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1065
+ response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
1066
+ response.body unless response.nil?
1067
+ end
1068
+
1069
+ #
1070
+ # The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual
1071
+ # network gateway connection shared key for passed virtual network gateway
1072
+ # connection in the specified resource group through Network resource provider.
1073
+ #
1074
+ # @param resource_group_name [String] The name of the resource group.
1075
+ # @param virtual_network_gateway_connection_name [String] The virtual network
1076
+ # gateway connection name.
1077
+ # @param parameters [ConnectionSharedKey] Parameters supplied to the Begin Set
1078
+ # Virtual Network Gateway connection Shared key operation throughNetwork
1079
+ # resource provider.
1080
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1081
+ # will be added to the HTTP request.
1082
+ #
1083
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1084
+ #
1085
+ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1086
+ begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
1087
+ end
1088
+
1089
+ #
1090
+ # The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual
1091
+ # network gateway connection shared key for passed virtual network gateway
1092
+ # connection in the specified resource group through Network resource provider.
1093
+ #
1094
+ # @param resource_group_name [String] The name of the resource group.
1095
+ # @param virtual_network_gateway_connection_name [String] The virtual network
1096
+ # gateway connection name.
1097
+ # @param parameters [ConnectionSharedKey] Parameters supplied to the Begin Set
1098
+ # Virtual Network Gateway connection Shared key operation throughNetwork
1099
+ # resource provider.
1100
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1101
+ # to the HTTP request.
1102
+ #
1103
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1104
+ #
1105
+ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1106
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1107
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
1108
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1109
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1110
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1111
+
1112
+
1113
+ request_headers = {}
1114
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1115
+
1116
+ # Set Headers
1117
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1118
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1119
+
1120
+ # Serialize Request
1121
+ request_mapper = Azure::Network::Mgmt::V2020_08_01::Models::ConnectionSharedKey.mapper()
1122
+ request_content = @client.serialize(request_mapper, parameters)
1123
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1124
+
1125
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey'
1126
+
1127
+ request_url = @base_url || @client.base_url
1128
+
1129
+ options = {
1130
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1131
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
1132
+ query_params: {'api-version' => @client.api_version},
1133
+ body: request_content,
1134
+ headers: request_headers.merge(custom_headers || {}),
1135
+ base_url: request_url
1136
+ }
1137
+ promise = @client.make_request_async(:put, path_template, options)
1138
+
1139
+ promise = promise.then do |result|
1140
+ http_response = result.response
1141
+ status_code = http_response.status
1142
+ response_content = http_response.body
1143
+ unless status_code == 201 || status_code == 200
1144
+ error_model = JSON.load(response_content)
1145
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1146
+ end
1147
+
1148
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1149
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1150
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1151
+ # Deserialize Response
1152
+ if status_code == 201
1153
+ begin
1154
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1155
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::ConnectionSharedKey.mapper()
1156
+ result.body = @client.deserialize(result_mapper, parsed_response)
1157
+ rescue Exception => e
1158
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1159
+ end
1160
+ end
1161
+ # Deserialize Response
1162
+ if status_code == 200
1163
+ begin
1164
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1165
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::ConnectionSharedKey.mapper()
1166
+ result.body = @client.deserialize(result_mapper, parsed_response)
1167
+ rescue Exception => e
1168
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1169
+ end
1170
+ end
1171
+
1172
+ result
1173
+ end
1174
+
1175
+ promise.execute
1176
+ end
1177
+
1178
+ #
1179
+ # The VirtualNetworkGatewayConnectionResetSharedKey operation resets the
1180
+ # virtual network gateway connection shared key for passed virtual network
1181
+ # gateway connection in the specified resource group through Network resource
1182
+ # provider.
1183
+ #
1184
+ # @param resource_group_name [String] The name of the resource group.
1185
+ # @param virtual_network_gateway_connection_name [String] The virtual network
1186
+ # gateway connection reset shared key Name.
1187
+ # @param parameters [ConnectionResetSharedKey] Parameters supplied to the begin
1188
+ # reset virtual network gateway connection shared key operation through network
1189
+ # resource provider.
1190
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1191
+ # will be added to the HTTP request.
1192
+ #
1193
+ # @return [ConnectionResetSharedKey] operation results.
1194
+ #
1195
+ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1196
+ response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
1197
+ response.body unless response.nil?
1198
+ end
1199
+
1200
+ #
1201
+ # The VirtualNetworkGatewayConnectionResetSharedKey operation resets the
1202
+ # virtual network gateway connection shared key for passed virtual network
1203
+ # gateway connection in the specified resource group through Network resource
1204
+ # provider.
1205
+ #
1206
+ # @param resource_group_name [String] The name of the resource group.
1207
+ # @param virtual_network_gateway_connection_name [String] The virtual network
1208
+ # gateway connection reset shared key Name.
1209
+ # @param parameters [ConnectionResetSharedKey] Parameters supplied to the begin
1210
+ # reset virtual network gateway connection shared key operation through network
1211
+ # resource provider.
1212
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1213
+ # will be added to the HTTP request.
1214
+ #
1215
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1216
+ #
1217
+ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1218
+ begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
1219
+ end
1220
+
1221
+ #
1222
+ # The VirtualNetworkGatewayConnectionResetSharedKey operation resets the
1223
+ # virtual network gateway connection shared key for passed virtual network
1224
+ # gateway connection in the specified resource group through Network resource
1225
+ # provider.
1226
+ #
1227
+ # @param resource_group_name [String] The name of the resource group.
1228
+ # @param virtual_network_gateway_connection_name [String] The virtual network
1229
+ # gateway connection reset shared key Name.
1230
+ # @param parameters [ConnectionResetSharedKey] Parameters supplied to the begin
1231
+ # reset virtual network gateway connection shared key operation through network
1232
+ # resource provider.
1233
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1234
+ # to the HTTP request.
1235
+ #
1236
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1237
+ #
1238
+ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1239
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1240
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
1241
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1242
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1243
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1244
+
1245
+
1246
+ request_headers = {}
1247
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1248
+
1249
+ # Set Headers
1250
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1251
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1252
+
1253
+ # Serialize Request
1254
+ request_mapper = Azure::Network::Mgmt::V2020_08_01::Models::ConnectionResetSharedKey.mapper()
1255
+ request_content = @client.serialize(request_mapper, parameters)
1256
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1257
+
1258
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset'
1259
+
1260
+ request_url = @base_url || @client.base_url
1261
+
1262
+ options = {
1263
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1264
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
1265
+ query_params: {'api-version' => @client.api_version},
1266
+ body: request_content,
1267
+ headers: request_headers.merge(custom_headers || {}),
1268
+ base_url: request_url
1269
+ }
1270
+ promise = @client.make_request_async(:post, path_template, options)
1271
+
1272
+ promise = promise.then do |result|
1273
+ http_response = result.response
1274
+ status_code = http_response.status
1275
+ response_content = http_response.body
1276
+ unless status_code == 200 || status_code == 202
1277
+ error_model = JSON.load(response_content)
1278
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1279
+ end
1280
+
1281
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1282
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1283
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1284
+ # Deserialize Response
1285
+ if status_code == 200
1286
+ begin
1287
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1288
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::ConnectionResetSharedKey.mapper()
1289
+ result.body = @client.deserialize(result_mapper, parsed_response)
1290
+ rescue Exception => e
1291
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1292
+ end
1293
+ end
1294
+
1295
+ result
1296
+ end
1297
+
1298
+ promise.execute
1299
+ end
1300
+
1301
+ #
1302
+ # Starts packet capture on virtual network gateway connection in the specified
1303
+ # resource group.
1304
+ #
1305
+ # @param resource_group_name [String] The name of the resource group.
1306
+ # @param virtual_network_gateway_connection_name [String] The name of the
1307
+ # virtual network gateway connection.
1308
+ # @param parameters [VpnPacketCaptureStartParameters] Virtual network gateway
1309
+ # packet capture parameters supplied to start packet capture on gateway
1310
+ # connection.
1311
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1312
+ # will be added to the HTTP request.
1313
+ #
1314
+ # @return [String] operation results.
1315
+ #
1316
+ def begin_start_packet_capture(resource_group_name, virtual_network_gateway_connection_name, parameters:nil, custom_headers:nil)
1317
+ response = begin_start_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters:parameters, custom_headers:custom_headers).value!
1318
+ response.body unless response.nil?
1319
+ end
1320
+
1321
+ #
1322
+ # Starts packet capture on virtual network gateway connection in the specified
1323
+ # resource group.
1324
+ #
1325
+ # @param resource_group_name [String] The name of the resource group.
1326
+ # @param virtual_network_gateway_connection_name [String] The name of the
1327
+ # virtual network gateway connection.
1328
+ # @param parameters [VpnPacketCaptureStartParameters] Virtual network gateway
1329
+ # packet capture parameters supplied to start packet capture on gateway
1330
+ # connection.
1331
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1332
+ # will be added to the HTTP request.
1333
+ #
1334
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1335
+ #
1336
+ def begin_start_packet_capture_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters:nil, custom_headers:nil)
1337
+ begin_start_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters:parameters, custom_headers:custom_headers).value!
1338
+ end
1339
+
1340
+ #
1341
+ # Starts packet capture on virtual network gateway connection in the specified
1342
+ # resource group.
1343
+ #
1344
+ # @param resource_group_name [String] The name of the resource group.
1345
+ # @param virtual_network_gateway_connection_name [String] The name of the
1346
+ # virtual network gateway connection.
1347
+ # @param parameters [VpnPacketCaptureStartParameters] Virtual network gateway
1348
+ # packet capture parameters supplied to start packet capture on gateway
1349
+ # connection.
1350
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1351
+ # to the HTTP request.
1352
+ #
1353
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1354
+ #
1355
+ def begin_start_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters:nil, custom_headers:nil)
1356
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1357
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
1358
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1359
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1360
+
1361
+
1362
+ request_headers = {}
1363
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1364
+
1365
+ # Set Headers
1366
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1367
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1368
+
1369
+ # Serialize Request
1370
+ request_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VpnPacketCaptureStartParameters.mapper()
1371
+ request_content = @client.serialize(request_mapper, parameters)
1372
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1373
+
1374
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture'
1375
+
1376
+ request_url = @base_url || @client.base_url
1377
+
1378
+ options = {
1379
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1380
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
1381
+ query_params: {'api-version' => @client.api_version},
1382
+ body: request_content,
1383
+ headers: request_headers.merge(custom_headers || {}),
1384
+ base_url: request_url
1385
+ }
1386
+ promise = @client.make_request_async(:post, path_template, options)
1387
+
1388
+ promise = promise.then do |result|
1389
+ http_response = result.response
1390
+ status_code = http_response.status
1391
+ response_content = http_response.body
1392
+ unless status_code == 202 || status_code == 200
1393
+ error_model = JSON.load(response_content)
1394
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
1395
+ end
1396
+
1397
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1398
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1399
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1400
+ # Deserialize Response
1401
+ if status_code == 200
1402
+ begin
1403
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1404
+ result_mapper = {
1405
+ client_side_validation: true,
1406
+ required: false,
1407
+ serialized_name: 'parsed_response',
1408
+ type: {
1409
+ name: 'String'
1410
+ }
1411
+ }
1412
+ result.body = @client.deserialize(result_mapper, parsed_response)
1413
+ rescue Exception => e
1414
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1415
+ end
1416
+ end
1417
+
1418
+ result
1419
+ end
1420
+
1421
+ promise.execute
1422
+ end
1423
+
1424
+ #
1425
+ # Stops packet capture on virtual network gateway connection in the specified
1426
+ # resource group.
1427
+ #
1428
+ # @param resource_group_name [String] The name of the resource group.
1429
+ # @param virtual_network_gateway_connection_name [String] The name of the
1430
+ # virtual network gateway Connection.
1431
+ # @param parameters [VpnPacketCaptureStopParameters] Virtual network gateway
1432
+ # packet capture parameters supplied to stop packet capture on gateway
1433
+ # connection.
1434
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1435
+ # will be added to the HTTP request.
1436
+ #
1437
+ # @return [String] operation results.
1438
+ #
1439
+ def begin_stop_packet_capture(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1440
+ response = begin_stop_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
1441
+ response.body unless response.nil?
1442
+ end
1443
+
1444
+ #
1445
+ # Stops packet capture on virtual network gateway connection in the specified
1446
+ # resource group.
1447
+ #
1448
+ # @param resource_group_name [String] The name of the resource group.
1449
+ # @param virtual_network_gateway_connection_name [String] The name of the
1450
+ # virtual network gateway Connection.
1451
+ # @param parameters [VpnPacketCaptureStopParameters] Virtual network gateway
1452
+ # packet capture parameters supplied to stop packet capture on gateway
1453
+ # connection.
1454
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1455
+ # will be added to the HTTP request.
1456
+ #
1457
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1458
+ #
1459
+ def begin_stop_packet_capture_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1460
+ begin_stop_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
1461
+ end
1462
+
1463
+ #
1464
+ # Stops packet capture on virtual network gateway connection in the specified
1465
+ # resource group.
1466
+ #
1467
+ # @param resource_group_name [String] The name of the resource group.
1468
+ # @param virtual_network_gateway_connection_name [String] The name of the
1469
+ # virtual network gateway Connection.
1470
+ # @param parameters [VpnPacketCaptureStopParameters] Virtual network gateway
1471
+ # packet capture parameters supplied to stop packet capture on gateway
1472
+ # connection.
1473
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1474
+ # to the HTTP request.
1475
+ #
1476
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1477
+ #
1478
+ def begin_stop_packet_capture_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
1479
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1480
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
1481
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
1482
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1483
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1484
+
1485
+
1486
+ request_headers = {}
1487
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1488
+
1489
+ # Set Headers
1490
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1491
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1492
+
1493
+ # Serialize Request
1494
+ request_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VpnPacketCaptureStopParameters.mapper()
1495
+ request_content = @client.serialize(request_mapper, parameters)
1496
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1497
+
1498
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture'
1499
+
1500
+ request_url = @base_url || @client.base_url
1501
+
1502
+ options = {
1503
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1504
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
1505
+ query_params: {'api-version' => @client.api_version},
1506
+ body: request_content,
1507
+ headers: request_headers.merge(custom_headers || {}),
1508
+ base_url: request_url
1509
+ }
1510
+ promise = @client.make_request_async(:post, path_template, options)
1511
+
1512
+ promise = promise.then do |result|
1513
+ http_response = result.response
1514
+ status_code = http_response.status
1515
+ response_content = http_response.body
1516
+ unless status_code == 202 || status_code == 200
1517
+ error_model = JSON.load(response_content)
1518
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
1519
+ end
1520
+
1521
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1522
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1523
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1524
+ # Deserialize Response
1525
+ if status_code == 200
1526
+ begin
1527
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1528
+ result_mapper = {
1529
+ client_side_validation: true,
1530
+ required: false,
1531
+ serialized_name: 'parsed_response',
1532
+ type: {
1533
+ name: 'String'
1534
+ }
1535
+ }
1536
+ result.body = @client.deserialize(result_mapper, parsed_response)
1537
+ rescue Exception => e
1538
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1539
+ end
1540
+ end
1541
+
1542
+ result
1543
+ end
1544
+
1545
+ promise.execute
1546
+ end
1547
+
1548
+ #
1549
+ # Lists IKE Security Associations for the virtual network gateway connection in
1550
+ # the specified resource group.
1551
+ #
1552
+ # @param resource_group_name [String] The name of the resource group.
1553
+ # @param virtual_network_gateway_connection_name [String] The name of the
1554
+ # virtual network gateway Connection.
1555
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1556
+ # will be added to the HTTP request.
1557
+ #
1558
+ # @return [String] operation results.
1559
+ #
1560
+ def begin_get_ike_sas(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
1561
+ response = begin_get_ike_sas_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
1562
+ response.body unless response.nil?
1563
+ end
1564
+
1565
+ #
1566
+ # Lists IKE Security Associations for the virtual network gateway connection in
1567
+ # the specified resource group.
1568
+ #
1569
+ # @param resource_group_name [String] The name of the resource group.
1570
+ # @param virtual_network_gateway_connection_name [String] The name of the
1571
+ # virtual network gateway Connection.
1572
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1573
+ # will be added to the HTTP request.
1574
+ #
1575
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1576
+ #
1577
+ def begin_get_ike_sas_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
1578
+ begin_get_ike_sas_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
1579
+ end
1580
+
1581
+ #
1582
+ # Lists IKE Security Associations for the virtual network gateway connection in
1583
+ # the specified resource group.
1584
+ #
1585
+ # @param resource_group_name [String] The name of the resource group.
1586
+ # @param virtual_network_gateway_connection_name [String] The name of the
1587
+ # virtual network gateway Connection.
1588
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1589
+ # to the HTTP request.
1590
+ #
1591
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1592
+ #
1593
+ def begin_get_ike_sas_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
1594
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1595
+ fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
1596
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1597
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1598
+
1599
+
1600
+ request_headers = {}
1601
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1602
+
1603
+ # Set Headers
1604
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1605
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1606
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas'
1607
+
1608
+ request_url = @base_url || @client.base_url
1609
+
1610
+ options = {
1611
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1612
+ path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
1613
+ query_params: {'api-version' => @client.api_version},
1614
+ headers: request_headers.merge(custom_headers || {}),
1615
+ base_url: request_url
1616
+ }
1617
+ promise = @client.make_request_async(:post, path_template, options)
1618
+
1619
+ promise = promise.then do |result|
1620
+ http_response = result.response
1621
+ status_code = http_response.status
1622
+ response_content = http_response.body
1623
+ unless status_code == 202 || status_code == 200
1624
+ error_model = JSON.load(response_content)
1625
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
1626
+ end
1627
+
1628
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1629
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1630
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1631
+ # Deserialize Response
1632
+ if status_code == 200
1633
+ begin
1634
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1635
+ result_mapper = {
1636
+ client_side_validation: true,
1637
+ required: false,
1638
+ serialized_name: 'parsed_response',
1639
+ type: {
1640
+ name: 'String'
1641
+ }
1642
+ }
1643
+ result.body = @client.deserialize(result_mapper, parsed_response)
1644
+ rescue Exception => e
1645
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1646
+ end
1647
+ end
1648
+
1649
+ result
1650
+ end
1651
+
1652
+ promise.execute
1653
+ end
1654
+
1655
+ #
1656
+ # The List VirtualNetworkGatewayConnections operation retrieves all the virtual
1657
+ # network gateways connections created.
1658
+ #
1659
+ # @param next_page_link [String] The NextLink from the previous successful call
1660
+ # to List operation.
1661
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1662
+ # will be added to the HTTP request.
1663
+ #
1664
+ # @return [VirtualNetworkGatewayConnectionListResult] operation results.
1665
+ #
1666
+ def list_next(next_page_link, custom_headers:nil)
1667
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
1668
+ response.body unless response.nil?
1669
+ end
1670
+
1671
+ #
1672
+ # The List VirtualNetworkGatewayConnections operation retrieves all the virtual
1673
+ # network gateways connections created.
1674
+ #
1675
+ # @param next_page_link [String] The NextLink from the previous successful call
1676
+ # to List operation.
1677
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1678
+ # will be added to the HTTP request.
1679
+ #
1680
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1681
+ #
1682
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
1683
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
1684
+ end
1685
+
1686
+ #
1687
+ # The List VirtualNetworkGatewayConnections operation retrieves all the virtual
1688
+ # network gateways connections created.
1689
+ #
1690
+ # @param next_page_link [String] The NextLink from the previous successful call
1691
+ # to List operation.
1692
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1693
+ # to the HTTP request.
1694
+ #
1695
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1696
+ #
1697
+ def list_next_async(next_page_link, custom_headers:nil)
1698
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1699
+
1700
+
1701
+ request_headers = {}
1702
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1703
+
1704
+ # Set Headers
1705
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1706
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1707
+ path_template = '{nextLink}'
1708
+
1709
+ request_url = @base_url || @client.base_url
1710
+
1711
+ options = {
1712
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1713
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1714
+ headers: request_headers.merge(custom_headers || {}),
1715
+ base_url: request_url
1716
+ }
1717
+ promise = @client.make_request_async(:get, path_template, options)
1718
+
1719
+ promise = promise.then do |result|
1720
+ http_response = result.response
1721
+ status_code = http_response.status
1722
+ response_content = http_response.body
1723
+ unless status_code == 200
1724
+ error_model = JSON.load(response_content)
1725
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1726
+ end
1727
+
1728
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1729
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1730
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1731
+ # Deserialize Response
1732
+ if status_code == 200
1733
+ begin
1734
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1735
+ result_mapper = Azure::Network::Mgmt::V2020_08_01::Models::VirtualNetworkGatewayConnectionListResult.mapper()
1736
+ result.body = @client.deserialize(result_mapper, parsed_response)
1737
+ rescue Exception => e
1738
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1739
+ end
1740
+ end
1741
+
1742
+ result
1743
+ end
1744
+
1745
+ promise.execute
1746
+ end
1747
+
1748
+ #
1749
+ # The List VirtualNetworkGatewayConnections operation retrieves all the virtual
1750
+ # network gateways connections created.
1751
+ #
1752
+ # @param resource_group_name [String] The name of the resource group.
1753
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1754
+ # will be added to the HTTP request.
1755
+ #
1756
+ # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access
1757
+ # to pages of the response.
1758
+ #
1759
+ def list_as_lazy(resource_group_name, custom_headers:nil)
1760
+ response = list_async(resource_group_name, custom_headers:custom_headers).value!
1761
+ unless response.nil?
1762
+ page = response.body
1763
+ page.next_method = Proc.new do |next_page_link|
1764
+ list_next_async(next_page_link, custom_headers:custom_headers)
1765
+ end
1766
+ page
1767
+ end
1768
+ end
1769
+
1770
+ end
1771
+ end