azure_mgmt_network 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (441) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +1 -1
  4. data/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
  5. data/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  6. data/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  7. data/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  8. data/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  9. data/lib/2017-03-30/generated/azure_mgmt_network.rb +9 -7
  10. data/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb +3 -3
  11. data/lib/2017-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb +13 -0
  12. data/lib/2017-03-30/generated/azure_mgmt_network/models/ip_tag.rb +1 -1
  13. data/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb +13 -0
  14. data/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_policy.rb +142 -0
  15. data/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_policy_definition.rb +120 -0
  16. data/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb +21 -0
  17. data/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
  18. data/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  19. data/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  20. data/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  21. data/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  22. data/lib/2018-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  23. data/lib/2018-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  24. data/lib/2018-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  25. data/lib/2018-07-01/generated/azure_mgmt_network.rb +437 -0
  26. data/lib/2018-07-01/generated/azure_mgmt_network/application_gateways.rb +1773 -0
  27. data/lib/2018-07-01/generated/azure_mgmt_network/application_security_groups.rb +800 -0
  28. data/lib/2018-07-01/generated/azure_mgmt_network/available_endpoint_services.rb +222 -0
  29. data/lib/2018-07-01/generated/azure_mgmt_network/azure_firewalls.rb +787 -0
  30. data/lib/2018-07-01/generated/azure_mgmt_network/bgp_service_communities.rb +217 -0
  31. data/lib/2018-07-01/generated/azure_mgmt_network/connection_monitors.rb +973 -0
  32. data/lib/2018-07-01/generated/azure_mgmt_network/ddos_protection_plans.rb +800 -0
  33. data/lib/2018-07-01/generated/azure_mgmt_network/default_security_rules.rb +333 -0
  34. data/lib/2018-07-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +621 -0
  35. data/lib/2018-07-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +459 -0
  36. data/lib/2018-07-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +616 -0
  37. data/lib/2018-07-01/generated/azure_mgmt_network/express_route_circuits.rb +1577 -0
  38. data/lib/2018-07-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +638 -0
  39. data/lib/2018-07-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1288 -0
  40. data/lib/2018-07-01/generated/azure_mgmt_network/express_route_service_providers.rb +217 -0
  41. data/lib/2018-07-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +330 -0
  42. data/lib/2018-07-01/generated/azure_mgmt_network/inbound_nat_rules.rb +619 -0
  43. data/lib/2018-07-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +326 -0
  44. data/lib/2018-07-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +326 -0
  45. data/lib/2018-07-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +323 -0
  46. data/lib/2018-07-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +227 -0
  47. data/lib/2018-07-01/generated/azure_mgmt_network/load_balancer_probes.rb +323 -0
  48. data/lib/2018-07-01/generated/azure_mgmt_network/load_balancers.rb +942 -0
  49. data/lib/2018-07-01/generated/azure_mgmt_network/local_network_gateways.rb +769 -0
  50. data/lib/2018-07-01/generated/azure_mgmt_network/models/access.rb +16 -0
  51. data/lib/2018-07-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
  52. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway.rb +483 -0
  53. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
  54. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_autoscale_bounds.rb +60 -0
  55. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +47 -0
  56. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  57. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  58. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  59. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  60. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
  61. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
  62. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  63. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  64. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
  65. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  66. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +242 -0
  67. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  68. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  69. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  70. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  71. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  72. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  73. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
  74. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
  75. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
  76. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +164 -0
  77. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
  78. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  79. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  80. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
  81. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +202 -0
  82. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  83. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  84. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
  85. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  86. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
  87. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  88. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  89. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
  90. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
  91. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
  92. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  93. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  94. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  95. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  96. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  97. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
  98. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
  99. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +130 -0
  100. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  101. data/lib/2018-07-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  102. data/lib/2018-07-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  103. data/lib/2018-07-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  104. data/lib/2018-07-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  105. data/lib/2018-07-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  106. data/lib/2018-07-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  107. data/lib/2018-07-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  108. data/lib/2018-07-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  109. data/lib/2018-07-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  110. data/lib/2018-07-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  111. data/lib/2018-07-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  112. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  113. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall.rb +173 -0
  114. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +116 -0
  115. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +128 -0
  116. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
  117. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +16 -0
  118. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +130 -0
  119. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
  120. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +134 -0
  121. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +128 -0
  122. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
  123. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
  124. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
  125. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
  126. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  127. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  128. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  129. data/lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
  130. data/lib/2018-07-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
  131. data/lib/2018-07-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  132. data/lib/2018-07-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
  133. data/lib/2018-07-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  134. data/lib/2018-07-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  135. data/lib/2018-07-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  136. data/lib/2018-07-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
  137. data/lib/2018-07-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  138. data/lib/2018-07-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
  139. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
  140. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
  141. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  142. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
  143. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
  144. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
  145. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
  146. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
  147. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  148. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
  149. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  150. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +158 -0
  151. data/lib/2018-07-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  152. data/lib/2018-07-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
  153. data/lib/2018-07-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
  154. data/lib/2018-07-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  155. data/lib/2018-07-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  156. data/lib/2018-07-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +83 -0
  157. data/lib/2018-07-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
  158. data/lib/2018-07-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
  159. data/lib/2018-07-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
  160. data/lib/2018-07-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
  161. data/lib/2018-07-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  162. data/lib/2018-07-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
  163. data/lib/2018-07-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  164. data/lib/2018-07-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  165. data/lib/2018-07-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  166. data/lib/2018-07-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  167. data/lib/2018-07-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  168. data/lib/2018-07-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  169. data/lib/2018-07-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
  170. data/lib/2018-07-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
  171. data/lib/2018-07-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  172. data/lib/2018-07-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  173. data/lib/2018-07-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  174. data/lib/2018-07-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  175. data/lib/2018-07-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  176. data/lib/2018-07-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  177. data/lib/2018-07-01/generated/azure_mgmt_network/models/error.rb +100 -0
  178. data/lib/2018-07-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
  179. data/lib/2018-07-01/generated/azure_mgmt_network/models/error_response.rb +47 -0
  180. data/lib/2018-07-01/generated/azure_mgmt_network/models/evaluated_network_security_group.rb +80 -0
  181. data/lib/2018-07-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  182. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit.rb +257 -0
  183. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  184. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
  185. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +145 -0
  186. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  187. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +291 -0
  188. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  189. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
  190. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  191. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  192. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +47 -0
  193. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
  194. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  195. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  196. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
  197. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  198. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
  199. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  200. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
  201. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  202. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  203. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
  204. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
  205. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +250 -0
  206. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
  207. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
  208. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
  209. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
  210. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
  211. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
  212. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  213. data/lib/2018-07-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  214. data/lib/2018-07-01/generated/azure_mgmt_network/models/flow_log_information.rb +95 -0
  215. data/lib/2018-07-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
  216. data/lib/2018-07-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +247 -0
  217. data/lib/2018-07-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  218. data/lib/2018-07-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  219. data/lib/2018-07-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +68 -0
  220. data/lib/2018-07-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
  221. data/lib/2018-07-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
  222. data/lib/2018-07-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
  223. data/lib/2018-07-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +144 -0
  224. data/lib/2018-07-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
  225. data/lib/2018-07-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
  226. data/lib/2018-07-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
  227. data/lib/2018-07-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +182 -0
  228. data/lib/2018-07-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +185 -0
  229. data/lib/2018-07-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  230. data/lib/2018-07-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
  231. data/lib/2018-07-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  232. data/lib/2018-07-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  233. data/lib/2018-07-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  234. data/lib/2018-07-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
  235. data/lib/2018-07-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  236. data/lib/2018-07-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  237. data/lib/2018-07-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
  238. data/lib/2018-07-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
  239. data/lib/2018-07-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  240. data/lib/2018-07-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  241. data/lib/2018-07-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
  242. data/lib/2018-07-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
  243. data/lib/2018-07-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
  244. data/lib/2018-07-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
  245. data/lib/2018-07-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
  246. data/lib/2018-07-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
  247. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
  248. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  249. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  250. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  251. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  252. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  253. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
  254. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  255. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +222 -0
  256. data/lib/2018-07-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  257. data/lib/2018-07-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
  258. data/lib/2018-07-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  259. data/lib/2018-07-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  260. data/lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb +58 -0
  261. data/lib/2018-07-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  262. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb +68 -0
  263. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_response.rb +57 -0
  264. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_result.rb +60 -0
  265. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
  266. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  267. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
  268. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
  269. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  270. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  271. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  272. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  273. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
  274. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  275. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_security_group_result.rb +71 -0
  276. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb +101 -0
  277. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
  278. data/lib/2018-07-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  279. data/lib/2018-07-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  280. data/lib/2018-07-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  281. data/lib/2018-07-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  282. data/lib/2018-07-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  283. data/lib/2018-07-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  284. data/lib/2018-07-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  285. data/lib/2018-07-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  286. data/lib/2018-07-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  287. data/lib/2018-07-01/generated/azure_mgmt_network/models/outbound_rule.rb +160 -0
  288. data/lib/2018-07-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
  289. data/lib/2018-07-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  290. data/lib/2018-07-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  291. data/lib/2018-07-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
  292. data/lib/2018-07-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  293. data/lib/2018-07-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
  294. data/lib/2018-07-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  295. data/lib/2018-07-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
  296. data/lib/2018-07-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
  297. data/lib/2018-07-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  298. data/lib/2018-07-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  299. data/lib/2018-07-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  300. data/lib/2018-07-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
  301. data/lib/2018-07-01/generated/azure_mgmt_network/models/policies.rb +57 -0
  302. data/lib/2018-07-01/generated/azure_mgmt_network/models/probe.rb +170 -0
  303. data/lib/2018-07-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
  304. data/lib/2018-07-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  305. data/lib/2018-07-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
  306. data/lib/2018-07-01/generated/azure_mgmt_network/models/protocol_configuration.rb +47 -0
  307. data/lib/2018-07-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  308. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipaddress.rb +261 -0
  309. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  310. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  311. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
  312. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  313. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipprefix.rb +229 -0
  314. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipprefix_list_result.rb +99 -0
  315. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipprefix_sku.rb +47 -0
  316. data/lib/2018-07-01/generated/azure_mgmt_network/models/public_ipprefix_sku_name.rb +15 -0
  317. data/lib/2018-07-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  318. data/lib/2018-07-01/generated/azure_mgmt_network/models/referenced_public_ip_address.rb +47 -0
  319. data/lib/2018-07-01/generated/azure_mgmt_network/models/resource.rb +100 -0
  320. data/lib/2018-07-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
  321. data/lib/2018-07-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  322. data/lib/2018-07-01/generated/azure_mgmt_network/models/route.rb +118 -0
  323. data/lib/2018-07-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
  324. data/lib/2018-07-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  325. data/lib/2018-07-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
  326. data/lib/2018-07-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  327. data/lib/2018-07-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  328. data/lib/2018-07-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  329. data/lib/2018-07-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
  330. data/lib/2018-07-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
  331. data/lib/2018-07-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
  332. data/lib/2018-07-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  333. data/lib/2018-07-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  334. data/lib/2018-07-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
  335. data/lib/2018-07-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  336. data/lib/2018-07-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
  337. data/lib/2018-07-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  338. data/lib/2018-07-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  339. data/lib/2018-07-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
  340. data/lib/2018-07-01/generated/azure_mgmt_network/models/service_endpoint_policy.rb +142 -0
  341. data/lib/2018-07-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition.rb +120 -0
  342. data/lib/2018-07-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition_list_result.rb +103 -0
  343. data/lib/2018-07-01/generated/azure_mgmt_network/models/service_endpoint_policy_list_result.rb +100 -0
  344. data/lib/2018-07-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
  345. data/lib/2018-07-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  346. data/lib/2018-07-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  347. data/lib/2018-07-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  348. data/lib/2018-07-01/generated/azure_mgmt_network/models/subnet.rb +199 -0
  349. data/lib/2018-07-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  350. data/lib/2018-07-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  351. data/lib/2018-07-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  352. data/lib/2018-07-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  353. data/lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  354. data/lib/2018-07-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  355. data/lib/2018-07-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  356. data/lib/2018-07-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +79 -0
  357. data/lib/2018-07-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +47 -0
  358. data/lib/2018-07-01/generated/azure_mgmt_network/models/traffic_query.rb +96 -0
  359. data/lib/2018-07-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  360. data/lib/2018-07-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  361. data/lib/2018-07-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  362. data/lib/2018-07-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  363. data/lib/2018-07-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  364. data/lib/2018-07-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  365. data/lib/2018-07-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
  366. data/lib/2018-07-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  367. data/lib/2018-07-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  368. data/lib/2018-07-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  369. data/lib/2018-07-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  370. data/lib/2018-07-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  371. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_hub.rb +154 -0
  372. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network.rb +228 -0
  373. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  374. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
  375. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +336 -0
  376. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +337 -0
  377. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  378. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  379. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  380. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
  381. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  382. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  383. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +74 -0
  384. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +27 -0
  385. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +27 -0
  386. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
  387. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  388. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  389. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
  390. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  391. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  392. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  393. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  394. data/lib/2018-07-01/generated/azure_mgmt_network/models/virtual_wan.rb +163 -0
  395. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +155 -0
  396. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
  397. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
  398. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
  399. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
  400. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
  401. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_connection.rb +224 -0
  402. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
  403. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  404. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_gateway.rb +167 -0
  405. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_site.rb +181 -0
  406. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
  407. data/lib/2018-07-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  408. data/lib/2018-07-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  409. data/lib/2018-07-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +323 -0
  410. data/lib/2018-07-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +227 -0
  411. data/lib/2018-07-01/generated/azure_mgmt_network/network_interfaces.rb +1210 -0
  412. data/lib/2018-07-01/generated/azure_mgmt_network/network_management_client.rb +444 -0
  413. data/lib/2018-07-01/generated/azure_mgmt_network/network_security_groups.rb +960 -0
  414. data/lib/2018-07-01/generated/azure_mgmt_network/network_watchers.rb +2602 -0
  415. data/lib/2018-07-01/generated/azure_mgmt_network/operations.rb +215 -0
  416. data/lib/2018-07-01/generated/azure_mgmt_network/packet_captures.rb +784 -0
  417. data/lib/2018-07-01/generated/azure_mgmt_network/public_ipaddresses.rb +942 -0
  418. data/lib/2018-07-01/generated/azure_mgmt_network/public_ipprefixes.rb +942 -0
  419. data/lib/2018-07-01/generated/azure_mgmt_network/route_filter_rules.rb +774 -0
  420. data/lib/2018-07-01/generated/azure_mgmt_network/route_filters.rb +945 -0
  421. data/lib/2018-07-01/generated/azure_mgmt_network/route_tables.rb +942 -0
  422. data/lib/2018-07-01/generated/azure_mgmt_network/routes.rb +615 -0
  423. data/lib/2018-07-01/generated/azure_mgmt_network/security_rules.rb +633 -0
  424. data/lib/2018-07-01/generated/azure_mgmt_network/service_endpoint_policies.rb +960 -0
  425. data/lib/2018-07-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb +658 -0
  426. data/lib/2018-07-01/generated/azure_mgmt_network/subnets.rb +619 -0
  427. data/lib/2018-07-01/generated/azure_mgmt_network/usages.rb +223 -0
  428. data/lib/2018-07-01/generated/azure_mgmt_network/virtual_hubs.rb +975 -0
  429. data/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1231 -0
  430. data/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2609 -0
  431. data/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_peerings.rb +624 -0
  432. data/lib/2018-07-01/generated/azure_mgmt_network/virtual_networks.rb +1239 -0
  433. data/lib/2018-07-01/generated/azure_mgmt_network/virtual_wans.rb +980 -0
  434. data/lib/2018-07-01/generated/azure_mgmt_network/vpn_connections.rb +637 -0
  435. data/lib/2018-07-01/generated/azure_mgmt_network/vpn_gateways.rb +975 -0
  436. data/lib/2018-07-01/generated/azure_mgmt_network/vpn_sites.rb +958 -0
  437. data/lib/2018-07-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +171 -0
  438. data/lib/azure_mgmt_network.rb +1 -0
  439. data/lib/profiles/latest/modules/network_profile_module.rb +929 -851
  440. data/lib/version.rb +1 -1
  441. metadata +417 -2
