azure_mgmt_network 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +1 -26
- data/azure_mgmt_network.gemspec +2 -2
- data/lib/azure_mgmt_network.rb +33 -31
- data/lib/azure_mgmt_network/application_gateways.rb +345 -55
- data/lib/azure_mgmt_network/express_route_circuit_authorizations.rb +207 -31
- data/lib/azure_mgmt_network/express_route_circuit_peerings.rb +205 -31
- data/lib/azure_mgmt_network/express_route_circuits.rb +633 -168
- data/lib/azure_mgmt_network/express_route_service_providers.rb +73 -11
- data/lib/azure_mgmt_network/load_balancers.rb +267 -41
- data/lib/azure_mgmt_network/local_network_gateways.rb +205 -31
- data/lib/azure_mgmt_network/models/address_space.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_backend_address.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_backend_address_pool_properties_format.rb +5 -5
- data/lib/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_backend_http_settings_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_frontend_port.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_frontend_port_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_http_listener.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_http_listener_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_ipconfiguration_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_operational_state.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_path_rule.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_probe.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_probe_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_protocol.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_request_routing_rule_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_sku.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_sku_name.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_ssl_certificate_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_tier.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_url_path_map.rb +1 -1
- data/lib/azure_mgmt_network/models/application_gateway_url_path_map_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/authorization_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/authorization_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/authorization_use_status.rb +1 -1
- data/lib/azure_mgmt_network/models/azure_async_operation_result.rb +1 -1
- data/lib/azure_mgmt_network/models/backend_address_pool.rb +1 -1
- data/lib/azure_mgmt_network/models/backend_address_pool_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/bgp_settings.rb +1 -1
- data/lib/azure_mgmt_network/models/connection_reset_shared_key.rb +1 -1
- data/lib/azure_mgmt_network/models/connection_shared_key.rb +1 -1
- data/lib/azure_mgmt_network/models/connection_shared_key_result.rb +1 -1
- data/lib/azure_mgmt_network/models/dhcp_options.rb +1 -1
- data/lib/azure_mgmt_network/models/dns_name_availability_result.rb +1 -1
- data/lib/azure_mgmt_network/models/error.rb +1 -1
- data/lib/azure_mgmt_network/models/error_details.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_arp_table.rb +20 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_authorization.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_peering.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_peering_config.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_peering_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_peering_state.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_peering_type.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_properties_format.rb +10 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_routes_table.rb +36 -32
- data/lib/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +97 -0
- data/lib/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_sku.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_sku_family.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuit_stats.rb +31 -11
- data/lib/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/{express_route_circuits_stats_list_result.rb → express_route_circuits_routes_table_summary_list_result.rb} +11 -8
- data/lib/azure_mgmt_network/models/express_route_service_provider.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_service_provider_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/express_route_service_provider_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/frontend_ipconfiguration.rb +1 -1
- data/lib/azure_mgmt_network/models/frontend_ipconfiguration_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/inbound_nat_pool.rb +1 -1
- data/lib/azure_mgmt_network/models/inbound_nat_pool_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/inbound_nat_rule.rb +1 -1
- data/lib/azure_mgmt_network/models/inbound_nat_rule_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/ipallocation_method.rb +1 -1
- data/lib/azure_mgmt_network/models/ipconfiguration.rb +1 -1
- data/lib/azure_mgmt_network/models/ipconfiguration_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/ipversion.rb +16 -0
- data/lib/azure_mgmt_network/models/load_balancer.rb +1 -1
- data/lib/azure_mgmt_network/models/load_balancer_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/load_balancer_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/load_balancing_rule.rb +1 -1
- data/lib/azure_mgmt_network/models/load_balancing_rule_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/load_distribution.rb +1 -1
- data/lib/azure_mgmt_network/models/local_network_gateway.rb +1 -1
- data/lib/azure_mgmt_network/models/local_network_gateway_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/local_network_gateway_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/network_interface.rb +1 -1
- data/lib/azure_mgmt_network/models/network_interface_dns_settings.rb +11 -4
- data/lib/azure_mgmt_network/models/network_interface_ipconfiguration.rb +1 -1
- data/lib/azure_mgmt_network/models/network_interface_ipconfiguration_properties_format.rb +59 -14
- data/lib/azure_mgmt_network/models/network_interface_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/network_interface_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/network_operation_status.rb +1 -1
- data/lib/azure_mgmt_network/models/network_security_group.rb +1 -1
- data/lib/azure_mgmt_network/models/network_security_group_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/network_security_group_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/outbound_nat_rule.rb +1 -1
- data/lib/azure_mgmt_network/models/outbound_nat_rule_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/probe.rb +1 -1
- data/lib/azure_mgmt_network/models/probe_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/probe_protocol.rb +1 -1
- data/lib/azure_mgmt_network/models/processor_architecture.rb +1 -1
- data/lib/azure_mgmt_network/models/public_ipaddress.rb +1 -1
- data/lib/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +1 -1
- data/lib/azure_mgmt_network/models/public_ipaddress_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/public_ipaddress_properties_format.rb +15 -1
- data/lib/azure_mgmt_network/models/route.rb +1 -1
- data/lib/azure_mgmt_network/models/route_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/route_next_hop_type.rb +1 -1
- data/lib/azure_mgmt_network/models/route_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/route_table.rb +1 -1
- data/lib/azure_mgmt_network/models/route_table_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/route_table_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/security_rule.rb +1 -1
- data/lib/azure_mgmt_network/models/security_rule_access.rb +1 -1
- data/lib/azure_mgmt_network/models/security_rule_direction.rb +1 -1
- data/lib/azure_mgmt_network/models/security_rule_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/security_rule_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/security_rule_protocol.rb +1 -1
- data/lib/azure_mgmt_network/models/service_provider_provisioning_state.rb +1 -1
- data/lib/azure_mgmt_network/models/subnet.rb +1 -1
- data/lib/azure_mgmt_network/models/subnet_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/subnet_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/transport_protocol.rb +1 -1
- data/lib/azure_mgmt_network/models/usage.rb +1 -1
- data/lib/azure_mgmt_network/models/usage_name.rb +1 -1
- data/lib/azure_mgmt_network/models/usages_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_connection.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_connection_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_sku.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_gateway_type.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_list_result.rb +1 -1
- data/lib/azure_mgmt_network/models/virtual_network_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/vpn_client_configuration.rb +1 -1
- data/lib/azure_mgmt_network/models/vpn_client_parameters.rb +1 -1
- data/lib/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +1 -1
- data/lib/azure_mgmt_network/models/vpn_client_revoked_certificate_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/vpn_client_root_certificate.rb +1 -1
- data/lib/azure_mgmt_network/models/vpn_client_root_certificate_properties_format.rb +1 -1
- data/lib/azure_mgmt_network/models/vpn_type.rb +1 -1
- data/lib/azure_mgmt_network/module_definition.rb +1 -1
- data/lib/azure_mgmt_network/network_interfaces.rb +471 -66
- data/lib/azure_mgmt_network/network_management_client.rb +40 -7
- data/lib/azure_mgmt_network/network_security_groups.rb +277 -41
- data/lib/azure_mgmt_network/public_ipaddresses.rb +269 -41
- data/lib/azure_mgmt_network/route_tables.rb +261 -41
- data/lib/azure_mgmt_network/routes.rb +201 -31
- data/lib/azure_mgmt_network/security_rules.rb +213 -31
- data/lib/azure_mgmt_network/subnets.rb +199 -31
- data/lib/azure_mgmt_network/usages.rb +71 -11
- data/lib/azure_mgmt_network/version.rb +2 -2
- data/lib/azure_mgmt_network/virtual_network_gateway_connections.rb +357 -52
- data/lib/azure_mgmt_network/virtual_network_gateways.rb +303 -45
- data/lib/azure_mgmt_network/virtual_networks.rb +261 -41
- metadata +34 -25
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,25 +12,26 @@ module Azure::ARM::Network
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
16
|
-
attr_accessor :
|
15
|
+
# @return [String] network.
|
16
|
+
attr_accessor :network
|
17
17
|
|
18
|
-
# @return [
|
19
|
-
|
20
|
-
# 'None'
|
21
|
-
attr_accessor :next_hop_type
|
18
|
+
# @return [String] nextHop
|
19
|
+
attr_accessor :next_hop
|
22
20
|
|
23
|
-
# @return [String]
|
24
|
-
attr_accessor :
|
21
|
+
# @return [String] locPrf.
|
22
|
+
attr_accessor :loc_prf
|
25
23
|
|
26
|
-
# @return [
|
27
|
-
attr_accessor :
|
24
|
+
# @return [Integer] weight.
|
25
|
+
attr_accessor :weight
|
26
|
+
|
27
|
+
# @return [String] path .
|
28
|
+
attr_accessor :path
|
28
29
|
|
29
30
|
#
|
30
31
|
# Validate the object. Throws ValidationError if validation fails.
|
31
32
|
#
|
32
33
|
def validate
|
33
|
-
|
34
|
+
# Nothing to validate
|
34
35
|
end
|
35
36
|
|
36
37
|
#
|
@@ -42,17 +43,20 @@ module Azure::ARM::Network
|
|
42
43
|
object.validate
|
43
44
|
output_object = {}
|
44
45
|
|
45
|
-
serialized_property = object.
|
46
|
-
output_object['
|
46
|
+
serialized_property = object.network
|
47
|
+
output_object['network'] = serialized_property unless serialized_property.nil?
|
48
|
+
|
49
|
+
serialized_property = object.next_hop
|
50
|
+
output_object['nextHop'] = serialized_property unless serialized_property.nil?
|
47
51
|
|
48
|
-
serialized_property = object.
|
49
|
-
output_object['
|
52
|
+
serialized_property = object.loc_prf
|
53
|
+
output_object['locPrf'] = serialized_property unless serialized_property.nil?
|
50
54
|
|
51
|
-
serialized_property = object.
|
52
|
-
output_object['
|
55
|
+
serialized_property = object.weight
|
56
|
+
output_object['weight'] = serialized_property unless serialized_property.nil?
|
53
57
|
|
54
|
-
serialized_property = object.
|
55
|
-
output_object['
|
58
|
+
serialized_property = object.path
|
59
|
+
output_object['path'] = serialized_property unless serialized_property.nil?
|
56
60
|
|
57
61
|
output_object
|
58
62
|
end
|
@@ -66,21 +70,21 @@ module Azure::ARM::Network
|
|
66
70
|
return if object.nil?
|
67
71
|
output_object = ExpressRouteCircuitRoutesTable.new
|
68
72
|
|
69
|
-
deserialized_property = object['
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
output_object.next_hop_type = deserialized_property
|
73
|
+
deserialized_property = object['network']
|
74
|
+
output_object.network = deserialized_property
|
75
|
+
|
76
|
+
deserialized_property = object['nextHop']
|
77
|
+
output_object.next_hop = deserialized_property
|
75
78
|
|
76
|
-
deserialized_property = object['
|
77
|
-
output_object.
|
79
|
+
deserialized_property = object['locPrf']
|
80
|
+
output_object.loc_prf = deserialized_property
|
78
81
|
|
79
|
-
deserialized_property = object['
|
80
|
-
|
82
|
+
deserialized_property = object['weight']
|
83
|
+
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
84
|
+
output_object.weight = deserialized_property
|
81
85
|
|
82
|
-
deserialized_property = object['
|
83
|
-
output_object.
|
86
|
+
deserialized_property = object['path']
|
87
|
+
output_object.path = deserialized_property
|
84
88
|
|
85
89
|
output_object
|
86
90
|
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
|
+
# The routes table associated with the ExpressRouteCircuit
|
10
|
+
#
|
11
|
+
class ExpressRouteCircuitRoutesTableSummary
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Neighbor.
|
16
|
+
attr_accessor :neighbor
|
17
|
+
|
18
|
+
# @return [Integer] BGP version number spoken to the neighbor.
|
19
|
+
attr_accessor :v
|
20
|
+
|
21
|
+
# @return [Integer] Autonomous system number.
|
22
|
+
attr_accessor :as
|
23
|
+
|
24
|
+
# @return [String] The length of time that the BGP session has been in
|
25
|
+
# the Established state, or the current status if not in the
|
26
|
+
# Established state.
|
27
|
+
attr_accessor :up_down
|
28
|
+
|
29
|
+
# @return [String] Current state of the BGP session, and the number of
|
30
|
+
# prefixes that have been received from a neighbor or peer group.
|
31
|
+
attr_accessor :state_pfx_rcd
|
32
|
+
|
33
|
+
#
|
34
|
+
# Validate the object. Throws ValidationError if validation fails.
|
35
|
+
#
|
36
|
+
def validate
|
37
|
+
# Nothing to validate
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Serializes given Model object into Ruby Hash.
|
42
|
+
# @param object Model object to serialize.
|
43
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
44
|
+
#
|
45
|
+
def self.serialize_object(object)
|
46
|
+
object.validate
|
47
|
+
output_object = {}
|
48
|
+
|
49
|
+
serialized_property = object.neighbor
|
50
|
+
output_object['neighbor'] = serialized_property unless serialized_property.nil?
|
51
|
+
|
52
|
+
serialized_property = object.v
|
53
|
+
output_object['v'] = serialized_property unless serialized_property.nil?
|
54
|
+
|
55
|
+
serialized_property = object.as
|
56
|
+
output_object['as'] = serialized_property unless serialized_property.nil?
|
57
|
+
|
58
|
+
serialized_property = object.up_down
|
59
|
+
output_object['upDown'] = serialized_property unless serialized_property.nil?
|
60
|
+
|
61
|
+
serialized_property = object.state_pfx_rcd
|
62
|
+
output_object['statePfxRcd'] = serialized_property unless serialized_property.nil?
|
63
|
+
|
64
|
+
output_object
|
65
|
+
end
|
66
|
+
|
67
|
+
#
|
68
|
+
# Deserializes given Ruby Hash into Model object.
|
69
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
70
|
+
# @return [ExpressRouteCircuitRoutesTableSummary] Deserialized object.
|
71
|
+
#
|
72
|
+
def self.deserialize_object(object)
|
73
|
+
return if object.nil?
|
74
|
+
output_object = ExpressRouteCircuitRoutesTableSummary.new
|
75
|
+
|
76
|
+
deserialized_property = object['neighbor']
|
77
|
+
output_object.neighbor = deserialized_property
|
78
|
+
|
79
|
+
deserialized_property = object['v']
|
80
|
+
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
81
|
+
output_object.v = deserialized_property
|
82
|
+
|
83
|
+
deserialized_property = object['as']
|
84
|
+
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
85
|
+
output_object.as = deserialized_property
|
86
|
+
|
87
|
+
deserialized_property = object['upDown']
|
88
|
+
output_object.up_down = deserialized_property
|
89
|
+
|
90
|
+
deserialized_property = object['statePfxRcd']
|
91
|
+
output_object.state_pfx_rcd = deserialized_property
|
92
|
+
|
93
|
+
output_object
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,10 +13,16 @@ module Azure::ARM::Network
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
# @return [Integer] Gets BytesIn of the peering.
|
16
|
-
attr_accessor :
|
16
|
+
attr_accessor :primarybytes_in
|
17
17
|
|
18
18
|
# @return [Integer] Gets BytesOut of the peering.
|
19
|
-
attr_accessor :
|
19
|
+
attr_accessor :primarybytes_out
|
20
|
+
|
21
|
+
# @return [Integer] Gets BytesIn of the peering.
|
22
|
+
attr_accessor :secondarybytes_in
|
23
|
+
|
24
|
+
# @return [Integer] Gets BytesOut of the peering.
|
25
|
+
attr_accessor :secondarybytes_out
|
20
26
|
|
21
27
|
#
|
22
28
|
# Validate the object. Throws ValidationError if validation fails.
|
@@ -34,11 +40,17 @@ module Azure::ARM::Network
|
|
34
40
|
object.validate
|
35
41
|
output_object = {}
|
36
42
|
|
37
|
-
serialized_property = object.
|
38
|
-
output_object['
|
43
|
+
serialized_property = object.primarybytes_in
|
44
|
+
output_object['primarybytesIn'] = serialized_property unless serialized_property.nil?
|
45
|
+
|
46
|
+
serialized_property = object.primarybytes_out
|
47
|
+
output_object['primarybytesOut'] = serialized_property unless serialized_property.nil?
|
39
48
|
|
40
|
-
serialized_property = object.
|
41
|
-
output_object['
|
49
|
+
serialized_property = object.secondarybytes_in
|
50
|
+
output_object['secondarybytesIn'] = serialized_property unless serialized_property.nil?
|
51
|
+
|
52
|
+
serialized_property = object.secondarybytes_out
|
53
|
+
output_object['secondarybytesOut'] = serialized_property unless serialized_property.nil?
|
42
54
|
|
43
55
|
output_object
|
44
56
|
end
|
@@ -52,13 +64,21 @@ module Azure::ARM::Network
|
|
52
64
|
return if object.nil?
|
53
65
|
output_object = ExpressRouteCircuitStats.new
|
54
66
|
|
55
|
-
deserialized_property = object['
|
67
|
+
deserialized_property = object['primarybytesIn']
|
68
|
+
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
69
|
+
output_object.primarybytes_in = deserialized_property
|
70
|
+
|
71
|
+
deserialized_property = object['primarybytesOut']
|
72
|
+
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
73
|
+
output_object.primarybytes_out = deserialized_property
|
74
|
+
|
75
|
+
deserialized_property = object['secondarybytesIn']
|
56
76
|
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
57
|
-
output_object.
|
77
|
+
output_object.secondarybytes_in = deserialized_property
|
58
78
|
|
59
|
-
deserialized_property = object['
|
79
|
+
deserialized_property = object['secondarybytesOut']
|
60
80
|
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
61
|
-
output_object.
|
81
|
+
output_object.secondarybytes_out = deserialized_property
|
62
82
|
|
63
83
|
output_object
|
64
84
|
end
|
@@ -1,18 +1,20 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
|
9
|
+
# Response for ListRoutesTable associated with the Express Route Circuits
|
10
|
+
# Api
|
10
11
|
#
|
11
|
-
class
|
12
|
+
class ExpressRouteCircuitsRoutesTableSummaryListResult
|
12
13
|
|
13
14
|
include MsRestAzure
|
14
15
|
|
15
|
-
# @return [Array<
|
16
|
+
# @return [Array<ExpressRouteCircuitRoutesTableSummary>] Gets List of
|
17
|
+
# RoutesTable
|
16
18
|
attr_accessor :value
|
17
19
|
|
18
20
|
# @return [String] Gets the URL to get the next set of results.
|
@@ -39,7 +41,7 @@ module Azure::ARM::Network
|
|
39
41
|
serializedArray = []
|
40
42
|
serialized_property.each do |element|
|
41
43
|
unless element.nil?
|
42
|
-
element =
|
44
|
+
element = ExpressRouteCircuitRoutesTableSummary.serialize_object(element)
|
43
45
|
end
|
44
46
|
serializedArray.push(element)
|
45
47
|
end
|
@@ -56,18 +58,19 @@ module Azure::ARM::Network
|
|
56
58
|
#
|
57
59
|
# Deserializes given Ruby Hash into Model object.
|
58
60
|
# @param object [Hash] Ruby Hash object to deserialize.
|
59
|
-
# @return [
|
61
|
+
# @return [ExpressRouteCircuitsRoutesTableSummaryListResult]
|
62
|
+
# Deserialized object.
|
60
63
|
#
|
61
64
|
def self.deserialize_object(object)
|
62
65
|
return if object.nil?
|
63
|
-
output_object =
|
66
|
+
output_object = ExpressRouteCircuitsRoutesTableSummaryListResult.new
|
64
67
|
|
65
68
|
deserialized_property = object['value']
|
66
69
|
unless deserialized_property.nil?
|
67
70
|
deserialized_array = []
|
68
71
|
deserialized_property.each do |element1|
|
69
72
|
unless element1.nil?
|
70
|
-
element1 =
|
73
|
+
element1 = ExpressRouteCircuitRoutesTableSummary.deserialize_object(element1)
|
71
74
|
end
|
72
75
|
deserialized_array.push(element1)
|
73
76
|
end
|