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,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
|
-
# Authorization in a ExpressRouteCircuit resource
|
10
|
-
#
|
11
|
-
class ExpressRouteCircuitAuthorization < MsRestAzure::SubResource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [AuthorizationPropertiesFormat]
|
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 = AuthorizationPropertiesFormat.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 [ExpressRouteCircuitAuthorization] Deserialized object.
|
64
|
-
#
|
65
|
-
def self.deserialize_object(object)
|
66
|
-
return if object.nil?
|
67
|
-
output_object = ExpressRouteCircuitAuthorization.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 = AuthorizationPropertiesFormat.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,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 ListExpressRouteCircuit Api service call
|
10
|
-
#
|
11
|
-
class ExpressRouteCircuitListResult
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Array<ExpressRouteCircuit>] Gets a list of
|
16
|
-
# ExpressRouteCircuits 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 = ExpressRouteCircuit.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 [ExpressRouteCircuitListResult] Deserialized object.
|
61
|
-
#
|
62
|
-
def self.deserialize_object(object)
|
63
|
-
return if object.nil?
|
64
|
-
output_object = ExpressRouteCircuitListResult.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 = ExpressRouteCircuit.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,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
|
-
# Peering in a ExpressRouteCircuit resource
|
10
|
-
#
|
11
|
-
class ExpressRouteCircuitPeering < MsRestAzure::SubResource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [ExpressRouteCircuitPeeringPropertiesFormat]
|
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 = ExpressRouteCircuitPeeringPropertiesFormat.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 [ExpressRouteCircuitPeering] Deserialized object.
|
64
|
-
#
|
65
|
-
def self.deserialize_object(object)
|
66
|
-
return if object.nil?
|
67
|
-
output_object = ExpressRouteCircuitPeering.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 = ExpressRouteCircuitPeeringPropertiesFormat.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,92 +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
|
-
# Specfies the peering config
|
10
|
-
#
|
11
|
-
class ExpressRouteCircuitPeeringConfig
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Array<String>] Gets or sets the reference of
|
16
|
-
# AdvertisedPublicPrefixes
|
17
|
-
attr_accessor :advertised_public_prefixes
|
18
|
-
|
19
|
-
# @return [ExpressRouteCircuitPeeringAdvertisedPublicPrefixState] Gets
|
20
|
-
# or sets AdvertisedPublicPrefixState of the Peering resource .
|
21
|
-
# Possible values include: 'NotConfigured', 'Configuring',
|
22
|
-
# 'Configured', 'ValidationNeeded'
|
23
|
-
attr_accessor :advertised_public_prefixes_state
|
24
|
-
|
25
|
-
# @return [Integer] Gets or Sets CustomerAsn of the peering.
|
26
|
-
attr_accessor :customer_asn
|
27
|
-
|
28
|
-
# @return [String] Gets or Sets RoutingRegistryName of the config.
|
29
|
-
attr_accessor :routing_registry_name
|
30
|
-
|
31
|
-
#
|
32
|
-
# Validate the object. Throws ValidationError if validation fails.
|
33
|
-
#
|
34
|
-
def validate
|
35
|
-
@advertised_public_prefixes.each{ |e| e.validate if e.respond_to?(:validate) } unless @advertised_public_prefixes.nil?
|
36
|
-
end
|
37
|
-
|
38
|
-
#
|
39
|
-
# Serializes given Model object into Ruby Hash.
|
40
|
-
# @param object Model object to serialize.
|
41
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
42
|
-
#
|
43
|
-
def self.serialize_object(object)
|
44
|
-
object.validate
|
45
|
-
output_object = {}
|
46
|
-
|
47
|
-
serialized_property = object.advertised_public_prefixes
|
48
|
-
output_object['advertisedPublicPrefixes'] = serialized_property unless serialized_property.nil?
|
49
|
-
|
50
|
-
serialized_property = object.advertised_public_prefixes_state
|
51
|
-
output_object['advertisedPublicPrefixesState'] = serialized_property unless serialized_property.nil?
|
52
|
-
|
53
|
-
serialized_property = object.customer_asn
|
54
|
-
output_object['customerASN'] = serialized_property unless serialized_property.nil?
|
55
|
-
|
56
|
-
serialized_property = object.routing_registry_name
|
57
|
-
output_object['routingRegistryName'] = serialized_property unless serialized_property.nil?
|
58
|
-
|
59
|
-
output_object
|
60
|
-
end
|
61
|
-
|
62
|
-
#
|
63
|
-
# Deserializes given Ruby Hash into Model object.
|
64
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
65
|
-
# @return [ExpressRouteCircuitPeeringConfig] Deserialized object.
|
66
|
-
#
|
67
|
-
def self.deserialize_object(object)
|
68
|
-
return if object.nil?
|
69
|
-
output_object = ExpressRouteCircuitPeeringConfig.new
|
70
|
-
|
71
|
-
deserialized_property = object['advertisedPublicPrefixes']
|
72
|
-
output_object.advertised_public_prefixes = deserialized_property
|
73
|
-
|
74
|
-
deserialized_property = object['advertisedPublicPrefixesState']
|
75
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
76
|
-
enum_is_valid = ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.constants.any? { |e| ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.const_get(e).to_s.downcase == deserialized_property.downcase }
|
77
|
-
warn 'Enum ExpressRouteCircuitPeeringAdvertisedPublicPrefixState does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
78
|
-
end
|
79
|
-
output_object.advertised_public_prefixes_state = deserialized_property
|
80
|
-
|
81
|
-
deserialized_property = object['customerASN']
|
82
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
83
|
-
output_object.customer_asn = deserialized_property
|
84
|
-
|
85
|
-
deserialized_property = object['routingRegistryName']
|
86
|
-
output_object.routing_registry_name = deserialized_property
|
87
|
-
|
88
|
-
output_object
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
@@ -1,87 +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 ListPeering Api service callRetrieves all Peerings that
|
10
|
-
# belongs to an ExpressRouteCircuit
|
11
|
-
#
|
12
|
-
class ExpressRouteCircuitPeeringListResult
|
13
|
-
|
14
|
-
include MsRestAzure
|
15
|
-
|
16
|
-
# @return [Array<ExpressRouteCircuitPeering>] Gets the peerings in an
|
17
|
-
# express route circuit
|
18
|
-
attr_accessor :value
|
19
|
-
|
20
|
-
# @return [String] Gets the URL to get the next set of results.
|
21
|
-
attr_accessor :next_link
|
22
|
-
|
23
|
-
#
|
24
|
-
# Validate the object. Throws ValidationError if validation fails.
|
25
|
-
#
|
26
|
-
def validate
|
27
|
-
@value.each{ |e| e.validate if e.respond_to?(:validate) } unless @value.nil?
|
28
|
-
end
|
29
|
-
|
30
|
-
#
|
31
|
-
# Serializes given Model object into Ruby Hash.
|
32
|
-
# @param object Model object to serialize.
|
33
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
34
|
-
#
|
35
|
-
def self.serialize_object(object)
|
36
|
-
object.validate
|
37
|
-
output_object = {}
|
38
|
-
|
39
|
-
serialized_property = object.value
|
40
|
-
unless serialized_property.nil?
|
41
|
-
serializedArray = []
|
42
|
-
serialized_property.each do |element|
|
43
|
-
unless element.nil?
|
44
|
-
element = ExpressRouteCircuitPeering.serialize_object(element)
|
45
|
-
end
|
46
|
-
serializedArray.push(element)
|
47
|
-
end
|
48
|
-
serialized_property = serializedArray
|
49
|
-
end
|
50
|
-
output_object['value'] = serialized_property unless serialized_property.nil?
|
51
|
-
|
52
|
-
serialized_property = object.next_link
|
53
|
-
output_object['nextLink'] = serialized_property unless serialized_property.nil?
|
54
|
-
|
55
|
-
output_object
|
56
|
-
end
|
57
|
-
|
58
|
-
#
|
59
|
-
# Deserializes given Ruby Hash into Model object.
|
60
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
61
|
-
# @return [ExpressRouteCircuitPeeringListResult] Deserialized object.
|
62
|
-
#
|
63
|
-
def self.deserialize_object(object)
|
64
|
-
return if object.nil?
|
65
|
-
output_object = ExpressRouteCircuitPeeringListResult.new
|
66
|
-
|
67
|
-
deserialized_property = object['value']
|
68
|
-
unless deserialized_property.nil?
|
69
|
-
deserialized_array = []
|
70
|
-
deserialized_property.each do |element1|
|
71
|
-
unless element1.nil?
|
72
|
-
element1 = ExpressRouteCircuitPeering.deserialize_object(element1)
|
73
|
-
end
|
74
|
-
deserialized_array.push(element1)
|
75
|
-
end
|
76
|
-
deserialized_property = deserialized_array
|
77
|
-
end
|
78
|
-
output_object.value = deserialized_property
|
79
|
-
|
80
|
-
deserialized_property = object['nextLink']
|
81
|
-
output_object.next_link = deserialized_property
|
82
|
-
|
83
|
-
output_object
|
84
|
-
end
|
85
|
-
end
|
86
|
-
end
|
87
|
-
end
|
@@ -1,194 +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 ExpressRouteCircuitPeeringPropertiesFormat
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [ExpressRouteCircuitPeeringType] Gets or sets PeeringType.
|
16
|
-
# Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering',
|
17
|
-
# 'MicrosoftPeering'
|
18
|
-
attr_accessor :peering_type
|
19
|
-
|
20
|
-
# @return [ExpressRouteCircuitPeeringState] Gets or sets state of
|
21
|
-
# Peering. Possible values include: 'Disabled', 'Enabled'
|
22
|
-
attr_accessor :state
|
23
|
-
|
24
|
-
# @return [Integer] Gets or sets the azure ASN
|
25
|
-
attr_accessor :azure_asn
|
26
|
-
|
27
|
-
# @return [Integer] Gets or sets the peer ASN
|
28
|
-
attr_accessor :peer_asn
|
29
|
-
|
30
|
-
# @return [String] Gets or sets the primary address prefix
|
31
|
-
attr_accessor :primary_peer_address_prefix
|
32
|
-
|
33
|
-
# @return [String] Gets or sets the secondary address prefix
|
34
|
-
attr_accessor :secondary_peer_address_prefix
|
35
|
-
|
36
|
-
# @return [String] Gets or sets the primary port
|
37
|
-
attr_accessor :primary_azure_port
|
38
|
-
|
39
|
-
# @return [String] Gets or sets the secondary port
|
40
|
-
attr_accessor :secondary_azure_port
|
41
|
-
|
42
|
-
# @return [String] Gets or sets the shared key
|
43
|
-
attr_accessor :shared_key
|
44
|
-
|
45
|
-
# @return [Integer] Gets or sets the vlan id
|
46
|
-
attr_accessor :vlan_id
|
47
|
-
|
48
|
-
# @return [ExpressRouteCircuitPeeringConfig] Gets or sets the mircosoft
|
49
|
-
# peering config
|
50
|
-
attr_accessor :microsoft_peering_config
|
51
|
-
|
52
|
-
# @return [ExpressRouteCircuitStats] Gets or peering stats
|
53
|
-
attr_accessor :stats
|
54
|
-
|
55
|
-
# @return [String] Gets or sets Provisioning state of the PublicIP
|
56
|
-
# resource Updating/Deleting/Failed
|
57
|
-
attr_accessor :provisioning_state
|
58
|
-
|
59
|
-
#
|
60
|
-
# Validate the object. Throws ValidationError if validation fails.
|
61
|
-
#
|
62
|
-
def validate
|
63
|
-
@microsoft_peering_config.validate unless @microsoft_peering_config.nil?
|
64
|
-
@stats.validate unless @stats.nil?
|
65
|
-
end
|
66
|
-
|
67
|
-
#
|
68
|
-
# Serializes given Model object into Ruby Hash.
|
69
|
-
# @param object Model object to serialize.
|
70
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
71
|
-
#
|
72
|
-
def self.serialize_object(object)
|
73
|
-
object.validate
|
74
|
-
output_object = {}
|
75
|
-
|
76
|
-
serialized_property = object.peering_type
|
77
|
-
output_object['peeringType'] = serialized_property unless serialized_property.nil?
|
78
|
-
|
79
|
-
serialized_property = object.state
|
80
|
-
output_object['state'] = serialized_property unless serialized_property.nil?
|
81
|
-
|
82
|
-
serialized_property = object.azure_asn
|
83
|
-
output_object['azureASN'] = serialized_property unless serialized_property.nil?
|
84
|
-
|
85
|
-
serialized_property = object.peer_asn
|
86
|
-
output_object['peerASN'] = serialized_property unless serialized_property.nil?
|
87
|
-
|
88
|
-
serialized_property = object.primary_peer_address_prefix
|
89
|
-
output_object['primaryPeerAddressPrefix'] = serialized_property unless serialized_property.nil?
|
90
|
-
|
91
|
-
serialized_property = object.secondary_peer_address_prefix
|
92
|
-
output_object['secondaryPeerAddressPrefix'] = serialized_property unless serialized_property.nil?
|
93
|
-
|
94
|
-
serialized_property = object.primary_azure_port
|
95
|
-
output_object['primaryAzurePort'] = serialized_property unless serialized_property.nil?
|
96
|
-
|
97
|
-
serialized_property = object.secondary_azure_port
|
98
|
-
output_object['secondaryAzurePort'] = serialized_property unless serialized_property.nil?
|
99
|
-
|
100
|
-
serialized_property = object.shared_key
|
101
|
-
output_object['sharedKey'] = serialized_property unless serialized_property.nil?
|
102
|
-
|
103
|
-
serialized_property = object.vlan_id
|
104
|
-
output_object['vlanId'] = serialized_property unless serialized_property.nil?
|
105
|
-
|
106
|
-
serialized_property = object.microsoft_peering_config
|
107
|
-
unless serialized_property.nil?
|
108
|
-
serialized_property = ExpressRouteCircuitPeeringConfig.serialize_object(serialized_property)
|
109
|
-
end
|
110
|
-
output_object['microsoftPeeringConfig'] = serialized_property unless serialized_property.nil?
|
111
|
-
|
112
|
-
serialized_property = object.stats
|
113
|
-
unless serialized_property.nil?
|
114
|
-
serialized_property = ExpressRouteCircuitStats.serialize_object(serialized_property)
|
115
|
-
end
|
116
|
-
output_object['stats'] = serialized_property unless serialized_property.nil?
|
117
|
-
|
118
|
-
serialized_property = object.provisioning_state
|
119
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
120
|
-
|
121
|
-
output_object
|
122
|
-
end
|
123
|
-
|
124
|
-
#
|
125
|
-
# Deserializes given Ruby Hash into Model object.
|
126
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
127
|
-
# @return [ExpressRouteCircuitPeeringPropertiesFormat] Deserialized
|
128
|
-
# object.
|
129
|
-
#
|
130
|
-
def self.deserialize_object(object)
|
131
|
-
return if object.nil?
|
132
|
-
output_object = ExpressRouteCircuitPeeringPropertiesFormat.new
|
133
|
-
|
134
|
-
deserialized_property = object['peeringType']
|
135
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
136
|
-
enum_is_valid = ExpressRouteCircuitPeeringType.constants.any? { |e| ExpressRouteCircuitPeeringType.const_get(e).to_s.downcase == deserialized_property.downcase }
|
137
|
-
warn 'Enum ExpressRouteCircuitPeeringType does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
138
|
-
end
|
139
|
-
output_object.peering_type = deserialized_property
|
140
|
-
|
141
|
-
deserialized_property = object['state']
|
142
|
-
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
143
|
-
enum_is_valid = ExpressRouteCircuitPeeringState.constants.any? { |e| ExpressRouteCircuitPeeringState.const_get(e).to_s.downcase == deserialized_property.downcase }
|
144
|
-
warn 'Enum ExpressRouteCircuitPeeringState does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
|
145
|
-
end
|
146
|
-
output_object.state = deserialized_property
|
147
|
-
|
148
|
-
deserialized_property = object['azureASN']
|
149
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
150
|
-
output_object.azure_asn = deserialized_property
|
151
|
-
|
152
|
-
deserialized_property = object['peerASN']
|
153
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
154
|
-
output_object.peer_asn = deserialized_property
|
155
|
-
|
156
|
-
deserialized_property = object['primaryPeerAddressPrefix']
|
157
|
-
output_object.primary_peer_address_prefix = deserialized_property
|
158
|
-
|
159
|
-
deserialized_property = object['secondaryPeerAddressPrefix']
|
160
|
-
output_object.secondary_peer_address_prefix = deserialized_property
|
161
|
-
|
162
|
-
deserialized_property = object['primaryAzurePort']
|
163
|
-
output_object.primary_azure_port = deserialized_property
|
164
|
-
|
165
|
-
deserialized_property = object['secondaryAzurePort']
|
166
|
-
output_object.secondary_azure_port = deserialized_property
|
167
|
-
|
168
|
-
deserialized_property = object['sharedKey']
|
169
|
-
output_object.shared_key = deserialized_property
|
170
|
-
|
171
|
-
deserialized_property = object['vlanId']
|
172
|
-
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
173
|
-
output_object.vlan_id = deserialized_property
|
174
|
-
|
175
|
-
deserialized_property = object['microsoftPeeringConfig']
|
176
|
-
unless deserialized_property.nil?
|
177
|
-
deserialized_property = ExpressRouteCircuitPeeringConfig.deserialize_object(deserialized_property)
|
178
|
-
end
|
179
|
-
output_object.microsoft_peering_config = deserialized_property
|
180
|
-
|
181
|
-
deserialized_property = object['stats']
|
182
|
-
unless deserialized_property.nil?
|
183
|
-
deserialized_property = ExpressRouteCircuitStats.deserialize_object(deserialized_property)
|
184
|
-
end
|
185
|
-
output_object.stats = deserialized_property
|
186
|
-
|
187
|
-
deserialized_property = object['provisioningState']
|
188
|
-
output_object.provisioning_state = deserialized_property
|
189
|
-
|
190
|
-
output_object
|
191
|
-
end
|
192
|
-
end
|
193
|
-
end
|
194
|
-
end
|