@@ -0,0 +1,800 @@
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::V2018_07_01
7
+ #
8
+ # ApplicationSecurityGroups
9
+ #
10
+ class ApplicationSecurityGroups
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the ApplicationSecurityGroups 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
+ # Deletes the specified application security group.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param application_security_group_name [String] The name of the application
29
+ # security group.
30
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
+ # will be added to the HTTP request.
32
+ #
33
+ def delete(resource_group_name, application_security_group_name, custom_headers:nil)
34
+ response = delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value!
35
+ nil
36
+ end
37
+
38
+ #
39
+ # @param resource_group_name [String] The name of the resource group.
40
+ # @param application_security_group_name [String] The name of the application
41
+ # security group.
42
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
43
+ # will be added to the HTTP request.
44
+ #
45
+ # @return [Concurrent::Promise] promise which provides async access to http
46
+ # response.
47
+ #
48
+ def delete_async(resource_group_name, application_security_group_name, custom_headers:nil)
49
+ # Send request
50
+ promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers)
51
+
52
+ promise = promise.then do |response|
53
+ # Defining deserialization method.
54
+ deserialize_method = lambda do |parsed_response|
55
+ end
56
+
57
+ # Waiting for response.
58
+ @client.get_long_running_operation_result(response, deserialize_method)
59
+ end
60
+
61
+ promise
62
+ end
63
+
64
+ #
65
+ # Gets information about the specified application security group.
66
+ #
67
+ # @param resource_group_name [String] The name of the resource group.
68
+ # @param application_security_group_name [String] The name of the application
69
+ # security group.
70
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
71
+ # will be added to the HTTP request.
72
+ #
73
+ # @return [ApplicationSecurityGroup] operation results.
74
+ #
75
+ def get(resource_group_name, application_security_group_name, custom_headers:nil)
76
+ response = get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value!
77
+ response.body unless response.nil?
78
+ end
79
+
80
+ #
81
+ # Gets information about the specified application security group.
82
+ #
83
+ # @param resource_group_name [String] The name of the resource group.
84
+ # @param application_security_group_name [String] The name of the application
85
+ # security group.
86
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
87
+ # will be added to the HTTP request.
88
+ #
89
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
90
+ #
91
+ def get_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil)
92
+ get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value!
93
+ end
94
+
95
+ #
96
+ # Gets information about the specified application security group.
97
+ #
98
+ # @param resource_group_name [String] The name of the resource group.
99
+ # @param application_security_group_name [String] The name of the application
100
+ # security group.
101
+ # @param [Hash{String => String}] A hash of custom headers that will be added
102
+ # to the HTTP request.
103
+ #
104
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
105
+ #
106
+ def get_async(resource_group_name, application_security_group_name, custom_headers:nil)
107
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
108
+ fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil?
109
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
110
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
111
+
112
+
113
+ request_headers = {}
114
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
115
+
116
+ # Set Headers
117
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
118
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
119
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'
120
+
121
+ request_url = @base_url || @client.base_url
122
+
123
+ options = {
124
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
125
+ path_params: {'resourceGroupName' => resource_group_name,'applicationSecurityGroupName' => application_security_group_name,'subscriptionId' => @client.subscription_id},
126
+ query_params: {'api-version' => @client.api_version},
127
+ headers: request_headers.merge(custom_headers || {}),
128
+ base_url: request_url
129
+ }
130
+ promise = @client.make_request_async(:get, path_template, options)
131
+
132
+ promise = promise.then do |result|
133
+ http_response = result.response
134
+ status_code = http_response.status
135
+ response_content = http_response.body
136
+ unless status_code == 200
137
+ error_model = JSON.load(response_content)
138
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
139
+ end
140
+
141
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
142
+ # Deserialize Response
143
+ if status_code == 200
144
+ begin
145
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
146
+ result_mapper = Azure::Network::Mgmt::V2018_07_01::Models::ApplicationSecurityGroup.mapper()
147
+ result.body = @client.deserialize(result_mapper, parsed_response)
148
+ rescue Exception => e
149
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
150
+ end
151
+ end
152
+
153
+ result
154
+ end
155
+
156
+ promise.execute
157
+ end
158
+
159
+ #
160
+ # Creates or updates an application security group.
161
+ #
162
+ # @param resource_group_name [String] The name of the resource group.
163
+ # @param application_security_group_name [String] The name of the application
164
+ # security group.
165
+ # @param parameters [ApplicationSecurityGroup] Parameters supplied to the
166
+ # create or update ApplicationSecurityGroup operation.
167
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
168
+ # will be added to the HTTP request.
169
+ #
170
+ # @return [ApplicationSecurityGroup] operation results.
171
+ #
172
+ def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil)
173
+ response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value!
174
+ response.body unless response.nil?
175
+ end
176
+
177
+ #
178
+ # @param resource_group_name [String] The name of the resource group.
179
+ # @param application_security_group_name [String] The name of the application
180
+ # security group.
181
+ # @param parameters [ApplicationSecurityGroup] Parameters supplied to the
182
+ # create or update ApplicationSecurityGroup operation.
183
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
184
+ # will be added to the HTTP request.
185
+ #
186
+ # @return [Concurrent::Promise] promise which provides async access to http
187
+ # response.
188
+ #
189
+ def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil)
190
+ # Send request
191
+ promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers)
192
+
193
+ promise = promise.then do |response|
194
+ # Defining deserialization method.
195
+ deserialize_method = lambda do |parsed_response|
196
+ result_mapper = Azure::Network::Mgmt::V2018_07_01::Models::ApplicationSecurityGroup.mapper()
197
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
198
+ end
199
+
200
+ # Waiting for response.
201
+ @client.get_long_running_operation_result(response, deserialize_method)
202
+ end
203
+
204
+ promise
205
+ end
206
+
207
+ #
208
+ # Gets all application security groups in a subscription.
209
+ #
210
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
211
+ # will be added to the HTTP request.
212
+ #
213
+ # @return [Array<ApplicationSecurityGroup>] operation results.
214
+ #
215
+ def list_all(custom_headers:nil)
216
+ first_page = list_all_as_lazy(custom_headers:custom_headers)
217
+ first_page.get_all_items
218
+ end
219
+
220
+ #
221
+ # Gets all application security groups in a subscription.
222
+ #
223
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
224
+ # will be added to the HTTP request.
225
+ #
226
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
227
+ #
228
+ def list_all_with_http_info(custom_headers:nil)
229
+ list_all_async(custom_headers:custom_headers).value!
230
+ end
231
+
232
+ #
233
+ # Gets all application security groups in a subscription.
234
+ #
235
+ # @param [Hash{String => String}] A hash of custom headers that will be added
236
+ # to the HTTP request.
237
+ #
238
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
239
+ #
240
+ def list_all_async(custom_headers:nil)
241
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
242
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
243
+
244
+
245
+ request_headers = {}
246
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
247
+
248
+ # Set Headers
249
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
250
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
251
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups'
252
+
253
+ request_url = @base_url || @client.base_url
254
+
255
+ options = {
256
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
257
+ path_params: {'subscriptionId' => @client.subscription_id},
258
+ query_params: {'api-version' => @client.api_version},
259
+ headers: request_headers.merge(custom_headers || {}),
260
+ base_url: request_url
261
+ }
262
+ promise = @client.make_request_async(:get, path_template, options)
263
+
264
+ promise = promise.then do |result|
265
+ http_response = result.response
266
+ status_code = http_response.status
267
+ response_content = http_response.body
268
+ unless status_code == 200
269
+ error_model = JSON.load(response_content)
270
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
271
+ end
272
+
273
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
274
+ # Deserialize Response
275
+ if status_code == 200
276
+ begin
277
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
278
+ result_mapper = Azure::Network::Mgmt::V2018_07_01::Models::ApplicationSecurityGroupListResult.mapper()
279
+ result.body = @client.deserialize(result_mapper, parsed_response)
280
+ rescue Exception => e
281
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
282
+ end
283
+ end
284
+
285
+ result
286
+ end
287
+
288
+ promise.execute
289
+ end
290
+
291
+ #
292
+ # Gets all the application security groups in a resource group.
293
+ #
294
+ # @param resource_group_name [String] The name of the resource group.
295
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
296
+ # will be added to the HTTP request.
297
+ #
298
+ # @return [Array<ApplicationSecurityGroup>] operation results.
299
+ #
300
+ def list(resource_group_name, custom_headers:nil)
301
+ first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
302
+ first_page.get_all_items
303
+ end
304
+
305
+ #
306
+ # Gets all the application security groups in a resource group.
307
+ #
308
+ # @param resource_group_name [String] The name of the resource group.
309
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
310
+ # will be added to the HTTP request.
311
+ #
312
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
313
+ #
314
+ def list_with_http_info(resource_group_name, custom_headers:nil)
315
+ list_async(resource_group_name, custom_headers:custom_headers).value!
316
+ end
317
+
318
+ #
319
+ # Gets all the application security groups in a resource group.
320
+ #
321
+ # @param resource_group_name [String] The name of the resource group.
322
+ # @param [Hash{String => String}] A hash of custom headers that will be added
323
+ # to the HTTP request.
324
+ #
325
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
326
+ #
327
+ def list_async(resource_group_name, custom_headers:nil)
328
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
329
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
330
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
331
+
332
+
333
+ request_headers = {}
334
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
335
+
336
+ # Set Headers
337
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
338
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
339
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups'
340
+
341
+ request_url = @base_url || @client.base_url
342
+
343
+ options = {
344
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
345
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
346
+ query_params: {'api-version' => @client.api_version},
347
+ headers: request_headers.merge(custom_headers || {}),
348
+ base_url: request_url
349
+ }
350
+ promise = @client.make_request_async(:get, path_template, options)
351
+
352
+ promise = promise.then do |result|
353
+ http_response = result.response
354
+ status_code = http_response.status
355
+ response_content = http_response.body
356
+ unless status_code == 200
357
+ error_model = JSON.load(response_content)
358
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
359
+ end
360
+
361
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
362
+ # Deserialize Response
363
+ if status_code == 200
364
+ begin
365
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
366
+ result_mapper = Azure::Network::Mgmt::V2018_07_01::Models::ApplicationSecurityGroupListResult.mapper()
367
+ result.body = @client.deserialize(result_mapper, parsed_response)
368
+ rescue Exception => e
369
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
370
+ end
371
+ end
372
+
373
+ result
374
+ end
375
+
376
+ promise.execute
377
+ end
378
+
379
+ #
380
+ # Deletes the specified application security group.
381
+ #
382
+ # @param resource_group_name [String] The name of the resource group.
383
+ # @param application_security_group_name [String] The name of the application
384
+ # security group.
385
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
386
+ # will be added to the HTTP request.
387
+ #
388
+ #
389
+ def begin_delete(resource_group_name, application_security_group_name, custom_headers:nil)
390
+ response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value!
391
+ nil
392
+ end
393
+
394
+ #
395
+ # Deletes the specified application security group.
396
+ #
397
+ # @param resource_group_name [String] The name of the resource group.
398
+ # @param application_security_group_name [String] The name of the application
399
+ # security group.
400
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
401
+ # will be added to the HTTP request.
402
+ #
403
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
404
+ #
405
+ def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil)
406
+ begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value!
407
+ end
408
+
409
+ #
410
+ # Deletes the specified application security group.
411
+ #
412
+ # @param resource_group_name [String] The name of the resource group.
413
+ # @param application_security_group_name [String] The name of the application
414
+ # security group.
415
+ # @param [Hash{String => String}] A hash of custom headers that will be added
416
+ # to the HTTP request.
417
+ #
418
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
419
+ #
420
+ def begin_delete_async(resource_group_name, application_security_group_name, custom_headers:nil)
421
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
422
+ fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil?
423
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
424
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
425
+
426
+
427
+ request_headers = {}
428
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
429
+
430
+ # Set Headers
431
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
432
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
433
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'
434
+
435
+ request_url = @base_url || @client.base_url
436
+
437
+ options = {
438
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
439
+ path_params: {'resourceGroupName' => resource_group_name,'applicationSecurityGroupName' => application_security_group_name,'subscriptionId' => @client.subscription_id},
440
+ query_params: {'api-version' => @client.api_version},
441
+ headers: request_headers.merge(custom_headers || {}),
442
+ base_url: request_url
443
+ }
444
+ promise = @client.make_request_async(:delete, path_template, options)
445
+
446
+ promise = promise.then do |result|
447
+ http_response = result.response
448
+ status_code = http_response.status
449
+ response_content = http_response.body
450
+ unless status_code == 204 || status_code == 202 || status_code == 200
451
+ error_model = JSON.load(response_content)
452
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
453
+ end
454
+
455
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
456
+
457
+ result
458
+ end
459
+
460
+ promise.execute
461
+ end
462
+
463
+ #
464
+ # Creates or updates an application security group.
465
+ #
466
+ # @param resource_group_name [String] The name of the resource group.
467
+ # @param application_security_group_name [String] The name of the application
468
+ # security group.
469
+ # @param parameters [ApplicationSecurityGroup] Parameters supplied to the
470
+ # create or update ApplicationSecurityGroup operation.
471
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
472
+ # will be added to the HTTP request.
473
+ #
474
+ # @return [ApplicationSecurityGroup] operation results.
475
+ #
476
+ def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil)
477
+ response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value!
478
+ response.body unless response.nil?
479
+ end
480
+
481
+ #
482
+ # Creates or updates an application security group.
483
+ #
484
+ # @param resource_group_name [String] The name of the resource group.
485
+ # @param application_security_group_name [String] The name of the application
486
+ # security group.
487
+ # @param parameters [ApplicationSecurityGroup] Parameters supplied to the
488
+ # create or update ApplicationSecurityGroup operation.
489
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
490
+ # will be added to the HTTP request.
491
+ #
492
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
493
+ #
494
+ def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil)
495
+ begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value!
496
+ end
497
+
498
+ #
499
+ # Creates or updates an application security group.
500
+ #
501
+ # @param resource_group_name [String] The name of the resource group.
502
+ # @param application_security_group_name [String] The name of the application
503
+ # security group.
504
+ # @param parameters [ApplicationSecurityGroup] Parameters supplied to the
505
+ # create or update ApplicationSecurityGroup operation.
506
+ # @param [Hash{String => String}] A hash of custom headers that will be added
507
+ # to the HTTP request.
508
+ #
509
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
510
+ #
511
+ def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil)
512
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
513
+ fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil?
514
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
515
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
516
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
517
+
518
+
519
+ request_headers = {}
520
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
521
+
522
+ # Set Headers
523
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
524
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
525
+
526
+ # Serialize Request
527
+ request_mapper = Azure::Network::Mgmt::V2018_07_01::Models::ApplicationSecurityGroup.mapper()
528
+ request_content = @client.serialize(request_mapper, parameters)
529
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
530
+
531
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'
532
+
533
+ request_url = @base_url || @client.base_url
534
+
535
+ options = {
536
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
537
+ path_params: {'resourceGroupName' => resource_group_name,'applicationSecurityGroupName' => application_security_group_name,'subscriptionId' => @client.subscription_id},
538
+ query_params: {'api-version' => @client.api_version},
539
+ body: request_content,
540
+ headers: request_headers.merge(custom_headers || {}),
541
+ base_url: request_url
542
+ }
543
+ promise = @client.make_request_async(:put, path_template, options)
544
+
545
+ promise = promise.then do |result|
546
+ http_response = result.response
547
+ status_code = http_response.status
548
+ response_content = http_response.body
549
+ unless status_code == 201 || status_code == 200
550
+ error_model = JSON.load(response_content)
551
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
552
+ end
553
+
554
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
555
+ # Deserialize Response
556
+ if status_code == 201
557
+ begin
558
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
559
+ result_mapper = Azure::Network::Mgmt::V2018_07_01::Models::ApplicationSecurityGroup.mapper()
560
+ result.body = @client.deserialize(result_mapper, parsed_response)
561
+ rescue Exception => e
562
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
563
+ end
564
+ end
565
+ # Deserialize Response
566
+ if status_code == 200
567
+ begin
568
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
569
+ result_mapper = Azure::Network::Mgmt::V2018_07_01::Models::ApplicationSecurityGroup.mapper()
570
+ result.body = @client.deserialize(result_mapper, parsed_response)
571
+ rescue Exception => e
572
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
573
+ end
574
+ end
575
+
576
+ result
577
+ end
578
+
579
+ promise.execute
580
+ end
581
+
582
+ #
583
+ # Gets all application security groups in a subscription.
584
+ #
585
+ # @param next_page_link [String] The NextLink from the previous successful call
586
+ # to List operation.
587
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
588
+ # will be added to the HTTP request.
589
+ #
590
+ # @return [ApplicationSecurityGroupListResult] operation results.
591
+ #
592
+ def list_all_next(next_page_link, custom_headers:nil)
593
+ response = list_all_next_async(next_page_link, custom_headers:custom_headers).value!
594
+ response.body unless response.nil?
595
+ end
596
+
597
+ #
598
+ # Gets all application security groups in a subscription.
599
+ #
600
+ # @param next_page_link [String] The NextLink from the previous successful call
601
+ # to List operation.
602
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
603
+ # will be added to the HTTP request.
604
+ #
605
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
606
+ #
607
+ def list_all_next_with_http_info(next_page_link, custom_headers:nil)
608
+ list_all_next_async(next_page_link, custom_headers:custom_headers).value!
609
+ end
610
+
611
+ #
612
+ # Gets all application security groups in a subscription.
613
+ #
614
+ # @param next_page_link [String] The NextLink from the previous successful call
615
+ # to List operation.
616
+ # @param [Hash{String => String}] A hash of custom headers that will be added
617
+ # to the HTTP request.
618
+ #
619
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
620
+ #
621
+ def list_all_next_async(next_page_link, custom_headers:nil)
622
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
623
+
624
+
625
+ request_headers = {}
626
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
627
+
628
+ # Set Headers
629
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
630
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
631
+ path_template = '{nextLink}'
632
+
633
+ request_url = @base_url || @client.base_url
634
+
635
+ options = {
636
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
637
+ skip_encoding_path_params: {'nextLink' => next_page_link},
638
+ headers: request_headers.merge(custom_headers || {}),
639
+ base_url: request_url
640
+ }
641
+ promise = @client.make_request_async(:get, path_template, options)
642
+
643
+ promise = promise.then do |result|
644
+ http_response = result.response
645
+ status_code = http_response.status
646
+ response_content = http_response.body
647
+ unless status_code == 200
648
+ error_model = JSON.load(response_content)
649
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
650
+ end
651
+
652
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
653
+ # Deserialize Response
654
+ if status_code == 200
655
+ begin
656
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
657
+ result_mapper = Azure::Network::Mgmt::V2018_07_01::Models::ApplicationSecurityGroupListResult.mapper()
658
+ result.body = @client.deserialize(result_mapper, parsed_response)
659
+ rescue Exception => e
660
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
661
+ end
662
+ end
663
+
664
+ result
665
+ end
666
+
667
+ promise.execute
668
+ end
669
+
670
+ #
671
+ # Gets all the application security groups in a resource group.
672
+ #
673
+ # @param next_page_link [String] The NextLink from the previous successful call
674
+ # to List operation.
675
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
676
+ # will be added to the HTTP request.
677
+ #
678
+ # @return [ApplicationSecurityGroupListResult] operation results.
679
+ #
680
+ def list_next(next_page_link, custom_headers:nil)
681
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
682
+ response.body unless response.nil?
683
+ end
684
+
685
+ #
686
+ # Gets all the application security groups in a resource group.
687
+ #
688
+ # @param next_page_link [String] The NextLink from the previous successful call
689
+ # to List operation.
690
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
691
+ # will be added to the HTTP request.
692
+ #
693
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
694
+ #
695
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
696
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
697
+ end
698
+
699
+ #
700
+ # Gets all the application security groups in a resource group.
701
+ #
702
+ # @param next_page_link [String] The NextLink from the previous successful call
703
+ # to List operation.
704
+ # @param [Hash{String => String}] A hash of custom headers that will be added
705
+ # to the HTTP request.
706
+ #
707
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
708
+ #
709
+ def list_next_async(next_page_link, custom_headers:nil)
710
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
711
+
712
+
713
+ request_headers = {}
714
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
715
+
716
+ # Set Headers
717
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
718
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
719
+ path_template = '{nextLink}'
720
+
721
+ request_url = @base_url || @client.base_url
722
+
723
+ options = {
724
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
725
+ skip_encoding_path_params: {'nextLink' => next_page_link},
726
+ headers: request_headers.merge(custom_headers || {}),
727
+ base_url: request_url
728
+ }
729
+ promise = @client.make_request_async(:get, path_template, options)
730
+
731
+ promise = promise.then do |result|
732
+ http_response = result.response
733
+ status_code = http_response.status
734
+ response_content = http_response.body
735
+ unless status_code == 200
736
+ error_model = JSON.load(response_content)
737
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
738
+ end
739
+
740
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
741
+ # Deserialize Response
742
+ if status_code == 200
743
+ begin
744
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
745
+ result_mapper = Azure::Network::Mgmt::V2018_07_01::Models::ApplicationSecurityGroupListResult.mapper()
746
+ result.body = @client.deserialize(result_mapper, parsed_response)
747
+ rescue Exception => e
748
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
749
+ end
750
+ end
751
+
752
+ result
753
+ end
754
+
755
+ promise.execute
756
+ end
757
+
758
+ #
759
+ # Gets all application security groups in a subscription.
760
+ #
761
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
762
+ # will be added to the HTTP request.
763
+ #
764
+ # @return [ApplicationSecurityGroupListResult] which provide lazy access to
765
+ # pages of the response.
766
+ #
767
+ def list_all_as_lazy(custom_headers:nil)
768
+ response = list_all_async(custom_headers:custom_headers).value!
769
+ unless response.nil?
770
+ page = response.body
771
+ page.next_method = Proc.new do |next_page_link|
772
+ list_all_next_async(next_page_link, custom_headers:custom_headers)
773
+ end
774
+ page
775
+ end
776
+ end
777
+
778
+ #
779
+ # Gets all the application security groups in a resource group.
780
+ #
781
+ # @param resource_group_name [String] The name of the resource group.
782
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
783
+ # will be added to the HTTP request.
784
+ #
785
+ # @return [ApplicationSecurityGroupListResult] which provide lazy access to
786
+ # pages of the response.
787
+ #
788
+ def list_as_lazy(resource_group_name, custom_headers:nil)
789
+ response = list_async(resource_group_name, custom_headers:custom_headers).value!
790
+ unless response.nil?
791
+ page = response.body
792
+ page.next_method = Proc.new do |next_page_link|
793
+ list_next_async(next_page_link, custom_headers:custom_headers)
794
+ end
795
+ page
796
+ end
797
+ end
798
+
799
+ end
800
+ end