azure_mgmt_network 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_network.rb +59 -52
  3. data/lib/generated/azure_mgmt_network/application_gateways.rb +426 -308
  4. data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +181 -199
  5. data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +175 -193
  6. data/lib/generated/azure_mgmt_network/express_route_circuits.rb +458 -497
  7. data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +36 -43
  8. data/lib/generated/azure_mgmt_network/load_balancers.rb +225 -242
  9. data/lib/generated/azure_mgmt_network/local_network_gateways.rb +168 -191
  10. data/lib/generated/azure_mgmt_network/models/address_space.rb +4 -4
  11. data/lib/generated/azure_mgmt_network/models/application_gateway.rb +42 -28
  12. data/lib/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +6 -6
  13. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +4 -4
  14. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +6 -6
  15. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +52 -0
  16. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +66 -0
  17. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +65 -0
  18. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +67 -0
  19. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +18 -0
  20. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +16 -13
  21. data/lib/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +1 -1
  22. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  23. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +13 -12
  24. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +6 -6
  25. data/lib/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +16 -14
  26. data/lib/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +7 -6
  27. data/lib/generated/azure_mgmt_network/models/application_gateway_list_result.rb +4 -4
  28. data/lib/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +1 -1
  29. data/lib/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +9 -9
  30. data/lib/generated/azure_mgmt_network/models/application_gateway_probe.rb +19 -12
  31. data/lib/generated/azure_mgmt_network/models/application_gateway_protocol.rb +1 -1
  32. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +14 -11
  33. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +1 -1
  34. data/lib/generated/azure_mgmt_network/models/application_gateway_sku.rb +11 -8
  35. data/lib/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +3 -1
  36. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +12 -9
  37. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +4 -3
  38. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +1 -1
  39. data/lib/generated/azure_mgmt_network/models/application_gateway_tier.rb +2 -1
  40. data/lib/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +10 -9
  41. data/lib/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +57 -0
  42. data/lib/generated/azure_mgmt_network/models/authorization_list_result.rb +6 -6
  43. data/lib/generated/azure_mgmt_network/models/authorization_use_status.rb +1 -1
  44. data/lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb +4 -3
  45. data/lib/generated/azure_mgmt_network/models/backend_address_pool.rb +11 -11
  46. data/lib/generated/azure_mgmt_network/models/bgp_settings.rb +7 -6
  47. data/lib/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +8 -3
  48. data/lib/generated/azure_mgmt_network/models/connection_shared_key.rb +4 -4
  49. data/lib/generated/azure_mgmt_network/models/dhcp_options.rb +4 -4
  50. data/lib/generated/azure_mgmt_network/models/dns_name_availability_result.rb +3 -3
  51. data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +5 -6
  52. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +4 -4
  53. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +5 -5
  54. data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +20 -17
  55. data/lib/generated/azure_mgmt_network/models/effective_route.rb +16 -13
  56. data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +4 -4
  57. data/lib/generated/azure_mgmt_network/models/effective_route_source.rb +1 -1
  58. data/lib/generated/azure_mgmt_network/models/effective_route_state.rb +1 -1
  59. data/lib/generated/azure_mgmt_network/models/error.rb +2 -1
  60. data/lib/generated/azure_mgmt_network/models/error_details.rb +2 -1
  61. data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +20 -21
  62. data/lib/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +6 -6
  63. data/lib/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +10 -9
  64. data/lib/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +5 -5
  65. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +26 -24
  66. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +1 -1
  67. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +10 -10
  68. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +6 -6
  69. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +1 -1
  70. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb +1 -1
  71. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +4 -4
  72. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +5 -5
  73. data/lib/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +5 -5
  74. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +9 -7
  75. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +1 -1
  76. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +1 -1
  77. data/lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +2 -2
  78. data/lib/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +5 -4
  79. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +5 -5
  80. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +5 -5
  81. data/lib/generated/azure_mgmt_network/models/express_route_service_provider.rb +6 -6
  82. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +4 -4
  83. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +5 -5
  84. data/lib/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +18 -19
  85. data/lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb +19 -27
  86. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +25 -33
  87. data/lib/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +4 -4
  88. data/lib/generated/azure_mgmt_network/models/ipallocation_method.rb +1 -1
  89. data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +12 -13
  90. data/lib/generated/azure_mgmt_network/models/ipversion.rb +1 -1
  91. data/lib/generated/azure_mgmt_network/models/load_balancer.rb +31 -16
  92. data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +5 -5
  93. data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +29 -38
  94. data/lib/generated/azure_mgmt_network/models/load_distribution.rb +1 -1
  95. data/lib/generated/azure_mgmt_network/models/local_network_gateway.rb +11 -10
  96. data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +5 -5
  97. data/lib/generated/azure_mgmt_network/models/network_interface.rb +31 -20
  98. data/lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +18 -8
  99. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +19 -16
  100. data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +5 -5
  101. data/lib/generated/azure_mgmt_network/models/network_operation_status.rb +1 -1
  102. data/lib/generated/azure_mgmt_network/models/network_security_group.rb +15 -15
  103. data/lib/generated/azure_mgmt_network/models/network_security_group_list_result.rb +5 -5
  104. data/lib/generated/azure_mgmt_network/models/outbound_nat_rule.rb +12 -14
  105. data/lib/generated/azure_mgmt_network/models/probe.rb +27 -28
  106. data/lib/generated/azure_mgmt_network/models/probe_protocol.rb +1 -1
  107. data/lib/generated/azure_mgmt_network/models/processor_architecture.rb +1 -1
  108. data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +15 -15
  109. data/lib/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +15 -14
  110. data/lib/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +5 -5
  111. data/lib/generated/azure_mgmt_network/models/resource_navigation_link.rb +6 -6
  112. data/lib/generated/azure_mgmt_network/models/route.rb +13 -13
  113. data/lib/generated/azure_mgmt_network/models/route_list_result.rb +4 -4
  114. data/lib/generated/azure_mgmt_network/models/route_next_hop_type.rb +1 -1
  115. data/lib/generated/azure_mgmt_network/models/route_table.rb +8 -7
  116. data/lib/generated/azure_mgmt_network/models/route_table_list_result.rb +5 -5
  117. data/lib/generated/azure_mgmt_network/models/security_rule.rb +33 -36
  118. data/lib/generated/azure_mgmt_network/models/security_rule_access.rb +1 -1
  119. data/lib/generated/azure_mgmt_network/models/security_rule_direction.rb +1 -1
  120. data/lib/generated/azure_mgmt_network/models/security_rule_list_result.rb +6 -6
  121. data/lib/generated/azure_mgmt_network/models/security_rule_protocol.rb +1 -1
  122. data/lib/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +1 -1
  123. data/lib/generated/azure_mgmt_network/models/subnet.rb +14 -15
  124. data/lib/generated/azure_mgmt_network/models/subnet_list_result.rb +4 -4
  125. data/lib/generated/azure_mgmt_network/models/transport_protocol.rb +1 -1
  126. data/lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb +92 -0
  127. data/lib/generated/azure_mgmt_network/models/usage.rb +7 -7
  128. data/lib/generated/azure_mgmt_network/models/usage_name.rb +4 -5
  129. data/lib/generated/azure_mgmt_network/models/usages_list_result.rb +3 -3
  130. data/lib/generated/azure_mgmt_network/models/virtual_network.rb +15 -16
  131. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +26 -23
  132. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +45 -18
  133. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +6 -5
  134. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +1 -1
  135. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +1 -1
  136. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +15 -14
  137. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +5 -5
  138. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +12 -10
  139. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +1 -1
  140. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +1 -1
  141. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +1 -1
  142. data/lib/generated/azure_mgmt_network/models/virtual_network_list_result.rb +5 -5
  143. data/lib/generated/azure_mgmt_network/models/virtual_network_peering.rb +21 -23
  144. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +6 -6
  145. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +1 -1
  146. data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +5 -5
  147. data/lib/generated/azure_mgmt_network/models/vpn_client_parameters.rb +5 -4
  148. data/lib/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +10 -9
  149. data/lib/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +10 -8
  150. data/lib/generated/azure_mgmt_network/models/vpn_type.rb +1 -1
  151. data/lib/generated/azure_mgmt_network/module_definition.rb +1 -1
  152. data/lib/generated/azure_mgmt_network/network_interfaces.rb +443 -478
  153. data/lib/generated/azure_mgmt_network/network_management_client.rb +20 -7
  154. data/lib/generated/azure_mgmt_network/network_security_groups.rb +224 -249
  155. data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +220 -241
  156. data/lib/generated/azure_mgmt_network/route_tables.rb +219 -226
  157. data/lib/generated/azure_mgmt_network/routes.rb +171 -181
  158. data/lib/generated/azure_mgmt_network/security_rules.rb +175 -193
  159. data/lib/generated/azure_mgmt_network/subnets.rb +177 -181
  160. data/lib/generated/azure_mgmt_network/usages.rb +34 -34
  161. data/lib/generated/azure_mgmt_network/version.rb +2 -2
  162. data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +335 -358
  163. data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +246 -289
  164. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +177 -191
  165. data/lib/generated/azure_mgmt_network/virtual_networks.rb +242 -249
  166. metadata +12 -5
  167. data/lib/generated/azure_mgmt_network/models/connection_shared_key_result.rb +0 -44
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,23 +1,23 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
7
  module Models
