azure_mgmt_network 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_network.rb +129 -78
  3. data/lib/generated/azure_mgmt_network/application_gateways.rb +9 -9
  4. data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +1 -1
  5. data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -1
  6. data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -1
  7. data/lib/generated/azure_mgmt_network/express_route_circuits.rb +1 -1
  8. data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +1 -1
  9. data/lib/generated/azure_mgmt_network/load_balancers.rb +6 -6
  10. data/lib/generated/azure_mgmt_network/local_network_gateways.rb +5 -5
  11. data/lib/generated/azure_mgmt_network/models/access.rb +1 -1
  12. data/lib/generated/azure_mgmt_network/models/address_space.rb +1 -1
  13. data/lib/generated/azure_mgmt_network/models/application_gateway.rb +1 -1
  14. data/lib/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +1 -1
  15. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +1 -1
  16. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +1 -1
  17. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +1 -1
  18. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +1 -1
  19. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +1 -1
  20. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +1 -1
  21. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +1 -1
  22. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +13 -1
  23. data/lib/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +61 -0
  24. data/lib/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +1 -1
  25. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +1 -1
  26. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +1 -1
  27. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +1 -1
  28. data/lib/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +1 -1
  29. data/lib/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +1 -1
  30. data/lib/generated/azure_mgmt_network/models/application_gateway_list_result.rb +1 -1
  31. data/lib/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +1 -1
  32. data/lib/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +1 -1
  33. data/lib/generated/azure_mgmt_network/models/application_gateway_probe.rb +1 -1
  34. data/lib/generated/azure_mgmt_network/models/application_gateway_protocol.rb +1 -1
  35. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +1 -1
  36. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +1 -1
  37. data/lib/generated/azure_mgmt_network/models/application_gateway_sku.rb +1 -1
  38. data/lib/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +1 -1
  39. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +1 -1
  40. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +1 -1
  41. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +1 -1
  42. data/lib/generated/azure_mgmt_network/models/application_gateway_tier.rb +1 -1
  43. data/lib/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +1 -1
  44. data/lib/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +3 -2
  45. data/lib/generated/azure_mgmt_network/models/association_type.rb +16 -0
  46. data/lib/generated/azure_mgmt_network/models/authorization_list_result.rb +1 -1
  47. data/lib/generated/azure_mgmt_network/models/authorization_use_status.rb +1 -1
  48. data/lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb +64 -0
  49. data/lib/generated/azure_mgmt_network/models/backend_address_pool.rb +1 -1
  50. data/lib/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
  51. data/lib/generated/azure_mgmt_network/models/bgp_peer_status.rb +124 -0
  52. data/lib/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +52 -0
  53. data/lib/generated/azure_mgmt_network/models/bgp_service_community.rb +1 -1
  54. data/lib/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +1 -1
  55. data/lib/generated/azure_mgmt_network/models/bgp_settings.rb +1 -1
  56. data/lib/generated/azure_mgmt_network/models/bgpcommunity.rb +1 -1
  57. data/lib/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +1 -1
  58. data/lib/generated/azure_mgmt_network/models/connection_shared_key.rb +1 -1
  59. data/lib/generated/azure_mgmt_network/models/dhcp_options.rb +1 -1
  60. data/lib/generated/azure_mgmt_network/models/direction.rb +16 -0
  61. data/lib/generated/azure_mgmt_network/models/dns_name_availability_result.rb +1 -1
  62. data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +1 -1
  63. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +1 -1
  64. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +1 -1
  65. data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +1 -1
  66. data/lib/generated/azure_mgmt_network/models/effective_route.rb +1 -1
  67. data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +1 -1
  68. data/lib/generated/azure_mgmt_network/models/effective_route_source.rb +1 -1
  69. data/lib/generated/azure_mgmt_network/models/effective_route_state.rb +1 -1
  70. data/lib/generated/azure_mgmt_network/models/error.rb +93 -0
  71. data/lib/generated/azure_mgmt_network/models/error_details.rb +65 -0
  72. data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +1 -1
  73. data/lib/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +1 -1
  74. data/lib/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +1 -1
  75. data/lib/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +1 -1
  76. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +12 -12
  77. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +1 -1
  78. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +1 -1
  79. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +1 -1
  80. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +1 -1
  81. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb +1 -1
  82. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +1 -1
  83. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +1 -1
  84. data/lib/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +1 -1
  85. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +1 -1
  86. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +1 -1
  87. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +1 -1
  88. data/lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +1 -1
  89. data/lib/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +1 -1
  90. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +1 -1
  91. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +1 -1
  92. data/lib/generated/azure_mgmt_network/models/express_route_service_provider.rb +1 -1
  93. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +1 -1
  94. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +1 -1
  95. data/lib/generated/azure_mgmt_network/models/flow_log_information.rb +76 -0
  96. data/lib/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +45 -0
  97. data/lib/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +1 -1
  98. data/lib/generated/azure_mgmt_network/models/gateway_route.rb +112 -0
  99. data/lib/generated/azure_mgmt_network/models/gateway_route_list_result.rb +52 -0
  100. data/lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb +1 -1
  101. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +1 -1
  102. data/lib/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +1 -1
  103. data/lib/generated/azure_mgmt_network/models/ipallocation_method.rb +1 -1
  104. data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +1 -1
  105. data/lib/generated/azure_mgmt_network/models/ipversion.rb +1 -1
  106. data/lib/generated/azure_mgmt_network/models/load_balancer.rb +1 -1
  107. data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +1 -1
  108. data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +1 -1
  109. data/lib/generated/azure_mgmt_network/models/load_distribution.rb +1 -1
  110. data/lib/generated/azure_mgmt_network/models/local_network_gateway.rb +1 -1
  111. data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +1 -1
  112. data/lib/generated/azure_mgmt_network/models/network_interface.rb +1 -1
  113. data/lib/generated/azure_mgmt_network/models/network_interface_association.rb +63 -0
  114. data/lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +1 -1
  115. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +1 -1
  116. data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +1 -1
  117. data/lib/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
  118. data/lib/generated/azure_mgmt_network/models/network_security_group.rb +1 -1
  119. data/lib/generated/azure_mgmt_network/models/network_security_group_list_result.rb +1 -1
  120. data/lib/generated/azure_mgmt_network/models/network_watcher.rb +101 -0
  121. data/lib/generated/azure_mgmt_network/models/network_watcher_list_result.rb +52 -0
  122. data/lib/generated/azure_mgmt_network/models/next_hop_parameters.rb +77 -0
  123. data/lib/generated/azure_mgmt_network/models/next_hop_result.rb +69 -0
  124. data/lib/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
  125. data/lib/generated/azure_mgmt_network/models/outbound_nat_rule.rb +1 -1
  126. data/lib/generated/azure_mgmt_network/models/packet_capture.rb +110 -0
  127. data/lib/generated/azure_mgmt_network/models/packet_capture_filter.rb +101 -0
  128. data/lib/generated/azure_mgmt_network/models/packet_capture_list_result.rb +53 -0
  129. data/lib/generated/azure_mgmt_network/models/packet_capture_parameters.rb +110 -0
  130. data/lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +103 -0
  131. data/lib/generated/azure_mgmt_network/models/packet_capture_result.rb +156 -0
  132. data/lib/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +70 -0
  133. data/lib/generated/azure_mgmt_network/models/patch_route_filter.rb +1 -1
  134. data/lib/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +1 -1
  135. data/lib/generated/azure_mgmt_network/models/pc_error.rb +19 -0
  136. data/lib/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
  137. data/lib/generated/azure_mgmt_network/models/pc_status.rb +19 -0
  138. data/lib/generated/azure_mgmt_network/models/probe.rb +1 -1
  139. data/lib/generated/azure_mgmt_network/models/probe_protocol.rb +1 -1
  140. data/lib/generated/azure_mgmt_network/models/processor_architecture.rb +1 -1
  141. data/lib/generated/azure_mgmt_network/models/protocol.rb +16 -0
  142. data/lib/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
  143. data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +1 -1
  144. data/lib/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +1 -1
  145. data/lib/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +1 -1
  146. data/lib/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +45 -0
  147. data/lib/generated/azure_mgmt_network/models/resource_navigation_link.rb +1 -1
  148. data/lib/generated/azure_mgmt_network/models/retention_policy_parameters.rb +58 -0
  149. data/lib/generated/azure_mgmt_network/models/route.rb +1 -1
  150. data/lib/generated/azure_mgmt_network/models/route_filter.rb +1 -1
  151. data/lib/generated/azure_mgmt_network/models/route_filter_list_result.rb +1 -1
  152. data/lib/generated/azure_mgmt_network/models/route_filter_rule.rb +1 -1
  153. data/lib/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +1 -1
  154. data/lib/generated/azure_mgmt_network/models/route_list_result.rb +1 -1
  155. data/lib/generated/azure_mgmt_network/models/route_next_hop_type.rb +1 -1
  156. data/lib/generated/azure_mgmt_network/models/route_table.rb +1 -1
  157. data/lib/generated/azure_mgmt_network/models/route_table_list_result.rb +1 -1
  158. data/lib/generated/azure_mgmt_network/models/security_group_network_interface.rb +55 -0
  159. data/lib/generated/azure_mgmt_network/models/security_group_view_parameters.rb +44 -0
  160. data/lib/generated/azure_mgmt_network/models/security_group_view_result.rb +53 -0
  161. data/lib/generated/azure_mgmt_network/models/security_rule.rb +1 -1
  162. data/lib/generated/azure_mgmt_network/models/security_rule_access.rb +1 -1
  163. data/lib/generated/azure_mgmt_network/models/security_rule_associations.rb +94 -0
  164. data/lib/generated/azure_mgmt_network/models/security_rule_direction.rb +1 -1
  165. data/lib/generated/azure_mgmt_network/models/security_rule_list_result.rb +1 -1
  166. data/lib/generated/azure_mgmt_network/models/security_rule_protocol.rb +1 -1
  167. data/lib/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +1 -1
  168. data/lib/generated/azure_mgmt_network/models/subnet.rb +1 -1
  169. data/lib/generated/azure_mgmt_network/models/subnet_association.rb +63 -0
  170. data/lib/generated/azure_mgmt_network/models/subnet_list_result.rb +1 -1
  171. data/lib/generated/azure_mgmt_network/models/topology.rb +86 -0
  172. data/lib/generated/azure_mgmt_network/models/topology_association.rb +67 -0
  173. data/lib/generated/azure_mgmt_network/models/topology_parameters.rb +45 -0
  174. data/lib/generated/azure_mgmt_network/models/topology_resource.rb +83 -0
  175. data/lib/generated/azure_mgmt_network/models/transport_protocol.rb +1 -1
  176. data/lib/generated/azure_mgmt_network/models/troubleshooting_details.rb +93 -0
  177. data/lib/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +66 -0
  178. data/lib/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +76 -0
  179. data/lib/generated/azure_mgmt_network/models/troubleshooting_result.rb +83 -0
  180. data/lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb +1 -1
  181. data/lib/generated/azure_mgmt_network/models/usage.rb +1 -1
  182. data/lib/generated/azure_mgmt_network/models/usage_name.rb +1 -1
  183. data/lib/generated/azure_mgmt_network/models/usages_list_result.rb +1 -1
  184. data/lib/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +124 -0
  185. data/lib/generated/azure_mgmt_network/models/verification_ipflow_result.rb +56 -0
  186. data/lib/generated/azure_mgmt_network/models/virtual_network.rb +1 -1
  187. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +1 -1
  188. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +1 -1
  189. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +1 -1
  190. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +1 -1
  191. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +1 -1
  192. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +1 -1
  193. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +1 -1
  194. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +1 -1
  195. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +1 -1
  196. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +1 -1
  197. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +1 -1
  198. data/lib/generated/azure_mgmt_network/models/virtual_network_list_result.rb +1 -1
  199. data/lib/generated/azure_mgmt_network/models/virtual_network_peering.rb +1 -1
  200. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +1 -1
  201. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +1 -1
  202. data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +1 -1
  203. data/lib/generated/azure_mgmt_network/models/vpn_client_parameters.rb +1 -1
  204. data/lib/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +1 -1
  205. data/lib/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +1 -1
  206. data/lib/generated/azure_mgmt_network/models/vpn_type.rb +1 -1
  207. data/lib/generated/azure_mgmt_network/module_definition.rb +1 -1
  208. data/lib/generated/azure_mgmt_network/network_interfaces.rb +8 -8
  209. data/lib/generated/azure_mgmt_network/network_management_client.rb +59 -51
  210. data/lib/generated/azure_mgmt_network/network_security_groups.rb +6 -6
  211. data/lib/generated/azure_mgmt_network/network_watchers.rb +1804 -0
  212. data/lib/generated/azure_mgmt_network/packet_captures.rb +781 -0
  213. data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +6 -6
  214. data/lib/generated/azure_mgmt_network/route_filter_rules.rb +1 -1
  215. data/lib/generated/azure_mgmt_network/route_filters.rb +1 -1
  216. data/lib/generated/azure_mgmt_network/route_tables.rb +6 -6
  217. data/lib/generated/azure_mgmt_network/routes.rb +5 -5
  218. data/lib/generated/azure_mgmt_network/security_rules.rb +5 -5
  219. data/lib/generated/azure_mgmt_network/subnets.rb +5 -5
  220. data/lib/generated/azure_mgmt_network/usages.rb +2 -2
  221. data/lib/generated/azure_mgmt_network/version.rb +2 -2
  222. data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +8 -8
  223. data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +440 -7
  224. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +5 -5
  225. data/lib/generated/azure_mgmt_network/virtual_networks.rb +7 -7
  226. metadata +53 -2
