azure_mgmt_network 0.20.0 → 0.21.0

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