8
8
  #
9
- # Response for ListSecurityRule Api service callRetrieves all security
10
- # rules that belongs to a network security group
9
+ # Response for ListSecurityRule API service call. Retrieves all security
10
+ # rules that belongs to a network security group.
11
11
  #
12
12
  class SecurityRuleListResult
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- # @return [Array<SecurityRule>] Gets security rules in a network
17
- # security group
16
+ # @return [Array<SecurityRule>] The security rules in a network security
17
+ # group.
18
18
  attr_accessor :value
19
19
 
20
- # @return [String] Gets the URL to get the next set of results.
20
+ # @return [String] The URL to get the next set of results.
21
21
  attr_accessor :next_link
22
22
 
23
23
  # return [Proc] with next page method call.
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,45 +1,44 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
7
  module Models
8
8
  #
9
- # Subnet in a VirtualNework resource
9
+ # Subnet in a virtual network resource.
10
10
  #
11
11
  class Subnet < MsRestAzure::SubResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets or sets Address prefix for the subnet.
15
+ # @return [String] The address prefix for the subnet.
16
16
  attr_accessor :address_prefix
17
17
 
18
- # @return [NetworkSecurityGroup] Gets or sets the reference of the
19
- # NetworkSecurityGroup resource
18
+ # @return [NetworkSecurityGroup] The reference of the
19
+ # NetworkSecurityGroup resource.
20
20
  attr_accessor :network_security_group
