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,205 +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
|
-
# VirtualNeworkGateay properties
|
10
|
-
#
|
11
|
-
class VirtualNetworkGatewayPropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Array<VirtualNetworkGatewayIPConfiguration>] IpConfigurations
|
16
|
-
# for Virtual network gateway.
|
17
|
-
attr_accessor :ip_configurations
|
18
|
-
|
19
|
-
# @return [VirtualNetworkGatewayType] The type of this virtual network
|
20
|
-
# gateway. Possible values include: 'Vpn', 'ExpressRoute'
|
21
|
-
attr_accessor :gateway_type
|
22
|
-
|
23
|
-
# @return [VpnType] The type of this virtual network gateway. Possible
|
24
|
-
# values include: 'PolicyBased', 'RouteBased'
|
25
|
-
attr_accessor :vpn_type
|
26
|
-
|
27
|
-
# @return [Boolean] EnableBgp Flag
|
28
|
-
attr_accessor :enable_bgp
|
29
|
-
|
30
|
-
# @return [SubResource] Gets or sets the reference of the
|
31
|
-
# LocalNetworkGateway resource which represents Local network site
|
32
|
-
# having default routes. Assign Null value in case of removing existing
|
33
|
-
# default site setting.
|
34
|
-
attr_accessor :gateway_default_site
|
35
|
-
|
36
|
-
# @return [VirtualNetworkGatewaySku] Gets or sets the reference of the
|
37
|
-
# VirtualNetworkGatewaySku resource which represents the sku selected
|
38
|
-
# for Virtual network gateway.
|
39
|
-
attr_accessor :sku
|
40
|
-
|
41
|
-
# @return [VpnClientConfiguration] Gets or sets the reference of the
|
42
|
-
# VpnClientConfiguration resource which represents the P2S VpnClient
|
43
|
-
# configurations.
|
44
|
-
attr_accessor :vpn_client_configuration
|
45
|
-
|
46
|
-
# @return [BgpSettings] Virtual network gateway's BGP speaker settings
|
47
|
-
attr_accessor :bgp_settings
|
48
|
-
|
49
|
-
# @return [String] Gets or sets resource guid property of the
|
50
|
-
# VirtualNetworkGateway resource
|
51
|
-
attr_accessor :resource_guid
|
52
|
-
|
53
|
-
# @return [String] Gets or sets Provisioning state of the
|
54
|
-
# VirtualNetworkGateway resource Updating/Deleting/Failed
|
55
|
-
attr_accessor :provisioning_state
|
56
|
-
|
57
|
-
#
|
58
|
-
# Validate the object. Throws ValidationError if validation fails.
|
59
|
-
#
|
60
|
-
def validate
|
61
|
-
@ip_configurations.each{ |e| e.validate if e.respond_to?(:validate) } unless @ip_configurations.nil?
|
62
|
-
@gateway_default_site.validate unless @gateway_default_site.nil?
|
63
|
-
@sku.validate unless @sku.nil?
|
64
|
-
@vpn_client_configuration.validate unless @vpn_client_configuration.nil?
|
65
|
-
@bgp_settings.validate unless @bgp_settings.nil?
|
66
|
-
end
|
67
|
-
|
68
|
-
#
|
69
|
-
# Serializes given Model object into Ruby Hash.
|
70
|
-
# @param object Model object to serialize.
|
71
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
72
|
-
#
|
73
|
-
def self.serialize_object(object)
|
74
|
-
object.validate
|
75
|
-
output_object = {}
|
76
|
-
|
77
|
-
serialized_property = object.ip_configurations
|
78
|
-
unless serialized_property.nil?
|
79
|
-
serializedArray = []
|
80
|
-
serialized_property.each do |element|
|
81
|
-
unless element.nil?
|
82
|
-
element = VirtualNetworkGatewayIPConfiguration.serialize_object(element)
|
83
|
-
end
|
84
|
-
serializedArray.push(element)
|
85
|
-
end
|
86
|
-
serialized_property = serializedArray
|
87
|
-
end
|
88
|
-
output_object['ipConfigurations'] = serialized_property unless serialized_property.nil?
|
89
|
-
|
90
|
-
serialized_property = object.gateway_type
|
91
|
-
output_object['gatewayType'] = serialized_property unless serialized_property.nil?
|
92
|
-
|
93
|
-
serialized_property = object.vpn_type
|
94
|
-
output_object['vpnType'] = serialized_property unless serialized_property.nil?
|
95
|
-
|
96
|
-
serialized_property = object.enable_bgp
|
97
|
-
output_object['enableBgp'] = serialized_property unless serialized_property.nil?
|
98
|
-
|
99
|
-
serialized_property = object.gateway_default_site
|
100
|
-
unless serialized_property.nil?
|
101
|
-
serialized_property = MsRestAzure::SubResource.serialize_object(serialized_property)
|
102
|
-
end
|
103
|
-
output_object['gatewayDefaultSite'] = serialized_property unless serialized_property.nil?
|
104
|
-
|
105
|
-
serialized_property = object.sku
|
106
|
-
unless serialized_property.nil?
|
107
|
-
serialized_property = VirtualNetworkGatewaySku.serialize_object(serialized_property)
|
108
|
-
end
|
109
|
-
output_object['sku'] = serialized_property unless serialized_property.nil?
|
110
|
-
|
111
|
-
serialized_property = object.vpn_client_configuration
|
112
|
-
unless serialized_property.nil?
|
113
|
-
serialized_property = VpnClientConfiguration.serialize_object(serialized_property)
|
114
|
-
end
|
115
|
-
output_object['vpnClientConfiguration'] = serialized_property unless serialized_property.nil?
|
116
|
-
|
117
|
-
serialized_property = object.bgp_settings
|
118
|
-
unless serialized_property.nil?
|
119
|
-
serialized_property = BgpSettings.serialize_object(serialized_property)
|
120
|
-
end
|
121
|
-
output_object['bgpSettings'] = serialized_property unless serialized_property.nil?
|
122
|
-
|
123
|
-
serialized_property = object.resource_guid
|
124
|
-
output_object['resourceGuid'] = serialized_property unless serialized_property.nil?
|
125
|
-
|
126
|
-
serialized_property = object.provisioning_state
|
127
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
128
|
-
|
129
|
-
output_object
|
130
|
-
end
|
131
|
-
|
132
|
-
#
|
133
|
-
# Deserializes given Ruby Hash into Model object.
|
134
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
135
|
-
# @return [VirtualNetworkGatewayPropertiesFormat] Deserialized object.
|
136
|
-
#
|
137
|
-
def self.deserialize_object(object)
|
138
|
-
return if object.nil?
|
139
|
-
output_object = VirtualNetworkGatewayPropertiesFormat.new
|
140
|
-
|
141
|
-
deserialized_property = object['ipConfigurations']
|
142
|
-
unless deserialized_property.nil?
|
143
|
-
deserialized_array = []
|
144
|
-
deserialized_property.each do |element1|
|
145
|
-
unless element1.nil?
|
146
|
-
element1 = VirtualNetworkGatewayIPConfiguration.deserialize_object(element1)
|
147
|
-
end
|
148
|
-
deserialized_array.push(element1)
|
149
|
-
end
|
150
|
-
deserialized_property = deserialized_array
|
151
|
-
end
|
152
|
-
output_object.ip_configurations = deserialized_property
|
153
|
-
|
154
|
-
deserialized_property = object['gatewayType']
|
155
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
156
|
-
enum_is_valid = VirtualNetworkGatewayType.constants.any? { |e| VirtualNetworkGatewayType.const_get(e).to_s.downcase == deserialized_property.downcase }
|
157
|
-
warn 'Enum VirtualNetworkGatewayType does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
158
|
-
end
|
159
|
-
output_object.gateway_type = deserialized_property
|
160
|
-
|
161
|
-
deserialized_property = object['vpnType']
|
162
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
163
|
-
enum_is_valid = VpnType.constants.any? { |e| VpnType.const_get(e).to_s.downcase == deserialized_property.downcase }
|
164
|
-
warn 'Enum VpnType does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
165
|
-
end
|
166
|
-
output_object.vpn_type = deserialized_property
|
167
|
-
|
168
|
-
deserialized_property = object['enableBgp']
|
169
|
-
output_object.enable_bgp = deserialized_property
|
170
|
-
|
171
|
-
deserialized_property = object['gatewayDefaultSite']
|
172
|
-
unless deserialized_property.nil?
|
173
|
-
deserialized_property = MsRestAzure::SubResource.deserialize_object(deserialized_property)
|
174
|
-
end
|
175
|
-
output_object.gateway_default_site = deserialized_property
|
176
|
-
|
177
|
-
deserialized_property = object['sku']
|
178
|
-
unless deserialized_property.nil?
|
179
|
-
deserialized_property = VirtualNetworkGatewaySku.deserialize_object(deserialized_property)
|
180
|
-
end
|
181
|
-
output_object.sku = deserialized_property
|
182
|
-
|
183
|
-
deserialized_property = object['vpnClientConfiguration']
|
184
|
-
unless deserialized_property.nil?
|
185
|
-
deserialized_property = VpnClientConfiguration.deserialize_object(deserialized_property)
|
186
|
-
end
|
187
|
-
output_object.vpn_client_configuration = deserialized_property
|
188
|
-
|
189
|
-
deserialized_property = object['bgpSettings']
|
190
|
-
unless deserialized_property.nil?
|
191
|
-
deserialized_property = BgpSettings.deserialize_object(deserialized_property)
|
192
|
-
end
|
193
|
-
output_object.bgp_settings = deserialized_property
|
194
|
-
|
195
|
-
deserialized_property = object['resourceGuid']
|
196
|
-
output_object.resource_guid = deserialized_property
|
197
|
-
|
198
|
-
deserialized_property = object['provisioningState']
|
199
|
-
output_object.provisioning_state = deserialized_property
|
200
|
-
|
201
|
-
output_object
|
202
|
-
end
|
203
|
-
end
|
204
|
-
end
|
205
|
-
end
|
@@ -1,86 +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
|
-
# VirtualNetworkGatewaySku details
|
10
|
-
#
|
11
|
-
class VirtualNetworkGatewaySku
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [VirtualNetworkGatewaySkuName] Gateway sku name
|
16
|
-
# -Basic/HighPerformance/Standard. Possible values include: 'Basic',
|
17
|
-
# 'HighPerformance', 'Standard'
|
18
|
-
attr_accessor :name
|
19
|
-
|
20
|
-
# @return [VirtualNetworkGatewaySkuTier] Gateway sku tier
|
21
|
-
# -Basic/HighPerformance/Standard. Possible values include: 'Basic',
|
22
|
-
# 'HighPerformance', 'Standard'
|
23
|
-
attr_accessor :tier
|
24
|
-
|
25
|
-
# @return [Integer] The capacity
|
26
|
-
attr_accessor :capacity
|
27
|
-
|
28
|
-
#
|
29
|
-
# Validate the object. Throws ValidationError if validation fails.
|
30
|
-
#
|
31
|
-
def validate
|
32
|
-
end
|
33
|
-
|
34
|
-
#
|
35
|
-
# Serializes given Model object into Ruby Hash.
|
36
|
-
# @param object Model object to serialize.
|
37
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
38
|
-
#
|
39
|
-
def self.serialize_object(object)
|
40
|
-
object.validate
|
41
|
-
output_object = {}
|
42
|
-
|
43
|
-
serialized_property = object.name
|
44
|
-
output_object['name'] = serialized_property unless serialized_property.nil?
|
45
|
-
|
46
|
-
serialized_property = object.tier
|
47
|
-
output_object['tier'] = serialized_property unless serialized_property.nil?
|
48
|
-
|
49
|
-
serialized_property = object.capacity
|
50
|
-
output_object['capacity'] = serialized_property unless serialized_property.nil?
|
51
|
-
|
52
|
-
output_object
|
53
|
-
end
|
54
|
-
|
55
|
-
#
|
56
|
-
# Deserializes given Ruby Hash into Model object.
|
57
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
58
|
-
# @return [VirtualNetworkGatewaySku] Deserialized object.
|
59
|
-
#
|
60
|
-
def self.deserialize_object(object)
|
61
|
-
return if object.nil?
|
62
|
-
output_object = VirtualNetworkGatewaySku.new
|
63
|
-
|
64
|
-
deserialized_property = object['name']
|
65
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
66
|
-
enum_is_valid = VirtualNetworkGatewaySkuName.constants.any? { |e| VirtualNetworkGatewaySkuName.const_get(e).to_s.downcase == deserialized_property.downcase }
|
67
|
-
warn 'Enum VirtualNetworkGatewaySkuName does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
68
|
-
end
|
69
|
-
output_object.name = deserialized_property
|
70
|
-
|
71
|
-
deserialized_property = object['tier']
|
72
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
73
|
-
enum_is_valid = VirtualNetworkGatewaySkuTier.constants.any? { |e| VirtualNetworkGatewaySkuTier.const_get(e).to_s.downcase == deserialized_property.downcase }
|
74
|
-
warn 'Enum VirtualNetworkGatewaySkuTier does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
75
|
-
end
|
76
|
-
output_object.tier = deserialized_property
|
77
|
-
|
78
|
-
deserialized_property = object['capacity']
|
79
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
80
|
-
output_object.capacity = deserialized_property
|
81
|
-
|
82
|
-
output_object
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
86
|
-
end
|
@@ -1,86 +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
|
-
# Response for ListVirtualNetworks Api servive call
|
10
|
-
#
|
11
|
-
class VirtualNetworkListResult
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Array<VirtualNetwork>] Gets list of VirtualNetworks in a
|
16
|
-
# resource group
|
17
|
-
attr_accessor :value
|
18
|
-
|
19
|
-
# @return [String] Gets the URL to get the next set of results.
|
20
|
-
attr_accessor :next_link
|
21
|
-
|
22
|
-
#
|
23
|
-
# Validate the object. Throws ValidationError if validation fails.
|
24
|
-
#
|
25
|
-
def validate
|
26
|
-
@value.each{ |e| e.validate if e.respond_to?(:validate) } unless @value.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.value
|
39
|
-
unless serialized_property.nil?
|
40
|
-
serializedArray = []
|
41
|
-
serialized_property.each do |element|
|
42
|
-
unless element.nil?
|
43
|
-
element = VirtualNetwork.serialize_object(element)
|
44
|
-
end
|
45
|
-
serializedArray.push(element)
|
46
|
-
end
|
47
|
-
serialized_property = serializedArray
|
48
|
-
end
|
49
|
-
output_object['value'] = serialized_property unless serialized_property.nil?
|
50
|
-
|
51
|
-
serialized_property = object.next_link
|
52
|
-
output_object['nextLink'] = serialized_property unless serialized_property.nil?
|
53
|
-
|
54
|
-
output_object
|
55
|
-
end
|
56
|
-
|
57
|
-
#
|
58
|
-
# Deserializes given Ruby Hash into Model object.
|
59
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
60
|
-
# @return [VirtualNetworkListResult] Deserialized object.
|
61
|
-
#
|
62
|
-
def self.deserialize_object(object)
|
63
|
-
return if object.nil?
|
64
|
-
output_object = VirtualNetworkListResult.new
|
65
|
-
|
66
|
-
deserialized_property = object['value']
|
67
|
-
unless deserialized_property.nil?
|
68
|
-
deserialized_array = []
|
69
|
-
deserialized_property.each do |element1|
|
70
|
-
unless element1.nil?
|
71
|
-
element1 = VirtualNetwork.deserialize_object(element1)
|
72
|
-
end
|
73
|
-
deserialized_array.push(element1)
|
74
|
-
end
|
75
|
-
deserialized_property = deserialized_array
|
76
|
-
end
|
77
|
-
output_object.value = deserialized_property
|
78
|
-
|
79
|
-
deserialized_property = object['nextLink']
|
80
|
-
output_object.next_link = deserialized_property
|
81
|
-
|
82
|
-
output_object
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
86
|
-
end
|
@@ -1,131 +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
|
-
# Model object.
|
10
|
-
#
|
11
|
-
class VirtualNetworkPropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [AddressSpace] Gets or sets AddressSpace that contains an
|
16
|
-
# array of IP address ranges that can be used by subnets
|
17
|
-
attr_accessor :address_space
|
18
|
-
|
19
|
-
# @return [DhcpOptions] Gets or sets DHCPOptions that contains an array
|
20
|
-
# of DNS servers available to VMs deployed in the virtual network
|
21
|
-
attr_accessor :dhcp_options
|
22
|
-
|
23
|
-
# @return [Array<Subnet>] Gets or sets List of subnets in a
|
24
|
-
# VirtualNetwork
|
25
|
-
attr_accessor :subnets
|
26
|
-
|
27
|
-
# @return [String] Gets or sets resource guid property of the
|
28
|
-
# VirtualNetwork resource
|
29
|
-
attr_accessor :resource_guid
|
30
|
-
|
31
|
-
# @return [String] Gets or sets Provisioning state of the PublicIP
|
32
|
-
# resource Updating/Deleting/Failed
|
33
|
-
attr_accessor :provisioning_state
|
34
|
-
|
35
|
-
#
|
36
|
-
# Validate the object. Throws ValidationError if validation fails.
|
37
|
-
#
|
38
|
-
def validate
|
39
|
-
@address_space.validate unless @address_space.nil?
|
40
|
-
@dhcp_options.validate unless @dhcp_options.nil?
|
41
|
-
@subnets.each{ |e| e.validate if e.respond_to?(:validate) } unless @subnets.nil?
|
42
|
-
end
|
43
|
-
|
44
|
-
#
|
45
|
-
# Serializes given Model object into Ruby Hash.
|
46
|
-
# @param object Model object to serialize.
|
47
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
48
|
-
#
|
49
|
-
def self.serialize_object(object)
|
50
|
-
object.validate
|
51
|
-
output_object = {}
|
52
|
-
|
53
|
-
serialized_property = object.address_space
|
54
|
-
unless serialized_property.nil?
|
55
|
-
serialized_property = AddressSpace.serialize_object(serialized_property)
|
56
|
-
end
|
57
|
-
output_object['addressSpace'] = serialized_property unless serialized_property.nil?
|
58
|
-
|
59
|
-
serialized_property = object.dhcp_options
|
60
|
-
unless serialized_property.nil?
|
61
|
-
serialized_property = DhcpOptions.serialize_object(serialized_property)
|
62
|
-
end
|
63
|
-
output_object['dhcpOptions'] = serialized_property unless serialized_property.nil?
|
64
|
-
|
65
|
-
serialized_property = object.subnets
|
66
|
-
unless serialized_property.nil?
|
67
|
-
serializedArray = []
|
68
|
-
serialized_property.each do |element|
|
69
|
-
unless element.nil?
|
70
|
-
element = Subnet.serialize_object(element)
|
71
|
-
end
|
72
|
-
serializedArray.push(element)
|
73
|
-
end
|
74
|
-
serialized_property = serializedArray
|
75
|
-
end
|
76
|
-
output_object['subnets'] = serialized_property unless serialized_property.nil?
|
77
|
-
|
78
|
-
serialized_property = object.resource_guid
|
79
|
-
output_object['resourceGuid'] = serialized_property unless serialized_property.nil?
|
80
|
-
|
81
|
-
serialized_property = object.provisioning_state
|
82
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
83
|
-
|
84
|
-
output_object
|
85
|
-
end
|
86
|
-
|
87
|
-
#
|
88
|
-
# Deserializes given Ruby Hash into Model object.
|
89
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
90
|
-
# @return [VirtualNetworkPropertiesFormat] Deserialized object.
|
91
|
-
#
|
92
|
-
def self.deserialize_object(object)
|
93
|
-
return if object.nil?
|
94
|
-
output_object = VirtualNetworkPropertiesFormat.new
|
95
|
-
|
96
|
-
deserialized_property = object['addressSpace']
|
97
|
-
unless deserialized_property.nil?
|
98
|
-
deserialized_property = AddressSpace.deserialize_object(deserialized_property)
|
99
|
-
end
|
100
|
-
output_object.address_space = deserialized_property
|
101
|
-
|
102
|
-
deserialized_property = object['dhcpOptions']
|
103
|
-
unless deserialized_property.nil?
|
104
|
-
deserialized_property = DhcpOptions.deserialize_object(deserialized_property)
|
105
|
-
end
|
106
|
-
output_object.dhcp_options = deserialized_property
|
107
|
-
|
108
|
-
deserialized_property = object['subnets']
|
109
|
-
unless deserialized_property.nil?
|
110
|
-
deserialized_array = []
|
111
|
-
deserialized_property.each do |element1|
|
112
|
-
unless element1.nil?
|
113
|
-
element1 = Subnet.deserialize_object(element1)
|
114
|
-
end
|
115
|
-
deserialized_array.push(element1)
|
116
|
-
end
|
117
|
-
deserialized_property = deserialized_array
|
118
|
-
end
|
119
|
-
output_object.subnets = deserialized_property
|
120
|
-
|
121
|
-
deserialized_property = object['resourceGuid']
|
122
|
-
output_object.resource_guid = deserialized_property
|
123
|
-
|
124
|
-
deserialized_property = object['provisioningState']
|
125
|
-
output_object.provisioning_state = deserialized_property
|
126
|
-
|
127
|
-
output_object
|
128
|
-
end
|
129
|
-
end
|
130
|
-
end
|
131
|
-
end
|