azure_mgmt_network 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/azure_mgmt_network.gemspec +4 -5
- data/lib/azure_mgmt_network.rb +3 -201
- data/lib/generated/azure_mgmt_network.rb +175 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/application_gateways.rb +158 -59
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/express_route_circuit_authorizations.rb +92 -42
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/express_route_circuit_peerings.rb +91 -42
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/express_route_circuits.rb +210 -92
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/express_route_service_providers.rb +32 -11
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/load_balancers.rb +120 -53
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/local_network_gateways.rb +91 -42
- data/lib/generated/azure_mgmt_network/models/address_space.rb +53 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway.rb +326 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +54 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +112 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +128 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_cookie_based_affinity.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +120 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +84 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +142 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +87 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_list_result.rb +94 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_operational_state.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +115 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_probe.rb +135 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_protocol.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +133 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_request_routing_rule_type.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_sku.rb +68 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_sku_name.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +104 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/application_gateway_tier.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +117 -0
- data/lib/generated/azure_mgmt_network/models/authorization_list_result.rb +95 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/authorization_use_status.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb +63 -0
- data/lib/generated/azure_mgmt_network/models/backend_address_pool.rb +127 -0
- data/lib/generated/azure_mgmt_network/models/bgp_settings.rb +66 -0
- data/lib/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +45 -0
- data/lib/generated/azure_mgmt_network/models/connection_shared_key.rb +44 -0
- data/lib/generated/azure_mgmt_network/models/connection_shared_key_result.rb +44 -0
- data/lib/generated/azure_mgmt_network/models/dhcp_options.rb +53 -0
- data/lib/generated/azure_mgmt_network/models/dns_name_availability_result.rb +44 -0
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +76 -0
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +56 -0
- data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_network/models/effective_network_security_rules.rb +162 -0
- data/lib/generated/azure_mgmt_network/models/effective_route.rb +124 -0
- data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +93 -0
- data/lib/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
- data/lib/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
- data/lib/generated/azure_mgmt_network/models/error.rb +92 -0
- data/lib/generated/azure_mgmt_network/models/error_details.rb +64 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +215 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +74 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +95 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +200 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_peering_advertised_public_prefix_state.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +85 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +95 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_peering_state.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_peering_type.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +84 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +87 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +65 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +66 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_sku_family.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/express_route_circuit_sku_tier.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +74 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +62 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +65 -0
- data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +65 -0
- data/lib/generated/azure_mgmt_network/models/express_route_service_provider.rb +124 -0
- data/lib/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +55 -0
- data/lib/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +199 -0
- data/lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb +140 -0
- data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +169 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/ipallocation_method.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +119 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/ipversion.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/load_balancer.rb +239 -0
- data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +191 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/load_distribution.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/local_network_gateway.rb +143 -0
- data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_network/models/network_interface.rb +197 -0
- data/lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +99 -0
- data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +195 -0
- data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +94 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/network_operation_status.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/network_security_group.rb +188 -0
- data/lib/generated/azure_mgmt_network/models/network_security_group_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_network/models/outbound_nat_rule.rb +117 -0
- data/lib/generated/azure_mgmt_network/models/probe.rb +159 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/probe_protocol.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/processor_architecture.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +177 -0
- data/lib/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +73 -0
- data/lib/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_network/models/route.rb +110 -0
- data/lib/generated/azure_mgmt_network/models/route_list_result.rb +93 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/route_next_hop_type.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/route_table.rb +137 -0
- data/lib/generated/azure_mgmt_network/models/route_table_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_network/models/security_rule.rb +185 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/security_rule_access.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/security_rule_direction.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/security_rule_list_result.rb +95 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/security_rule_protocol.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/service_provider_provisioning_state.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/subnet.rb +127 -0
- data/lib/generated/azure_mgmt_network/models/subnet_list_result.rb +94 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/transport_protocol.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/usage.rb +78 -0
- data/lib/generated/azure_mgmt_network/models/usage_name.rb +55 -0
- data/lib/generated/azure_mgmt_network/models/usages_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network.rb +173 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +213 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +239 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +96 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_connection_status.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_connection_type.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +108 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +68 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_sku_name.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_sku_tier.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/virtual_network_gateway_type.rb +0 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_peering.rb +146 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
- data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +84 -0
- data/lib/generated/azure_mgmt_network/models/vpn_client_parameters.rb +45 -0
- data/lib/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +85 -0
- data/lib/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +84 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/models/vpn_type.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/module_definition.rb +0 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/network_interfaces.rb +913 -113
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/network_management_client.rb +31 -25
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/network_security_groups.rb +122 -53
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/public_ipaddresses.rb +120 -53
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/route_tables.rb +118 -53
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/routes.rb +90 -42
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/security_rules.rb +94 -42
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/subnets.rb +94 -46
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/usages.rb +4 -94
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/version.rb +1 -1
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/virtual_network_gateway_connections.rb +164 -86
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/virtual_network_gateways.rb +146 -70
- data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +654 -0
- data/lib/{azure_mgmt_network → generated/azure_mgmt_network}/virtual_networks.rb +123 -58
- metadata +173 -221
- data/lib/azure_mgmt_network/models/address_space.rb +0 -58
- data/lib/azure_mgmt_network/models/application_gateway.rb +0 -102
- data/lib/azure_mgmt_network/models/application_gateway_backend_address.rb +0 -65
- data/lib/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_backend_address_pool_properties_format.rb +0 -119
- data/lib/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_backend_http_settings_properties_format.rb +0 -122
- data/lib/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +0 -89
- data/lib/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration_properties_format.rb +0 -114
- data/lib/azure_mgmt_network/models/application_gateway_frontend_port.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_frontend_port_properties_format.rb +0 -68
- data/lib/azure_mgmt_network/models/application_gateway_http_listener.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_http_listener_properties_format.rb +0 -141
- data/lib/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_ipconfiguration_properties_format.rb +0 -75
- data/lib/azure_mgmt_network/models/application_gateway_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/application_gateway_path_rule.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb +0 -101
- data/lib/azure_mgmt_network/models/application_gateway_probe.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_probe_properties_format.rb +0 -118
- data/lib/azure_mgmt_network/models/application_gateway_properties_format.rb +0 -408
- data/lib/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_request_routing_rule_properties_format.rb +0 -139
- data/lib/azure_mgmt_network/models/application_gateway_sku.rb +0 -86
- data/lib/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_ssl_certificate_properties_format.rb +0 -85
- data/lib/azure_mgmt_network/models/application_gateway_url_path_map.rb +0 -88
- data/lib/azure_mgmt_network/models/application_gateway_url_path_map_properties_format.rb +0 -122
- data/lib/azure_mgmt_network/models/authorization_list_result.rb +0 -87
- data/lib/azure_mgmt_network/models/authorization_properties_format.rb +0 -79
- data/lib/azure_mgmt_network/models/azure_async_operation_result.rb +0 -83
- data/lib/azure_mgmt_network/models/backend_address_pool.rb +0 -88
- data/lib/azure_mgmt_network/models/backend_address_pool_properties_format.rb +0 -135
- data/lib/azure_mgmt_network/models/bgp_settings.rb +0 -78
- data/lib/azure_mgmt_network/models/connection_reset_shared_key.rb +0 -58
- data/lib/azure_mgmt_network/models/connection_shared_key.rb +0 -56
- data/lib/azure_mgmt_network/models/connection_shared_key_result.rb +0 -56
- data/lib/azure_mgmt_network/models/dhcp_options.rb +0 -58
- data/lib/azure_mgmt_network/models/dns_name_availability_result.rb +0 -56
- data/lib/azure_mgmt_network/models/error.rb +0 -112
- data/lib/azure_mgmt_network/models/error_details.rb +0 -74
- data/lib/azure_mgmt_network/models/express_route_circuit.rb +0 -118
- data/lib/azure_mgmt_network/models/express_route_circuit_arp_table.rb +0 -84
- data/lib/azure_mgmt_network/models/express_route_circuit_authorization.rb +0 -88
- data/lib/azure_mgmt_network/models/express_route_circuit_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/express_route_circuit_peering.rb +0 -88
- data/lib/azure_mgmt_network/models/express_route_circuit_peering_config.rb +0 -92
- data/lib/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +0 -87
- data/lib/azure_mgmt_network/models/express_route_circuit_peering_properties_format.rb +0 -194
- data/lib/azure_mgmt_network/models/express_route_circuit_properties_format.rb +0 -188
- data/lib/azure_mgmt_network/models/express_route_circuit_routes_table.rb +0 -93
- data/lib/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +0 -97
- data/lib/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +0 -76
- data/lib/azure_mgmt_network/models/express_route_circuit_sku.rb +0 -83
- data/lib/azure_mgmt_network/models/express_route_circuit_stats.rb +0 -87
- data/lib/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +0 -85
- data/lib/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +0 -88
- data/lib/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +0 -88
- data/lib/azure_mgmt_network/models/express_route_service_provider.rb +0 -92
- data/lib/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +0 -67
- data/lib/azure_mgmt_network/models/express_route_service_provider_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/express_route_service_provider_properties_format.rb +0 -97
- data/lib/azure_mgmt_network/models/frontend_ipconfiguration.rb +0 -88
- data/lib/azure_mgmt_network/models/frontend_ipconfiguration_properties_format.rb +0 -237
- data/lib/azure_mgmt_network/models/inbound_nat_pool.rb +0 -88
- data/lib/azure_mgmt_network/models/inbound_nat_pool_properties_format.rb +0 -134
- data/lib/azure_mgmt_network/models/inbound_nat_rule.rb +0 -88
- data/lib/azure_mgmt_network/models/inbound_nat_rule_properties_format.rb +0 -162
- data/lib/azure_mgmt_network/models/ipconfiguration.rb +0 -88
- data/lib/azure_mgmt_network/models/ipconfiguration_properties_format.rb +0 -113
- data/lib/azure_mgmt_network/models/load_balancer.rb +0 -102
- data/lib/azure_mgmt_network/models/load_balancer_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/load_balancer_properties_format.rb +0 -278
- data/lib/azure_mgmt_network/models/load_balancing_rule.rb +0 -88
- data/lib/azure_mgmt_network/models/load_balancing_rule_properties_format.rb +0 -195
- data/lib/azure_mgmt_network/models/local_network_gateway.rb +0 -102
- data/lib/azure_mgmt_network/models/local_network_gateway_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/local_network_gateway_properties_format.rb +0 -107
- data/lib/azure_mgmt_network/models/network_interface.rb +0 -102
- data/lib/azure_mgmt_network/models/network_interface_dns_settings.rb +0 -94
- data/lib/azure_mgmt_network/models/network_interface_ipconfiguration.rb +0 -88
- data/lib/azure_mgmt_network/models/network_interface_ipconfiguration_properties_format.rb +0 -218
- data/lib/azure_mgmt_network/models/network_interface_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/network_interface_properties_format.rb +0 -176
- data/lib/azure_mgmt_network/models/network_security_group.rb +0 -102
- data/lib/azure_mgmt_network/models/network_security_group_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/network_security_group_properties_format.rb +0 -189
- data/lib/azure_mgmt_network/models/outbound_nat_rule.rb +0 -88
- data/lib/azure_mgmt_network/models/outbound_nat_rule_properties_format.rb +0 -117
- data/lib/azure_mgmt_network/models/probe.rb +0 -88
- data/lib/azure_mgmt_network/models/probe_properties_format.rb +0 -156
- data/lib/azure_mgmt_network/models/public_ipaddress.rb +0 -102
- data/lib/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +0 -83
- data/lib/azure_mgmt_network/models/public_ipaddress_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/public_ipaddress_properties_format.rb +0 -146
- data/lib/azure_mgmt_network/models/route.rb +0 -88
- data/lib/azure_mgmt_network/models/route_list_result.rb +0 -85
- data/lib/azure_mgmt_network/models/route_properties_format.rb +0 -94
- data/lib/azure_mgmt_network/models/route_table.rb +0 -102
- data/lib/azure_mgmt_network/models/route_table_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/route_table_properties_format.rb +0 -116
- data/lib/azure_mgmt_network/models/security_rule.rb +0 -88
- data/lib/azure_mgmt_network/models/security_rule_list_result.rb +0 -87
- data/lib/azure_mgmt_network/models/security_rule_properties_format.rb +0 -176
- data/lib/azure_mgmt_network/models/subnet.rb +0 -88
- data/lib/azure_mgmt_network/models/subnet_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/subnet_properties_format.rb +0 -130
- data/lib/azure_mgmt_network/models/usage.rb +0 -96
- data/lib/azure_mgmt_network/models/usage_name.rb +0 -66
- data/lib/azure_mgmt_network/models/usages_list_result.rb +0 -76
- data/lib/azure_mgmt_network/models/virtual_network.rb +0 -102
- data/lib/azure_mgmt_network/models/virtual_network_gateway.rb +0 -102
- data/lib/azure_mgmt_network/models/virtual_network_gateway_connection.rb +0 -102
- data/lib/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +0 -87
- data/lib/azure_mgmt_network/models/virtual_network_gateway_connection_properties_format.rb +0 -218
- data/lib/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +0 -88
- data/lib/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration_properties_format.rb +0 -114
- data/lib/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/virtual_network_gateway_properties_format.rb +0 -205
- data/lib/azure_mgmt_network/models/virtual_network_gateway_sku.rb +0 -86
- data/lib/azure_mgmt_network/models/virtual_network_list_result.rb +0 -86
- data/lib/azure_mgmt_network/models/virtual_network_properties_format.rb +0 -131
- data/lib/azure_mgmt_network/models/vpn_client_configuration.rb +0 -125
- data/lib/azure_mgmt_network/models/vpn_client_parameters.rb +0 -60
- data/lib/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +0 -88
- data/lib/azure_mgmt_network/models/vpn_client_revoked_certificate_properties_format.rb +0 -69
- data/lib/azure_mgmt_network/models/vpn_client_root_certificate.rb +0 -88
- data/lib/azure_mgmt_network/models/vpn_client_root_certificate_properties_format.rb +0 -66
@@ -1,107 +0,0 @@
|
|
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
|
-
# LocalNetworkGateway properties
|
10
|
-
#
|
11
|
-
class LocalNetworkGatewayPropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [AddressSpace] Local network site Address space
|
16
|
-
attr_accessor :local_network_address_space
|
17
|
-
|
18
|
-
# @return [String] IP address of local network gateway.
|
19
|
-
attr_accessor :gateway_ip_address
|
20
|
-
|
21
|
-
# @return [BgpSettings] Local network gateway's BGP speaker settings
|
22
|
-
attr_accessor :bgp_settings
|
23
|
-
|
24
|
-
# @return [String] Gets or sets resource guid property of the
|
25
|
-
# LocalNetworkGateway resource
|
26
|
-
attr_accessor :resource_guid
|
27
|
-
|
28
|
-
# @return [String] Gets or sets Provisioning state of the
|
29
|
-
# LocalNetworkGateway resource Updating/Deleting/Failed
|
30
|
-
attr_accessor :provisioning_state
|
31
|
-
|
32
|
-
#
|
33
|
-
# Validate the object. Throws ValidationError if validation fails.
|
34
|
-
#
|
35
|
-
def validate
|
36
|
-
@local_network_address_space.validate unless @local_network_address_space.nil?
|
37
|
-
@bgp_settings.validate unless @bgp_settings.nil?
|
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.local_network_address_space
|
50
|
-
unless serialized_property.nil?
|
51
|
-
serialized_property = AddressSpace.serialize_object(serialized_property)
|
52
|
-
end
|
53
|
-
output_object['localNetworkAddressSpace'] = serialized_property unless serialized_property.nil?
|
54
|
-
|
55
|
-
serialized_property = object.gateway_ip_address
|
56
|
-
output_object['gatewayIpAddress'] = serialized_property unless serialized_property.nil?
|
57
|
-
|
58
|
-
serialized_property = object.bgp_settings
|
59
|
-
unless serialized_property.nil?
|
60
|
-
serialized_property = BgpSettings.serialize_object(serialized_property)
|
61
|
-
end
|
62
|
-
output_object['bgpSettings'] = serialized_property unless serialized_property.nil?
|
63
|
-
|
64
|
-
serialized_property = object.resource_guid
|
65
|
-
output_object['resourceGuid'] = serialized_property unless serialized_property.nil?
|
66
|
-
|
67
|
-
serialized_property = object.provisioning_state
|
68
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
69
|
-
|
70
|
-
output_object
|
71
|
-
end
|
72
|
-
|
73
|
-
#
|
74
|
-
# Deserializes given Ruby Hash into Model object.
|
75
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
76
|
-
# @return [LocalNetworkGatewayPropertiesFormat] Deserialized object.
|
77
|
-
#
|
78
|
-
def self.deserialize_object(object)
|
79
|
-
return if object.nil?
|
80
|
-
output_object = LocalNetworkGatewayPropertiesFormat.new
|
81
|
-
|
82
|
-
deserialized_property = object['localNetworkAddressSpace']
|
83
|
-
unless deserialized_property.nil?
|
84
|
-
deserialized_property = AddressSpace.deserialize_object(deserialized_property)
|
85
|
-
end
|
86
|
-
output_object.local_network_address_space = deserialized_property
|
87
|
-
|
88
|
-
deserialized_property = object['gatewayIpAddress']
|
89
|
-
output_object.gateway_ip_address = deserialized_property
|
90
|
-
|
91
|
-
deserialized_property = object['bgpSettings']
|
92
|
-
unless deserialized_property.nil?
|
93
|
-
deserialized_property = BgpSettings.deserialize_object(deserialized_property)
|
94
|
-
end
|
95
|
-
output_object.bgp_settings = deserialized_property
|
96
|
-
|
97
|
-
deserialized_property = object['resourceGuid']
|
98
|
-
output_object.resource_guid = deserialized_property
|
99
|
-
|
100
|
-
deserialized_property = object['provisioningState']
|
101
|
-
output_object.provisioning_state = deserialized_property
|
102
|
-
|
103
|
-
output_object
|
104
|
-
end
|
105
|
-
end
|
106
|
-
end
|
107
|
-
end
|
@@ -1,102 +0,0 @@
|
|
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
|
-
# A NetworkInterface in a resource group
|
10
|
-
#
|
11
|
-
class NetworkInterface < MsRestAzure::Resource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [NetworkInterfacePropertiesFormat]
|
16
|
-
attr_accessor :properties
|
17
|
-
|
18
|
-
# @return [String] Gets a unique read-only string that changes whenever
|
19
|
-
# the resource is updated
|
20
|
-
attr_accessor :etag
|
21
|
-
|
22
|
-
#
|
23
|
-
# Validate the object. Throws ValidationError if validation fails.
|
24
|
-
#
|
25
|
-
def validate
|
26
|
-
@properties.validate unless @properties.nil?
|
27
|
-
end
|
28
|
-
|
29
|
-
#
|
30
|
-
# Serializes given Model object into Ruby Hash.
|
31
|
-
# @param object Model object to serialize.
|
32
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
33
|
-
#
|
34
|
-
def self.serialize_object(object)
|
35
|
-
object.validate
|
36
|
-
output_object = {}
|
37
|
-
|
38
|
-
serialized_property = object.id
|
39
|
-
output_object['id'] = serialized_property unless serialized_property.nil?
|
40
|
-
|
41
|
-
serialized_property = object.name
|
42
|
-
output_object['name'] = serialized_property unless serialized_property.nil?
|
43
|
-
|
44
|
-
serialized_property = object.type
|
45
|
-
output_object['type'] = serialized_property unless serialized_property.nil?
|
46
|
-
|
47
|
-
serialized_property = object.location
|
48
|
-
output_object['location'] = serialized_property unless serialized_property.nil?
|
49
|
-
|
50
|
-
serialized_property = object.tags
|
51
|
-
output_object['tags'] = serialized_property unless serialized_property.nil?
|
52
|
-
|
53
|
-
serialized_property = object.properties
|
54
|
-
unless serialized_property.nil?
|
55
|
-
serialized_property = NetworkInterfacePropertiesFormat.serialize_object(serialized_property)
|
56
|
-
end
|
57
|
-
output_object['properties'] = serialized_property unless serialized_property.nil?
|
58
|
-
|
59
|
-
serialized_property = object.etag
|
60
|
-
output_object['etag'] = serialized_property unless serialized_property.nil?
|
61
|
-
|
62
|
-
output_object
|
63
|
-
end
|
64
|
-
|
65
|
-
#
|
66
|
-
# Deserializes given Ruby Hash into Model object.
|
67
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
68
|
-
# @return [NetworkInterface] Deserialized object.
|
69
|
-
#
|
70
|
-
def self.deserialize_object(object)
|
71
|
-
return if object.nil?
|
72
|
-
output_object = NetworkInterface.new
|
73
|
-
|
74
|
-
deserialized_property = object['id']
|
75
|
-
output_object.id = deserialized_property
|
76
|
-
|
77
|
-
deserialized_property = object['name']
|
78
|
-
output_object.name = deserialized_property
|
79
|
-
|
80
|
-
deserialized_property = object['type']
|
81
|
-
output_object.type = deserialized_property
|
82
|
-
|
83
|
-
deserialized_property = object['location']
|
84
|
-
output_object.location = deserialized_property
|
85
|
-
|
86
|
-
deserialized_property = object['tags']
|
87
|
-
output_object.tags = deserialized_property
|
88
|
-
|
89
|
-
deserialized_property = object['properties']
|
90
|
-
unless deserialized_property.nil?
|
91
|
-
deserialized_property = NetworkInterfacePropertiesFormat.deserialize_object(deserialized_property)
|
92
|
-
end
|
93
|
-
output_object.properties = deserialized_property
|
94
|
-
|
95
|
-
deserialized_property = object['etag']
|
96
|
-
output_object.etag = deserialized_property
|
97
|
-
|
98
|
-
output_object
|
99
|
-
end
|
100
|
-
end
|
101
|
-
end
|
102
|
-
end
|
@@ -1,94 +0,0 @@
|
|
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
|
-
# Dns Settings of a network interface
|
10
|
-
#
|
11
|
-
class NetworkInterfaceDnsSettings
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Array<String>] Gets or sets list of DNS servers IP addresses
|
16
|
-
attr_accessor :dns_servers
|
17
|
-
|
18
|
-
# @return [Array<String>] Gets or sets list of Applied DNS servers IP
|
19
|
-
# addresses
|
20
|
-
attr_accessor :applied_dns_servers
|
21
|
-
|
22
|
-
# @return [String] Gets or sets the Internal DNS name
|
23
|
-
attr_accessor :internal_dns_name_label
|
24
|
-
|
25
|
-
# @return [String] Gets or sets the internal fqdn.
|
26
|
-
attr_accessor :internal_fqdn
|
27
|
-
|
28
|
-
# @return [String] Gets or sets internal domain name suffix of the NIC.
|
29
|
-
attr_accessor :internal_domain_name_suffix
|
30
|
-
|
31
|
-
#
|
32
|
-
# Validate the object. Throws ValidationError if validation fails.
|
33
|
-
#
|
34
|
-
def validate
|
35
|
-
@dns_servers.each{ |e| e.validate if e.respond_to?(:validate) } unless @dns_servers.nil?
|
36
|
-
@applied_dns_servers.each{ |e| e.validate if e.respond_to?(:validate) } unless @applied_dns_servers.nil?
|
37
|
-
end
|
38
|
-
|
39
|
-
#
|
40
|
-
# Serializes given Model object into Ruby Hash.
|
41
|
-
# @param object Model object to serialize.
|
42
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
43
|
-
#
|
44
|
-
def self.serialize_object(object)
|
45
|
-
object.validate
|
46
|
-
output_object = {}
|
47
|
-
|
48
|
-
serialized_property = object.dns_servers
|
49
|
-
output_object['dnsServers'] = serialized_property unless serialized_property.nil?
|
50
|
-
|
51
|
-
serialized_property = object.applied_dns_servers
|
52
|
-
output_object['appliedDnsServers'] = serialized_property unless serialized_property.nil?
|
53
|
-
|
54
|
-
serialized_property = object.internal_dns_name_label
|
55
|
-
output_object['internalDnsNameLabel'] = serialized_property unless serialized_property.nil?
|
56
|
-
|
57
|
-
serialized_property = object.internal_fqdn
|
58
|
-
output_object['internalFqdn'] = serialized_property unless serialized_property.nil?
|
59
|
-
|
60
|
-
serialized_property = object.internal_domain_name_suffix
|
61
|
-
output_object['internalDomainNameSuffix'] = serialized_property unless serialized_property.nil?
|
62
|
-
|
63
|
-
output_object
|
64
|
-
end
|
65
|
-
|
66
|
-
#
|
67
|
-
# Deserializes given Ruby Hash into Model object.
|
68
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
69
|
-
# @return [NetworkInterfaceDnsSettings] Deserialized object.
|
70
|
-
#
|
71
|
-
def self.deserialize_object(object)
|
72
|
-
return if object.nil?
|
73
|
-
output_object = NetworkInterfaceDnsSettings.new
|
74
|
-
|
75
|
-
deserialized_property = object['dnsServers']
|
76
|
-
output_object.dns_servers = deserialized_property
|
77
|
-
|
78
|
-
deserialized_property = object['appliedDnsServers']
|
79
|
-
output_object.applied_dns_servers = deserialized_property
|
80
|
-
|
81
|
-
deserialized_property = object['internalDnsNameLabel']
|
82
|
-
output_object.internal_dns_name_label = deserialized_property
|
83
|
-
|
84
|
-
deserialized_property = object['internalFqdn']
|
85
|
-
output_object.internal_fqdn = deserialized_property
|
86
|
-
|
87
|
-
deserialized_property = object['internalDomainNameSuffix']
|
88
|
-
output_object.internal_domain_name_suffix = deserialized_property
|
89
|
-
|
90
|
-
output_object
|
91
|
-
end
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
@@ -1,88 +0,0 @@
|
|
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
|
-
# IPConfiguration in a NetworkInterface
|
10
|
-
#
|
11
|
-
class NetworkInterfaceIPConfiguration < MsRestAzure::SubResource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [NetworkInterfaceIPConfigurationPropertiesFormat]
|
16
|
-
attr_accessor :properties
|
17
|
-
|
18
|
-
# @return [String] Gets name of the resource that is unique within a
|
19
|
-
# resource group. This name can be used to access the resource
|
20
|
-
attr_accessor :name
|
21
|
-
|
22
|
-
# @return [String] A unique read-only string that changes whenever the
|
23
|
-
# resource is updated
|
24
|
-
attr_accessor :etag
|
25
|
-
|
26
|
-
#
|
27
|
-
# Validate the object. Throws ValidationError if validation fails.
|
28
|
-
#
|
29
|
-
def validate
|
30
|
-
@properties.validate unless @properties.nil?
|
31
|
-
end
|
32
|
-
|
33
|
-
#
|
34
|
-
# Serializes given Model object into Ruby Hash.
|
35
|
-
# @param object Model object to serialize.
|
36
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
37
|
-
#
|
38
|
-
def self.serialize_object(object)
|
39
|
-
object.validate
|
40
|
-
output_object = {}
|
41
|
-
|
42
|
-
serialized_property = object.id
|
43
|
-
output_object['id'] = serialized_property unless serialized_property.nil?
|
44
|
-
|
45
|
-
serialized_property = object.properties
|
46
|
-
unless serialized_property.nil?
|
47
|
-
serialized_property = NetworkInterfaceIPConfigurationPropertiesFormat.serialize_object(serialized_property)
|
48
|
-
end
|
49
|
-
output_object['properties'] = serialized_property unless serialized_property.nil?
|
50
|
-
|
51
|
-
serialized_property = object.name
|
52
|
-
output_object['name'] = serialized_property unless serialized_property.nil?
|
53
|
-
|
54
|
-
serialized_property = object.etag
|
55
|
-
output_object['etag'] = serialized_property unless serialized_property.nil?
|
56
|
-
|
57
|
-
output_object
|
58
|
-
end
|
59
|
-
|
60
|
-
#
|
61
|
-
# Deserializes given Ruby Hash into Model object.
|
62
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
63
|
-
# @return [NetworkInterfaceIPConfiguration] Deserialized object.
|
64
|
-
#
|
65
|
-
def self.deserialize_object(object)
|
66
|
-
return if object.nil?
|
67
|
-
output_object = NetworkInterfaceIPConfiguration.new
|
68
|
-
|
69
|
-
deserialized_property = object['id']
|
70
|
-
output_object.id = deserialized_property
|
71
|
-
|
72
|
-
deserialized_property = object['properties']
|
73
|
-
unless deserialized_property.nil?
|
74
|
-
deserialized_property = NetworkInterfaceIPConfigurationPropertiesFormat.deserialize_object(deserialized_property)
|
75
|
-
end
|
76
|
-
output_object.properties = deserialized_property
|
77
|
-
|
78
|
-
deserialized_property = object['name']
|
79
|
-
output_object.name = deserialized_property
|
80
|
-
|
81
|
-
deserialized_property = object['etag']
|
82
|
-
output_object.etag = deserialized_property
|
83
|
-
|
84
|
-
output_object
|
85
|
-
end
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
@@ -1,218 +0,0 @@
|
|
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
|
-
# Properties of IPConfiguration
|
10
|
-
#
|
11
|
-
class NetworkInterfaceIPConfigurationPropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Array<ApplicationGatewayBackendAddressPool>] Gets or sets the
|
16
|
-
# reference of ApplicationGatewayBackendAddressPool resource
|
17
|
-
attr_accessor :application_gateway_backend_address_pools
|
18
|
-
|
19
|
-
# @return [Array<BackendAddressPool>] Gets or sets the reference of
|
20
|
-
# LoadBalancerBackendAddressPool resource
|
21
|
-
attr_accessor :load_balancer_backend_address_pools
|
22
|
-
|
23
|
-
# @return [Array<InboundNatRule>] Gets or sets list of references of
|
24
|
-
# LoadBalancerInboundNatRules
|
25
|
-
attr_accessor :load_balancer_inbound_nat_rules
|
26
|
-
|
27
|
-
# @return [String]
|
28
|
-
attr_accessor :private_ipaddress
|
29
|
-
|
30
|
-
# @return [IPAllocationMethod] Gets or sets PrivateIP allocation method
|
31
|
-
# (Static/Dynamic). Possible values include: 'Static', 'Dynamic'
|
32
|
-
attr_accessor :private_ipallocation_method
|
33
|
-
|
34
|
-
# @return [IPVersion] Gets or sets PrivateIP address version
|
35
|
-
# (IPv4/IPv6). Possible values include: 'IPv4', 'IPv6'
|
36
|
-
attr_accessor :private_ipaddress_version
|
37
|
-
|
38
|
-
# @return [Subnet]
|
39
|
-
attr_accessor :subnet
|
40
|
-
|
41
|
-
# @return [PublicIPAddress]
|
42
|
-
attr_accessor :public_ipaddress
|
43
|
-
|
44
|
-
# @return [String]
|
45
|
-
attr_accessor :provisioning_state
|
46
|
-
|
47
|
-
#
|
48
|
-
# Validate the object. Throws ValidationError if validation fails.
|
49
|
-
#
|
50
|
-
def validate
|
51
|
-
@application_gateway_backend_address_pools.each{ |e| e.validate if e.respond_to?(:validate) } unless @application_gateway_backend_address_pools.nil?
|
52
|
-
@load_balancer_backend_address_pools.each{ |e| e.validate if e.respond_to?(:validate) } unless @load_balancer_backend_address_pools.nil?
|
53
|
-
@load_balancer_inbound_nat_rules.each{ |e| e.validate if e.respond_to?(:validate) } unless @load_balancer_inbound_nat_rules.nil?
|
54
|
-
@subnet.validate unless @subnet.nil?
|
55
|
-
@public_ipaddress.validate unless @public_ipaddress.nil?
|
56
|
-
end
|
57
|
-
|
58
|
-
#
|
59
|
-
# Serializes given Model object into Ruby Hash.
|
60
|
-
# @param object Model object to serialize.
|
61
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
62
|
-
#
|
63
|
-
def self.serialize_object(object)
|
64
|
-
object.validate
|
65
|
-
output_object = {}
|
66
|
-
|
67
|
-
serialized_property = object.application_gateway_backend_address_pools
|
68
|
-
unless serialized_property.nil?
|
69
|
-
serializedArray = []
|
70
|
-
serialized_property.each do |element|
|
71
|
-
unless element.nil?
|
72
|
-
element = ApplicationGatewayBackendAddressPool.serialize_object(element)
|
73
|
-
end
|
74
|
-
serializedArray.push(element)
|
75
|
-
end
|
76
|
-
serialized_property = serializedArray
|
77
|
-
end
|
78
|
-
output_object['applicationGatewayBackendAddressPools'] = serialized_property unless serialized_property.nil?
|
79
|
-
|
80
|
-
serialized_property = object.load_balancer_backend_address_pools
|
81
|
-
unless serialized_property.nil?
|
82
|
-
serializedArray = []
|
83
|
-
serialized_property.each do |element1|
|
84
|
-
unless element1.nil?
|
85
|
-
element1 = BackendAddressPool.serialize_object(element1)
|
86
|
-
end
|
87
|
-
serializedArray.push(element1)
|
88
|
-
end
|
89
|
-
serialized_property = serializedArray
|
90
|
-
end
|
91
|
-
output_object['loadBalancerBackendAddressPools'] = serialized_property unless serialized_property.nil?
|
92
|
-
|
93
|
-
serialized_property = object.load_balancer_inbound_nat_rules
|
94
|
-
unless serialized_property.nil?
|
95
|
-
serializedArray = []
|
96
|
-
serialized_property.each do |element2|
|
97
|
-
unless element2.nil?
|
98
|
-
element2 = InboundNatRule.serialize_object(element2)
|
99
|
-
end
|
100
|
-
serializedArray.push(element2)
|
101
|
-
end
|
102
|
-
serialized_property = serializedArray
|
103
|
-
end
|
104
|
-
output_object['loadBalancerInboundNatRules'] = serialized_property unless serialized_property.nil?
|
105
|
-
|
106
|
-
serialized_property = object.private_ipaddress
|
107
|
-
output_object['privateIPAddress'] = serialized_property unless serialized_property.nil?
|
108
|
-
|
109
|
-
serialized_property = object.private_ipallocation_method
|
110
|
-
output_object['privateIPAllocationMethod'] = serialized_property unless serialized_property.nil?
|
111
|
-
|
112
|
-
serialized_property = object.private_ipaddress_version
|
113
|
-
output_object['privateIPAddressVersion'] = serialized_property unless serialized_property.nil?
|
114
|
-
|
115
|
-
serialized_property = object.subnet
|
116
|
-
unless serialized_property.nil?
|
117
|
-
serialized_property = Subnet.serialize_object(serialized_property)
|
118
|
-
end
|
119
|
-
output_object['subnet'] = serialized_property unless serialized_property.nil?
|
120
|
-
|
121
|
-
serialized_property = object.public_ipaddress
|
122
|
-
unless serialized_property.nil?
|
123
|
-
serialized_property = PublicIPAddress.serialize_object(serialized_property)
|
124
|
-
end
|
125
|
-
output_object['publicIPAddress'] = serialized_property unless serialized_property.nil?
|
126
|
-
|
127
|
-
serialized_property = object.provisioning_state
|
128
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
129
|
-
|
130
|
-
output_object
|
131
|
-
end
|
132
|
-
|
133
|
-
#
|
134
|
-
# Deserializes given Ruby Hash into Model object.
|
135
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
136
|
-
# @return [NetworkInterfaceIPConfigurationPropertiesFormat] Deserialized
|
137
|
-
# object.
|
138
|
-
#
|
139
|
-
def self.deserialize_object(object)
|
140
|
-
return if object.nil?
|
141
|
-
output_object = NetworkInterfaceIPConfigurationPropertiesFormat.new
|
142
|
-
|
143
|
-
deserialized_property = object['applicationGatewayBackendAddressPools']
|
144
|
-
unless deserialized_property.nil?
|
145
|
-
deserialized_array = []
|
146
|
-
deserialized_property.each do |element3|
|
147
|
-
unless element3.nil?
|
148
|
-
element3 = ApplicationGatewayBackendAddressPool.deserialize_object(element3)
|
149
|
-
end
|
150
|
-
deserialized_array.push(element3)
|
151
|
-
end
|
152
|
-
deserialized_property = deserialized_array
|
153
|
-
end
|
154
|
-
output_object.application_gateway_backend_address_pools = deserialized_property
|
155
|
-
|
156
|
-
deserialized_property = object['loadBalancerBackendAddressPools']
|
157
|
-
unless deserialized_property.nil?
|
158
|
-
deserialized_array = []
|
159
|
-
deserialized_property.each do |element4|
|
160
|
-
unless element4.nil?
|
161
|
-
element4 = BackendAddressPool.deserialize_object(element4)
|
162
|
-
end
|
163
|
-
deserialized_array.push(element4)
|
164
|
-
end
|
165
|
-
deserialized_property = deserialized_array
|
166
|
-
end
|
167
|
-
output_object.load_balancer_backend_address_pools = deserialized_property
|
168
|
-
|
169
|
-
deserialized_property = object['loadBalancerInboundNatRules']
|
170
|
-
unless deserialized_property.nil?
|
171
|
-
deserialized_array = []
|
172
|
-
deserialized_property.each do |element5|
|
173
|
-
unless element5.nil?
|
174
|
-
element5 = InboundNatRule.deserialize_object(element5)
|
175
|
-
end
|
176
|
-
deserialized_array.push(element5)
|
177
|
-
end
|
178
|
-
deserialized_property = deserialized_array
|
179
|
-
end
|
180
|
-
output_object.load_balancer_inbound_nat_rules = deserialized_property
|
181
|
-
|
182
|
-
deserialized_property = object['privateIPAddress']
|
183
|
-
output_object.private_ipaddress = deserialized_property
|
184
|
-
|
185
|
-
deserialized_property = object['privateIPAllocationMethod']
|
186
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
187
|
-
enum_is_valid = IPAllocationMethod.constants.any? { |e| IPAllocationMethod.const_get(e).to_s.downcase == deserialized_property.downcase }
|
188
|
-
warn 'Enum IPAllocationMethod does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
189
|
-
end
|
190
|
-
output_object.private_ipallocation_method = deserialized_property
|
191
|
-
|
192
|
-
deserialized_property = object['privateIPAddressVersion']
|
193
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
194
|
-
enum_is_valid = IPVersion.constants.any? { |e| IPVersion.const_get(e).to_s.downcase == deserialized_property.downcase }
|
195
|
-
warn 'Enum IPVersion does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
196
|
-
end
|
197
|
-
output_object.private_ipaddress_version = deserialized_property
|
198
|
-
|
199
|
-
deserialized_property = object['subnet']
|
200
|
-
unless deserialized_property.nil?
|
201
|
-
deserialized_property = Subnet.deserialize_object(deserialized_property)
|
202
|
-
end
|
203
|
-
output_object.subnet = deserialized_property
|
204
|
-
|
205
|
-
deserialized_property = object['publicIPAddress']
|
206
|
-
unless deserialized_property.nil?
|
207
|
-
deserialized_property = PublicIPAddress.deserialize_object(deserialized_property)
|
208
|
-
end
|
209
|
-
output_object.public_ipaddress = deserialized_property
|
210
|
-
|
211
|
-
deserialized_property = object['provisioningState']
|
212
|
-
output_object.provisioning_state = deserialized_property
|
213
|
-
|
214
|
-
output_object
|
215
|
-
end
|
216
|
-
end
|
217
|
-
end
|
218
|
-
end
|