@@ -0,0 +1,64 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ module Models
8
+ #
9
+ # The response body contains the status of the specified asynchronous
10
+ # operation, indicating whether it has succeeded, is in progress, or has
11
+ # failed. Note that this status is distinct from the HTTP status code
12
+ # returned for the Get Operation Status operation itself. If the
13
+ # asynchronous operation succeeded, the response body includes the HTTP
14
+ # status code for the successful request. If the asynchronous operation
15
+ # failed, the response body includes the HTTP status code for the failed
16
+ # request and error information regarding the failure.
17
+ #
18
+ class AzureAsyncOperationResult
19
+
20
+ include MsRestAzure
21
+
22
+ # @return [NetworkOperationStatus] Status of the Azure async operation.
23
+ # Possible values are: 'InProgress', 'Succeeded', and 'Failed'. Possible
24
+ # values include: 'InProgress', 'Succeeded', 'Failed'
25
+ attr_accessor :status
26
+
27
+ # @return [Error]
28
+ attr_accessor :error
29
+
30
+
31
+ #
32
+ # Mapper for AzureAsyncOperationResult class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'AzureAsyncOperationResult',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'AzureAsyncOperationResult',
42
+ model_properties: {
43
+ status: {
44
+ required: false,
45
+ serialized_name: 'status',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ error: {
51
+ required: false,
52
+ serialized_name: 'error',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'Error'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ end
62
+ end
63
+ end
64
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,19 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ module Models
8
+ #
9
+ # Defines values for BgpPeerState
10
+ #
11
+ module BgpPeerState
12
+ Unknown = "Unknown"
13
+ Stopped = "Stopped"
14
+ Idle = "Idle"
15
+ Connecting = "Connecting"
16
+ Connected = "Connected"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,124 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class BgpPeerStatus
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The virtual network gateway's local address
17
+ attr_accessor :local_address
18
+
19
+ # @return [String] The remote BGP peer
20
+ attr_accessor :neighbor
21
+
22
+ # @return [Integer] The autonomous system number of the remote BGP peer
23
+ attr_accessor :asn
24
+
25
+ # @return [BgpPeerState] The BGP peer state. Possible values include:
26
+ # 'Unknown', 'Stopped', 'Idle', 'Connecting', 'Connected'
27
+ attr_accessor :state
28
+
29
+ # @return [String] For how long the peering has been up
30
+ attr_accessor :connected_duration
31
+
32
+ # @return [Integer] The number of routes learned from this peer
33
+ attr_accessor :routes_received
34
+
35
+ # @return [Integer] The number of BGP messages sent
36
+ attr_accessor :messages_sent
37
+
38
+ # @return [Integer] The number of BGP messages received
39
+ attr_accessor :messages_received
40
+
41
+
42
+ #
43
+ # Mapper for BgpPeerStatus class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ required: false,
49
+ serialized_name: 'BgpPeerStatus',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'BgpPeerStatus',
53
+ model_properties: {
54
+ local_address: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'localAddress',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ neighbor: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'neighbor',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ asn: {
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'asn',
74
+ type: {
75
+ name: 'Number'
76
+ }
77
+ },
78
+ state: {
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'state',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ connected_duration: {
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'connectedDuration',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ routes_received: {
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'routesReceived',
98
+ type: {
99
+ name: 'Number'
100
+ }
101
+ },
102
+ messages_sent: {
103
+ required: false,
104
+ read_only: true,
105
+ serialized_name: 'messagesSent',
106
+ type: {
107
+ name: 'Number'
108
+ }
109
+ },
110
+ messages_received: {
111
+ required: false,
112
+ read_only: true,
113
+ serialized_name: 'messagesReceived',
114
+ type: {
115
+ name: 'Number'
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ end
122
+ end
123
+ end
124
+ end
@@ -0,0 +1,52 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ module Models
8
+ #
9
+ # Response for list BGP peer status API service call
10
+ #
11
+ class BgpPeerStatusListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<BgpPeerStatus>] List of BGP peers
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for BgpPeerStatusListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'BgpPeerStatusListResult',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'BgpPeerStatusListResult',
30
+ model_properties: {
31
+ value: {
32
+ required: false,
33
+ serialized_name: 'value',
34
+ type: {
35
+ name: 'Sequence',
36
+ element: {
37
+ required: false,
38
+ serialized_name: 'BgpPeerStatusElementType',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'BgpPeerStatus'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ end
50
+ end
51
+ end
52
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ module Models
8
+ #
9
+ # Defines values for Direction
10
+ #
11
+ module Direction
12
+ Inbound = "Inbound"
13
+ Outbound = "Outbound"
14
+ end
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,93 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class Error
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String]
17
+ attr_accessor :code
18
+
19
+ # @return [String]
20
+ attr_accessor :message
21
+
22
+ # @return [String]
23
+ attr_accessor :target
24
+
25
+ # @return [Array<ErrorDetails>]
26
+ attr_accessor :details
27
+
28
+ # @return [String]
29
+ attr_accessor :inner_error
30
+
31
+
32
+ #
33
+ # Mapper for Error class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ required: false,
39
+ serialized_name: 'Error',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Error',
43
+ model_properties: {
44
+ code: {
45
+ required: false,
46
+ serialized_name: 'code',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ message: {
52
+ required: false,
53
+ serialized_name: 'message',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ target: {
59
+ required: false,
60
+ serialized_name: 'target',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ details: {
66
+ required: false,
67
+ serialized_name: 'details',
68
+ type: {
69
+ name: 'Sequence',
70
+ element: {
71
+ required: false,
72
+ serialized_name: 'ErrorDetailsElementType',
73
+ type: {
74
+ name: 'Composite',
75
+ class_name: 'ErrorDetails'
76
+ }
77
+ }
78
+ }
79
+ },
80
+ inner_error: {
81
+ required: false,
82
+ serialized_name: 'innerError',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ end
91
+ end
92
+ end
93
+ end