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,156 +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 ProbePropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Array<SubResource>] Gets Load balancer rules that use this
|
16
|
-
# probe
|
17
|
-
attr_accessor :load_balancing_rules
|
18
|
-
|
19
|
-
# @return [ProbeProtocol] Gets or sets the protocol of the end point.
|
20
|
-
# Possible values are http pr Tcp. If Tcp is specified, a received ACK
|
21
|
-
# is required for the probe to be successful. If http is specified,a
|
22
|
-
# 200 OK response from the specifies URI is required for the probe to
|
23
|
-
# be successful. Possible values include: 'Http', 'Tcp'
|
24
|
-
attr_accessor :protocol
|
25
|
-
|
26
|
-
# @return [Integer] Gets or sets Port for communicating the probe.
|
27
|
-
# Possible values range from 1 to 65535, inclusive.
|
28
|
-
attr_accessor :port
|
29
|
-
|
30
|
-
# @return [Integer] Gets or sets the interval, in seconds, for how
|
31
|
-
# frequently to probe the endpoint for health status. Typically, the
|
32
|
-
# interval is slightly less than half the allocated timeout period (in
|
33
|
-
# seconds) which allows two full probes before taking the instance out
|
34
|
-
# of rotation. The default value is 15, the minimum value is 5
|
35
|
-
attr_accessor :interval_in_seconds
|
36
|
-
|
37
|
-
# @return [Integer] Gets or sets the number of probes where if no
|
38
|
-
# response, will result in stopping further traffic from being
|
39
|
-
# delivered to the endpoint. This values allows endponints to be taken
|
40
|
-
# out of rotation faster or slower than the typical times used in
|
41
|
-
# Azure.
|
42
|
-
attr_accessor :number_of_probes
|
43
|
-
|
44
|
-
# @return [String] Gets or sets the URI used for requesting health
|
45
|
-
# status from the VM. Path is required if a protocol is set to http.
|
46
|
-
# Otherwise, it is not allowed. There is no default value
|
47
|
-
attr_accessor :request_path
|
48
|
-
|
49
|
-
# @return [String] Gets or sets Provisioning state of the PublicIP
|
50
|
-
# resource Updating/Deleting/Failed
|
51
|
-
attr_accessor :provisioning_state
|
52
|
-
|
53
|
-
#
|
54
|
-
# Validate the object. Throws ValidationError if validation fails.
|
55
|
-
#
|
56
|
-
def validate
|
57
|
-
fail MsRest::ValidationError, 'property protocol is nil' if @protocol.nil?
|
58
|
-
fail MsRest::ValidationError, 'property port is nil' if @port.nil?
|
59
|
-
@load_balancing_rules.each{ |e| e.validate if e.respond_to?(:validate) } unless @load_balancing_rules.nil?
|
60
|
-
end
|
61
|
-
|
62
|
-
#
|
63
|
-
# Serializes given Model object into Ruby Hash.
|
64
|
-
# @param object Model object to serialize.
|
65
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
66
|
-
#
|
67
|
-
def self.serialize_object(object)
|
68
|
-
object.validate
|
69
|
-
output_object = {}
|
70
|
-
|
71
|
-
serialized_property = object.protocol
|
72
|
-
output_object['protocol'] = serialized_property unless serialized_property.nil?
|
73
|
-
|
74
|
-
serialized_property = object.port
|
75
|
-
output_object['port'] = serialized_property unless serialized_property.nil?
|
76
|
-
|
77
|
-
serialized_property = object.load_balancing_rules
|
78
|
-
unless serialized_property.nil?
|
79
|
-
serializedArray = []
|
80
|
-
serialized_property.each do |element|
|
81
|
-
unless element.nil?
|
82
|
-
element = MsRestAzure::SubResource.serialize_object(element)
|
83
|
-
end
|
84
|
-
serializedArray.push(element)
|
85
|
-
end
|
86
|
-
serialized_property = serializedArray
|
87
|
-
end
|
88
|
-
output_object['loadBalancingRules'] = serialized_property unless serialized_property.nil?
|
89
|
-
|
90
|
-
serialized_property = object.interval_in_seconds
|
91
|
-
output_object['intervalInSeconds'] = serialized_property unless serialized_property.nil?
|
92
|
-
|
93
|
-
serialized_property = object.number_of_probes
|
94
|
-
output_object['numberOfProbes'] = serialized_property unless serialized_property.nil?
|
95
|
-
|
96
|
-
serialized_property = object.request_path
|
97
|
-
output_object['requestPath'] = serialized_property unless serialized_property.nil?
|
98
|
-
|
99
|
-
serialized_property = object.provisioning_state
|
100
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
101
|
-
|
102
|
-
output_object
|
103
|
-
end
|
104
|
-
|
105
|
-
#
|
106
|
-
# Deserializes given Ruby Hash into Model object.
|
107
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
108
|
-
# @return [ProbePropertiesFormat] Deserialized object.
|
109
|
-
#
|
110
|
-
def self.deserialize_object(object)
|
111
|
-
return if object.nil?
|
112
|
-
output_object = ProbePropertiesFormat.new
|
113
|
-
|
114
|
-
deserialized_property = object['protocol']
|
115
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
116
|
-
enum_is_valid = ProbeProtocol.constants.any? { |e| ProbeProtocol.const_get(e).to_s.downcase == deserialized_property.downcase }
|
117
|
-
warn 'Enum ProbeProtocol does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
118
|
-
end
|
119
|
-
output_object.protocol = deserialized_property
|
120
|
-
|
121
|
-
deserialized_property = object['port']
|
122
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
123
|
-
output_object.port = deserialized_property
|
124
|
-
|
125
|
-
deserialized_property = object['loadBalancingRules']
|
126
|
-
unless deserialized_property.nil?
|
127
|
-
deserialized_array = []
|
128
|
-
deserialized_property.each do |element1|
|
129
|
-
unless element1.nil?
|
130
|
-
element1 = MsRestAzure::SubResource.deserialize_object(element1)
|
131
|
-
end
|
132
|
-
deserialized_array.push(element1)
|
133
|
-
end
|
134
|
-
deserialized_property = deserialized_array
|
135
|
-
end
|
136
|
-
output_object.load_balancing_rules = deserialized_property
|
137
|
-
|
138
|
-
deserialized_property = object['intervalInSeconds']
|
139
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
140
|
-
output_object.interval_in_seconds = deserialized_property
|
141
|
-
|
142
|
-
deserialized_property = object['numberOfProbes']
|
143
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
144
|
-
output_object.number_of_probes = deserialized_property
|
145
|
-
|
146
|
-
deserialized_property = object['requestPath']
|
147
|
-
output_object.request_path = deserialized_property
|
148
|
-
|
149
|
-
deserialized_property = object['provisioningState']
|
150
|
-
output_object.provisioning_state = deserialized_property
|
151
|
-
|
152
|
-
output_object
|
153
|
-
end
|
154
|
-
end
|
155
|
-
end
|
156
|
-
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
|
-
# PublicIPAddress resource
|
10
|
-
#
|
11
|
-
class PublicIPAddress < MsRestAzure::Resource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [PublicIPAddressPropertiesFormat]
|
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 = PublicIPAddressPropertiesFormat.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 [PublicIPAddress] Deserialized object.
|
69
|
-
#
|
70
|
-
def self.deserialize_object(object)
|
71
|
-
return if object.nil?
|
72
|
-
output_object = PublicIPAddress.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 = PublicIPAddressPropertiesFormat.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,83 +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
|
-
# Contains FQDN of the DNS record associated with the public IP address
|
10
|
-
#
|
11
|
-
class PublicIPAddressDnsSettings
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] Gets or sets the Domain name label.The concatenation
|
16
|
-
# of the domain name label and the regionalized DNS zone make up the
|
17
|
-
# fully qualified domain name associated with the public IP address. If
|
18
|
-
# a domain name label is specified, an A DNS record is created for the
|
19
|
-
# public IP in the Microsoft Azure DNS system.
|
20
|
-
attr_accessor :domain_name_label
|
21
|
-
|
22
|
-
# @return [String] Gets the FQDN, Fully qualified domain name of the A
|
23
|
-
# DNS record associated with the public IP. This is the concatenation
|
24
|
-
# of the domainNameLabel and the regionalized DNS zone.
|
25
|
-
attr_accessor :fqdn
|
26
|
-
|
27
|
-
# @return [String] Gets or Sests the Reverse FQDN. A user-visible, fully
|
28
|
-
# qualified domain name that resolves to this public IP address. If the
|
29
|
-
# reverseFqdn is specified, then a PTR DNS record is created pointing
|
30
|
-
# from the IP address in the in-addr.arpa domain to the reverse FQDN.
|
31
|
-
attr_accessor :reverse_fqdn
|
32
|
-
|
33
|
-
#
|
34
|
-
# Validate the object. Throws ValidationError if validation fails.
|
35
|
-
#
|
36
|
-
def validate
|
37
|
-
# Nothing to validate
|
38
|
-
end
|
39
|
-
|
40
|
-
#
|
41
|
-
# Serializes given Model object into Ruby Hash.
|
42
|
-
# @param object Model object to serialize.
|
43
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
44
|
-
#
|
45
|
-
def self.serialize_object(object)
|
46
|
-
object.validate
|
47
|
-
output_object = {}
|
48
|
-
|
49
|
-
serialized_property = object.domain_name_label
|
50
|
-
output_object['domainNameLabel'] = serialized_property unless serialized_property.nil?
|
51
|
-
|
52
|
-
serialized_property = object.fqdn
|
53
|
-
output_object['fqdn'] = serialized_property unless serialized_property.nil?
|
54
|
-
|
55
|
-
serialized_property = object.reverse_fqdn
|
56
|
-
output_object['reverseFqdn'] = serialized_property unless serialized_property.nil?
|
57
|
-
|
58
|
-
output_object
|
59
|
-
end
|
60
|
-
|
61
|
-
#
|
62
|
-
# Deserializes given Ruby Hash into Model object.
|
63
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
64
|
-
# @return [PublicIPAddressDnsSettings] Deserialized object.
|
65
|
-
#
|
66
|
-
def self.deserialize_object(object)
|
67
|
-
return if object.nil?
|
68
|
-
output_object = PublicIPAddressDnsSettings.new
|
69
|
-
|
70
|
-
deserialized_property = object['domainNameLabel']
|
71
|
-
output_object.domain_name_label = deserialized_property
|
72
|
-
|
73
|
-
deserialized_property = object['fqdn']
|
74
|
-
output_object.fqdn = deserialized_property
|
75
|
-
|
76
|
-
deserialized_property = object['reverseFqdn']
|
77
|
-
output_object.reverse_fqdn = deserialized_property
|
78
|
-
|
79
|
-
output_object
|
80
|
-
end
|
81
|
-
end
|
82
|
-
end
|
83
|
-
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 ListPublicIpAddresses Api service call
|
10
|
-
#
|
11
|
-
class PublicIPAddressListResult
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Array<PublicIPAddress>] Gets List of publicIP addresses that
|
16
|
-
# exists in a 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 = PublicIPAddress.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 [PublicIPAddressListResult] Deserialized object.
|
61
|
-
#
|
62
|
-
def self.deserialize_object(object)
|
63
|
-
return if object.nil?
|
64
|
-
output_object = PublicIPAddressListResult.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 = PublicIPAddress.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,146 +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
|
-
# PublicIpAddress properties
|
10
|
-
#
|
11
|
-
class PublicIPAddressPropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [IPAllocationMethod] Gets or sets PublicIP allocation method
|
16
|
-
# (Static/Dynamic). Possible values include: 'Static', 'Dynamic'
|
17
|
-
attr_accessor :public_ipallocation_method
|
18
|
-
|
19
|
-
# @return [IPVersion] Gets or sets PublicIP address version (IPv4/IPv6).
|
20
|
-
# Possible values include: 'IPv4', 'IPv6'
|
21
|
-
attr_accessor :public_ipaddress_version
|
22
|
-
|
23
|
-
# @return [IPConfiguration]
|
24
|
-
attr_accessor :ip_configuration
|
25
|
-
|
26
|
-
# @return [PublicIPAddressDnsSettings] Gets or sets FQDN of the DNS
|
27
|
-
# record associated with the public IP address
|
28
|
-
attr_accessor :dns_settings
|
29
|
-
|
30
|
-
# @return [String]
|
31
|
-
attr_accessor :ip_address
|
32
|
-
|
33
|
-
# @return [Integer] Gets or sets the Idletimeout of the public IP address
|
34
|
-
attr_accessor :idle_timeout_in_minutes
|
35
|
-
|
36
|
-
# @return [String] Gets or sets resource guid property of the PublicIP
|
37
|
-
# resource
|
38
|
-
attr_accessor :resource_guid
|
39
|
-
|
40
|
-
# @return [String] Gets or sets Provisioning state of the PublicIP
|
41
|
-
# resource Updating/Deleting/Failed
|
42
|
-
attr_accessor :provisioning_state
|
43
|
-
|
44
|
-
#
|
45
|
-
# Validate the object. Throws ValidationError if validation fails.
|
46
|
-
#
|
47
|
-
def validate
|
48
|
-
@ip_configuration.validate unless @ip_configuration.nil?
|
49
|
-
@dns_settings.validate unless @dns_settings.nil?
|
50
|
-
end
|
51
|
-
|
52
|
-
#
|
53
|
-
# Serializes given Model object into Ruby Hash.
|
54
|
-
# @param object Model object to serialize.
|
55
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
56
|
-
#
|
57
|
-
def self.serialize_object(object)
|
58
|
-
object.validate
|
59
|
-
output_object = {}
|
60
|
-
|
61
|
-
serialized_property = object.public_ipallocation_method
|
62
|
-
output_object['publicIPAllocationMethod'] = serialized_property unless serialized_property.nil?
|
63
|
-
|
64
|
-
serialized_property = object.public_ipaddress_version
|
65
|
-
output_object['publicIPAddressVersion'] = serialized_property unless serialized_property.nil?
|
66
|
-
|
67
|
-
serialized_property = object.ip_configuration
|
68
|
-
unless serialized_property.nil?
|
69
|
-
serialized_property = IPConfiguration.serialize_object(serialized_property)
|
70
|
-
end
|
71
|
-
output_object['ipConfiguration'] = serialized_property unless serialized_property.nil?
|
72
|
-
|
73
|
-
serialized_property = object.dns_settings
|
74
|
-
unless serialized_property.nil?
|
75
|
-
serialized_property = PublicIPAddressDnsSettings.serialize_object(serialized_property)
|
76
|
-
end
|
77
|
-
output_object['dnsSettings'] = serialized_property unless serialized_property.nil?
|
78
|
-
|
79
|
-
serialized_property = object.ip_address
|
80
|
-
output_object['ipAddress'] = serialized_property unless serialized_property.nil?
|
81
|
-
|
82
|
-
serialized_property = object.idle_timeout_in_minutes
|
83
|
-
output_object['idleTimeoutInMinutes'] = serialized_property unless serialized_property.nil?
|
84
|
-
|
85
|
-
serialized_property = object.resource_guid
|
86
|
-
output_object['resourceGuid'] = serialized_property unless serialized_property.nil?
|
87
|
-
|
88
|
-
serialized_property = object.provisioning_state
|
89
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
90
|
-
|
91
|
-
output_object
|
92
|
-
end
|
93
|
-
|
94
|
-
#
|
95
|
-
# Deserializes given Ruby Hash into Model object.
|
96
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
97
|
-
# @return [PublicIPAddressPropertiesFormat] Deserialized object.
|
98
|
-
#
|
99
|
-
def self.deserialize_object(object)
|
100
|
-
return if object.nil?
|
101
|
-
output_object = PublicIPAddressPropertiesFormat.new
|
102
|
-
|
103
|
-
deserialized_property = object['publicIPAllocationMethod']
|
104
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
105
|
-
enum_is_valid = IPAllocationMethod.constants.any? { |e| IPAllocationMethod.const_get(e).to_s.downcase == deserialized_property.downcase }
|
106
|
-
warn 'Enum IPAllocationMethod does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
107
|
-
end
|
108
|
-
output_object.public_ipallocation_method = deserialized_property
|
109
|
-
|
110
|
-
deserialized_property = object['publicIPAddressVersion']
|
111
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
112
|
-
enum_is_valid = IPVersion.constants.any? { |e| IPVersion.const_get(e).to_s.downcase == deserialized_property.downcase }
|
113
|
-
warn 'Enum IPVersion does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
114
|
-
end
|
115
|
-
output_object.public_ipaddress_version = deserialized_property
|
116
|
-
|
117
|
-
deserialized_property = object['ipConfiguration']
|
118
|
-
unless deserialized_property.nil?
|
119
|
-
deserialized_property = IPConfiguration.deserialize_object(deserialized_property)
|
120
|
-
end
|
121
|
-
output_object.ip_configuration = deserialized_property
|
122
|
-
|
123
|
-
deserialized_property = object['dnsSettings']
|
124
|
-
unless deserialized_property.nil?
|
125
|
-
deserialized_property = PublicIPAddressDnsSettings.deserialize_object(deserialized_property)
|
126
|
-
end
|
127
|
-
output_object.dns_settings = deserialized_property
|
128
|
-
|
129
|
-
deserialized_property = object['ipAddress']
|
130
|
-
output_object.ip_address = deserialized_property
|
131
|
-
|
132
|
-
deserialized_property = object['idleTimeoutInMinutes']
|
133
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
134
|
-
output_object.idle_timeout_in_minutes = deserialized_property
|
135
|
-
|
136
|
-
deserialized_property = object['resourceGuid']
|
137
|
-
output_object.resource_guid = deserialized_property
|
138
|
-
|
139
|
-
deserialized_property = object['provisioningState']
|
140
|
-
output_object.provisioning_state = deserialized_property
|
141
|
-
|
142
|
-
output_object
|
143
|
-
end
|
144
|
-
end
|
145
|
-
end
|
146
|
-
end
|