azure_mgmt_network 0.23.4 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (814) 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-04-01/generated/azure_mgmt_network/private_link_services.rb +236 -146
  25. data/lib/2019-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  26. data/lib/2019-06-01/generated/azure_mgmt_network/private_link_services.rb +236 -146
  27. data/lib/2019-07-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  28. data/lib/2019-07-01/generated/azure_mgmt_network/private_link_services.rb +239 -148
  29. data/lib/2019-08-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  30. data/lib/2019-08-01/generated/azure_mgmt_network/private_link_services.rb +239 -148
  31. data/lib/2019-09-01/generated/azure_mgmt_network.rb +187 -177
  32. data/lib/2019-09-01/generated/azure_mgmt_network/azure_firewalls.rb +120 -74
  33. data/lib/2019-09-01/generated/azure_mgmt_network/models/bastion_active_session.rb +168 -0
  34. data/lib/2019-09-01/generated/azure_mgmt_network/models/bastion_active_session_list_result.rb +99 -0
  35. data/lib/2019-09-01/generated/azure_mgmt_network/models/bastion_connect_protocol.rb +16 -0
  36. data/lib/2019-09-01/generated/azure_mgmt_network/models/bastion_session_delete_result.rb +99 -0
  37. data/lib/2019-09-01/generated/azure_mgmt_network/models/bastion_session_state.rb +72 -0
  38. data/lib/2019-09-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb +85 -0
  39. data/lib/2019-09-01/generated/azure_mgmt_network/models/bastion_shareable_link_list_request.rb +55 -0
  40. data/lib/2019-09-01/generated/azure_mgmt_network/models/bastion_shareable_link_list_result.rb +99 -0
  41. data/lib/2019-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb +0 -4
  42. data/lib/2019-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +0 -2
  43. data/lib/2019-09-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +0 -1
  44. data/lib/2019-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +0 -4
  45. data/lib/2019-09-01/generated/azure_mgmt_network/models/session_ids.rb +54 -0
  46. data/lib/2019-09-01/generated/azure_mgmt_network/models/vm.rb +85 -0
  47. data/lib/2019-09-01/generated/azure_mgmt_network/network_management_client.rb +1871 -133
  48. data/lib/2019-09-01/generated/azure_mgmt_network/private_link_services.rb +239 -148
  49. data/lib/2019-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  50. data/lib/2019-11-01/generated/azure_mgmt_network/private_link_services.rb +239 -148
  51. data/lib/2019-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  52. data/lib/2019-12-01/generated/azure_mgmt_network/private_link_services.rb +239 -148
  53. data/lib/2020-03-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  54. data/lib/2020-03-01/generated/azure_mgmt_network/private_link_services.rb +239 -148
  55. data/lib/2020-04-01/generated/azure_mgmt_network.rb +208 -208
  56. data/lib/2020-04-01/generated/azure_mgmt_network/models/hub_route_table.rb +8 -10
  57. data/lib/2020-04-01/generated/azure_mgmt_network/models/load_balancer_backend_address.rb +6 -5
  58. data/lib/2020-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
  59. data/lib/2020-04-01/generated/azure_mgmt_network/private_link_services.rb +239 -148
  60. data/lib/2020-05-01/generated/azure_mgmt_network.rb +775 -0
  61. data/lib/2020-05-01/generated/azure_mgmt_network/application_gateway_private_endpoint_connections.rb +631 -0
  62. data/lib/2020-05-01/generated/azure_mgmt_network/application_gateway_private_link_resources.rb +231 -0
  63. data/lib/2020-05-01/generated/azure_mgmt_network/application_gateways.rb +2230 -0
  64. data/lib/2020-05-01/generated/azure_mgmt_network/application_security_groups.rb +925 -0
  65. data/lib/2020-05-01/generated/azure_mgmt_network/available_delegations.rb +233 -0
  66. data/lib/2020-05-01/generated/azure_mgmt_network/available_endpoint_services.rb +226 -0
  67. data/lib/2020-05-01/generated/azure_mgmt_network/available_private_endpoint_types.rb +446 -0
  68. data/lib/2020-05-01/generated/azure_mgmt_network/available_resource_group_delegations.rb +238 -0
  69. data/lib/2020-05-01/generated/azure_mgmt_network/available_service_aliases.rb +432 -0
  70. data/lib/2020-05-01/generated/azure_mgmt_network/azure_firewall_fqdn_tags.rb +221 -0
  71. data/lib/2020-05-01/generated/azure_mgmt_network/azure_firewalls.rb +957 -0
  72. data/lib/2020-05-01/generated/azure_mgmt_network/bastion_hosts.rb +801 -0
  73. data/lib/2020-05-01/generated/azure_mgmt_network/bgp_service_communities.rb +221 -0
  74. data/lib/2020-05-01/generated/azure_mgmt_network/connection_monitors.rb +1099 -0
  75. data/lib/2020-05-01/generated/azure_mgmt_network/ddos_custom_policies.rb +512 -0
  76. data/lib/2020-05-01/generated/azure_mgmt_network/ddos_protection_plans.rb +925 -0
  77. data/lib/2020-05-01/generated/azure_mgmt_network/default_security_rules.rb +339 -0
  78. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +631 -0
  79. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +683 -0
  80. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +626 -0
  81. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_circuits.rb +1557 -0
  82. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_connections.rb +534 -0
  83. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +648 -0
  84. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1262 -0
  85. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_gateways.rb +601 -0
  86. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_links.rb +343 -0
  87. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_ports.rb +922 -0
  88. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_ports_locations.rb +331 -0
  89. data/lib/2020-05-01/generated/azure_mgmt_network/express_route_service_providers.rb +221 -0
  90. data/lib/2020-05-01/generated/azure_mgmt_network/firewall_policies.rb +804 -0
  91. data/lib/2020-05-01/generated/azure_mgmt_network/firewall_policy_rule_collection_groups.rb +639 -0
  92. data/lib/2020-05-01/generated/azure_mgmt_network/flow_logs.rb +634 -0
  93. data/lib/2020-05-01/generated/azure_mgmt_network/hub_route_tables.rb +647 -0
  94. data/lib/2020-05-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +652 -0
  95. data/lib/2020-05-01/generated/azure_mgmt_network/inbound_nat_rules.rb +629 -0
  96. data/lib/2020-05-01/generated/azure_mgmt_network/ip_allocations.rb +912 -0
  97. data/lib/2020-05-01/generated/azure_mgmt_network/ip_groups.rb +915 -0
  98. data/lib/2020-05-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +639 -0
  99. data/lib/2020-05-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +332 -0
  100. data/lib/2020-05-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +329 -0
  101. data/lib/2020-05-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +231 -0
  102. data/lib/2020-05-01/generated/azure_mgmt_network/load_balancer_outbound_rules.rb +329 -0
  103. data/lib/2020-05-01/generated/azure_mgmt_network/load_balancer_probes.rb +329 -0
  104. data/lib/2020-05-01/generated/azure_mgmt_network/load_balancers.rb +912 -0
  105. data/lib/2020-05-01/generated/azure_mgmt_network/local_network_gateways.rb +733 -0
  106. data/lib/2020-05-01/generated/azure_mgmt_network/models/aad_authentication_parameters.rb +68 -0
  107. data/lib/2020-05-01/generated/azure_mgmt_network/models/access.rb +16 -0
  108. data/lib/2020-05-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
  109. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway.rb +653 -0
  110. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +106 -0
  111. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +65 -0
  112. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
  113. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
  114. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
  115. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
  116. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +136 -0
  117. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +56 -0
  118. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
  119. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_backend_health_on_demand.rb +61 -0
  120. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
  121. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +83 -0
  122. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
  123. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +266 -0
  124. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
  125. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
  126. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb +60 -0
  127. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_custom_error_status_code.rb +16 -0
  128. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
  129. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb +71 -0
  130. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  131. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
  132. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
  133. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +143 -0
  134. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +156 -0
  135. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +105 -0
  136. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_header_configuration.rb +57 -0
  137. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +220 -0
  138. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +108 -0
  139. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
  140. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb +134 -0
  141. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
  142. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +177 -0
  143. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_private_endpoint_connection.rb +134 -0
  144. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_private_endpoint_connection_list_result.rb +103 -0
  145. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_private_link_configuration.rb +116 -0
  146. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_private_link_ip_configuration.rb +141 -0
  147. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_private_link_resource.rb +132 -0
  148. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_private_link_resource_list_result.rb +103 -0
  149. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +223 -0
  150. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
  151. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
  152. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +201 -0
  153. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
  154. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +198 -0
  155. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
  156. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb +93 -0
  157. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_action_set.rb +90 -0
  158. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb +82 -0
  159. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_set.rb +103 -0
  160. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
  161. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
  162. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +143 -0
  163. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +42 -0
  164. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
  165. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
  166. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
  167. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
  168. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
  169. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
  170. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_trusted_root_certificate.rb +117 -0
  171. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_url_configuration.rb +72 -0
  172. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +168 -0
  173. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +180 -0
  174. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_rule.rb +213 -0
  175. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
  176. data/lib/2020-05-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
  177. data/lib/2020-05-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
  178. data/lib/2020-05-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
  179. data/lib/2020-05-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
  180. data/lib/2020-05-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
  181. data/lib/2020-05-01/generated/azure_mgmt_network/models/auto_approved_private_link_service.rb +46 -0
  182. data/lib/2020-05-01/generated/azure_mgmt_network/models/auto_approved_private_link_services_result.rb +101 -0
  183. data/lib/2020-05-01/generated/azure_mgmt_network/models/availability.rb +68 -0
  184. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_delegation.rb +101 -0
  185. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_delegations_result.rb +99 -0
  186. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_private_endpoint_type.rb +80 -0
  187. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_private_endpoint_types_result.rb +100 -0
  188. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
  189. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
  190. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
  191. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
  192. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
  193. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_service_alias.rb +79 -0
  194. data/lib/2020-05-01/generated/azure_mgmt_network/models/available_service_aliases_result.rb +100 -0
  195. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
  196. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall.rb +332 -0
  197. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +154 -0
  198. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +130 -0
  199. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
  200. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +17 -0
  201. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag.rb +124 -0
  202. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag_list_result.rb +99 -0
  203. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_ip_groups.rb +59 -0
  204. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +133 -0
  205. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
  206. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction.rb +47 -0
  207. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction_type.rb +16 -0
  208. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule.rb +187 -0
  209. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule_collection.rb +131 -0
  210. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +191 -0
  211. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +130 -0
  212. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
  213. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_public_ipaddress.rb +46 -0
  214. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
  215. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
  216. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_sku.rb +59 -0
  217. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_sku_name.rb +16 -0
  218. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_sku_tier.rb +16 -0
  219. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_firewall_threat_intel_mode.rb +17 -0
  220. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +81 -0
  221. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
  222. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
  223. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
  224. data/lib/2020-05-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +108 -0
  225. data/lib/2020-05-01/generated/azure_mgmt_network/models/backend_address_pool.rb +196 -0
  226. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_active_session.rb +168 -0
  227. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_active_session_list_result.rb +99 -0
  228. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_connect_protocol.rb +16 -0
  229. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_host.rb +145 -0
  230. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_host_ipconfiguration.rb +130 -0
  231. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_host_list_result.rb +98 -0
  232. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_session_delete_result.rb +99 -0
  233. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_session_state.rb +72 -0
  234. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb +85 -0
  235. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_shareable_link_list_request.rb +55 -0
  236. data/lib/2020-05-01/generated/azure_mgmt_network/models/bastion_shareable_link_list_result.rb +99 -0
  237. data/lib/2020-05-01/generated/azure_mgmt_network/models/bgp_connection.rb +132 -0
  238. data/lib/2020-05-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  239. data/lib/2020-05-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +136 -0
  240. data/lib/2020-05-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
  241. data/lib/2020-05-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
  242. data/lib/2020-05-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
  243. data/lib/2020-05-01/generated/azure_mgmt_network/models/bgp_settings.rb +95 -0
  244. data/lib/2020-05-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
  245. data/lib/2020-05-01/generated/azure_mgmt_network/models/break_out_category_policies.rb +68 -0
  246. data/lib/2020-05-01/generated/azure_mgmt_network/models/check_private_link_service_visibility_request.rb +46 -0
  247. data/lib/2020-05-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
  248. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor.rb +212 -0
  249. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
  250. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_endpoint.rb +82 -0
  251. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter.rb +69 -0
  252. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter_item.rb +59 -0
  253. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter_item_type.rb +15 -0
  254. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter_type.rb +15 -0
  255. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_http_configuration.rb +123 -0
  256. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_icmp_configuration.rb +47 -0
  257. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
  258. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_output.rb +61 -0
  259. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +182 -0
  260. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
  261. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +313 -0
  262. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
  263. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
  264. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_success_threshold.rb +59 -0
  265. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_tcp_configuration.rb +58 -0
  266. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_test_configuration.rb +135 -0
  267. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_test_configuration_protocol.rb +17 -0
  268. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb +114 -0
  269. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_type.rb +16 -0
  270. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_monitor_workspace_settings.rb +47 -0
  271. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
  272. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
  273. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
  274. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +158 -0
  275. data/lib/2020-05-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
  276. data/lib/2020-05-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
  277. data/lib/2020-05-01/generated/azure_mgmt_network/models/connectivity_hop.rb +186 -0
  278. data/lib/2020-05-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
  279. data/lib/2020-05-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
  280. data/lib/2020-05-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +95 -0
  281. data/lib/2020-05-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
  282. data/lib/2020-05-01/generated/azure_mgmt_network/models/container.rb +43 -0
  283. data/lib/2020-05-01/generated/azure_mgmt_network/models/container_network_interface.rb +144 -0
  284. data/lib/2020-05-01/generated/azure_mgmt_network/models/container_network_interface_configuration.rb +136 -0
  285. data/lib/2020-05-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb +86 -0
  286. data/lib/2020-05-01/generated/azure_mgmt_network/models/custom_dns_config_properties_format.rb +66 -0
  287. data/lib/2020-05-01/generated/azure_mgmt_network/models/ddos_custom_policy.rb +170 -0
  288. data/lib/2020-05-01/generated/azure_mgmt_network/models/ddos_custom_policy_protocol.rb +17 -0
  289. data/lib/2020-05-01/generated/azure_mgmt_network/models/ddos_custom_policy_trigger_sensitivity_override.rb +18 -0
  290. data/lib/2020-05-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
  291. data/lib/2020-05-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
  292. data/lib/2020-05-01/generated/azure_mgmt_network/models/ddos_settings.rb +72 -0
  293. data/lib/2020-05-01/generated/azure_mgmt_network/models/ddos_settings_protection_coverage.rb +16 -0
  294. data/lib/2020-05-01/generated/azure_mgmt_network/models/delegation.rb +115 -0
  295. data/lib/2020-05-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
  296. data/lib/2020-05-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
  297. data/lib/2020-05-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
  298. data/lib/2020-05-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
  299. data/lib/2020-05-01/generated/azure_mgmt_network/models/direction.rb +16 -0
  300. data/lib/2020-05-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
  301. data/lib/2020-05-01/generated/azure_mgmt_network/models/dns_settings.rb +78 -0
  302. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
  303. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
  304. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
  305. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +260 -0
  306. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_route.rb +135 -0
  307. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
  308. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
  309. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
  310. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_routes_parameters.rb +62 -0
  311. data/lib/2020-05-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  312. data/lib/2020-05-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
  313. data/lib/2020-05-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
  314. data/lib/2020-05-01/generated/azure_mgmt_network/models/error.rb +99 -0
  315. data/lib/2020-05-01/generated/azure_mgmt_network/models/error_details.rb +68 -0
  316. data/lib/2020-05-01/generated/azure_mgmt_network/models/error_response.rb +47 -0
  317. data/lib/2020-05-01/generated/azure_mgmt_network/models/evaluated_network_security_group.rb +92 -0
  318. data/lib/2020-05-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
  319. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit.rb +296 -0
  320. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
  321. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +117 -0
  322. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +170 -0
  323. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_connection_list_result.rb +101 -0
  324. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
  325. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +341 -0
  326. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
  327. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
  328. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_peering_id.rb +46 -0
  329. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
  330. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
  331. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +46 -0
  332. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
  333. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
  334. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
  335. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +70 -0
  336. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
  337. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +18 -0
  338. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
  339. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +66 -0
  340. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
  341. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
  342. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_connection.rb +127 -0
  343. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_connection_id.rb +47 -0
  344. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_connection_list.rb +56 -0
  345. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
  346. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
  347. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +251 -0
  348. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
  349. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
  350. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
  351. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_gateway.rb +160 -0
  352. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_gateway_list.rb +55 -0
  353. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration.rb +49 -0
  354. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration_bounds.rb +60 -0
  355. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_link.rb +169 -0
  356. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_link_admin_state.rb +16 -0
  357. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_link_connector_type.rb +16 -0
  358. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_link_list_result.rb +99 -0
  359. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_link_mac_sec_cipher.rb +16 -0
  360. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_link_mac_sec_config.rb +73 -0
  361. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
  362. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
  363. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_port.rb +268 -0
  364. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_port_list_result.rb +98 -0
  365. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_ports_encapsulation.rb +16 -0
  366. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_ports_location.rb +146 -0
  367. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_ports_location_bandwidths.rb +61 -0
  368. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_ports_location_list_result.rb +99 -0
  369. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +139 -0
  370. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
  371. data/lib/2020-05-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
  372. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy.rb +264 -0
  373. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_certificate_authority.rb +58 -0
  374. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_collection.rb +106 -0
  375. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_collection_action.rb +47 -0
  376. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_collection_action_type.rb +16 -0
  377. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_intrusion_system_mode.rb +16 -0
  378. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_list_result.rb +99 -0
  379. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_collection.rb +106 -0
  380. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_collection_action.rb +47 -0
  381. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_collection_action_type.rb +15 -0
  382. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_rule.rb +70 -0
  383. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_rule_application_protocol.rb +63 -0
  384. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_rule_application_protocol_type.rb +16 -0
  385. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_rule_collection.rb +74 -0
  386. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_rule_collection_group.rb +133 -0
  387. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_rule_collection_group_list_result.rb +101 -0
  388. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_rule_network_protocol.rb +18 -0
  389. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_threat_intel_whitelist.rb +74 -0
  390. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_transport_security.rb +89 -0
  391. data/lib/2020-05-01/generated/azure_mgmt_network/models/firewall_policy_trusted_root_certificate.rb +59 -0
  392. data/lib/2020-05-01/generated/azure_mgmt_network/models/flow_log.rb +198 -0
  393. data/lib/2020-05-01/generated/azure_mgmt_network/models/flow_log_format_parameters.rb +60 -0
  394. data/lib/2020-05-01/generated/azure_mgmt_network/models/flow_log_format_type.rb +15 -0
  395. data/lib/2020-05-01/generated/azure_mgmt_network/models/flow_log_information.rb +110 -0
  396. data/lib/2020-05-01/generated/azure_mgmt_network/models/flow_log_list_result.rb +99 -0
  397. data/lib/2020-05-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
  398. data/lib/2020-05-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +274 -0
  399. data/lib/2020-05-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
  400. data/lib/2020-05-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
  401. data/lib/2020-05-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +67 -0
  402. data/lib/2020-05-01/generated/azure_mgmt_network/models/hop_link.rb +148 -0
  403. data/lib/2020-05-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
  404. data/lib/2020-05-01/generated/azure_mgmt_network/models/httpconfiguration_method.rb +16 -0
  405. data/lib/2020-05-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
  406. data/lib/2020-05-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
  407. data/lib/2020-05-01/generated/azure_mgmt_network/models/hub_bgp_connection_status.rb +18 -0
  408. data/lib/2020-05-01/generated/azure_mgmt_network/models/hub_ip_configuration.rb +140 -0
  409. data/lib/2020-05-01/generated/azure_mgmt_network/models/hub_ipaddresses.rb +59 -0
  410. data/lib/2020-05-01/generated/azure_mgmt_network/models/hub_public_ipaddresses.rb +67 -0
  411. data/lib/2020-05-01/generated/azure_mgmt_network/models/hub_route.rb +100 -0
  412. data/lib/2020-05-01/generated/azure_mgmt_network/models/hub_route_table.rb +176 -0
  413. data/lib/2020-05-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +142 -0
  414. data/lib/2020-05-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
  415. data/lib/2020-05-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
  416. data/lib/2020-05-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
  417. data/lib/2020-05-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +199 -0
  418. data/lib/2020-05-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +202 -0
  419. data/lib/2020-05-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
  420. data/lib/2020-05-01/generated/azure_mgmt_network/models/ip_allocation.rb +204 -0
  421. data/lib/2020-05-01/generated/azure_mgmt_network/models/ip_allocation_list_result.rb +98 -0
  422. data/lib/2020-05-01/generated/azure_mgmt_network/models/ip_allocation_type.rb +16 -0
  423. data/lib/2020-05-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
  424. data/lib/2020-05-01/generated/azure_mgmt_network/models/ip_group.rb +154 -0
  425. data/lib/2020-05-01/generated/azure_mgmt_network/models/ip_group_list_result.rb +98 -0
  426. data/lib/2020-05-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
  427. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
  428. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
  429. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipconfiguration.rb +129 -0
  430. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipconfiguration_bgp_peering_address.rb +108 -0
  431. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipconfiguration_profile.rb +107 -0
  432. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
  433. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
  434. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
  435. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipv6circuit_connection_config.rb +61 -0
  436. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +94 -0
  437. data/lib/2020-05-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
  438. data/lib/2020-05-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
  439. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_hub_route_tables_result.rb +99 -0
  440. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
  441. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_p2svpn_gateways_result.rb +100 -0
  442. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_virtual_hub_bgp_connection_results.rb +98 -0
  443. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_virtual_hub_ip_configuration_results.rb +99 -0
  444. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_virtual_hub_route_table_v2s_result.rb +101 -0
  445. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
  446. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
  447. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
  448. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
  449. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_vpn_server_configurations_result.rb +102 -0
  450. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_vpn_site_link_connections_result.rb +101 -0
  451. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_vpn_site_links_result.rb +100 -0
  452. data/lib/2020-05-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
  453. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer.rb +294 -0
  454. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_backend_address.rb +84 -0
  455. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
  456. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
  457. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
  458. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
  459. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_list_result.rb +100 -0
  460. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_protocol.rb +17 -0
  461. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
  462. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
  463. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  464. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +238 -0
  465. data/lib/2020-05-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
  466. data/lib/2020-05-01/generated/azure_mgmt_network/models/local_network_gateway.rb +171 -0
  467. data/lib/2020-05-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
  468. data/lib/2020-05-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
  469. data/lib/2020-05-01/generated/azure_mgmt_network/models/managed_rule_enabled_state.rb +15 -0
  470. data/lib/2020-05-01/generated/azure_mgmt_network/models/managed_rule_group_override.rb +67 -0
  471. data/lib/2020-05-01/generated/azure_mgmt_network/models/managed_rule_override.rb +59 -0
  472. data/lib/2020-05-01/generated/azure_mgmt_network/models/managed_rule_set.rb +78 -0
  473. data/lib/2020-05-01/generated/azure_mgmt_network/models/managed_rules_definition.rb +77 -0
  474. data/lib/2020-05-01/generated/azure_mgmt_network/models/managed_service_identity.rb +102 -0
  475. data/lib/2020-05-01/generated/azure_mgmt_network/models/managed_service_identity_user_assigned_identities_value.rb +61 -0
  476. data/lib/2020-05-01/generated/azure_mgmt_network/models/match_condition.rb +118 -0
  477. data/lib/2020-05-01/generated/azure_mgmt_network/models/match_variable.rb +60 -0
  478. data/lib/2020-05-01/generated/azure_mgmt_network/models/matched_rule.rb +58 -0
  479. data/lib/2020-05-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
  480. data/lib/2020-05-01/generated/azure_mgmt_network/models/nat_gateway.rb +232 -0
  481. data/lib/2020-05-01/generated/azure_mgmt_network/models/nat_gateway_list_result.rb +99 -0
  482. data/lib/2020-05-01/generated/azure_mgmt_network/models/nat_gateway_sku.rb +47 -0
  483. data/lib/2020-05-01/generated/azure_mgmt_network/models/nat_gateway_sku_name.rb +15 -0
  484. data/lib/2020-05-01/generated/azure_mgmt_network/models/nat_rule.rb +185 -0
  485. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb +81 -0
  486. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb +95 -0
  487. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_response.rb +57 -0
  488. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_result.rb +61 -0
  489. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_intent_policy.rb +98 -0
  490. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_intent_policy_configuration.rb +60 -0
  491. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface.rb +291 -0
  492. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
  493. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +120 -0
  494. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +274 -0
  495. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
  496. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_private_link_connection_properties.rb +83 -0
  497. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
  498. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
  499. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface_tap_configuration.rb +107 -0
  500. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_interface_tap_configuration_list_result.rb +102 -0
  501. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  502. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_profile.rb +168 -0
  503. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_profile_list_result.rb +99 -0
  504. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_rule.rb +201 -0
  505. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_security_group.rb +233 -0
  506. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
  507. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_security_group_result.rb +70 -0
  508. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb +101 -0
  509. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_virtual_appliance.rb +257 -0
  510. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_virtual_appliance_list_result.rb +99 -0
  511. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_virtual_appliance_site_list_result.rb +99 -0
  512. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_virtual_appliance_sku.rb +153 -0
  513. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_virtual_appliance_sku_instances.rb +61 -0
  514. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_virtual_appliance_sku_list_result.rb +99 -0
  515. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_watcher.rb +112 -0
  516. data/lib/2020-05-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
  517. data/lib/2020-05-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
  518. data/lib/2020-05-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
  519. data/lib/2020-05-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  520. data/lib/2020-05-01/generated/azure_mgmt_network/models/office365policy_properties.rb +47 -0
  521. data/lib/2020-05-01/generated/azure_mgmt_network/models/office_traffic_category.rb +18 -0
  522. data/lib/2020-05-01/generated/azure_mgmt_network/models/operation.rb +83 -0
  523. data/lib/2020-05-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
  524. data/lib/2020-05-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
  525. data/lib/2020-05-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
  526. data/lib/2020-05-01/generated/azure_mgmt_network/models/origin.rb +17 -0
  527. data/lib/2020-05-01/generated/azure_mgmt_network/models/outbound_rule.rb +177 -0
  528. data/lib/2020-05-01/generated/azure_mgmt_network/models/output_type.rb +15 -0
  529. data/lib/2020-05-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry.rb +74 -0
  530. data/lib/2020-05-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry_match_variable.rb +17 -0
  531. data/lib/2020-05-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry_selector_match_operator.rb +19 -0
  532. data/lib/2020-05-01/generated/azure_mgmt_network/models/p2sconnection_configuration.rb +108 -0
  533. data/lib/2020-05-01/generated/azure_mgmt_network/models/p2svpn_connection_health.rb +47 -0
  534. data/lib/2020-05-01/generated/azure_mgmt_network/models/p2svpn_connection_health_request.rb +67 -0
  535. data/lib/2020-05-01/generated/azure_mgmt_network/models/p2svpn_connection_request.rb +54 -0
  536. data/lib/2020-05-01/generated/azure_mgmt_network/models/p2svpn_gateway.rb +203 -0
  537. data/lib/2020-05-01/generated/azure_mgmt_network/models/p2svpn_profile_parameters.rb +47 -0
  538. data/lib/2020-05-01/generated/azure_mgmt_network/models/packet_capture.rb +119 -0
  539. data/lib/2020-05-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
  540. data/lib/2020-05-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
  541. data/lib/2020-05-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +119 -0
  542. data/lib/2020-05-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
  543. data/lib/2020-05-01/generated/azure_mgmt_network/models/packet_capture_result.rb +170 -0
  544. data/lib/2020-05-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
  545. data/lib/2020-05-01/generated/azure_mgmt_network/models/patch_route_filter.rb +179 -0
  546. data/lib/2020-05-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +129 -0
  547. data/lib/2020-05-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  548. data/lib/2020-05-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  549. data/lib/2020-05-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  550. data/lib/2020-05-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection.rb +170 -0
  551. data/lib/2020-05-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection_list_result.rb +104 -0
  552. data/lib/2020-05-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
  553. data/lib/2020-05-01/generated/azure_mgmt_network/models/policy_settings.rb +99 -0
  554. data/lib/2020-05-01/generated/azure_mgmt_network/models/preferred_ipversion.rb +16 -0
  555. data/lib/2020-05-01/generated/azure_mgmt_network/models/prepare_network_policies_request.rb +68 -0
  556. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_dns_zone_config.rb +80 -0
  557. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_dns_zone_group.rb +103 -0
  558. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_dns_zone_group_list_result.rb +100 -0
  559. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_endpoint.rb +212 -0
  560. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_endpoint_connection.rb +133 -0
  561. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_endpoint_connection_list_result.rb +101 -0
  562. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_endpoint_list_result.rb +100 -0
  563. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_link_service.rb +267 -0
  564. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_link_service_connection.rb +150 -0
  565. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_link_service_connection_state.rb +71 -0
  566. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_link_service_ip_configuration.rb +151 -0
  567. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_link_service_list_result.rb +100 -0
  568. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_link_service_properties_auto_approval.rb +51 -0
  569. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_link_service_properties_visibility.rb +51 -0
  570. data/lib/2020-05-01/generated/azure_mgmt_network/models/private_link_service_visibility.rb +46 -0
  571. data/lib/2020-05-01/generated/azure_mgmt_network/models/probe.rb +186 -0
  572. data/lib/2020-05-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
  573. data/lib/2020-05-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
  574. data/lib/2020-05-01/generated/azure_mgmt_network/models/propagated_route_table.rb +75 -0
  575. data/lib/2020-05-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
  576. data/lib/2020-05-01/generated/azure_mgmt_network/models/protocol_configuration.rb +48 -0
  577. data/lib/2020-05-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb +87 -0
  578. data/lib/2020-05-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  579. data/lib/2020-05-01/generated/azure_mgmt_network/models/public_ipaddress.rb +278 -0
  580. data/lib/2020-05-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
  581. data/lib/2020-05-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
  582. data/lib/2020-05-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
  583. data/lib/2020-05-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  584. data/lib/2020-05-01/generated/azure_mgmt_network/models/public_ipprefix.rb +249 -0
  585. data/lib/2020-05-01/generated/azure_mgmt_network/models/public_ipprefix_list_result.rb +99 -0
  586. data/lib/2020-05-01/generated/azure_mgmt_network/models/public_ipprefix_sku.rb +47 -0
  587. data/lib/2020-05-01/generated/azure_mgmt_network/models/public_ipprefix_sku_name.rb +15 -0
  588. data/lib/2020-05-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
  589. data/lib/2020-05-01/generated/azure_mgmt_network/models/radius_server.rb +68 -0
  590. data/lib/2020-05-01/generated/azure_mgmt_network/models/record_set.rb +111 -0
  591. data/lib/2020-05-01/generated/azure_mgmt_network/models/referenced_public_ip_address.rb +46 -0
  592. data/lib/2020-05-01/generated/azure_mgmt_network/models/resource.rb +109 -0
  593. data/lib/2020-05-01/generated/azure_mgmt_network/models/resource_identity_type.rb +18 -0
  594. data/lib/2020-05-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +116 -0
  595. data/lib/2020-05-01/generated/azure_mgmt_network/models/resource_navigation_links_list_result.rb +68 -0
  596. data/lib/2020-05-01/generated/azure_mgmt_network/models/resource_set.rb +54 -0
  597. data/lib/2020-05-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
  598. data/lib/2020-05-01/generated/azure_mgmt_network/models/route.rb +119 -0
  599. data/lib/2020-05-01/generated/azure_mgmt_network/models/route_filter.rb +177 -0
  600. data/lib/2020-05-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
  601. data/lib/2020-05-01/generated/azure_mgmt_network/models/route_filter_rule.rb +139 -0
  602. data/lib/2020-05-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
  603. data/lib/2020-05-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
  604. data/lib/2020-05-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
  605. data/lib/2020-05-01/generated/azure_mgmt_network/models/route_table.rb +166 -0
  606. data/lib/2020-05-01/generated/azure_mgmt_network/models/route_table_list_result.rb +98 -0
  607. data/lib/2020-05-01/generated/azure_mgmt_network/models/routing_configuration.rb +75 -0
  608. data/lib/2020-05-01/generated/azure_mgmt_network/models/routing_state.rb +18 -0
  609. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +59 -0
  610. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
  611. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
  612. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_partner_provider.rb +151 -0
  613. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_partner_provider_connection_status.rb +18 -0
  614. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_partner_provider_list_result.rb +99 -0
  615. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_provider_name.rb +17 -0
  616. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
  617. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
  618. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_rule_associations.rb +102 -0
  619. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
  620. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
  621. data/lib/2020-05-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +20 -0
  622. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_association_link.rb +146 -0
  623. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_association_links_list_result.rb +68 -0
  624. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_endpoint_policy.rb +167 -0
  625. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition.rb +123 -0
  626. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition_list_result.rb +103 -0
  627. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_endpoint_policy_list_result.rb +100 -0
  628. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +79 -0
  629. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
  630. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_tag_information.rb +73 -0
  631. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_tag_information_properties_format.rb +91 -0
  632. data/lib/2020-05-01/generated/azure_mgmt_network/models/service_tags_list_result.rb +117 -0
  633. data/lib/2020-05-01/generated/azure_mgmt_network/models/session_ids.rb +54 -0
  634. data/lib/2020-05-01/generated/azure_mgmt_network/models/severity.rb +16 -0
  635. data/lib/2020-05-01/generated/azure_mgmt_network/models/static_route.rb +77 -0
  636. data/lib/2020-05-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
  637. data/lib/2020-05-01/generated/azure_mgmt_network/models/subnet.rb +380 -0
  638. data/lib/2020-05-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
  639. data/lib/2020-05-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
  640. data/lib/2020-05-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
  641. data/lib/2020-05-01/generated/azure_mgmt_network/models/topology.rb +92 -0
  642. data/lib/2020-05-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
  643. data/lib/2020-05-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
  644. data/lib/2020-05-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
  645. data/lib/2020-05-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +91 -0
  646. data/lib/2020-05-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +48 -0
  647. data/lib/2020-05-01/generated/azure_mgmt_network/models/traffic_selector_policy.rb +75 -0
  648. data/lib/2020-05-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
  649. data/lib/2020-05-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
  650. data/lib/2020-05-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
  651. data/lib/2020-05-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
  652. data/lib/2020-05-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
  653. data/lib/2020-05-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
  654. data/lib/2020-05-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
  655. data/lib/2020-05-01/generated/azure_mgmt_network/models/unprepare_network_policies_request.rb +47 -0
  656. data/lib/2020-05-01/generated/azure_mgmt_network/models/usage.rb +95 -0
  657. data/lib/2020-05-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
  658. data/lib/2020-05-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
  659. data/lib/2020-05-01/generated/azure_mgmt_network/models/verbosity_level.rb +17 -0
  660. data/lib/2020-05-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
  661. data/lib/2020-05-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
  662. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_appliance_nic_properties.rb +71 -0
  663. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_appliance_site.rb +115 -0
  664. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_appliance_sku_properties.rb +68 -0
  665. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub.rb +343 -0
  666. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_effective_route.rb +106 -0
  667. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_effective_route_list.rb +56 -0
  668. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_id.rb +48 -0
  669. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route.rb +65 -0
  670. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route_table.rb +55 -0
  671. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route_table_v2.rb +122 -0
  672. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route_v2.rb +95 -0
  673. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network.rb +266 -0
  674. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_bgp_communities.rb +60 -0
  675. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
  676. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +310 -0
  677. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +392 -0
  678. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +370 -0
  679. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
  680. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_protocol.rb +16 -0
  681. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
  682. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
  683. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +130 -0
  684. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
  685. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
  686. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +77 -0
  687. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +31 -0
  688. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +31 -0
  689. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
  690. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
  691. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
  692. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +175 -0
  693. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
  694. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
  695. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_tap.rb +186 -0
  696. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_tap_list_result.rb +99 -0
  697. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
  698. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
  699. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_router.rb +191 -0
  700. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_router_list_result.rb +98 -0
  701. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_router_peering.rb +119 -0
  702. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_router_peering_list_result.rb +99 -0
  703. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_wan.rb +210 -0
  704. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_wan_security_provider.rb +69 -0
  705. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_wan_security_provider_type.rb +16 -0
  706. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_wan_security_providers.rb +56 -0
  707. data/lib/2020-05-01/generated/azure_mgmt_network/models/virtual_wan_vpn_profile_parameters.rb +59 -0
  708. data/lib/2020-05-01/generated/azure_mgmt_network/models/vm.rb +85 -0
  709. data/lib/2020-05-01/generated/azure_mgmt_network/models/vnet_route.rb +56 -0
  710. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_authentication_type.rb +17 -0
  711. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +212 -0
  712. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb +93 -0
  713. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail.rb +179 -0
  714. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail_list_result.rb +57 -0
  715. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
  716. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +94 -0
  717. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
  718. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +93 -0
  719. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +93 -0
  720. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_connection.rb +297 -0
  721. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
  722. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
  723. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_gateway.rb +168 -0
  724. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_gateway_generation.rb +17 -0
  725. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_gateway_tunneling_protocol.rb +16 -0
  726. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_link_bgp_settings.rb +58 -0
  727. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_link_provider_properties.rb +57 -0
  728. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_packet_capture_start_parameters.rb +46 -0
  729. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_packet_capture_stop_parameters.rb +46 -0
  730. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_profile_response.rb +46 -0
  731. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_server_config_radius_client_root_certificate.rb +59 -0
  732. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_server_config_radius_server_root_certificate.rb +58 -0
  733. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_server_config_vpn_client_revoked_certificate.rb +59 -0
  734. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_server_config_vpn_client_root_certificate.rb +57 -0
  735. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb +360 -0
  736. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_server_configurations_response.rb +55 -0
  737. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_site.rb +214 -0
  738. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
  739. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_site_link.rb +140 -0
  740. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_site_link_connection.rb +252 -0
  741. data/lib/2020-05-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
  742. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_action.rb +17 -0
  743. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_custom_rule.rb +119 -0
  744. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_enabled_state.rb +16 -0
  745. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_match_variable.rb +22 -0
  746. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_mode.rb +16 -0
  747. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_operator.rb +25 -0
  748. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_policy.rb +237 -0
  749. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_policy_list_result.rb +105 -0
  750. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_policy_resource_state.rb +20 -0
  751. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_rule_type.rb +16 -0
  752. data/lib/2020-05-01/generated/azure_mgmt_network/models/web_application_firewall_transform.rb +20 -0
  753. data/lib/2020-05-01/generated/azure_mgmt_network/module_definition.rb +9 -0
  754. data/lib/2020-05-01/generated/azure_mgmt_network/nat_gateways.rb +922 -0
  755. data/lib/2020-05-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +329 -0
  756. data/lib/2020-05-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +231 -0
  757. data/lib/2020-05-01/generated/azure_mgmt_network/network_interface_tap_configurations.rb +626 -0
  758. data/lib/2020-05-01/generated/azure_mgmt_network/network_interfaces.rb +1184 -0
  759. data/lib/2020-05-01/generated/azure_mgmt_network/network_management_client.rb +2717 -0
  760. data/lib/2020-05-01/generated/azure_mgmt_network/network_profiles.rb +866 -0
  761. data/lib/2020-05-01/generated/azure_mgmt_network/network_security_groups.rb +928 -0
  762. data/lib/2020-05-01/generated/azure_mgmt_network/network_virtual_appliances.rb +931 -0
  763. data/lib/2020-05-01/generated/azure_mgmt_network/network_watchers.rb +2670 -0
  764. data/lib/2020-05-01/generated/azure_mgmt_network/operations.rb +219 -0
  765. data/lib/2020-05-01/generated/azure_mgmt_network/p2s_vpn_gateways.rb +1532 -0
  766. data/lib/2020-05-01/generated/azure_mgmt_network/packet_captures.rb +796 -0
  767. data/lib/2020-05-01/generated/azure_mgmt_network/peer_express_route_circuit_connections.rb +351 -0
  768. data/lib/2020-05-01/generated/azure_mgmt_network/private_dns_zone_groups.rb +646 -0
  769. data/lib/2020-05-01/generated/azure_mgmt_network/private_endpoints.rb +804 -0
  770. data/lib/2020-05-01/generated/azure_mgmt_network/private_link_services.rb +2098 -0
  771. data/lib/2020-05-01/generated/azure_mgmt_network/public_ipaddresses.rb +912 -0
  772. data/lib/2020-05-01/generated/azure_mgmt_network/public_ipprefixes.rb +912 -0
  773. data/lib/2020-05-01/generated/azure_mgmt_network/resource_navigation_links.rb +123 -0
  774. data/lib/2020-05-01/generated/azure_mgmt_network/route_filter_rules.rb +626 -0
  775. data/lib/2020-05-01/generated/azure_mgmt_network/route_filters.rb +915 -0
  776. data/lib/2020-05-01/generated/azure_mgmt_network/route_tables.rb +912 -0
  777. data/lib/2020-05-01/generated/azure_mgmt_network/routes.rb +625 -0
  778. data/lib/2020-05-01/generated/azure_mgmt_network/security_partner_providers.rb +925 -0
  779. data/lib/2020-05-01/generated/azure_mgmt_network/security_rules.rb +643 -0
  780. data/lib/2020-05-01/generated/azure_mgmt_network/service_association_links.rb +123 -0
  781. data/lib/2020-05-01/generated/azure_mgmt_network/service_endpoint_policies.rb +928 -0
  782. data/lib/2020-05-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb +668 -0
  783. data/lib/2020-05-01/generated/azure_mgmt_network/service_tags.rb +124 -0
  784. data/lib/2020-05-01/generated/azure_mgmt_network/subnets.rb +929 -0
  785. data/lib/2020-05-01/generated/azure_mgmt_network/usages.rb +227 -0
  786. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_appliance_sites.rb +650 -0
  787. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_appliance_skus.rb +311 -0
  788. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_hub_bgp_connection.rb +432 -0
  789. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_hub_bgp_connections.rb +235 -0
  790. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_hub_ip_configuration.rb +642 -0
  791. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_hub_route_table_v2s.rb +647 -0
  792. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_hubs.rb +1080 -0
  793. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1612 -0
  794. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_network_gateways.rb +3423 -0
  795. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_network_peerings.rb +634 -0
  796. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_network_taps.rb +909 -0
  797. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_networks.rb +1216 -0
  798. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_router_peerings.rb +626 -0
  799. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_routers.rb +804 -0
  800. data/lib/2020-05-01/generated/azure_mgmt_network/virtual_wans.rb +938 -0
  801. data/lib/2020-05-01/generated/azure_mgmt_network/vpn_connections.rb +647 -0
  802. data/lib/2020-05-01/generated/azure_mgmt_network/vpn_gateways.rb +1074 -0
  803. data/lib/2020-05-01/generated/azure_mgmt_network/vpn_link_connections.rb +247 -0
  804. data/lib/2020-05-01/generated/azure_mgmt_network/vpn_server_configurations.rb +949 -0
  805. data/lib/2020-05-01/generated/azure_mgmt_network/vpn_server_configurations_associated_with_virtual_wan.rb +170 -0
  806. data/lib/2020-05-01/generated/azure_mgmt_network/vpn_site_link_connections.rb +130 -0
  807. data/lib/2020-05-01/generated/azure_mgmt_network/vpn_site_links.rb +332 -0
  808. data/lib/2020-05-01/generated/azure_mgmt_network/vpn_sites.rb +918 -0
  809. data/lib/2020-05-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +173 -0
  810. data/lib/2020-05-01/generated/azure_mgmt_network/web_application_firewall_policies.rb +758 -0
  811. data/lib/azure_mgmt_network.rb +1 -0
  812. data/lib/profiles/latest/modules/network_profile_module.rb +1749 -1577
  813. data/lib/version.rb +1 -1
  814. metadata +763 -2