21
21
 
22
- # @return [RouteTable] Gets or sets the reference of the RouteTable
23
- # resource
22
+ # @return [RouteTable] The reference of the RouteTable resource.
24
23
  attr_accessor :route_table
25
24
 
26
- # @return [Array<IPConfiguration>] Gets array of references to the
27
- # network interface IP configurations using subnet
25
+ # @return [Array<IPConfiguration>] Gets an array of references to the
26
+ # network interface IP configurations using subnet.
28
27
  attr_accessor :ip_configurations
29
28
 
30
- # @return [Array<ResourceNavigationLink>] Gets array of references to
31
- # the external resources using subnet
29
+ # @return [Array<ResourceNavigationLink>] Gets an array of references to
30
+ # the external resources using subnet.
32
31
  attr_accessor :resource_navigation_links
33
32
 
34
- # @return [String] Gets provisioning state of the resource
33
+ # @return [String] The provisioning state of the resource.
35
34
  attr_accessor :provisioning_state
36
35
 
37
- # @return [String] Gets or sets the name of the resource that is unique
38
- # within a resource group. This name can be used to access the resource
36
+ # @return [String] The name of the resource that is unique within a
37
+ # resource group. This name can be used to access the resource.
39
38
  attr_accessor :name
40
39
 
41
40
  # @return [String] A unique read-only string that changes whenever the
