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
data/lib/azure_mgmt_network/models/application_gateway_backend_http_settings_properties_format.rb
DELETED
@@ -1,122 +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 Backend address pool settings of application gateway
|
10
|
-
#
|
11
|
-
class ApplicationGatewayBackendHttpSettingsPropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Integer] Gets or sets the port
|
16
|
-
attr_accessor :port
|
17
|
-
|
18
|
-
# @return [ApplicationGatewayProtocol] Gets or sets the protocol.
|
19
|
-
# Possible values include: 'Http', 'Https'
|
20
|
-
attr_accessor :protocol
|
21
|
-
|
22
|
-
# @return [ApplicationGatewayCookieBasedAffinity] Gets or sets the
|
23
|
-
# cookie affinity. Possible values include: 'Enabled', 'Disabled'
|
24
|
-
attr_accessor :cookie_based_affinity
|
25
|
-
|
26
|
-
# @return [Integer] Gets or sets request timeout
|
27
|
-
attr_accessor :request_timeout
|
28
|
-
|
29
|
-
# @return [SubResource] Gets or sets probe resource of application
|
30
|
-
# gateway
|
31
|
-
attr_accessor :probe
|
32
|
-
|
33
|
-
# @return [String] Gets or sets Provisioning state of the backend http
|
34
|
-
# settings resource Updating/Deleting/Failed
|
35
|
-
attr_accessor :provisioning_state
|
36
|
-
|
37
|
-
#
|
38
|
-
# Validate the object. Throws ValidationError if validation fails.
|
39
|
-
#
|
40
|
-
def validate
|
41
|
-
@probe.validate unless @probe.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.port
|
54
|
-
output_object['port'] = serialized_property unless serialized_property.nil?
|
55
|
-
|
56
|
-
serialized_property = object.protocol
|
57
|
-
output_object['protocol'] = serialized_property unless serialized_property.nil?
|
58
|
-
|
59
|
-
serialized_property = object.cookie_based_affinity
|
60
|
-
output_object['cookieBasedAffinity'] = serialized_property unless serialized_property.nil?
|
61
|
-
|
62
|
-
serialized_property = object.request_timeout
|
63
|
-
output_object['requestTimeout'] = serialized_property unless serialized_property.nil?
|
64
|
-
|
65
|
-
serialized_property = object.probe
|
66
|
-
unless serialized_property.nil?
|
67
|
-
serialized_property = MsRestAzure::SubResource.serialize_object(serialized_property)
|
68
|
-
end
|
69
|
-
output_object['probe'] = serialized_property unless serialized_property.nil?
|
70
|
-
|
71
|
-
serialized_property = object.provisioning_state
|
72
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
73
|
-
|
74
|
-
output_object
|
75
|
-
end
|
76
|
-
|
77
|
-
#
|
78
|
-
# Deserializes given Ruby Hash into Model object.
|
79
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
80
|
-
# @return [ApplicationGatewayBackendHttpSettingsPropertiesFormat]
|
81
|
-
# Deserialized object.
|
82
|
-
#
|
83
|
-
def self.deserialize_object(object)
|
84
|
-
return if object.nil?
|
85
|
-
output_object = ApplicationGatewayBackendHttpSettingsPropertiesFormat.new
|
86
|
-
|
87
|
-
deserialized_property = object['port']
|
88
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
89
|
-
output_object.port = deserialized_property
|
90
|
-
|
91
|
-
deserialized_property = object['protocol']
|
92
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
93
|
-
enum_is_valid = ApplicationGatewayProtocol.constants.any? { |e| ApplicationGatewayProtocol.const_get(e).to_s.downcase == deserialized_property.downcase }
|
94
|
-
warn 'Enum ApplicationGatewayProtocol does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
95
|
-
end
|
96
|
-
output_object.protocol = deserialized_property
|
97
|
-
|
98
|
-
deserialized_property = object['cookieBasedAffinity']
|
99
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
100
|
-
enum_is_valid = ApplicationGatewayCookieBasedAffinity.constants.any? { |e| ApplicationGatewayCookieBasedAffinity.const_get(e).to_s.downcase == deserialized_property.downcase }
|
101
|
-
warn 'Enum ApplicationGatewayCookieBasedAffinity does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
102
|
-
end
|
103
|
-
output_object.cookie_based_affinity = deserialized_property
|
104
|
-
|
105
|
-
deserialized_property = object['requestTimeout']
|
106
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
107
|
-
output_object.request_timeout = deserialized_property
|
108
|
-
|
109
|
-
deserialized_property = object['probe']
|
110
|
-
unless deserialized_property.nil?
|
111
|
-
deserialized_property = MsRestAzure::SubResource.deserialize_object(deserialized_property)
|
112
|
-
end
|
113
|
-
output_object.probe = deserialized_property
|
114
|
-
|
115
|
-
deserialized_property = object['provisioningState']
|
116
|
-
output_object.provisioning_state = deserialized_property
|
117
|
-
|
118
|
-
output_object
|
119
|
-
end
|
120
|
-
end
|
121
|
-
end
|
122
|
-
end
|
@@ -1,89 +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
|
-
# Frontend IP configuration of application gateway
|
10
|
-
#
|
11
|
-
class ApplicationGatewayFrontendIPConfiguration < MsRestAzure::SubResource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [ApplicationGatewayFrontendIPConfigurationPropertiesFormat]
|
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 = ApplicationGatewayFrontendIPConfigurationPropertiesFormat.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 [ApplicationGatewayFrontendIPConfiguration] Deserialized
|
64
|
-
# object.
|
65
|
-
#
|
66
|
-
def self.deserialize_object(object)
|
67
|
-
return if object.nil?
|
68
|
-
output_object = ApplicationGatewayFrontendIPConfiguration.new
|
69
|
-
|
70
|
-
deserialized_property = object['id']
|
71
|
-
output_object.id = deserialized_property
|
72
|
-
|
73
|
-
deserialized_property = object['properties']
|
74
|
-
unless deserialized_property.nil?
|
75
|
-
deserialized_property = ApplicationGatewayFrontendIPConfigurationPropertiesFormat.deserialize_object(deserialized_property)
|
76
|
-
end
|
77
|
-
output_object.properties = deserialized_property
|
78
|
-
|
79
|
-
deserialized_property = object['name']
|
80
|
-
output_object.name = deserialized_property
|
81
|
-
|
82
|
-
deserialized_property = object['etag']
|
83
|
-
output_object.etag = deserialized_property
|
84
|
-
|
85
|
-
output_object
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
89
|
-
end
|
data/lib/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration_properties_format.rb
DELETED
@@ -1,114 +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 Frontend IP configuration of application gateway
|
10
|
-
#
|
11
|
-
class ApplicationGatewayFrontendIPConfigurationPropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] Gets or sets the privateIPAddress of the Network
|
16
|
-
# Interface IP Configuration
|
17
|
-
attr_accessor :private_ipaddress
|
18
|
-
|
19
|
-
# @return [IPAllocationMethod] Gets or sets PrivateIP allocation method
|
20
|
-
# (Static/Dynamic). Possible values include: 'Static', 'Dynamic'
|
21
|
-
attr_accessor :private_ipallocation_method
|
22
|
-
|
23
|
-
# @return [SubResource] Gets or sets the reference of the subnet resource
|
24
|
-
attr_accessor :subnet
|
25
|
-
|
26
|
-
# @return [SubResource] Gets or sets the reference of the PublicIP
|
27
|
-
# resource
|
28
|
-
attr_accessor :public_ipaddress
|
29
|
-
|
30
|
-
# @return [String] Gets or sets Provisioning state of the PublicIP
|
31
|
-
# resource Updating/Deleting/Failed
|
32
|
-
attr_accessor :provisioning_state
|
33
|
-
|
34
|
-
#
|
35
|
-
# Validate the object. Throws ValidationError if validation fails.
|
36
|
-
#
|
37
|
-
def validate
|
38
|
-
@subnet.validate unless @subnet.nil?
|
39
|
-
@public_ipaddress.validate unless @public_ipaddress.nil?
|
40
|
-
end
|
41
|
-
|
42
|
-
#
|
43
|
-
# Serializes given Model object into Ruby Hash.
|
44
|
-
# @param object Model object to serialize.
|
45
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
46
|
-
#
|
47
|
-
def self.serialize_object(object)
|
48
|
-
object.validate
|
49
|
-
output_object = {}
|
50
|
-
|
51
|
-
serialized_property = object.private_ipaddress
|
52
|
-
output_object['privateIPAddress'] = serialized_property unless serialized_property.nil?
|
53
|
-
|
54
|
-
serialized_property = object.private_ipallocation_method
|
55
|
-
output_object['privateIPAllocationMethod'] = serialized_property unless serialized_property.nil?
|
56
|
-
|
57
|
-
serialized_property = object.subnet
|
58
|
-
unless serialized_property.nil?
|
59
|
-
serialized_property = MsRestAzure::SubResource.serialize_object(serialized_property)
|
60
|
-
end
|
61
|
-
output_object['subnet'] = serialized_property unless serialized_property.nil?
|
62
|
-
|
63
|
-
serialized_property = object.public_ipaddress
|
64
|
-
unless serialized_property.nil?
|
65
|
-
serialized_property = MsRestAzure::SubResource.serialize_object(serialized_property)
|
66
|
-
end
|
67
|
-
output_object['publicIPAddress'] = serialized_property unless serialized_property.nil?
|
68
|
-
|
69
|
-
serialized_property = object.provisioning_state
|
70
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
71
|
-
|
72
|
-
output_object
|
73
|
-
end
|
74
|
-
|
75
|
-
#
|
76
|
-
# Deserializes given Ruby Hash into Model object.
|
77
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
78
|
-
# @return [ApplicationGatewayFrontendIPConfigurationPropertiesFormat]
|
79
|
-
# Deserialized object.
|
80
|
-
#
|
81
|
-
def self.deserialize_object(object)
|
82
|
-
return if object.nil?
|
83
|
-
output_object = ApplicationGatewayFrontendIPConfigurationPropertiesFormat.new
|
84
|
-
|
85
|
-
deserialized_property = object['privateIPAddress']
|
86
|
-
output_object.private_ipaddress = deserialized_property
|
87
|
-
|
88
|
-
deserialized_property = object['privateIPAllocationMethod']
|
89
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
90
|
-
enum_is_valid = IPAllocationMethod.constants.any? { |e| IPAllocationMethod.const_get(e).to_s.downcase == deserialized_property.downcase }
|
91
|
-
warn 'Enum IPAllocationMethod does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
92
|
-
end
|
93
|
-
output_object.private_ipallocation_method = deserialized_property
|
94
|
-
|
95
|
-
deserialized_property = object['subnet']
|
96
|
-
unless deserialized_property.nil?
|
97
|
-
deserialized_property = MsRestAzure::SubResource.deserialize_object(deserialized_property)
|
98
|
-
end
|
99
|
-
output_object.subnet = deserialized_property
|
100
|
-
|
101
|
-
deserialized_property = object['publicIPAddress']
|
102
|
-
unless deserialized_property.nil?
|
103
|
-
deserialized_property = MsRestAzure::SubResource.deserialize_object(deserialized_property)
|
104
|
-
end
|
105
|
-
output_object.public_ipaddress = deserialized_property
|
106
|
-
|
107
|
-
deserialized_property = object['provisioningState']
|
108
|
-
output_object.provisioning_state = deserialized_property
|
109
|
-
|
110
|
-
output_object
|
111
|
-
end
|
112
|
-
end
|
113
|
-
end
|
114
|
-
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
|
-
# Frontend Port of application gateway
|
10
|
-
#
|
11
|
-
class ApplicationGatewayFrontendPort < MsRestAzure::SubResource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [ApplicationGatewayFrontendPortPropertiesFormat]
|
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 = ApplicationGatewayFrontendPortPropertiesFormat.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 [ApplicationGatewayFrontendPort] Deserialized object.
|
64
|
-
#
|
65
|
-
def self.deserialize_object(object)
|
66
|
-
return if object.nil?
|
67
|
-
output_object = ApplicationGatewayFrontendPort.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 = ApplicationGatewayFrontendPortPropertiesFormat.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,68 +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 Frontend Port of application gateway
|
10
|
-
#
|
11
|
-
class ApplicationGatewayFrontendPortPropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Integer] Gets or sets the frontend port
|
16
|
-
attr_accessor :port
|
17
|
-
|
18
|
-
# @return [String] Gets or sets Provisioning state of the frontend port
|
19
|
-
# resource Updating/Deleting/Failed
|
20
|
-
attr_accessor :provisioning_state
|
21
|
-
|
22
|
-
#
|
23
|
-
# Validate the object. Throws ValidationError if validation fails.
|
24
|
-
#
|
25
|
-
def validate
|
26
|
-
# Nothing to validate
|
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.port
|
39
|
-
output_object['port'] = serialized_property unless serialized_property.nil?
|
40
|
-
|
41
|
-
serialized_property = object.provisioning_state
|
42
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
43
|
-
|
44
|
-
output_object
|
45
|
-
end
|
46
|
-
|
47
|
-
#
|
48
|
-
# Deserializes given Ruby Hash into Model object.
|
49
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
50
|
-
# @return [ApplicationGatewayFrontendPortPropertiesFormat] Deserialized
|
51
|
-
# object.
|
52
|
-
#
|
53
|
-
def self.deserialize_object(object)
|
54
|
-
return if object.nil?
|
55
|
-
output_object = ApplicationGatewayFrontendPortPropertiesFormat.new
|
56
|
-
|
57
|
-
deserialized_property = object['port']
|
58
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
59
|
-
output_object.port = deserialized_property
|
60
|
-
|
61
|
-
deserialized_property = object['provisioningState']
|
62
|
-
output_object.provisioning_state = deserialized_property
|
63
|
-
|
64
|
-
output_object
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|