azure_mgmt_network 0.24.0 → 0.24.1

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