42
- # resource is updated
41
+ # resource is updated.
43
42
  attr_accessor :etag
44
43
 
45
44
 
@@ -1,22 +1,22 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
7
  module Models
8
8
  #
9
- # Response for ListSubnets Api service callRetrieves all subnet that
9
+ # Response for ListSubnets API service callRetrieves all subnet that
10
10
  # belongs to a virtual network
11
11
  #
12
12
  class SubnetListResult
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- # @return [Array<Subnet>] Gets the subnets in a virtual network
16
+ # @return [Array<Subnet>] The subnets in a virtual network.
17
17
  attr_accessor :value
18
18
 
19
- # @return [String] Gets the URL to get the next set of results.
19
+ # @return [String] The URL to get the next set of results.
20
20
  attr_accessor :next_link
21
21
 
22
22
  # return [Proc] with next page method call.
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,92 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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
+ # VirtualNetworkGatewayConnection properties
10
+ #
11
+ class TunnelConnectionHealth
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Tunnel name.
16
+ attr_accessor :tunnel
17
+
18
+ # @return [VirtualNetworkGatewayConnectionStatus] Virtual network Gateway
19
+ # connection status. Possible values include: 'Unknown', 'Connecting',
20
+ # 'Connected', 'NotConnected'
21
+ attr_accessor :connection_status
22
+
23
+ # @return [Integer] The Ingress Bytes Transferred in this connection
24
+ attr_accessor :ingress_bytes_transferred
25
+
26
+ # @return [Integer] The Egress Bytes Transferred in this connection
27
+ attr_accessor :egress_bytes_transferred
28
+
29
+ # @return [String] The time at which connection was established in Utc
30
+ # format.
31
+ attr_accessor :last_connection_established_utc_time
32
+
33
+
34
+ #
35
+ # Mapper for TunnelConnectionHealth class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ required: false,
41
+ serialized_name: 'TunnelConnectionHealth',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'TunnelConnectionHealth',
45
+ model_properties: {
46
+ tunnel: {
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'tunnel',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ connection_status: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'connectionStatus',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ ingress_bytes_transferred: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'ingressBytesTransferred',
66
+ type: {
67
+ name: 'Number'
68
+ }
69
+ },
70
+ egress_bytes_transferred: {
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'egressBytesTransferred',
74
+ type: {
75
+ name: 'Number'
76
+ }
77
+ },
78
+ last_connection_established_utc_time: {
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'lastConnectionEstablishedUtcTime',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -1,28 +1,28 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
7
  module Models
8
8
  #
9
- # Describes Network Resource Usage.
9
+ # Describes network resource usage.
10
10
  #
11
11
  class Usage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets or sets an enum describing the unit of
16
- # measurement. Default value: 'Count' .
15
+ # @return [String] An enum describing the unit of measurement. Default
16
+ # value: 'Count' .
17
17
  attr_accessor :unit
18
18
 
19
- # @return [Integer] Gets or sets the current value of the usage.
19
+ # @return [Integer] The current value of the usage.
20
20
  attr_accessor :current_value
21
21
 
22
- # @return [Integer] Gets or sets the limit of usage.
22
+ # @return [Integer] The limit of usage.
23
23
  attr_accessor :limit
24
24
 
25
- # @return [UsageName] Gets or sets the name of the type of usage.
25
+ # @return [UsageName] The name of the type of usage.
26
26
  attr_accessor :name
27
27
 
28
28
 
@@ -1,22 +1,21 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
7
  module Models
8
8
  #
9
- # The Usage Names.
9
+ # The usage names.
10
10
  #
11
11
  class UsageName
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets or sets a string describing the resource name.
15
+ # @return [String] A string describing the resource name.
16
16
  attr_accessor :value
17
17
 
18
- # @return [String] Gets or sets a localized string describing the
19
- # resource name.
18
+ # @return [String] A localized string describing the resource name.
20
19
  attr_accessor :localized_value
21
20
 
22
21
 
@@ -1,18 +1,18 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
7
  module Models
8
8
  #
9
- # The List Usages operation response.
9
+ # The list usages operation response.
10
10
  #
11
11
  class UsagesListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<Usage>] Gets or sets the list Network Resource Usages.
15
+ # @return [Array<Usage>] The list network resource usages.
16
16
  attr_accessor :value
17
17
 
18
18
  # @return [String] URL to get the next set of results.
@@ -1,43 +1,42 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
7
  module Models
8
8
  #
9
- # Virtual Network resource
9
+ # Virtual Network resource.
10
10
  #
11
11
  class VirtualNetwork < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [AddressSpace] Gets or sets AddressSpace that contains an
16
- # array of IP address ranges that can be used by subnets
15
+ # @return [AddressSpace] The AddressSpace that contains an array of IP
16
+ # address ranges that can be used by subnets.
17
17
  attr_accessor :address_space
18
18
 
19
- # @return [DhcpOptions] Gets or sets DHCPOptions that contains an array
20
- # of DNS servers available to VMs deployed in the virtual network
19
+ # @return [DhcpOptions] The dhcpOptions that contains an array of DNS
20
+ # servers available to VMs deployed in the virtual network.
21
21
  attr_accessor :dhcp_options
22
22
 
23
- # @return [Array<Subnet>] Gets or sets list of subnets in a
24
- # VirtualNetwork
23
+ # @return [Array<Subnet>] A list of subnets in a Virtual Network.
25
24
  attr_accessor :subnets
26
25
 
27
- # @return [Array<VirtualNetworkPeering>] Gets or sets list of peerings
28
- # in a VirtualNetwork
26
+ # @return [Array<VirtualNetworkPeering>] A list of peerings in a Virtual
27
+ # Network.
29
28
  attr_accessor :virtual_network_peerings
30
29
 
31
- # @return [String] Gets or sets resource guid property of the
32
- # VirtualNetwork resource
30
+ # @return [String] The resourceGuid property of the Virtual Network
31
+ # resource.
33
32
  attr_accessor :resource_guid
34
33
 
35
- # @return [String] Gets provisioning state of the PublicIP resource
36
- # Updating/Deleting/Failed
34
+ # @return [String] The provisioning state of the PublicIP resource.
35
+ # Possible values are: 'Updating', 'Deleting', and 'Failed'.
37
36
  attr_accessor :provisioning_state
38
37
 
39
38
  # @return [String] Gets a unique read-only string that changes whenever
40
- # the resource is updated
39
+ # the resource is updated.
41
40
  attr_accessor :etag
42
41
 
43
42
 
@@ -130,7 +129,7 @@ module Azure::ARM::Network
130
129
  },