@@ -60,7 +60,6 @@ module Azure::Network::Mgmt::V2019_09_01
60
60
  authorization_key: {
61
61
  client_side_validation: true,
62
62
  required: false,
63
- read_only: true,
64
63
  serialized_name: 'properties.authorizationKey',
65
64
  type: {
66
65
  name: 'String'
@@ -69,7 +68,6 @@ module Azure::Network::Mgmt::V2019_09_01
69
68
  authorization_use_status: {
70
69
  client_side_validation: true,
71
70
  required: false,
72
- read_only: true,
73
71
  serialized_name: 'properties.authorizationUseStatus',
74
72
  type: {
75
73
  name: 'String'
@@ -108,7 +108,6 @@ module Azure::Network::Mgmt::V2019_09_01
108
108
  circuit_connection_status: {
109
109
  client_side_validation: true,
110
110
  required: false,
111
- read_only: true,
112
111
  serialized_name: 'properties.circuitConnectionStatus',
113
112
  type: {
114
113
  name: 'String'
@@ -135,7 +135,6 @@ module Azure::Network::Mgmt::V2019_09_01
135
135
  azure_asn: {
136
136
  client_side_validation: true,
137
137
  required: false,
138
- read_only: true,
139
138
  serialized_name: 'properties.azureASN',
140
139
  type: {
141
140
  name: 'Number'
@@ -172,7 +171,6 @@ module Azure::Network::Mgmt::V2019_09_01
172
171
  primary_azure_port: {
173
172
  client_side_validation: true,
174
173
  required: false,
175
- read_only: true,
176
174
  serialized_name: 'properties.primaryAzurePort',
177
175
  type: {
178
176
  name: 'String'
@@ -181,7 +179,6 @@ module Azure::Network::Mgmt::V2019_09_01
181
179
  secondary_azure_port: {
182
180
  client_side_validation: true,
183
181
  required: false,
184
- read_only: true,
185
182
  serialized_name: 'properties.secondaryAzurePort',
186
183
  type: {
187
184
  name: 'String'
@@ -277,7 +274,6 @@ module Azure::Network::Mgmt::V2019_09_01
277
274
  connections: {
278
275
  client_side_validation: true,
279
276
  required: false,
280
- read_only: true,
281
277
  serialized_name: 'properties.connections',
282
278
  type: {
283
279
  name: 'Sequence',
@@ -0,0 +1,54 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Network::Mgmt::V2019_09_01
7
+ module Models
8
+ #
9
+ # List of session ids.
10
+ #
11
+ class SessionIds
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] List of session ids
16
+ attr_accessor :session_ids
17
+
18
+
19
+ #
20
+ # Mapper for SessionIds class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'SessionIds',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'SessionIds',
31
+ model_properties: {
32
+ session_ids: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'sessionIds',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'StringElementType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,85 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Network::Mgmt::V2019_09_01
7
+ module Models
8
+ #
9
+ # Describes a Virtual Machine.
10
+ #
11
+ class VM < Resource
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ #
17
+ # Mapper for VM class as Ruby Hash.
18
+ # This will be used for serialization/deserialization.
19
+ #
20
+ def self.mapper()
21
+ {
22
+ client_side_validation: true,
23
+ required: false,
24
+ serialized_name: 'VM',
25
+ type: {
26
+ name: 'Composite',
27
+ class_name: 'VM',
28
+ model_properties: {
29
+ id: {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'id',
33
+ type: {
34
+ name: 'String'
35
+ }
36
+ },
37
+ name: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ read_only: true,
41
+ serialized_name: 'name',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ type: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'type',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ location: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'location',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ tags: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'tags',
67
+ type: {
68
+ name: 'Dictionary',
69
+ value: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'StringElementType',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ end
83
+ end
84
+ end
85
+ end
@@ -482,55 +482,56 @@ module Azure::Network::Mgmt::V2019_09_01
482
482
  end
483
483
 
484
484
  #
485
- # Checks whether a domain name in the cloudapp.azure.com zone is available for
486
- # use.
485
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
487
486
  #
488
- # @param location [String] The location of the domain name.
489
- # @param domain_name_label [String] The domain name to be verified. It must
490
- # conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
487
+ # @param resource_group_name [String] The name of the resource group.
488
+ # @param bastion_host_name [String] The name of the Bastion Host.
489
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
490
+ # Bastion Shareable Link endpoints.
491
491
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
492
492
  # will be added to the HTTP request.
493
493
  #
494
- # @return [DnsNameAvailabilityResult] operation results.
494
+ # @return [Array<BastionShareableLink>] operation results.
495
495
  #
496
- def check_dns_name_availability(location, domain_name_label, custom_headers:nil)
497
- response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value!
498
- response.body unless response.nil?
496
+ def put_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
497
+ first_page = put_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
498
+ first_page.get_all_items
499
499
  end
500
500
 
501
501
  #
502
- # Checks whether a domain name in the cloudapp.azure.com zone is available for
503
- # use.
502
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
504
503
  #
505
- # @param location [String] The location of the domain name.
506
- # @param domain_name_label [String] The domain name to be verified. It must
507
- # conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
504
+ # @param resource_group_name [String] The name of the resource group.
505
+ # @param bastion_host_name [String] The name of the Bastion Host.
506
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
507
+ # Bastion Shareable Link endpoints.
508
508
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
509
509
  # will be added to the HTTP request.
510
510
  #
511
511
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
512
512
  #
513
- def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil)
514
- check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value!
513
+ def put_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
514
+ put_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
515
515
  end
516
516
 
517
517
  #
518
- # Checks whether a domain name in the cloudapp.azure.com zone is available for
519
- # use.
518
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
520
519
  #
521
- # @param location [String] The location of the domain name.
522
- # @param domain_name_label [String] The domain name to be verified. It must
523
- # conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
520
+ # @param resource_group_name [String] The name of the resource group.
521
+ # @param bastion_host_name [String] The name of the Bastion Host.
522
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
523
+ # Bastion Shareable Link endpoints.
524
524
  # @param [Hash{String => String}] A hash of custom headers that will be added
525
525
  # to the HTTP request.
526
526
  #
527
527
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
528
528
  #
529
- def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil)
530
- fail ArgumentError, 'location is nil' if location.nil?
531
- fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil?
529
+ def put_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
530
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
531
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
532
532
  fail ArgumentError, 'api_version is nil' if api_version.nil?
533
533
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
534
+ fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
534
535
 
535
536
 
536
537
  request_headers = {}
@@ -539,24 +540,31 @@ module Azure::Network::Mgmt::V2019_09_01
539
540
  # Set Headers
540
541
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
541
542
  request_headers['accept-language'] = accept_language unless accept_language.nil?
542
- path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability'
543
+
544
+ # Serialize Request
545
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListRequest.mapper()
546
+ request_content = self.serialize(request_mapper, bsl_request)
547
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
548
+
549
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'
543
550
 
544
551
  request_url = @base_url || self.base_url
545
552
 
546
553
  options = {
547
554
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
548
- path_params: {'location' => location,'subscriptionId' => subscription_id},
549
- query_params: {'domainNameLabel' => domain_name_label,'api-version' => api_version},
555
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
556
+ query_params: {'api-version' => api_version},
557
+ body: request_content,
550
558
  headers: request_headers.merge(custom_headers || {}),
551
559
  base_url: request_url
552
560
  }
553
- promise = self.make_request_async(:get, path_template, options)
561
+ promise = self.make_request_async(:post, path_template, options)
554
562
 
555
563
  promise = promise.then do |result|
556
564
  http_response = result.response
557
565
  status_code = http_response.status
558
566
  response_content = http_response.body
559
- unless status_code == 200
567
+ unless status_code == 200 || status_code == 202
560
568
  error_model = JSON.load(response_content)
561
569
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
562
570
  end
@@ -568,7 +576,7 @@ module Azure::Network::Mgmt::V2019_09_01
568
576
  if status_code == 200
569
577
  begin
570
578
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
571
- result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::DnsNameAvailabilityResult.mapper()
579
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListResult.mapper()
572
580
  result.body = self.deserialize(result_mapper, parsed_response)
573
581
  rescue Exception => e
574
582
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -582,52 +590,153 @@ module Azure::Network::Mgmt::V2019_09_01
582
590
  end
583
591
 
584
592
  #
585
- # Gives the supported security providers for the virtual wan.
593
+ # Deletes the Bastion Shareable Links for all the VMs specified in the request.
586
594
  #
587
- # @param resource_group_name [String] The resource group name.
588
- # @param virtual_wanname [String] The name of the VirtualWAN for which
589
- # supported security providers are needed.
595
+ # @param resource_group_name [String] The name of the resource group.
596
+ # @param bastion_host_name [String] The name of the Bastion Host.
597
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
598
+ # Bastion Shareable Link endpoints.
590
599
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
591
600
  # will be added to the HTTP request.
592
601
  #
593
- # @return [VirtualWanSecurityProviders] operation results.
594
602
  #
595
- def supported_security_providers(resource_group_name, virtual_wanname, custom_headers:nil)
596
- response = supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:custom_headers).value!
597
- response.body unless response.nil?
603
+ def delete_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
604
+ response = delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
605
+ nil
598
606
  end
599
607
 
600
608
  #
601
- # Gives the supported security providers for the virtual wan.
609
+ # Deletes the Bastion Shareable Links for all the VMs specified in the request.
602
610
  #
603
- # @param resource_group_name [String] The resource group name.
604
- # @param virtual_wanname [String] The name of the VirtualWAN for which
605
- # supported security providers are needed.
611
+ # @param resource_group_name [String] The name of the resource group.
612
+ # @param bastion_host_name [String] The name of the Bastion Host.
613
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
614
+ # Bastion Shareable Link endpoints.
606
615
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
607
616
  # will be added to the HTTP request.
608
617
  #
609
618
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
610
619
  #
611
- def supported_security_providers_with_http_info(resource_group_name, virtual_wanname, custom_headers:nil)
612
- supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:custom_headers).value!
620
+ def delete_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
621
+ delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
613
622
  end
614
623
 
615
624
  #
616
- # Gives the supported security providers for the virtual wan.
625
+ # Deletes the Bastion Shareable Links for all the VMs specified in the request.
617
626
  #
618
- # @param resource_group_name [String] The resource group name.
619
- # @param virtual_wanname [String] The name of the VirtualWAN for which
620
- # supported security providers are needed.
627
+ # @param resource_group_name [String] The name of the resource group.
628
+ # @param bastion_host_name [String] The name of the Bastion Host.
629
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
630
+ # Bastion Shareable Link endpoints.
621
631
  # @param [Hash{String => String}] A hash of custom headers that will be added
622
632
  # to the HTTP request.
623
633
  #
624
634
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
625
635
  #
626
- def supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:nil)
636
+ def delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
637
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
638
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
639
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
627
640
  fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
641
+ fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
642
+
643
+
644
+ request_headers = {}
645
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
646
+
647
+ # Set Headers
648
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
649
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
650
+
651
+ # Serialize Request
652
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListRequest.mapper()
653
+ request_content = self.serialize(request_mapper, bsl_request)
654
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
655
+
656
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks'
657
+
658
+ request_url = @base_url || self.base_url
659
+
660
+ options = {
661
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
662
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
663
+ query_params: {'api-version' => api_version},
664
+ body: request_content,
665
+ headers: request_headers.merge(custom_headers || {}),
666
+ base_url: request_url
667
+ }
668
+ promise = self.make_request_async(:post, path_template, options)
669
+
670
+ promise = promise.then do |result|
671
+ http_response = result.response
672
+ status_code = http_response.status
673
+ response_content = http_response.body
674
+ unless status_code == 200 || status_code == 202
675
+ error_model = JSON.load(response_content)
676
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
677
+ end
678
+
679
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
680
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
681
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
682
+
683
+ result
684
+ end
685
+
686
+ promise.execute
687
+ end
688
+
689
+ #
690
+ # Return the Bastion Shareable Links for all the VMs specified in the request.
691
+ #
692
+ # @param resource_group_name [String] The name of the resource group.
693
+ # @param bastion_host_name [String] The name of the Bastion Host.
694
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
695
+ # Bastion Shareable Link endpoints.
696
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
697
+ # will be added to the HTTP request.
698
+ #
699
+ # @return [Array<BastionShareableLink>] operation results.
700
+ #
701
+ def get_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
702
+ first_page = get_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
703
+ first_page.get_all_items
704
+ end
705
+
706
+ #
707
+ # Return the Bastion Shareable Links for all the VMs specified in the request.
708
+ #
709
+ # @param resource_group_name [String] The name of the resource group.
710
+ # @param bastion_host_name [String] The name of the Bastion Host.
711
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
712
+ # Bastion Shareable Link endpoints.
713
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
714
+ # will be added to the HTTP request.
715
+ #
716
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
717
+ #
718
+ def get_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
719
+ get_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
720
+ end
721
+
722
+ #
723
+ # Return the Bastion Shareable Links for all the VMs specified in the request.
724
+ #
725
+ # @param resource_group_name [String] The name of the resource group.
726
+ # @param bastion_host_name [String] The name of the Bastion Host.
727
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
728
+ # Bastion Shareable Link endpoints.
729
+ # @param [Hash{String => String}] A hash of custom headers that will be added
730
+ # to the HTTP request.
731
+ #
732
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
733
+ #
734
+ def get_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
628
735
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
629
- fail ArgumentError, 'virtual_wanname is nil' if virtual_wanname.nil?
736
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
630
737
  fail ArgumentError, 'api_version is nil' if api_version.nil?
738
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
739
+ fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
631
740
 
632
741
 
633
742
  request_headers = {}
@@ -636,18 +745,25 @@ module Azure::Network::Mgmt::V2019_09_01
636
745
  # Set Headers
637
746
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
638
747
  request_headers['accept-language'] = accept_language unless accept_language.nil?
639
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders'
748
+
749
+ # Serialize Request
750
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListRequest.mapper()
751
+ request_content = self.serialize(request_mapper, bsl_request)
752
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
753
+
754
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks'
640
755
 
641
756
  request_url = @base_url || self.base_url
642
757
 
643
758
  options = {
644
759
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
645
- path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'virtualWANName' => virtual_wanname},
760
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
646
761
  query_params: {'api-version' => api_version},
762
+ body: request_content,
647
763
  headers: request_headers.merge(custom_headers || {}),
648
764
  base_url: request_url
649
765
  }
650
- promise = self.make_request_async(:get, path_template, options)
766
+ promise = self.make_request_async(:post, path_template, options)
651
767
 
652
768
  promise = promise.then do |result|
653
769
  http_response = result.response
@@ -665,7 +781,7 @@ module Azure::Network::Mgmt::V2019_09_01
665
781
  if status_code == 200
666
782
  begin
667
783
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
668
- result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VirtualWanSecurityProviders.mapper()
784
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListResult.mapper()
669
785
  result.body = self.deserialize(result_mapper, parsed_response)
670
786
  rescue Exception => e
671
787
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -679,62 +795,49 @@ module Azure::Network::Mgmt::V2019_09_01
679
795
  end
680
796
 
681
797
  #
682
- # Generates a unique VPN profile for P2S clients for VirtualWan and associated
683
- # VpnServerConfiguration combination in the specified resource group.
798
+ # Returns the list of currently active sessions on the Bastion.
684
799
  #
685
- # @param resource_group_name [String] The resource group name.
686
- # @param virtual_wanname [String] The name of the VirtualWAN whose associated
687
- # VpnServerConfigurations is needed.
688
- # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
689
- # to the generate VirtualWan VPN profile generation operation.
800
+ # @param resource_group_name [String] The name of the resource group.
801
+ # @param bastion_host_name [String] The name of the Bastion Host.
690
802
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
691
803
  # will be added to the HTTP request.
692
804
  #
693
- # @return [VpnProfileResponse] operation results.
805
+ # @return [Array<BastionActiveSession>] operation results.
694
806
  #
695
- def generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
696
- response = generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
697
- response.body unless response.nil?
807
+ def get_active_sessions(resource_group_name, bastion_host_name, custom_headers:nil)
808
+ first_page = get_active_sessions_as_lazy(resource_group_name, bastion_host_name, custom_headers:custom_headers)
809
+ first_page.get_all_items
698
810
  end
699
811
 
700
812
  #
701
- # Generates a unique VPN profile for P2S clients for VirtualWan and associated
702
- # VpnServerConfiguration combination in the specified resource group.
813
+ # Returns the list of currently active sessions on the Bastion.
703
814
  #
704
- # @param resource_group_name [String] The resource group name.
705
- # @param virtual_wanname [String] The name of the VirtualWAN whose associated
706
- # VpnServerConfigurations is needed.
707
- # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
708
- # to the generate VirtualWan VPN profile generation operation.
815
+ # @param resource_group_name [String] The name of the resource group.
816
+ # @param bastion_host_name [String] The name of the Bastion Host.
709
817
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
710
818
  # will be added to the HTTP request.
711
819
  #
712
820
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
713
821
  #
714
- def generatevirtualwanvpnserverconfigurationvpnprofile_with_http_info(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
715
- generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
822
+ def get_active_sessions_with_http_info(resource_group_name, bastion_host_name, custom_headers:nil)
823
+ get_active_sessions_async(resource_group_name, bastion_host_name, custom_headers:custom_headers).value!
716
824
  end
717
825
 
718
826
  #
719
- # Generates a unique VPN profile for P2S clients for VirtualWan and associated
720
- # VpnServerConfiguration combination in the specified resource group.
827
+ # Returns the list of currently active sessions on the Bastion.
721
828
  #
722
- # @param resource_group_name [String] The resource group name.
723
- # @param virtual_wanname [String] The name of the VirtualWAN whose associated
724
- # VpnServerConfigurations is needed.
725
- # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
726
- # to the generate VirtualWan VPN profile generation operation.
829
+ # @param resource_group_name [String] The name of the resource group.
830
+ # @param bastion_host_name [String] The name of the Bastion Host.
727
831
  # @param [Hash{String => String}] A hash of custom headers that will be added
728
832
  # to the HTTP request.
729
833
  #
730
834
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
731
835
  #
732
- def generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
733
- fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
836
+ def get_active_sessions_async(resource_group_name, bastion_host_name, custom_headers:nil)
734
837
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
735
- fail ArgumentError, 'virtual_wanname is nil' if virtual_wanname.nil?
736
- fail ArgumentError, 'vpn_client_params is nil' if vpn_client_params.nil?
838
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
737
839
  fail ArgumentError, 'api_version is nil' if api_version.nil?
840
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
738
841
 
739
842
 
740
843
  request_headers = {}
@@ -743,21 +846,14 @@ module Azure::Network::Mgmt::V2019_09_01
743
846
  # Set Headers
744
847
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
745
848
  request_headers['accept-language'] = accept_language unless accept_language.nil?
746
-
747
- # Serialize Request
748
- request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VirtualWanVpnProfileParameters.mapper()
749
- request_content = self.serialize(request_mapper, vpn_client_params)
750
- request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
751
-
752
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'
849
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'
753
850
 
754
851
  request_url = @base_url || self.base_url
755
852
 
756
853
  options = {
757
854
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
758
- path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'virtualWANName' => virtual_wanname},
855
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
759
856
  query_params: {'api-version' => api_version},
760
- body: request_content,
761
857
  headers: request_headers.merge(custom_headers || {}),
762
858
  base_url: request_url
763
859
  }
@@ -779,7 +875,7 @@ module Azure::Network::Mgmt::V2019_09_01
779
875
  if status_code == 200
780
876
  begin
781
877
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
782
- result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VpnProfileResponse.mapper()
878
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionActiveSessionListResult.mapper()
783
879
  result.body = self.deserialize(result_mapper, parsed_response)
784
880
  rescue Exception => e
785
881
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -793,62 +889,53 @@ module Azure::Network::Mgmt::V2019_09_01
793
889
  end
794
890
 
795
891
  #
796
- # Generates a unique VPN profile for P2S clients for VirtualWan and associated
797
- # VpnServerConfiguration combination in the specified resource group.
892
+ # Returns the list of currently active sessions on the Bastion.
798
893
  #
799
- # @param resource_group_name [String] The resource group name.
800
- # @param virtual_wanname [String] The name of the VirtualWAN whose associated
801
- # VpnServerConfigurations is needed.
802
- # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
803
- # to the generate VirtualWan VPN profile generation operation.
894
+ # @param resource_group_name [String] The name of the resource group.
895
+ # @param bastion_host_name [String] The name of the Bastion Host.
896
+ # @param session_ids [SessionIds] The list of sessionids to disconnect.
804
897
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
805
898
  # will be added to the HTTP request.
806
899
  #
807
- # @return [VpnProfileResponse] operation results.
900
+ # @return [Array<BastionSessionState>] operation results.
808
901
  #
809
- def begin_generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
810
- response = begin_generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
811
- response.body unless response.nil?
902
+ def disconnect_active_sessions(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
903
+ first_page = disconnect_active_sessions_as_lazy(resource_group_name, bastion_host_name, session_ids, custom_headers:custom_headers)
904
+ first_page.get_all_items
812
905
  end
813
906
 
814
907
  #
815
- # Generates a unique VPN profile for P2S clients for VirtualWan and associated
816
- # VpnServerConfiguration combination in the specified resource group.
908
+ # Returns the list of currently active sessions on the Bastion.
817
909
  #
818
- # @param resource_group_name [String] The resource group name.
819
- # @param virtual_wanname [String] The name of the VirtualWAN whose associated
820
- # VpnServerConfigurations is needed.
821
- # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
822
- # to the generate VirtualWan VPN profile generation operation.
910
+ # @param resource_group_name [String] The name of the resource group.
911
+ # @param bastion_host_name [String] The name of the Bastion Host.
912
+ # @param session_ids [SessionIds] The list of sessionids to disconnect.
823
913
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
824
914
  # will be added to the HTTP request.
825
915
  #
826
916
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
827
917
  #
828
- def begin_generatevirtualwanvpnserverconfigurationvpnprofile_with_http_info(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
829
- begin_generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
918
+ def disconnect_active_sessions_with_http_info(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
919
+ disconnect_active_sessions_async(resource_group_name, bastion_host_name, session_ids, custom_headers:custom_headers).value!
830
920
  end
831
921
 
832
922
  #
833
- # Generates a unique VPN profile for P2S clients for VirtualWan and associated
834
- # VpnServerConfiguration combination in the specified resource group.
923
+ # Returns the list of currently active sessions on the Bastion.
835
924
  #
836
- # @param resource_group_name [String] The resource group name.
837
- # @param virtual_wanname [String] The name of the VirtualWAN whose associated
838
- # VpnServerConfigurations is needed.
839
- # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
840
- # to the generate VirtualWan VPN profile generation operation.
925
+ # @param resource_group_name [String] The name of the resource group.
926
+ # @param bastion_host_name [String] The name of the Bastion Host.
927
+ # @param session_ids [SessionIds] The list of sessionids to disconnect.
841
928
  # @param [Hash{String => String}] A hash of custom headers that will be added
842
929
  # to the HTTP request.
843
930
  #
844
931
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
845
932
  #
846
- def begin_generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
847
- fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
933
+ def disconnect_active_sessions_async(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
848
934
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
849
- fail ArgumentError, 'virtual_wanname is nil' if virtual_wanname.nil?
850
- fail ArgumentError, 'vpn_client_params is nil' if vpn_client_params.nil?
935
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
851
936
  fail ArgumentError, 'api_version is nil' if api_version.nil?
937
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
938
+ fail ArgumentError, 'session_ids is nil' if session_ids.nil?
852
939
 
853
940
 
854
941
  request_headers = {}
@@ -859,17 +946,17 @@ module Azure::Network::Mgmt::V2019_09_01
859
946
  request_headers['accept-language'] = accept_language unless accept_language.nil?
860
947
 
861
948
  # Serialize Request
862
- request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VirtualWanVpnProfileParameters.mapper()
863
- request_content = self.serialize(request_mapper, vpn_client_params)
949
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::SessionIds.mapper()
950
+ request_content = self.serialize(request_mapper, session_ids)
864
951
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
865
952
 
866
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'
953
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions'
867
954
 
868
955
  request_url = @base_url || self.base_url
869
956
 
870
957
  options = {
871
958
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
872
- path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'virtualWANName' => virtual_wanname},
959
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
873
960
  query_params: {'api-version' => api_version},
874
961
  body: request_content,
875
962
  headers: request_headers.merge(custom_headers || {}),
@@ -881,7 +968,7 @@ module Azure::Network::Mgmt::V2019_09_01
881
968
  http_response = result.response
882
969
  status_code = http_response.status
883
970
  response_content = http_response.body
884
- unless status_code == 200 || status_code == 202
971
+ unless status_code == 200
885
972
  error_model = JSON.load(response_content)
886
973
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
887
974
  end
@@ -893,7 +980,1658 @@ module Azure::Network::Mgmt::V2019_09_01
893
980
  if status_code == 200
894
981
  begin
895
982
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
896
- result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VpnProfileResponse.mapper()
983
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionSessionDeleteResult.mapper()
984
+ result.body = self.deserialize(result_mapper, parsed_response)
985
+ rescue Exception => e
986
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
987
+ end
988
+ end
989
+
990
+ result
991
+ end
992
+
993
+ promise.execute
994
+ end
995
+
996
+ #
997
+ # Checks whether a domain name in the cloudapp.azure.com zone is available for
998
+ # use.
999
+ #
1000
+ # @param location [String] The location of the domain name.
1001
+ # @param domain_name_label [String] The domain name to be verified. It must
1002
+ # conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
1003
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1004
+ # will be added to the HTTP request.
1005
+ #
1006
+ # @return [DnsNameAvailabilityResult] operation results.
1007
+ #
1008
+ def check_dns_name_availability(location, domain_name_label, custom_headers:nil)
1009
+ response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value!
1010
+ response.body unless response.nil?
1011
+ end
1012
+
1013
+ #
1014
+ # Checks whether a domain name in the cloudapp.azure.com zone is available for
1015
+ # use.
1016
+ #
1017
+ # @param location [String] The location of the domain name.
1018
+ # @param domain_name_label [String] The domain name to be verified. It must
1019
+ # conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
1020
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1021
+ # will be added to the HTTP request.
1022
+ #
1023
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1024
+ #
1025
+ def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil)
1026
+ check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value!
1027
+ end
1028
+
1029
+ #
1030
+ # Checks whether a domain name in the cloudapp.azure.com zone is available for
1031
+ # use.
1032
+ #
1033
+ # @param location [String] The location of the domain name.
1034
+ # @param domain_name_label [String] The domain name to be verified. It must
1035
+ # conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
1036
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1037
+ # to the HTTP request.
1038
+ #
1039
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1040
+ #
1041
+ def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil)
1042
+ fail ArgumentError, 'location is nil' if location.nil?
1043
+ fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil?
1044
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1045
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1046
+
1047
+
1048
+ request_headers = {}
1049
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1050
+
1051
+ # Set Headers
1052
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1053
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1054
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability'
1055
+
1056
+ request_url = @base_url || self.base_url
1057
+
1058
+ options = {
1059
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1060
+ path_params: {'location' => location,'subscriptionId' => subscription_id},
1061
+ query_params: {'domainNameLabel' => domain_name_label,'api-version' => api_version},
1062
+ headers: request_headers.merge(custom_headers || {}),
1063
+ base_url: request_url
1064
+ }
1065
+ promise = self.make_request_async(:get, path_template, options)
1066
+
1067
+ promise = promise.then do |result|
1068
+ http_response = result.response
1069
+ status_code = http_response.status
1070
+ response_content = http_response.body
1071
+ unless status_code == 200
1072
+ error_model = JSON.load(response_content)
1073
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1074
+ end
1075
+
1076
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1077
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1078
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1079
+ # Deserialize Response
1080
+ if status_code == 200
1081
+ begin
1082
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1083
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::DnsNameAvailabilityResult.mapper()
1084
+ result.body = self.deserialize(result_mapper, parsed_response)
1085
+ rescue Exception => e
1086
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1087
+ end
1088
+ end
1089
+
1090
+ result
1091
+ end
1092
+
1093
+ promise.execute
1094
+ end
1095
+
1096
+ #
1097
+ # Gives the supported security providers for the virtual wan.
1098
+ #
1099
+ # @param resource_group_name [String] The resource group name.
1100
+ # @param virtual_wanname [String] The name of the VirtualWAN for which
1101
+ # supported security providers are needed.
1102
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1103
+ # will be added to the HTTP request.
1104
+ #
1105
+ # @return [VirtualWanSecurityProviders] operation results.
1106
+ #
1107
+ def supported_security_providers(resource_group_name, virtual_wanname, custom_headers:nil)
1108
+ response = supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:custom_headers).value!
1109
+ response.body unless response.nil?
1110
+ end
1111
+
1112
+ #
1113
+ # Gives the supported security providers for the virtual wan.
1114
+ #
1115
+ # @param resource_group_name [String] The resource group name.
1116
+ # @param virtual_wanname [String] The name of the VirtualWAN for which
1117
+ # supported security providers are needed.
1118
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1119
+ # will be added to the HTTP request.
1120
+ #
1121
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1122
+ #
1123
+ def supported_security_providers_with_http_info(resource_group_name, virtual_wanname, custom_headers:nil)
1124
+ supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:custom_headers).value!
1125
+ end
1126
+
1127
+ #
1128
+ # Gives the supported security providers for the virtual wan.
1129
+ #
1130
+ # @param resource_group_name [String] The resource group name.
1131
+ # @param virtual_wanname [String] The name of the VirtualWAN for which
1132
+ # supported security providers are needed.
1133
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1134
+ # to the HTTP request.
1135
+ #
1136
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1137
+ #
1138
+ def supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:nil)
1139
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1140
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1141
+ fail ArgumentError, 'virtual_wanname is nil' if virtual_wanname.nil?
1142
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1143
+
1144
+
1145
+ request_headers = {}
1146
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1147
+
1148
+ # Set Headers
1149
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1150
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1151
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders'
1152
+
1153
+ request_url = @base_url || self.base_url
1154
+
1155
+ options = {
1156
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1157
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'virtualWANName' => virtual_wanname},
1158
+ query_params: {'api-version' => api_version},
1159
+ headers: request_headers.merge(custom_headers || {}),
1160
+ base_url: request_url
1161
+ }
1162
+ promise = self.make_request_async(:get, path_template, options)
1163
+
1164
+ promise = promise.then do |result|
1165
+ http_response = result.response
1166
+ status_code = http_response.status
1167
+ response_content = http_response.body
1168
+ unless status_code == 200
1169
+ error_model = JSON.load(response_content)
1170
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1171
+ end
1172
+
1173
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1174
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1175
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1176
+ # Deserialize Response
1177
+ if status_code == 200
1178
+ begin
1179
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1180
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VirtualWanSecurityProviders.mapper()
1181
+ result.body = self.deserialize(result_mapper, parsed_response)
1182
+ rescue Exception => e
1183
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1184
+ end
1185
+ end
1186
+
1187
+ result
1188
+ end
1189
+
1190
+ promise.execute
1191
+ end
1192
+
1193
+ #
1194
+ # Generates a unique VPN profile for P2S clients for VirtualWan and associated
1195
+ # VpnServerConfiguration combination in the specified resource group.
1196
+ #
1197
+ # @param resource_group_name [String] The resource group name.
1198
+ # @param virtual_wanname [String] The name of the VirtualWAN whose associated
1199
+ # VpnServerConfigurations is needed.
1200
+ # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
1201
+ # to the generate VirtualWan VPN profile generation operation.
1202
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1203
+ # will be added to the HTTP request.
1204
+ #
1205
+ # @return [VpnProfileResponse] operation results.
1206
+ #
1207
+ def generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
1208
+ response = generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
1209
+ response.body unless response.nil?
1210
+ end
1211
+
1212
+ #
1213
+ # Generates a unique VPN profile for P2S clients for VirtualWan and associated
1214
+ # VpnServerConfiguration combination in the specified resource group.
1215
+ #
1216
+ # @param resource_group_name [String] The resource group name.
1217
+ # @param virtual_wanname [String] The name of the VirtualWAN whose associated
1218
+ # VpnServerConfigurations is needed.
1219
+ # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
1220
+ # to the generate VirtualWan VPN profile generation operation.
1221
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1222
+ # will be added to the HTTP request.
1223
+ #
1224
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1225
+ #
1226
+ def generatevirtualwanvpnserverconfigurationvpnprofile_with_http_info(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
1227
+ generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
1228
+ end
1229
+
1230
+ #
1231
+ # Generates a unique VPN profile for P2S clients for VirtualWan and associated
1232
+ # VpnServerConfiguration combination in the specified resource group.
1233
+ #
1234
+ # @param resource_group_name [String] The resource group name.
1235
+ # @param virtual_wanname [String] The name of the VirtualWAN whose associated
1236
+ # VpnServerConfigurations is needed.
1237
+ # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
1238
+ # to the generate VirtualWan VPN profile generation operation.
1239
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1240
+ # to the HTTP request.
1241
+ #
1242
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1243
+ #
1244
+ def generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
1245
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1246
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1247
+ fail ArgumentError, 'virtual_wanname is nil' if virtual_wanname.nil?
1248
+ fail ArgumentError, 'vpn_client_params is nil' if vpn_client_params.nil?
1249
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1250
+
1251
+
1252
+ request_headers = {}
1253
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1254
+
1255
+ # Set Headers
1256
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1257
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1258
+
1259
+ # Serialize Request
1260
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VirtualWanVpnProfileParameters.mapper()
1261
+ request_content = self.serialize(request_mapper, vpn_client_params)
1262
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1263
+
1264
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'
1265
+
1266
+ request_url = @base_url || self.base_url
1267
+
1268
+ options = {
1269
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1270
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'virtualWANName' => virtual_wanname},
1271
+ query_params: {'api-version' => api_version},
1272
+ body: request_content,
1273
+ headers: request_headers.merge(custom_headers || {}),
1274
+ base_url: request_url
1275
+ }
1276
+ promise = self.make_request_async(:post, path_template, options)
1277
+
1278
+ promise = promise.then do |result|
1279
+ http_response = result.response
1280
+ status_code = http_response.status
1281
+ response_content = http_response.body
1282
+ unless status_code == 200 || status_code == 202
1283
+ error_model = JSON.load(response_content)
1284
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1285
+ end
1286
+
1287
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1288
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1289
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1290
+ # Deserialize Response
1291
+ if status_code == 200
1292
+ begin
1293
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1294
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VpnProfileResponse.mapper()
1295
+ result.body = self.deserialize(result_mapper, parsed_response)
1296
+ rescue Exception => e
1297
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1298
+ end
1299
+ end
1300
+
1301
+ result
1302
+ end
1303
+
1304
+ promise.execute
1305
+ end
1306
+
1307
+ #
1308
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
1309
+ #
1310
+ # @param resource_group_name [String] The name of the resource group.
1311
+ # @param bastion_host_name [String] The name of the Bastion Host.
1312
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
1313
+ # Bastion Shareable Link endpoints.
1314
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1315
+ # will be added to the HTTP request.
1316
+ #
1317
+ # @return [Array<BastionShareableLink>] operation results.
1318
+ #
1319
+ def begin_put_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
1320
+ first_page = begin_put_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
1321
+ first_page.get_all_items
1322
+ end
1323
+
1324
+ #
1325
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
1326
+ #
1327
+ # @param resource_group_name [String] The name of the resource group.
1328
+ # @param bastion_host_name [String] The name of the Bastion Host.
1329
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
1330
+ # Bastion Shareable Link endpoints.
1331
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1332
+ # will be added to the HTTP request.
1333
+ #
1334
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1335
+ #
1336
+ def begin_put_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
1337
+ begin_put_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
1338
+ end
1339
+
1340
+ #
1341
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
1342
+ #
1343
+ # @param resource_group_name [String] The name of the resource group.
1344
+ # @param bastion_host_name [String] The name of the Bastion Host.
1345
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
1346
+ # Bastion Shareable Link endpoints.
1347
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1348
+ # to the HTTP request.
1349
+ #
1350
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1351
+ #
1352
+ def begin_put_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
1353
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1354
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
1355
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1356
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1357
+ fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
1358
+
1359
+
1360
+ request_headers = {}
1361
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1362
+
1363
+ # Set Headers
1364
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1365
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1366
+
1367
+ # Serialize Request
1368
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListRequest.mapper()
1369
+ request_content = self.serialize(request_mapper, bsl_request)
1370
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1371
+
1372
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'
1373
+
1374
+ request_url = @base_url || self.base_url
1375
+
1376
+ options = {
1377
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1378
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
1379
+ query_params: {'api-version' => api_version},
1380
+ body: request_content,
1381
+ headers: request_headers.merge(custom_headers || {}),
1382
+ base_url: request_url
1383
+ }
1384
+ promise = self.make_request_async(:post, path_template, options)
1385
+
1386
+ promise = promise.then do |result|
1387
+ http_response = result.response
1388
+ status_code = http_response.status
1389
+ response_content = http_response.body
1390
+ unless status_code == 200 || status_code == 202
1391
+ error_model = JSON.load(response_content)
1392
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1393
+ end
1394
+
1395
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1396
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1397
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1398
+ # Deserialize Response
1399
+ if status_code == 200
1400
+ begin
1401
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1402
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListResult.mapper()
1403
+ result.body = self.deserialize(result_mapper, parsed_response)
1404
+ rescue Exception => e
1405
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1406
+ end
1407
+ end
1408
+
1409
+ result
1410
+ end
1411
+
1412
+ promise.execute
1413
+ end
1414
+
1415
+ #
1416
+ # Deletes the Bastion Shareable Links for all the VMs specified in the request.
1417
+ #
1418
+ # @param resource_group_name [String] The name of the resource group.
1419
+ # @param bastion_host_name [String] The name of the Bastion Host.
1420
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
1421
+ # Bastion Shareable Link endpoints.
1422
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1423
+ # will be added to the HTTP request.
1424
+ #
1425
+ #
1426
+ def begin_delete_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
1427
+ response = begin_delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
1428
+ nil
1429
+ end
1430
+
1431
+ #
1432
+ # Deletes the Bastion Shareable Links for all the VMs specified in the request.
1433
+ #
1434
+ # @param resource_group_name [String] The name of the resource group.
1435
+ # @param bastion_host_name [String] The name of the Bastion Host.
1436
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
1437
+ # Bastion Shareable Link endpoints.
1438
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1439
+ # will be added to the HTTP request.
1440
+ #
1441
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1442
+ #
1443
+ def begin_delete_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
1444
+ begin_delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
1445
+ end
1446
+
1447
+ #
1448
+ # Deletes the Bastion Shareable Links for all the VMs specified in the request.
1449
+ #
1450
+ # @param resource_group_name [String] The name of the resource group.
1451
+ # @param bastion_host_name [String] The name of the Bastion Host.
1452
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
1453
+ # Bastion Shareable Link endpoints.
1454
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1455
+ # to the HTTP request.
1456
+ #
1457
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1458
+ #
1459
+ def begin_delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
1460
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1461
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
1462
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1463
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1464
+ fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
1465
+
1466
+
1467
+ request_headers = {}
1468
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1469
+
1470
+ # Set Headers
1471
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1472
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1473
+
1474
+ # Serialize Request
1475
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListRequest.mapper()
1476
+ request_content = self.serialize(request_mapper, bsl_request)
1477
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1478
+
1479
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks'
1480
+
1481
+ request_url = @base_url || self.base_url
1482
+
1483
+ options = {
1484
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1485
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
1486
+ query_params: {'api-version' => api_version},
1487
+ body: request_content,
1488
+ headers: request_headers.merge(custom_headers || {}),
1489
+ base_url: request_url
1490
+ }
1491
+ promise = self.make_request_async(:post, path_template, options)
1492
+
1493
+ promise = promise.then do |result|
1494
+ http_response = result.response
1495
+ status_code = http_response.status
1496
+ response_content = http_response.body
1497
+ unless status_code == 200 || status_code == 202
1498
+ error_model = JSON.load(response_content)
1499
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1500
+ end
1501
+
1502
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1503
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1504
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1505
+
1506
+ result
1507
+ end
1508
+
1509
+ promise.execute
1510
+ end
1511
+
1512
+ #
1513
+ # Returns the list of currently active sessions on the Bastion.
1514
+ #
1515
+ # @param resource_group_name [String] The name of the resource group.
1516
+ # @param bastion_host_name [String] The name of the Bastion Host.
1517
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1518
+ # will be added to the HTTP request.
1519
+ #
1520
+ # @return [Array<BastionActiveSession>] operation results.
1521
+ #
1522
+ def begin_get_active_sessions(resource_group_name, bastion_host_name, custom_headers:nil)
1523
+ first_page = begin_get_active_sessions_as_lazy(resource_group_name, bastion_host_name, custom_headers:custom_headers)
1524
+ first_page.get_all_items
1525
+ end
1526
+
1527
+ #
1528
+ # Returns the list of currently active sessions on the Bastion.
1529
+ #
1530
+ # @param resource_group_name [String] The name of the resource group.
1531
+ # @param bastion_host_name [String] The name of the Bastion Host.
1532
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1533
+ # will be added to the HTTP request.
1534
+ #
1535
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1536
+ #
1537
+ def begin_get_active_sessions_with_http_info(resource_group_name, bastion_host_name, custom_headers:nil)
1538
+ begin_get_active_sessions_async(resource_group_name, bastion_host_name, custom_headers:custom_headers).value!
1539
+ end
1540
+
1541
+ #
1542
+ # Returns the list of currently active sessions on the Bastion.
1543
+ #
1544
+ # @param resource_group_name [String] The name of the resource group.
1545
+ # @param bastion_host_name [String] The name of the Bastion Host.
1546
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1547
+ # to the HTTP request.
1548
+ #
1549
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1550
+ #
1551
+ def begin_get_active_sessions_async(resource_group_name, bastion_host_name, custom_headers:nil)
1552
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1553
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
1554
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1555
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1556
+
1557
+
1558
+ request_headers = {}
1559
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1560
+
1561
+ # Set Headers
1562
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1563
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1564
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'
1565
+
1566
+ request_url = @base_url || self.base_url
1567
+
1568
+ options = {
1569
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1570
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
1571
+ query_params: {'api-version' => api_version},
1572
+ headers: request_headers.merge(custom_headers || {}),
1573
+ base_url: request_url
1574
+ }
1575
+ promise = self.make_request_async(:post, path_template, options)
1576
+
1577
+ promise = promise.then do |result|
1578
+ http_response = result.response
1579
+ status_code = http_response.status
1580
+ response_content = http_response.body
1581
+ unless status_code == 200 || status_code == 202
1582
+ error_model = JSON.load(response_content)
1583
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1584
+ end
1585
+
1586
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1587
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1588
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1589
+ # Deserialize Response
1590
+ if status_code == 200
1591
+ begin
1592
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1593
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionActiveSessionListResult.mapper()
1594
+ result.body = self.deserialize(result_mapper, parsed_response)
1595
+ rescue Exception => e
1596
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1597
+ end
1598
+ end
1599
+
1600
+ result
1601
+ end
1602
+
1603
+ promise.execute
1604
+ end
1605
+
1606
+ #
1607
+ # Generates a unique VPN profile for P2S clients for VirtualWan and associated
1608
+ # VpnServerConfiguration combination in the specified resource group.
1609
+ #
1610
+ # @param resource_group_name [String] The resource group name.
1611
+ # @param virtual_wanname [String] The name of the VirtualWAN whose associated
1612
+ # VpnServerConfigurations is needed.
1613
+ # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
1614
+ # to the generate VirtualWan VPN profile generation operation.
1615
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1616
+ # will be added to the HTTP request.
1617
+ #
1618
+ # @return [VpnProfileResponse] operation results.
1619
+ #
1620
+ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
1621
+ response = begin_generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
1622
+ response.body unless response.nil?
1623
+ end
1624
+
1625
+ #
1626
+ # Generates a unique VPN profile for P2S clients for VirtualWan and associated
1627
+ # VpnServerConfiguration combination in the specified resource group.
1628
+ #
1629
+ # @param resource_group_name [String] The resource group name.
1630
+ # @param virtual_wanname [String] The name of the VirtualWAN whose associated
1631
+ # VpnServerConfigurations is needed.
1632
+ # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
1633
+ # to the generate VirtualWan VPN profile generation operation.
1634
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1635
+ # will be added to the HTTP request.
1636
+ #
1637
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1638
+ #
1639
+ def begin_generatevirtualwanvpnserverconfigurationvpnprofile_with_http_info(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
1640
+ begin_generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
1641
+ end
1642
+
1643
+ #
1644
+ # Generates a unique VPN profile for P2S clients for VirtualWan and associated
1645
+ # VpnServerConfiguration combination in the specified resource group.
1646
+ #
1647
+ # @param resource_group_name [String] The resource group name.
1648
+ # @param virtual_wanname [String] The name of the VirtualWAN whose associated
1649
+ # VpnServerConfigurations is needed.
1650
+ # @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
1651
+ # to the generate VirtualWan VPN profile generation operation.
1652
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1653
+ # to the HTTP request.
1654
+ #
1655
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1656
+ #
1657
+ def begin_generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
1658
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
1659
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1660
+ fail ArgumentError, 'virtual_wanname is nil' if virtual_wanname.nil?
1661
+ fail ArgumentError, 'vpn_client_params is nil' if vpn_client_params.nil?
1662
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
1663
+
1664
+
1665
+ request_headers = {}
1666
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1667
+
1668
+ # Set Headers
1669
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1670
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1671
+
1672
+ # Serialize Request
1673
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VirtualWanVpnProfileParameters.mapper()
1674
+ request_content = self.serialize(request_mapper, vpn_client_params)
1675
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1676
+
1677
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'
1678
+
1679
+ request_url = @base_url || self.base_url
1680
+
1681
+ options = {
1682
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1683
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'virtualWANName' => virtual_wanname},
1684
+ query_params: {'api-version' => api_version},
1685
+ body: request_content,
1686
+ headers: request_headers.merge(custom_headers || {}),
1687
+ base_url: request_url
1688
+ }
1689
+ promise = self.make_request_async(:post, path_template, options)
1690
+
1691
+ promise = promise.then do |result|
1692
+ http_response = result.response
1693
+ status_code = http_response.status
1694
+ response_content = http_response.body
1695
+ unless status_code == 200 || status_code == 202
1696
+ error_model = JSON.load(response_content)
1697
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1698
+ end
1699
+
1700
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1701
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1702
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1703
+ # Deserialize Response
1704
+ if status_code == 200
1705
+ begin
1706
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1707
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::VpnProfileResponse.mapper()
1708
+ result.body = self.deserialize(result_mapper, parsed_response)
1709
+ rescue Exception => e
1710
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1711
+ end
1712
+ end
1713
+
1714
+ result
1715
+ end
1716
+
1717
+ promise.execute
1718
+ end
1719
+
1720
+ #
1721
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
1722
+ #
1723
+ # @param next_page_link [String] The NextLink from the previous successful call
1724
+ # to List operation.
1725
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1726
+ # will be added to the HTTP request.
1727
+ #
1728
+ # @return [BastionShareableLinkListResult] operation results.
1729
+ #
1730
+ def put_bastion_shareable_link_next(next_page_link, custom_headers:nil)
1731
+ response = put_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
1732
+ response.body unless response.nil?
1733
+ end
1734
+
1735
+ #
1736
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
1737
+ #
1738
+ # @param next_page_link [String] The NextLink from the previous successful call
1739
+ # to List operation.
1740
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1741
+ # will be added to the HTTP request.
1742
+ #
1743
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1744
+ #
1745
+ def put_bastion_shareable_link_next_with_http_info(next_page_link, custom_headers:nil)
1746
+ put_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
1747
+ end
1748
+
1749
+ #
1750
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
1751
+ #
1752
+ # @param next_page_link [String] The NextLink from the previous successful call
1753
+ # to List operation.
1754
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1755
+ # to the HTTP request.
1756
+ #
1757
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1758
+ #
1759
+ def put_bastion_shareable_link_next_async(next_page_link, custom_headers:nil)
1760
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1761
+
1762
+
1763
+ request_headers = {}
1764
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1765
+
1766
+ # Set Headers
1767
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1768
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1769
+ path_template = '{nextLink}'
1770
+
1771
+ request_url = @base_url || self.base_url
1772
+
1773
+ options = {
1774
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1775
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1776
+ headers: request_headers.merge(custom_headers || {}),
1777
+ base_url: request_url
1778
+ }
1779
+ promise = self.make_request_async(:post, path_template, options)
1780
+
1781
+ promise = promise.then do |result|
1782
+ http_response = result.response
1783
+ status_code = http_response.status
1784
+ response_content = http_response.body
1785
+ unless status_code == 200 || status_code == 202
1786
+ error_model = JSON.load(response_content)
1787
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1788
+ end
1789
+
1790
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1791
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1792
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1793
+ # Deserialize Response
1794
+ if status_code == 200
1795
+ begin
1796
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1797
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListResult.mapper()
1798
+ result.body = self.deserialize(result_mapper, parsed_response)
1799
+ rescue Exception => e
1800
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1801
+ end
1802
+ end
1803
+
1804
+ result
1805
+ end
1806
+
1807
+ promise.execute
1808
+ end
1809
+
1810
+ #
1811
+ # Return the Bastion Shareable Links for all the VMs specified in the request.
1812
+ #
1813
+ # @param next_page_link [String] The NextLink from the previous successful call
1814
+ # to List operation.
1815
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1816
+ # will be added to the HTTP request.
1817
+ #
1818
+ # @return [BastionShareableLinkListResult] operation results.
1819
+ #
1820
+ def get_bastion_shareable_link_next(next_page_link, custom_headers:nil)
1821
+ response = get_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
1822
+ response.body unless response.nil?
1823
+ end
1824
+
1825
+ #
1826
+ # Return the Bastion Shareable Links for all the VMs specified in the request.
1827
+ #
1828
+ # @param next_page_link [String] The NextLink from the previous successful call
1829
+ # to List operation.
1830
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1831
+ # will be added to the HTTP request.
1832
+ #
1833
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1834
+ #
1835
+ def get_bastion_shareable_link_next_with_http_info(next_page_link, custom_headers:nil)
1836
+ get_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
1837
+ end
1838
+
1839
+ #
1840
+ # Return the Bastion Shareable Links for all the VMs specified in the request.
1841
+ #
1842
+ # @param next_page_link [String] The NextLink from the previous successful call
1843
+ # to List operation.
1844
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1845
+ # to the HTTP request.
1846
+ #
1847
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1848
+ #
1849
+ def get_bastion_shareable_link_next_async(next_page_link, custom_headers:nil)
1850
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1851
+
1852
+
1853
+ request_headers = {}
1854
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1855
+
1856
+ # Set Headers
1857
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1858
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1859
+ path_template = '{nextLink}'
1860
+
1861
+ request_url = @base_url || self.base_url
1862
+
1863
+ options = {
1864
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1865
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1866
+ headers: request_headers.merge(custom_headers || {}),
1867
+ base_url: request_url
1868
+ }
1869
+ promise = self.make_request_async(:post, path_template, options)
1870
+
1871
+ promise = promise.then do |result|
1872
+ http_response = result.response
1873
+ status_code = http_response.status
1874
+ response_content = http_response.body
1875
+ unless status_code == 200
1876
+ error_model = JSON.load(response_content)
1877
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1878
+ end
1879
+
1880
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1881
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1882
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1883
+ # Deserialize Response
1884
+ if status_code == 200
1885
+ begin
1886
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1887
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListResult.mapper()
1888
+ result.body = self.deserialize(result_mapper, parsed_response)
1889
+ rescue Exception => e
1890
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1891
+ end
1892
+ end
1893
+
1894
+ result
1895
+ end
1896
+
1897
+ promise.execute
1898
+ end
1899
+
1900
+ #
1901
+ # Returns the list of currently active sessions on the Bastion.
1902
+ #
1903
+ # @param next_page_link [String] The NextLink from the previous successful call
1904
+ # to List operation.
1905
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1906
+ # will be added to the HTTP request.
1907
+ #
1908
+ # @return [BastionActiveSessionListResult] operation results.
1909
+ #
1910
+ def get_active_sessions_next(next_page_link, custom_headers:nil)
1911
+ response = get_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
1912
+ response.body unless response.nil?
1913
+ end
1914
+
1915
+ #
1916
+ # Returns the list of currently active sessions on the Bastion.
1917
+ #
1918
+ # @param next_page_link [String] The NextLink from the previous successful call
1919
+ # to List operation.
1920
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1921
+ # will be added to the HTTP request.
1922
+ #
1923
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1924
+ #
1925
+ def get_active_sessions_next_with_http_info(next_page_link, custom_headers:nil)
1926
+ get_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
1927
+ end
1928
+
1929
+ #
1930
+ # Returns the list of currently active sessions on the Bastion.
1931
+ #
1932
+ # @param next_page_link [String] The NextLink from the previous successful call
1933
+ # to List operation.
1934
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1935
+ # to the HTTP request.
1936
+ #
1937
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1938
+ #
1939
+ def get_active_sessions_next_async(next_page_link, custom_headers:nil)
1940
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1941
+
1942
+
1943
+ request_headers = {}
1944
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1945
+
1946
+ # Set Headers
1947
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1948
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
1949
+ path_template = '{nextLink}'
1950
+
1951
+ request_url = @base_url || self.base_url
1952
+
1953
+ options = {
1954
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1955
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1956
+ headers: request_headers.merge(custom_headers || {}),
1957
+ base_url: request_url
1958
+ }
1959
+ promise = self.make_request_async(:post, path_template, options)
1960
+
1961
+ promise = promise.then do |result|
1962
+ http_response = result.response
1963
+ status_code = http_response.status
1964
+ response_content = http_response.body
1965
+ unless status_code == 200 || status_code == 202
1966
+ error_model = JSON.load(response_content)
1967
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1968
+ end
1969
+
1970
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1971
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1972
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1973
+ # Deserialize Response
1974
+ if status_code == 200
1975
+ begin
1976
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1977
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionActiveSessionListResult.mapper()
1978
+ result.body = self.deserialize(result_mapper, parsed_response)
1979
+ rescue Exception => e
1980
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1981
+ end
1982
+ end
1983
+
1984
+ result
1985
+ end
1986
+
1987
+ promise.execute
1988
+ end
1989
+
1990
+ #
1991
+ # Returns the list of currently active sessions on the Bastion.
1992
+ #
1993
+ # @param next_page_link [String] The NextLink from the previous successful call
1994
+ # to List operation.
1995
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1996
+ # will be added to the HTTP request.
1997
+ #
1998
+ # @return [BastionSessionDeleteResult] operation results.
1999
+ #
2000
+ def disconnect_active_sessions_next(next_page_link, custom_headers:nil)
2001
+ response = disconnect_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
2002
+ response.body unless response.nil?
2003
+ end
2004
+
2005
+ #
2006
+ # Returns the list of currently active sessions on the Bastion.
2007
+ #
2008
+ # @param next_page_link [String] The NextLink from the previous successful call
2009
+ # to List operation.
2010
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2011
+ # will be added to the HTTP request.
2012
+ #
2013
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2014
+ #
2015
+ def disconnect_active_sessions_next_with_http_info(next_page_link, custom_headers:nil)
2016
+ disconnect_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
2017
+ end
2018
+
2019
+ #
2020
+ # Returns the list of currently active sessions on the Bastion.
2021
+ #
2022
+ # @param next_page_link [String] The NextLink from the previous successful call
2023
+ # to List operation.
2024
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2025
+ # to the HTTP request.
2026
+ #
2027
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2028
+ #
2029
+ def disconnect_active_sessions_next_async(next_page_link, custom_headers:nil)
2030
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2031
+
2032
+
2033
+ request_headers = {}
2034
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2035
+
2036
+ # Set Headers
2037
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2038
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
2039
+ path_template = '{nextLink}'
2040
+
2041
+ request_url = @base_url || self.base_url
2042
+
2043
+ options = {
2044
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2045
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2046
+ headers: request_headers.merge(custom_headers || {}),
2047
+ base_url: request_url
2048
+ }
2049
+ promise = self.make_request_async(:post, path_template, options)
2050
+
2051
+ promise = promise.then do |result|
2052
+ http_response = result.response
2053
+ status_code = http_response.status
2054
+ response_content = http_response.body
2055
+ unless status_code == 200
2056
+ error_model = JSON.load(response_content)
2057
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2058
+ end
2059
+
2060
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2061
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2062
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2063
+ # Deserialize Response
2064
+ if status_code == 200
2065
+ begin
2066
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2067
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionSessionDeleteResult.mapper()
2068
+ result.body = self.deserialize(result_mapper, parsed_response)
2069
+ rescue Exception => e
2070
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2071
+ end
2072
+ end
2073
+
2074
+ result
2075
+ end
2076
+
2077
+ promise.execute
2078
+ end
2079
+
2080
+ #
2081
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
2082
+ #
2083
+ # @param next_page_link [String] The NextLink from the previous successful call
2084
+ # to List operation.
2085
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2086
+ # will be added to the HTTP request.
2087
+ #
2088
+ # @return [BastionShareableLinkListResult] operation results.
2089
+ #
2090
+ def begin_put_bastion_shareable_link_next(next_page_link, custom_headers:nil)
2091
+ response = begin_put_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
2092
+ response.body unless response.nil?
2093
+ end
2094
+
2095
+ #
2096
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
2097
+ #
2098
+ # @param next_page_link [String] The NextLink from the previous successful call
2099
+ # to List operation.
2100
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2101
+ # will be added to the HTTP request.
2102
+ #
2103
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2104
+ #
2105
+ def begin_put_bastion_shareable_link_next_with_http_info(next_page_link, custom_headers:nil)
2106
+ begin_put_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
2107
+ end
2108
+
2109
+ #
2110
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
2111
+ #
2112
+ # @param next_page_link [String] The NextLink from the previous successful call
2113
+ # to List operation.
2114
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2115
+ # to the HTTP request.
2116
+ #
2117
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2118
+ #
2119
+ def begin_put_bastion_shareable_link_next_async(next_page_link, custom_headers:nil)
2120
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2121
+
2122
+
2123
+ request_headers = {}
2124
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2125
+
2126
+ # Set Headers
2127
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2128
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
2129
+ path_template = '{nextLink}'
2130
+
2131
+ request_url = @base_url || self.base_url
2132
+
2133
+ options = {
2134
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2135
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2136
+ headers: request_headers.merge(custom_headers || {}),
2137
+ base_url: request_url
2138
+ }
2139
+ promise = self.make_request_async(:post, path_template, options)
2140
+
2141
+ promise = promise.then do |result|
2142
+ http_response = result.response
2143
+ status_code = http_response.status
2144
+ response_content = http_response.body
2145
+ unless status_code == 200 || status_code == 202
2146
+ error_model = JSON.load(response_content)
2147
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2148
+ end
2149
+
2150
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2151
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2152
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2153
+ # Deserialize Response
2154
+ if status_code == 200
2155
+ begin
2156
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2157
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListResult.mapper()
2158
+ result.body = self.deserialize(result_mapper, parsed_response)
2159
+ rescue Exception => e
2160
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2161
+ end
2162
+ end
2163
+
2164
+ result
2165
+ end
2166
+
2167
+ promise.execute
2168
+ end
2169
+
2170
+ #
2171
+ # Returns the list of currently active sessions on the Bastion.
2172
+ #
2173
+ # @param next_page_link [String] The NextLink from the previous successful call
2174
+ # to List operation.
2175
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2176
+ # will be added to the HTTP request.
2177
+ #
2178
+ # @return [BastionActiveSessionListResult] operation results.
2179
+ #
2180
+ def begin_get_active_sessions_next(next_page_link, custom_headers:nil)
2181
+ response = begin_get_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
2182
+ response.body unless response.nil?
2183
+ end
2184
+
2185
+ #
2186
+ # Returns the list of currently active sessions on the Bastion.
2187
+ #
2188
+ # @param next_page_link [String] The NextLink from the previous successful call
2189
+ # to List operation.
2190
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2191
+ # will be added to the HTTP request.
2192
+ #
2193
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2194
+ #
2195
+ def begin_get_active_sessions_next_with_http_info(next_page_link, custom_headers:nil)
2196
+ begin_get_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
2197
+ end
2198
+
2199
+ #
2200
+ # Returns the list of currently active sessions on the Bastion.
2201
+ #
2202
+ # @param next_page_link [String] The NextLink from the previous successful call
2203
+ # to List operation.
2204
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2205
+ # to the HTTP request.
2206
+ #
2207
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2208
+ #
2209
+ def begin_get_active_sessions_next_async(next_page_link, custom_headers:nil)
2210
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2211
+
2212
+
2213
+ request_headers = {}
2214
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2215
+
2216
+ # Set Headers
2217
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2218
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
2219
+ path_template = '{nextLink}'
2220
+
2221
+ request_url = @base_url || self.base_url
2222
+
2223
+ options = {
2224
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2225
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2226
+ headers: request_headers.merge(custom_headers || {}),
2227
+ base_url: request_url
2228
+ }
2229
+ promise = self.make_request_async(:post, path_template, options)
2230
+
2231
+ promise = promise.then do |result|
2232
+ http_response = result.response
2233
+ status_code = http_response.status
2234
+ response_content = http_response.body
2235
+ unless status_code == 200 || status_code == 202
2236
+ error_model = JSON.load(response_content)
2237
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2238
+ end
2239
+
2240
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2241
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2242
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2243
+ # Deserialize Response
2244
+ if status_code == 200
2245
+ begin
2246
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2247
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionActiveSessionListResult.mapper()
2248
+ result.body = self.deserialize(result_mapper, parsed_response)
2249
+ rescue Exception => e
2250
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2251
+ end
2252
+ end
2253
+
2254
+ result
2255
+ end
2256
+
2257
+ promise.execute
2258
+ end
2259
+
2260
+ #
2261
+ # Return the Bastion Shareable Links for all the VMs specified in the request.
2262
+ #
2263
+ # @param resource_group_name [String] The name of the resource group.
2264
+ # @param bastion_host_name [String] The name of the Bastion Host.
2265
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
2266
+ # Bastion Shareable Link endpoints.
2267
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2268
+ # will be added to the HTTP request.
2269
+ #
2270
+ # @return [BastionShareableLinkListResult] operation results.
2271
+ #
2272
+ def get_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
2273
+ first_page = get_bastion_shareable_link_as_lazy_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
2274
+ first_page.get_all_items
2275
+ end
2276
+
2277
+ #
2278
+ # Return the Bastion Shareable Links for all the VMs specified in the request.
2279
+ #
2280
+ # @param resource_group_name [String] The name of the resource group.
2281
+ # @param bastion_host_name [String] The name of the Bastion Host.
2282
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
2283
+ # Bastion Shareable Link endpoints.
2284
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2285
+ # will be added to the HTTP request.
2286
+ #
2287
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2288
+ #
2289
+ def get_bastion_shareable_link_as_lazy_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
2290
+ get_bastion_shareable_link_as_lazy_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
2291
+ end
2292
+
2293
+ #
2294
+ # Return the Bastion Shareable Links for all the VMs specified in the request.
2295
+ #
2296
+ # @param resource_group_name [String] The name of the resource group.
2297
+ # @param bastion_host_name [String] The name of the Bastion Host.
2298
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
2299
+ # Bastion Shareable Link endpoints.
2300
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2301
+ # to the HTTP request.
2302
+ #
2303
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2304
+ #
2305
+ def get_bastion_shareable_link_as_lazy_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
2306
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2307
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
2308
+ fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
2309
+
2310
+
2311
+ request_headers = {}
2312
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2313
+
2314
+ # Serialize Request
2315
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListRequest.mapper()
2316
+ request_content = self.serialize(request_mapper, bsl_request)
2317
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2318
+
2319
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks'
2320
+
2321
+ request_url = @base_url || self.base_url
2322
+
2323
+ options = {
2324
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2325
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name},
2326
+ body: request_content,
2327
+ headers: request_headers.merge(custom_headers || {}),
2328
+ base_url: request_url
2329
+ }
2330
+ promise = self.make_request_async(:post, path_template, options)
2331
+
2332
+ promise = promise.then do |result|
2333
+ http_response = result.response
2334
+ status_code = http_response.status
2335
+ response_content = http_response.body
2336
+ unless status_code == 200
2337
+ error_model = JSON.load(response_content)
2338
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2339
+ end
2340
+
2341
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2342
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2343
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2344
+ # Deserialize Response
2345
+ if status_code == 200
2346
+ begin
2347
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2348
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListResult.mapper()
2349
+ result.body = self.deserialize(result_mapper, parsed_response)
2350
+ rescue Exception => e
2351
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2352
+ end
2353
+ end
2354
+
2355
+ result
2356
+ end
2357
+
2358
+ promise.execute
2359
+ end
2360
+
2361
+ #
2362
+ # Returns the list of currently active sessions on the Bastion.
2363
+ #
2364
+ # @param resource_group_name [String] The name of the resource group.
2365
+ # @param bastion_host_name [String] The name of the Bastion Host.
2366
+ # @param session_ids [SessionIds] The list of sessionids to disconnect.
2367
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2368
+ # will be added to the HTTP request.
2369
+ #
2370
+ # @return [BastionSessionDeleteResult] operation results.
2371
+ #
2372
+ def disconnect_active_sessions_as_lazy(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
2373
+ first_page = disconnect_active_sessions_as_lazy_as_lazy(resource_group_name, bastion_host_name, session_ids, custom_headers:custom_headers)
2374
+ first_page.get_all_items
2375
+ end
2376
+
2377
+ #
2378
+ # Returns the list of currently active sessions on the Bastion.
2379
+ #
2380
+ # @param resource_group_name [String] The name of the resource group.
2381
+ # @param bastion_host_name [String] The name of the Bastion Host.
2382
+ # @param session_ids [SessionIds] The list of sessionids to disconnect.
2383
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2384
+ # will be added to the HTTP request.
2385
+ #
2386
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2387
+ #
2388
+ def disconnect_active_sessions_as_lazy_with_http_info(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
2389
+ disconnect_active_sessions_as_lazy_async(resource_group_name, bastion_host_name, session_ids, custom_headers:custom_headers).value!
2390
+ end
2391
+
2392
+ #
2393
+ # Returns the list of currently active sessions on the Bastion.
2394
+ #
2395
+ # @param resource_group_name [String] The name of the resource group.
2396
+ # @param bastion_host_name [String] The name of the Bastion Host.
2397
+ # @param session_ids [SessionIds] The list of sessionids to disconnect.
2398
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2399
+ # to the HTTP request.
2400
+ #
2401
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2402
+ #
2403
+ def disconnect_active_sessions_as_lazy_async(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
2404
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2405
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
2406
+ fail ArgumentError, 'session_ids is nil' if session_ids.nil?
2407
+
2408
+
2409
+ request_headers = {}
2410
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2411
+
2412
+ # Serialize Request
2413
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::SessionIds.mapper()
2414
+ request_content = self.serialize(request_mapper, session_ids)
2415
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2416
+
2417
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions'
2418
+
2419
+ request_url = @base_url || self.base_url
2420
+
2421
+ options = {
2422
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2423
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name},
2424
+ body: request_content,
2425
+ headers: request_headers.merge(custom_headers || {}),
2426
+ base_url: request_url
2427
+ }
2428
+ promise = self.make_request_async(:post, path_template, options)
2429
+
2430
+ promise = promise.then do |result|
2431
+ http_response = result.response
2432
+ status_code = http_response.status
2433
+ response_content = http_response.body
2434
+ unless status_code == 200
2435
+ error_model = JSON.load(response_content)
2436
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2437
+ end
2438
+
2439
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2440
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2441
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2442
+ # Deserialize Response
2443
+ if status_code == 200
2444
+ begin
2445
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2446
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionSessionDeleteResult.mapper()
2447
+ result.body = self.deserialize(result_mapper, parsed_response)
2448
+ rescue Exception => e
2449
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2450
+ end
2451
+ end
2452
+
2453
+ result
2454
+ end
2455
+
2456
+ promise.execute
2457
+ end
2458
+
2459
+ #
2460
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
2461
+ #
2462
+ # @param resource_group_name [String] The name of the resource group.
2463
+ # @param bastion_host_name [String] The name of the Bastion Host.
2464
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
2465
+ # Bastion Shareable Link endpoints.
2466
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2467
+ # will be added to the HTTP request.
2468
+ #
2469
+ # @return [BastionShareableLinkListResult] operation results.
2470
+ #
2471
+ def begin_put_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
2472
+ first_page = begin_put_bastion_shareable_link_as_lazy_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
2473
+ first_page.get_all_items
2474
+ end
2475
+
2476
+ #
2477
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
2478
+ #
2479
+ # @param resource_group_name [String] The name of the resource group.
2480
+ # @param bastion_host_name [String] The name of the Bastion Host.
2481
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
2482
+ # Bastion Shareable Link endpoints.
2483
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2484
+ # will be added to the HTTP request.
2485
+ #
2486
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2487
+ #
2488
+ def begin_put_bastion_shareable_link_as_lazy_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
2489
+ begin_put_bastion_shareable_link_as_lazy_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
2490
+ end
2491
+
2492
+ #
2493
+ # Creates a Bastion Shareable Links for all the VMs specified in the request.
2494
+ #
2495
+ # @param resource_group_name [String] The name of the resource group.
2496
+ # @param bastion_host_name [String] The name of the Bastion Host.
2497
+ # @param bsl_request [BastionShareableLinkListRequest] Post request for all the
2498
+ # Bastion Shareable Link endpoints.
2499
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2500
+ # to the HTTP request.
2501
+ #
2502
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2503
+ #
2504
+ def begin_put_bastion_shareable_link_as_lazy_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
2505
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2506
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
2507
+ fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
2508
+
2509
+
2510
+ request_headers = {}
2511
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2512
+
2513
+ # Serialize Request
2514
+ request_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListRequest.mapper()
2515
+ request_content = self.serialize(request_mapper, bsl_request)
2516
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
2517
+
2518
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'
2519
+
2520
+ request_url = @base_url || self.base_url
2521
+
2522
+ options = {
2523
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2524
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name},
2525
+ body: request_content,
2526
+ headers: request_headers.merge(custom_headers || {}),
2527
+ base_url: request_url
2528
+ }
2529
+ promise = self.make_request_async(:post, path_template, options)
2530
+
2531
+ promise = promise.then do |result|
2532
+ http_response = result.response
2533
+ status_code = http_response.status
2534
+ response_content = http_response.body
2535
+ unless status_code == 200 || status_code == 202
2536
+ error_model = JSON.load(response_content)
2537
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2538
+ end
2539
+
2540
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2541
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2542
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2543
+ # Deserialize Response
2544
+ if status_code == 200
2545
+ begin
2546
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2547
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionShareableLinkListResult.mapper()
2548
+ result.body = self.deserialize(result_mapper, parsed_response)
2549
+ rescue Exception => e
2550
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2551
+ end
2552
+ end
2553
+
2554
+ result
2555
+ end
2556
+
2557
+ promise.execute
2558
+ end
2559
+
2560
+ #
2561
+ # Returns the list of currently active sessions on the Bastion.
2562
+ #
2563
+ # @param resource_group_name [String] The name of the resource group.
2564
+ # @param bastion_host_name [String] The name of the Bastion Host.
2565
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2566
+ # will be added to the HTTP request.
2567
+ #
2568
+ # @return [BastionActiveSessionListResult] operation results.
2569
+ #
2570
+ def begin_get_active_sessions_as_lazy(resource_group_name, bastion_host_name, custom_headers:nil)
2571
+ first_page = begin_get_active_sessions_as_lazy_as_lazy(resource_group_name, bastion_host_name, custom_headers:custom_headers)
2572
+ first_page.get_all_items
2573
+ end
2574
+
2575
+ #
2576
+ # Returns the list of currently active sessions on the Bastion.
2577
+ #
2578
+ # @param resource_group_name [String] The name of the resource group.
2579
+ # @param bastion_host_name [String] The name of the Bastion Host.
2580
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2581
+ # will be added to the HTTP request.
2582
+ #
2583
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2584
+ #
2585
+ def begin_get_active_sessions_as_lazy_with_http_info(resource_group_name, bastion_host_name, custom_headers:nil)
2586
+ begin_get_active_sessions_as_lazy_async(resource_group_name, bastion_host_name, custom_headers:custom_headers).value!
2587
+ end
2588
+
2589
+ #
2590
+ # Returns the list of currently active sessions on the Bastion.
2591
+ #
2592
+ # @param resource_group_name [String] The name of the resource group.
2593
+ # @param bastion_host_name [String] The name of the Bastion Host.
2594
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2595
+ # to the HTTP request.
2596
+ #
2597
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2598
+ #
2599
+ def begin_get_active_sessions_as_lazy_async(resource_group_name, bastion_host_name, custom_headers:nil)
2600
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2601
+ fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
2602
+
2603
+
2604
+ request_headers = {}
2605
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2606
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'
2607
+
2608
+ request_url = @base_url || self.base_url
2609
+
2610
+ options = {
2611
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2612
+ path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name},
2613
+ headers: request_headers.merge(custom_headers || {}),
2614
+ base_url: request_url
2615
+ }
2616
+ promise = self.make_request_async(:post, path_template, options)
2617
+
2618
+ promise = promise.then do |result|
2619
+ http_response = result.response
2620
+ status_code = http_response.status
2621
+ response_content = http_response.body
2622
+ unless status_code == 200 || status_code == 202
2623
+ error_model = JSON.load(response_content)
2624
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2625
+ end
2626
+
2627
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2628
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2629
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2630
+ # Deserialize Response
2631
+ if status_code == 200
2632
+ begin
2633
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2634
+ result_mapper = Azure::Network::Mgmt::V2019_09_01::Models::BastionActiveSessionListResult.mapper()
897
2635
  result.body = self.deserialize(result_mapper, parsed_response)
898
2636
  rescue Exception => e
899
2637
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -913,7 +2651,7 @@ module Azure::Network::Mgmt::V2019_09_01
913
2651
  #
914
2652
  def add_telemetry
915
2653
  sdk_information = 'azure_mgmt_network'
916
- sdk_information = "#{sdk_information}/0.23.4"
2654
+ sdk_information = "#{sdk_information}/0.24.0"
917
2655
  add_user_agent_information(sdk_information)
918
2656
  end
919
2657
  end