131
130
  virtual_network_peerings: {
132
131
  required: false,
133
- serialized_name: 'properties.VirtualNetworkPeerings',
132
+ serialized_name: 'properties.virtualNetworkPeerings',
134
133
  type: {
135
134
  name: 'Sequence',
136
135
  element: {
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,53 +12,55 @@ module Azure::ARM::Network
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<VirtualNetworkGatewayIPConfiguration>] IpConfigurations
16
- # for Virtual network gateway.
15
+ # @return [Array<VirtualNetworkGatewayIPConfiguration>] IP configurations
16
+ # for virtual network gateway.
17
17
  attr_accessor :ip_configurations
18
18
 
19
19
  # @return [VirtualNetworkGatewayType] The type of this virtual network
20
- # gateway. Possible values include: 'Vpn', 'ExpressRoute'
20
+ # gateway. Possible values are: 'Vpn' and 'ExpressRoute'. Possible values
21
+ # include: 'Vpn', 'ExpressRoute'
21
22
  attr_accessor :gateway_type
22
23
 
23
24
  # @return [VpnType] The type of this virtual network gateway. Possible
24
- # values include: 'PolicyBased', 'RouteBased'
25
+ # values are: 'PolicyBased' and 'RouteBased'. Possible values include:
26
+ # 'PolicyBased', 'RouteBased'
25
27
  attr_accessor :vpn_type
26
28
 
27
- # @return [Boolean] EnableBgp Flag
29
+ # @return [Boolean] Whether BGP is enabled for this virtual network
30
+ # gateway or not.
28
31
  attr_accessor :enable_bgp
29
32
 
30
33
  # @return [Boolean] ActiveActive flag
31
34
  attr_accessor :active_active
32
35
 
33
- # @return [SubResource] Gets or sets the reference of the
34
- # LocalNetworkGateway resource which represents Local network site
35
- # having default routes. Assign Null value in case of removing existing
36
- # default site setting.
36
+ # @return [SubResource] The reference of the LocalNetworkGateway resource
37
+ # which represents local network site having default routes. Assign Null
38
+ # value in case of removing existing default site setting.
37
39
  attr_accessor :gateway_default_site
38
40
 
39
- # @return [VirtualNetworkGatewaySku] Gets or sets the reference of the
40
- # VirtualNetworkGatewaySku resource which represents the sku selected
41
- # for Virtual network gateway.
41
+ # @return [VirtualNetworkGatewaySku] The reference of the
42
+ # VirtualNetworkGatewaySku resource which represents the SKU selected for
43
+ # Virtual network gateway.
42
44
  attr_accessor :sku
43
45
 
44
- # @return [VpnClientConfiguration] Gets or sets the reference of the
46
+ # @return [VpnClientConfiguration] The reference of the
45
47
  # VpnClientConfiguration resource which represents the P2S VpnClient
46
48
  # configurations.
47
49
  attr_accessor :vpn_client_configuration
48
50
 
49
- # @return [BgpSettings] Virtual network gateway's BGP speaker settings
51
+ # @return [BgpSettings] Virtual network gateway's BGP speaker settings.
50
52
  attr_accessor :bgp_settings
51
53
 
52
- # @return [String] Gets or sets resource guid property of the
53
- # VirtualNetworkGateway resource
54
+ # @return [String] The resource GUID property of the
55
+ # VirtualNetworkGateway resource.
54
56
  attr_accessor :resource_guid
55
57
 
56
- # @return [String] Gets provisioning state of the VirtualNetworkGateway
57
- # resource Updating/Deleting/Failed
58
+ # @return [String] The provisioning state of the VirtualNetworkGateway
59
+ # resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
58
60
  attr_accessor :provisioning_state
59
61
 
60
62
  # @return [String] Gets a unique read-only string that changes whenever
61
- # the resource is updated
63
+ # the resource is updated.
62
64
  attr_accessor :etag
63
65
 
64
66
 
@@ -119,7 +121,7 @@ module Azure::ARM::Network
119
121
  }
120
122
  },
121
123
  ip_configurations: {
122
- required: false,
124
+ required: true,
123
125
  serialized_name: 'properties.ipConfigurations',
124
126
  type: {
125
127
  name: 'Sequence',
@@ -134,14 +136,14 @@ module Azure::ARM::Network
134
136
  }
135
137
  },
136
138
  gateway_type: {
137
- required: false,
139
+ required: true,
138
140
  serialized_name: 'properties.gatewayType',
139
141
  type: {
140
142
  name: 'String'
141
143
  }
142
144
  },
143
145
  vpn_type: {
144
- required: false,
146
+ required: true,
145
147
  serialized_name: 'properties.vpnType',
146
148
  type: {
147
149
  name: 'String'
@@ -202,6 +204,7 @@ module Azure::ARM::Network
202
204
  },
203
205
  provisioning_state: {
204
206
  required: false,
207
+ read_only: true,
205
208
  serialized_name: 'properties.provisioningState',
206
209
  type: {
207
210
  name: 'String'