azure_mgmt_network 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb +1 -1
- data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +12 -0
- data/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/routes.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/usages.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
- data/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
- data/lib/2017-03-30/generated/azure_mgmt_network.rb +8 -7
- data/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +2 -2
- data/lib/2017-03-30/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
- data/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb +21 -0
- data/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb +12 -0
- data/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2017-09-01/generated/azure_mgmt_network.rb +6 -6
- data/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +11 -10
- data/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/operations.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/routes.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/usages.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
- data/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/operations.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/routes.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/usages.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
- data/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/operations.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/routes.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/usages.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
- data/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network.rb +79 -78
- data/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb +14 -1
- data/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +4 -3
- data/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb +3 -2
- data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb +36 -0
- data/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb +14 -2
- data/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +79 -0
- data/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +7 -6
- data/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb +18 -17
- data/lib/2018-01-01/generated/azure_mgmt_network/operations.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/routes.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/usages.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb +1 -4
- data/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb +1 -4
- data/lib/2018-02-01/generated/azure_mgmt_network.rb +373 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/application_gateways.rb +1773 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/application_security_groups.rb +800 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/available_endpoint_services.rb +222 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/bgp_service_communities.rb +217 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/connection_monitors.rb +973 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/ddos_protection_plans.rb +800 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/default_security_rules.rb +333 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +621 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +459 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +616 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/express_route_circuits.rb +1577 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +638 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1288 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/express_route_service_providers.rb +217 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/inbound_nat_rules.rb +619 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +326 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +326 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +323 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +227 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/load_balancer_probes.rb +323 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/load_balancers.rb +942 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/local_network_gateways.rb +769 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/access.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway.rb +438 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +241 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +163 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +201 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +130 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/availability.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_shared_key.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +103 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +149 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/direction.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/error.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit.rb +246 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +145 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +291 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +250 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/flow_log_information.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +235 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +169 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +172 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +209 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/operation.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/origin.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +124 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/probe.rb +170 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/protocol_configuration.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress.rb +248 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/resource.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/route.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/severity.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/subnet.rb +178 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/topology.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/usage.rb +95 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network.rb +228 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +325 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +326 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +21 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +21 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +155 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +323 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +227 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/network_interfaces.rb +1210 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/network_management_client.rb +399 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/network_security_groups.rb +960 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/network_watchers.rb +2432 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/operations.rb +215 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/packet_captures.rb +784 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/public_ipaddresses.rb +942 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/route_filter_rules.rb +774 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/route_filters.rb +945 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/route_tables.rb +942 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/routes.rb +615 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/security_rules.rb +633 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/subnets.rb +619 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/usages.rb +223 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1231 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2609 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/virtual_network_peerings.rb +624 -0
- data/lib/2018-02-01/generated/azure_mgmt_network/virtual_networks.rb +1239 -0
- data/lib/2018-04-01/generated/azure_mgmt_network.rb +416 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/application_gateways.rb +1773 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/application_security_groups.rb +800 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/available_endpoint_services.rb +222 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/azure_firewalls.rb +787 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/bgp_service_communities.rb +217 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/connection_monitors.rb +973 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/ddos_protection_plans.rb +800 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/default_security_rules.rb +333 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +621 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +459 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +616 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/express_route_circuits.rb +1577 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +638 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1288 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/express_route_service_providers.rb +217 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +330 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/inbound_nat_rules.rb +619 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +326 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +326 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +323 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +227 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/load_balancer_probes.rb +323 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/load_balancers.rb +942 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/local_network_gateways.rb +769 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/access.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway.rb +483 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_autoscale_bounds.rb +60 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +242 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +164 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +202 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +130 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/availability.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall.rb +173 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +116 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +128 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +130 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +134 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +128 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +103 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +83 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/direction.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/error.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit.rb +246 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +145 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +291 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +250 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/flow_log_information.rb +95 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +235 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +144 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +169 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +172 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +209 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/operation.rb +83 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/origin.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +124 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/policies.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/probe.rb +170 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/protocol_configuration.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress.rb +248 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/resource.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/route.rb +118 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/severity.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/subnet.rb +178 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/topology.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +79 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/usage.rb +95 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_hub.rb +154 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network.rb +228 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +325 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +326 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +74 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +27 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +27 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/virtual_wan.rb +163 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +155 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_connection.rb +224 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_gateway.rb +167 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_site.rb +181 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/module_definition.rb +9 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +323 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +227 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/network_interfaces.rb +1210 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/network_management_client.rb +431 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/network_security_groups.rb +960 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/network_watchers.rb +2440 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/operations.rb +215 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/packet_captures.rb +784 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/public_ipaddresses.rb +942 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/route_filter_rules.rb +774 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/route_filters.rb +945 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/route_tables.rb +942 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/routes.rb +615 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/security_rules.rb +633 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/subnets.rb +619 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/usages.rb +223 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/virtual_hubs.rb +975 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1231 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2609 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/virtual_network_peerings.rb +624 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/virtual_networks.rb +1239 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/virtual_wans.rb +980 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/vpn_connections.rb +637 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/vpn_gateways.rb +975 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/vpn_sites.rb +958 -0
- data/lib/2018-04-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +171 -0
- data/lib/2018-06-01/generated/azure_mgmt_network.rb +416 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/application_gateways.rb +1773 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/application_security_groups.rb +800 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/available_endpoint_services.rb +222 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/azure_firewalls.rb +787 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/bgp_service_communities.rb +217 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/connection_monitors.rb +973 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/ddos_protection_plans.rb +800 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/default_security_rules.rb +333 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +621 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +459 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +616 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/express_route_circuits.rb +1577 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +638 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1288 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/express_route_service_providers.rb +217 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +330 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/inbound_nat_rules.rb +619 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +326 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +326 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +323 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +227 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/load_balancer_probes.rb +323 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/load_balancers.rb +942 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/local_network_gateways.rb +769 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/access.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway.rb +483 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_autoscale_bounds.rb +60 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +131 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +72 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +242 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +141 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +139 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +164 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +104 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +148 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +200 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +166 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +39 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +151 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +130 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/availability.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall.rb +173 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +116 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +128 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +130 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +134 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +128 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +80 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +107 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor.rb +114 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +84 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +199 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +103 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +83 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/direction.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +263 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_route.rb +128 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/error.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/error_details.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb +246 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +104 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +145 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +291 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +72 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +250 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +136 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_information.rb +95 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +235 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +144 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +169 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +172 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +95 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer.rb +290 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +209 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb +157 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface.rb +227 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +239 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_security_group.rb +206 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/operation.rb +83 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/origin.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +124 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture.rb +118 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +118 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_result.rb +168 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/patch_route_filter.rb +155 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +128 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/policies.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/probe.rb +170 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/protocol_configuration.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb +248 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/resource.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +103 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/route.rb +118 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/route_filter.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/route_filter_rule.rb +138 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/route_table.rb +163 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_associations.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +76 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/severity.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/subnet.rb +178 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/topology.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/usage.rb +95 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_hub.rb +154 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network.rb +228 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +246 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +325 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +326 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +27 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +27 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +171 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/virtual_wan.rb +163 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +155 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +96 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_connection.rb +224 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_gateway.rb +167 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_site.rb +181 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/module_definition.rb +9 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +323 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +227 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/network_interfaces.rb +1210 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/network_management_client.rb +431 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/network_security_groups.rb +960 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/network_watchers.rb +2440 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/operations.rb +215 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/packet_captures.rb +784 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/public_ipaddresses.rb +942 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/route_filter_rules.rb +774 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/route_filters.rb +945 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/route_tables.rb +942 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/routes.rb +615 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/security_rules.rb +633 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/subnets.rb +619 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/usages.rb +223 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/virtual_hubs.rb +975 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1231 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb +2609 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb +624 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/virtual_networks.rb +1239 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/virtual_wans.rb +980 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/vpn_connections.rb +637 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/vpn_gateways.rb +975 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/vpn_sites.rb +958 -0
- data/lib/2018-06-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +171 -0
- data/lib/azure_mgmt_network.rb +11 -8
- data/lib/profiles/latest/modules/network_profile_module.rb +945 -705
- data/lib/version.rb +1 -1
- metadata +1140 -5
@@ -0,0 +1,2609 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Network::Mgmt::V2018_02_01
|
7
|
+
#
|
8
|
+
# VirtualNetworkGateways
|
9
|
+
#
|
10
|
+
class VirtualNetworkGateways
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the VirtualNetworkGateways class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [NetworkManagementClient] reference to the NetworkManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Creates or updates a virtual network gateway in the specified resource group.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
29
|
+
# gateway.
|
30
|
+
# @param parameters [VirtualNetworkGateway] Parameters supplied to create or
|
31
|
+
# update virtual network gateway operation.
|
32
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
33
|
+
# will be added to the HTTP request.
|
34
|
+
#
|
35
|
+
# @return [VirtualNetworkGateway] operation results.
|
36
|
+
#
|
37
|
+
def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
38
|
+
response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
39
|
+
response.body unless response.nil?
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# @param resource_group_name [String] The name of the resource group.
|
44
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
45
|
+
# gateway.
|
46
|
+
# @param parameters [VirtualNetworkGateway] Parameters supplied to create or
|
47
|
+
# update virtual network gateway operation.
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
52
|
+
# response.
|
53
|
+
#
|
54
|
+
def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
55
|
+
# Send request
|
56
|
+
promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
|
57
|
+
|
58
|
+
promise = promise.then do |response|
|
59
|
+
# Defining deserialization method.
|
60
|
+
deserialize_method = lambda do |parsed_response|
|
61
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
|
62
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
63
|
+
end
|
64
|
+
|
65
|
+
# Waiting for response.
|
66
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
67
|
+
end
|
68
|
+
|
69
|
+
promise
|
70
|
+
end
|
71
|
+
|
72
|
+
#
|
73
|
+
# Gets the specified virtual network gateway by resource group.
|
74
|
+
#
|
75
|
+
# @param resource_group_name [String] The name of the resource group.
|
76
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
77
|
+
# gateway.
|
78
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
79
|
+
# will be added to the HTTP request.
|
80
|
+
#
|
81
|
+
# @return [VirtualNetworkGateway] operation results.
|
82
|
+
#
|
83
|
+
def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
84
|
+
response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
85
|
+
response.body unless response.nil?
|
86
|
+
end
|
87
|
+
|
88
|
+
#
|
89
|
+
# Gets the specified virtual network gateway by resource group.
|
90
|
+
#
|
91
|
+
# @param resource_group_name [String] The name of the resource group.
|
92
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
93
|
+
# gateway.
|
94
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
95
|
+
# will be added to the HTTP request.
|
96
|
+
#
|
97
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
98
|
+
#
|
99
|
+
def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
100
|
+
get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
101
|
+
end
|
102
|
+
|
103
|
+
#
|
104
|
+
# Gets the specified virtual network gateway by resource group.
|
105
|
+
#
|
106
|
+
# @param resource_group_name [String] The name of the resource group.
|
107
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
108
|
+
# gateway.
|
109
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
110
|
+
# to the HTTP request.
|
111
|
+
#
|
112
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
113
|
+
#
|
114
|
+
def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
115
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
116
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
117
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
118
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
119
|
+
|
120
|
+
|
121
|
+
request_headers = {}
|
122
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
123
|
+
|
124
|
+
# Set Headers
|
125
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
126
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
127
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
|
128
|
+
|
129
|
+
request_url = @base_url || @client.base_url
|
130
|
+
|
131
|
+
options = {
|
132
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
133
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
134
|
+
query_params: {'api-version' => @client.api_version},
|
135
|
+
headers: request_headers.merge(custom_headers || {}),
|
136
|
+
base_url: request_url
|
137
|
+
}
|
138
|
+
promise = @client.make_request_async(:get, path_template, options)
|
139
|
+
|
140
|
+
promise = promise.then do |result|
|
141
|
+
http_response = result.response
|
142
|
+
status_code = http_response.status
|
143
|
+
response_content = http_response.body
|
144
|
+
unless status_code == 200
|
145
|
+
error_model = JSON.load(response_content)
|
146
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
147
|
+
end
|
148
|
+
|
149
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
150
|
+
# Deserialize Response
|
151
|
+
if status_code == 200
|
152
|
+
begin
|
153
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
154
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
|
155
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
156
|
+
rescue Exception => e
|
157
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
result
|
162
|
+
end
|
163
|
+
|
164
|
+
promise.execute
|
165
|
+
end
|
166
|
+
|
167
|
+
#
|
168
|
+
# Deletes the specified virtual network gateway.
|
169
|
+
#
|
170
|
+
# @param resource_group_name [String] The name of the resource group.
|
171
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
172
|
+
# gateway.
|
173
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
174
|
+
# will be added to the HTTP request.
|
175
|
+
#
|
176
|
+
def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
177
|
+
response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
178
|
+
nil
|
179
|
+
end
|
180
|
+
|
181
|
+
#
|
182
|
+
# @param resource_group_name [String] The name of the resource group.
|
183
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
184
|
+
# gateway.
|
185
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
186
|
+
# will be added to the HTTP request.
|
187
|
+
#
|
188
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
189
|
+
# response.
|
190
|
+
#
|
191
|
+
def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
192
|
+
# Send request
|
193
|
+
promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
|
194
|
+
|
195
|
+
promise = promise.then do |response|
|
196
|
+
# Defining deserialization method.
|
197
|
+
deserialize_method = lambda do |parsed_response|
|
198
|
+
end
|
199
|
+
|
200
|
+
# Waiting for response.
|
201
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
202
|
+
end
|
203
|
+
|
204
|
+
promise
|
205
|
+
end
|
206
|
+
|
207
|
+
#
|
208
|
+
# Updates a virtual network gateway tags.
|
209
|
+
#
|
210
|
+
# @param resource_group_name [String] The name of the resource group.
|
211
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
212
|
+
# gateway.
|
213
|
+
# @param parameters [TagsObject] Parameters supplied to update virtual network
|
214
|
+
# gateway tags.
|
215
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
216
|
+
# will be added to the HTTP request.
|
217
|
+
#
|
218
|
+
# @return [VirtualNetworkGateway] operation results.
|
219
|
+
#
|
220
|
+
def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
221
|
+
response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
222
|
+
response.body unless response.nil?
|
223
|
+
end
|
224
|
+
|
225
|
+
#
|
226
|
+
# @param resource_group_name [String] The name of the resource group.
|
227
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
228
|
+
# gateway.
|
229
|
+
# @param parameters [TagsObject] Parameters supplied to update virtual network
|
230
|
+
# gateway tags.
|
231
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
232
|
+
# will be added to the HTTP request.
|
233
|
+
#
|
234
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
235
|
+
# response.
|
236
|
+
#
|
237
|
+
def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
238
|
+
# Send request
|
239
|
+
promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
|
240
|
+
|
241
|
+
promise = promise.then do |response|
|
242
|
+
# Defining deserialization method.
|
243
|
+
deserialize_method = lambda do |parsed_response|
|
244
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
|
245
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
246
|
+
end
|
247
|
+
|
248
|
+
# Waiting for response.
|
249
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
250
|
+
end
|
251
|
+
|
252
|
+
promise
|
253
|
+
end
|
254
|
+
|
255
|
+
#
|
256
|
+
# Gets all virtual network gateways by resource group.
|
257
|
+
#
|
258
|
+
# @param resource_group_name [String] The name of the resource group.
|
259
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
260
|
+
# will be added to the HTTP request.
|
261
|
+
#
|
262
|
+
# @return [Array<VirtualNetworkGateway>] operation results.
|
263
|
+
#
|
264
|
+
def list(resource_group_name, custom_headers:nil)
|
265
|
+
first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
|
266
|
+
first_page.get_all_items
|
267
|
+
end
|
268
|
+
|
269
|
+
#
|
270
|
+
# Gets all virtual network gateways by resource group.
|
271
|
+
#
|
272
|
+
# @param resource_group_name [String] The name of the resource group.
|
273
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
274
|
+
# will be added to the HTTP request.
|
275
|
+
#
|
276
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
277
|
+
#
|
278
|
+
def list_with_http_info(resource_group_name, custom_headers:nil)
|
279
|
+
list_async(resource_group_name, custom_headers:custom_headers).value!
|
280
|
+
end
|
281
|
+
|
282
|
+
#
|
283
|
+
# Gets all virtual network gateways by resource group.
|
284
|
+
#
|
285
|
+
# @param resource_group_name [String] The name of the resource group.
|
286
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
287
|
+
# to the HTTP request.
|
288
|
+
#
|
289
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
290
|
+
#
|
291
|
+
def list_async(resource_group_name, custom_headers:nil)
|
292
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
293
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
294
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
295
|
+
|
296
|
+
|
297
|
+
request_headers = {}
|
298
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
299
|
+
|
300
|
+
# Set Headers
|
301
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
302
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
303
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways'
|
304
|
+
|
305
|
+
request_url = @base_url || @client.base_url
|
306
|
+
|
307
|
+
options = {
|
308
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
309
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
310
|
+
query_params: {'api-version' => @client.api_version},
|
311
|
+
headers: request_headers.merge(custom_headers || {}),
|
312
|
+
base_url: request_url
|
313
|
+
}
|
314
|
+
promise = @client.make_request_async(:get, path_template, options)
|
315
|
+
|
316
|
+
promise = promise.then do |result|
|
317
|
+
http_response = result.response
|
318
|
+
status_code = http_response.status
|
319
|
+
response_content = http_response.body
|
320
|
+
unless status_code == 200
|
321
|
+
error_model = JSON.load(response_content)
|
322
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
323
|
+
end
|
324
|
+
|
325
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
326
|
+
# Deserialize Response
|
327
|
+
if status_code == 200
|
328
|
+
begin
|
329
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
330
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGatewayListResult.mapper()
|
331
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
332
|
+
rescue Exception => e
|
333
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
result
|
338
|
+
end
|
339
|
+
|
340
|
+
promise.execute
|
341
|
+
end
|
342
|
+
|
343
|
+
#
|
344
|
+
# Gets all the connections in a virtual network gateway.
|
345
|
+
#
|
346
|
+
# @param resource_group_name [String] The name of the resource group.
|
347
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
348
|
+
# gateway.
|
349
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
350
|
+
# will be added to the HTTP request.
|
351
|
+
#
|
352
|
+
# @return [Array<VirtualNetworkGatewayConnectionListEntity>] operation results.
|
353
|
+
#
|
354
|
+
def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
355
|
+
first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
|
356
|
+
first_page.get_all_items
|
357
|
+
end
|
358
|
+
|
359
|
+
#
|
360
|
+
# Gets all the connections in a virtual network gateway.
|
361
|
+
#
|
362
|
+
# @param resource_group_name [String] The name of the resource group.
|
363
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
364
|
+
# gateway.
|
365
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
366
|
+
# will be added to the HTTP request.
|
367
|
+
#
|
368
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
369
|
+
#
|
370
|
+
def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
371
|
+
list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
372
|
+
end
|
373
|
+
|
374
|
+
#
|
375
|
+
# Gets all the connections in a virtual network gateway.
|
376
|
+
#
|
377
|
+
# @param resource_group_name [String] The name of the resource group.
|
378
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
379
|
+
# gateway.
|
380
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
381
|
+
# to the HTTP request.
|
382
|
+
#
|
383
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
384
|
+
#
|
385
|
+
def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
386
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
387
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
388
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
389
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
390
|
+
|
391
|
+
|
392
|
+
request_headers = {}
|
393
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
394
|
+
|
395
|
+
# Set Headers
|
396
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
397
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
398
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections'
|
399
|
+
|
400
|
+
request_url = @base_url || @client.base_url
|
401
|
+
|
402
|
+
options = {
|
403
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
404
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
405
|
+
query_params: {'api-version' => @client.api_version},
|
406
|
+
headers: request_headers.merge(custom_headers || {}),
|
407
|
+
base_url: request_url
|
408
|
+
}
|
409
|
+
promise = @client.make_request_async(:get, path_template, options)
|
410
|
+
|
411
|
+
promise = promise.then do |result|
|
412
|
+
http_response = result.response
|
413
|
+
status_code = http_response.status
|
414
|
+
response_content = http_response.body
|
415
|
+
unless status_code == 200
|
416
|
+
error_model = JSON.load(response_content)
|
417
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
418
|
+
end
|
419
|
+
|
420
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
421
|
+
# Deserialize Response
|
422
|
+
if status_code == 200
|
423
|
+
begin
|
424
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
425
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGatewayListConnectionsResult.mapper()
|
426
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
427
|
+
rescue Exception => e
|
428
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
432
|
+
result
|
433
|
+
end
|
434
|
+
|
435
|
+
promise.execute
|
436
|
+
end
|
437
|
+
|
438
|
+
#
|
439
|
+
# Resets the primary of the virtual network gateway in the specified resource
|
440
|
+
# group.
|
441
|
+
#
|
442
|
+
# @param resource_group_name [String] The name of the resource group.
|
443
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
444
|
+
# gateway.
|
445
|
+
# @param gateway_vip [String] Virtual network gateway vip address supplied to
|
446
|
+
# the begin reset of the active-active feature enabled gateway.
|
447
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
448
|
+
# will be added to the HTTP request.
|
449
|
+
#
|
450
|
+
# @return [VirtualNetworkGateway] operation results.
|
451
|
+
#
|
452
|
+
def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
|
453
|
+
response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value!
|
454
|
+
response.body unless response.nil?
|
455
|
+
end
|
456
|
+
|
457
|
+
#
|
458
|
+
# @param resource_group_name [String] The name of the resource group.
|
459
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
460
|
+
# gateway.
|
461
|
+
# @param gateway_vip [String] Virtual network gateway vip address supplied to
|
462
|
+
# the begin reset of the active-active feature enabled gateway.
|
463
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
464
|
+
# will be added to the HTTP request.
|
465
|
+
#
|
466
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
467
|
+
# response.
|
468
|
+
#
|
469
|
+
def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
|
470
|
+
# Send request
|
471
|
+
promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers)
|
472
|
+
|
473
|
+
promise = promise.then do |response|
|
474
|
+
# Defining deserialization method.
|
475
|
+
deserialize_method = lambda do |parsed_response|
|
476
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
|
477
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
478
|
+
end
|
479
|
+
|
480
|
+
# Waiting for response.
|
481
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
482
|
+
end
|
483
|
+
|
484
|
+
promise
|
485
|
+
end
|
486
|
+
|
487
|
+
#
|
488
|
+
# Generates VPN client package for P2S client of the virtual network gateway in
|
489
|
+
# the specified resource group.
|
490
|
+
#
|
491
|
+
# @param resource_group_name [String] The name of the resource group.
|
492
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
493
|
+
# gateway.
|
494
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
495
|
+
# virtual network gateway VPN client package operation.
|
496
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
497
|
+
# will be added to the HTTP request.
|
498
|
+
#
|
499
|
+
# @return [String] operation results.
|
500
|
+
#
|
501
|
+
def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
502
|
+
response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
503
|
+
response.body unless response.nil?
|
504
|
+
end
|
505
|
+
|
506
|
+
#
|
507
|
+
# @param resource_group_name [String] The name of the resource group.
|
508
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
509
|
+
# gateway.
|
510
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
511
|
+
# virtual network gateway VPN client package operation.
|
512
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
513
|
+
# will be added to the HTTP request.
|
514
|
+
#
|
515
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
516
|
+
# response.
|
517
|
+
#
|
518
|
+
def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
519
|
+
# Send request
|
520
|
+
promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
|
521
|
+
|
522
|
+
promise = promise.then do |response|
|
523
|
+
# Defining deserialization method.
|
524
|
+
deserialize_method = lambda do |parsed_response|
|
525
|
+
result_mapper = {
|
526
|
+
client_side_validation: true,
|
527
|
+
required: false,
|
528
|
+
serialized_name: 'parsed_response',
|
529
|
+
type: {
|
530
|
+
name: 'String'
|
531
|
+
}
|
532
|
+
}
|
533
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
534
|
+
end
|
535
|
+
|
536
|
+
# Waiting for response.
|
537
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
538
|
+
end
|
539
|
+
|
540
|
+
promise
|
541
|
+
end
|
542
|
+
|
543
|
+
#
|
544
|
+
# Generates VPN profile for P2S client of the virtual network gateway in the
|
545
|
+
# specified resource group. Used for IKEV2 and radius based authentication.
|
546
|
+
#
|
547
|
+
# @param resource_group_name [String] The name of the resource group.
|
548
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
549
|
+
# gateway.
|
550
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
551
|
+
# virtual network gateway VPN client package operation.
|
552
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
553
|
+
# will be added to the HTTP request.
|
554
|
+
#
|
555
|
+
# @return [String] operation results.
|
556
|
+
#
|
557
|
+
def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
558
|
+
response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
559
|
+
response.body unless response.nil?
|
560
|
+
end
|
561
|
+
|
562
|
+
#
|
563
|
+
# @param resource_group_name [String] The name of the resource group.
|
564
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
565
|
+
# gateway.
|
566
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
567
|
+
# virtual network gateway VPN client package operation.
|
568
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
569
|
+
# will be added to the HTTP request.
|
570
|
+
#
|
571
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
572
|
+
# response.
|
573
|
+
#
|
574
|
+
def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
575
|
+
# Send request
|
576
|
+
promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers)
|
577
|
+
|
578
|
+
promise = promise.then do |response|
|
579
|
+
# Defining deserialization method.
|
580
|
+
deserialize_method = lambda do |parsed_response|
|
581
|
+
result_mapper = {
|
582
|
+
client_side_validation: true,
|
583
|
+
required: false,
|
584
|
+
serialized_name: 'parsed_response',
|
585
|
+
type: {
|
586
|
+
name: 'String'
|
587
|
+
}
|
588
|
+
}
|
589
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
590
|
+
end
|
591
|
+
|
592
|
+
# Waiting for response.
|
593
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
594
|
+
end
|
595
|
+
|
596
|
+
promise
|
597
|
+
end
|
598
|
+
|
599
|
+
#
|
600
|
+
# Gets pre-generated VPN profile for P2S client of the virtual network gateway
|
601
|
+
# in the specified resource group. The profile needs to be generated first
|
602
|
+
# using generateVpnProfile.
|
603
|
+
#
|
604
|
+
# @param resource_group_name [String] The name of the resource group.
|
605
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
606
|
+
# gateway.
|
607
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
608
|
+
# will be added to the HTTP request.
|
609
|
+
#
|
610
|
+
# @return [String] operation results.
|
611
|
+
#
|
612
|
+
def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
613
|
+
response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
614
|
+
response.body unless response.nil?
|
615
|
+
end
|
616
|
+
|
617
|
+
#
|
618
|
+
# @param resource_group_name [String] The name of the resource group.
|
619
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
620
|
+
# gateway.
|
621
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
622
|
+
# will be added to the HTTP request.
|
623
|
+
#
|
624
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
625
|
+
# response.
|
626
|
+
#
|
627
|
+
def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
628
|
+
# Send request
|
629
|
+
promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
|
630
|
+
|
631
|
+
promise = promise.then do |response|
|
632
|
+
# Defining deserialization method.
|
633
|
+
deserialize_method = lambda do |parsed_response|
|
634
|
+
result_mapper = {
|
635
|
+
client_side_validation: true,
|
636
|
+
required: false,
|
637
|
+
serialized_name: 'parsed_response',
|
638
|
+
type: {
|
639
|
+
name: 'String'
|
640
|
+
}
|
641
|
+
}
|
642
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
643
|
+
end
|
644
|
+
|
645
|
+
# Waiting for response.
|
646
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
647
|
+
end
|
648
|
+
|
649
|
+
promise
|
650
|
+
end
|
651
|
+
|
652
|
+
#
|
653
|
+
# The GetBgpPeerStatus operation retrieves the status of all BGP peers.
|
654
|
+
#
|
655
|
+
# @param resource_group_name [String] The name of the resource group.
|
656
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
657
|
+
# gateway.
|
658
|
+
# @param peer [String] The IP address of the peer to retrieve the status of.
|
659
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
660
|
+
# will be added to the HTTP request.
|
661
|
+
#
|
662
|
+
# @return [BgpPeerStatusListResult] operation results.
|
663
|
+
#
|
664
|
+
def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
|
665
|
+
response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value!
|
666
|
+
response.body unless response.nil?
|
667
|
+
end
|
668
|
+
|
669
|
+
#
|
670
|
+
# @param resource_group_name [String] The name of the resource group.
|
671
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
672
|
+
# gateway.
|
673
|
+
# @param peer [String] The IP address of the peer to retrieve the status of.
|
674
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
675
|
+
# will be added to the HTTP request.
|
676
|
+
#
|
677
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
678
|
+
# response.
|
679
|
+
#
|
680
|
+
def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
|
681
|
+
# Send request
|
682
|
+
promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers)
|
683
|
+
|
684
|
+
promise = promise.then do |response|
|
685
|
+
# Defining deserialization method.
|
686
|
+
deserialize_method = lambda do |parsed_response|
|
687
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::BgpPeerStatusListResult.mapper()
|
688
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
689
|
+
end
|
690
|
+
|
691
|
+
# Waiting for response.
|
692
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
693
|
+
end
|
694
|
+
|
695
|
+
promise
|
696
|
+
end
|
697
|
+
|
698
|
+
#
|
699
|
+
# Gets a xml format representation for supported vpn devices.
|
700
|
+
#
|
701
|
+
# @param resource_group_name [String] The name of the resource group.
|
702
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
703
|
+
# gateway.
|
704
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
705
|
+
# will be added to the HTTP request.
|
706
|
+
#
|
707
|
+
# @return [String] operation results.
|
708
|
+
#
|
709
|
+
def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
710
|
+
response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
711
|
+
response.body unless response.nil?
|
712
|
+
end
|
713
|
+
|
714
|
+
#
|
715
|
+
# Gets a xml format representation for supported vpn devices.
|
716
|
+
#
|
717
|
+
# @param resource_group_name [String] The name of the resource group.
|
718
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
719
|
+
# gateway.
|
720
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
721
|
+
# will be added to the HTTP request.
|
722
|
+
#
|
723
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
724
|
+
#
|
725
|
+
def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
726
|
+
supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
727
|
+
end
|
728
|
+
|
729
|
+
#
|
730
|
+
# Gets a xml format representation for supported vpn devices.
|
731
|
+
#
|
732
|
+
# @param resource_group_name [String] The name of the resource group.
|
733
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
734
|
+
# gateway.
|
735
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
736
|
+
# to the HTTP request.
|
737
|
+
#
|
738
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
739
|
+
#
|
740
|
+
def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
741
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
742
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
743
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
744
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
745
|
+
|
746
|
+
|
747
|
+
request_headers = {}
|
748
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
749
|
+
|
750
|
+
# Set Headers
|
751
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
752
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
753
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices'
|
754
|
+
|
755
|
+
request_url = @base_url || @client.base_url
|
756
|
+
|
757
|
+
options = {
|
758
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
759
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
760
|
+
query_params: {'api-version' => @client.api_version},
|
761
|
+
headers: request_headers.merge(custom_headers || {}),
|
762
|
+
base_url: request_url
|
763
|
+
}
|
764
|
+
promise = @client.make_request_async(:post, path_template, options)
|
765
|
+
|
766
|
+
promise = promise.then do |result|
|
767
|
+
http_response = result.response
|
768
|
+
status_code = http_response.status
|
769
|
+
response_content = http_response.body
|
770
|
+
unless status_code == 200
|
771
|
+
error_model = JSON.load(response_content)
|
772
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
773
|
+
end
|
774
|
+
|
775
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
776
|
+
# Deserialize Response
|
777
|
+
if status_code == 200
|
778
|
+
begin
|
779
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
780
|
+
result_mapper = {
|
781
|
+
client_side_validation: true,
|
782
|
+
required: false,
|
783
|
+
serialized_name: 'parsed_response',
|
784
|
+
type: {
|
785
|
+
name: 'String'
|
786
|
+
}
|
787
|
+
}
|
788
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
789
|
+
rescue Exception => e
|
790
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
794
|
+
result
|
795
|
+
end
|
796
|
+
|
797
|
+
promise.execute
|
798
|
+
end
|
799
|
+
|
800
|
+
#
|
801
|
+
# This operation retrieves a list of routes the virtual network gateway has
|
802
|
+
# learned, including routes learned from BGP peers.
|
803
|
+
#
|
804
|
+
# @param resource_group_name [String] The name of the resource group.
|
805
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
806
|
+
# gateway.
|
807
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
808
|
+
# will be added to the HTTP request.
|
809
|
+
#
|
810
|
+
# @return [GatewayRouteListResult] operation results.
|
811
|
+
#
|
812
|
+
def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
813
|
+
response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
814
|
+
response.body unless response.nil?
|
815
|
+
end
|
816
|
+
|
817
|
+
#
|
818
|
+
# @param resource_group_name [String] The name of the resource group.
|
819
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
820
|
+
# gateway.
|
821
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
822
|
+
# will be added to the HTTP request.
|
823
|
+
#
|
824
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
825
|
+
# response.
|
826
|
+
#
|
827
|
+
def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
828
|
+
# Send request
|
829
|
+
promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
|
830
|
+
|
831
|
+
promise = promise.then do |response|
|
832
|
+
# Defining deserialization method.
|
833
|
+
deserialize_method = lambda do |parsed_response|
|
834
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::GatewayRouteListResult.mapper()
|
835
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
836
|
+
end
|
837
|
+
|
838
|
+
# Waiting for response.
|
839
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
840
|
+
end
|
841
|
+
|
842
|
+
promise
|
843
|
+
end
|
844
|
+
|
845
|
+
#
|
846
|
+
# This operation retrieves a list of routes the virtual network gateway is
|
847
|
+
# advertising to the specified peer.
|
848
|
+
#
|
849
|
+
# @param resource_group_name [String] The name of the resource group.
|
850
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
851
|
+
# gateway.
|
852
|
+
# @param peer [String] The IP address of the peer
|
853
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
854
|
+
# will be added to the HTTP request.
|
855
|
+
#
|
856
|
+
# @return [GatewayRouteListResult] operation results.
|
857
|
+
#
|
858
|
+
def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
|
859
|
+
response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value!
|
860
|
+
response.body unless response.nil?
|
861
|
+
end
|
862
|
+
|
863
|
+
#
|
864
|
+
# @param resource_group_name [String] The name of the resource group.
|
865
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
866
|
+
# gateway.
|
867
|
+
# @param peer [String] The IP address of the peer
|
868
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
869
|
+
# will be added to the HTTP request.
|
870
|
+
#
|
871
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
872
|
+
# response.
|
873
|
+
#
|
874
|
+
def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
|
875
|
+
# Send request
|
876
|
+
promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers)
|
877
|
+
|
878
|
+
promise = promise.then do |response|
|
879
|
+
# Defining deserialization method.
|
880
|
+
deserialize_method = lambda do |parsed_response|
|
881
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::GatewayRouteListResult.mapper()
|
882
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
883
|
+
end
|
884
|
+
|
885
|
+
# Waiting for response.
|
886
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
887
|
+
end
|
888
|
+
|
889
|
+
promise
|
890
|
+
end
|
891
|
+
|
892
|
+
#
|
893
|
+
# The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy
|
894
|
+
# for P2S client of virtual network gateway in the specified resource group
|
895
|
+
# through Network resource provider.
|
896
|
+
#
|
897
|
+
# @param resource_group_name [String] The name of the resource group.
|
898
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
899
|
+
# gateway.
|
900
|
+
# @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
|
901
|
+
# to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
|
902
|
+
# client operation through Network resource provider.
|
903
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
904
|
+
# will be added to the HTTP request.
|
905
|
+
#
|
906
|
+
# @return [VpnClientIPsecParameters] operation results.
|
907
|
+
#
|
908
|
+
def set_vpnclient_ipsec_parameters(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
|
909
|
+
response = set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:custom_headers).value!
|
910
|
+
response.body unless response.nil?
|
911
|
+
end
|
912
|
+
|
913
|
+
#
|
914
|
+
# @param resource_group_name [String] The name of the resource group.
|
915
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
916
|
+
# gateway.
|
917
|
+
# @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
|
918
|
+
# to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
|
919
|
+
# client operation through Network resource provider.
|
920
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
921
|
+
# will be added to the HTTP request.
|
922
|
+
#
|
923
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
924
|
+
# response.
|
925
|
+
#
|
926
|
+
def set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
|
927
|
+
# Send request
|
928
|
+
promise = begin_set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:custom_headers)
|
929
|
+
|
930
|
+
promise = promise.then do |response|
|
931
|
+
# Defining deserialization method.
|
932
|
+
deserialize_method = lambda do |parsed_response|
|
933
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
|
934
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
935
|
+
end
|
936
|
+
|
937
|
+
# Waiting for response.
|
938
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
939
|
+
end
|
940
|
+
|
941
|
+
promise
|
942
|
+
end
|
943
|
+
|
944
|
+
#
|
945
|
+
# The Get VpnclientIpsecParameters operation retrieves information about the
|
946
|
+
# vpnclient ipsec policy for P2S client of virtual network gateway in the
|
947
|
+
# specified resource group through Network resource provider.
|
948
|
+
#
|
949
|
+
# @param resource_group_name [String] The name of the resource group.
|
950
|
+
# @param virtual_network_gateway_name [String] The virtual network gateway
|
951
|
+
# name.
|
952
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
953
|
+
# will be added to the HTTP request.
|
954
|
+
#
|
955
|
+
# @return [VpnClientIPsecParameters] operation results.
|
956
|
+
#
|
957
|
+
def get_vpnclient_ipsec_parameters(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
958
|
+
response = get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
959
|
+
response.body unless response.nil?
|
960
|
+
end
|
961
|
+
|
962
|
+
#
|
963
|
+
# @param resource_group_name [String] The name of the resource group.
|
964
|
+
# @param virtual_network_gateway_name [String] The virtual network gateway
|
965
|
+
# name.
|
966
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
967
|
+
# will be added to the HTTP request.
|
968
|
+
#
|
969
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
970
|
+
# response.
|
971
|
+
#
|
972
|
+
def get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
973
|
+
# Send request
|
974
|
+
promise = begin_get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers)
|
975
|
+
|
976
|
+
promise = promise.then do |response|
|
977
|
+
# Defining deserialization method.
|
978
|
+
deserialize_method = lambda do |parsed_response|
|
979
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
|
980
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
981
|
+
end
|
982
|
+
|
983
|
+
# Waiting for response.
|
984
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
985
|
+
end
|
986
|
+
|
987
|
+
promise
|
988
|
+
end
|
989
|
+
|
990
|
+
#
|
991
|
+
# Gets a xml format representation for vpn device configuration script.
|
992
|
+
#
|
993
|
+
# @param resource_group_name [String] The name of the resource group.
|
994
|
+
# @param virtual_network_gateway_connection_name [String] The name of the
|
995
|
+
# virtual network gateway connection for which the configuration script is
|
996
|
+
# generated.
|
997
|
+
# @param parameters [VpnDeviceScriptParameters] Parameters supplied to the
|
998
|
+
# generate vpn device script operation.
|
999
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1000
|
+
# will be added to the HTTP request.
|
1001
|
+
#
|
1002
|
+
# @return [String] operation results.
|
1003
|
+
#
|
1004
|
+
def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
|
1005
|
+
response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
|
1006
|
+
response.body unless response.nil?
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
#
|
1010
|
+
# Gets a xml format representation for vpn device configuration script.
|
1011
|
+
#
|
1012
|
+
# @param resource_group_name [String] The name of the resource group.
|
1013
|
+
# @param virtual_network_gateway_connection_name [String] The name of the
|
1014
|
+
# virtual network gateway connection for which the configuration script is
|
1015
|
+
# generated.
|
1016
|
+
# @param parameters [VpnDeviceScriptParameters] Parameters supplied to the
|
1017
|
+
# generate vpn device script operation.
|
1018
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1019
|
+
# will be added to the HTTP request.
|
1020
|
+
#
|
1021
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1022
|
+
#
|
1023
|
+
def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
|
1024
|
+
vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
#
|
1028
|
+
# Gets a xml format representation for vpn device configuration script.
|
1029
|
+
#
|
1030
|
+
# @param resource_group_name [String] The name of the resource group.
|
1031
|
+
# @param virtual_network_gateway_connection_name [String] The name of the
|
1032
|
+
# virtual network gateway connection for which the configuration script is
|
1033
|
+
# generated.
|
1034
|
+
# @param parameters [VpnDeviceScriptParameters] Parameters supplied to the
|
1035
|
+
# generate vpn device script operation.
|
1036
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1037
|
+
# to the HTTP request.
|
1038
|
+
#
|
1039
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1040
|
+
#
|
1041
|
+
def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
|
1042
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1043
|
+
fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil?
|
1044
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1045
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1046
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1047
|
+
|
1048
|
+
|
1049
|
+
request_headers = {}
|
1050
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1051
|
+
|
1052
|
+
# Set Headers
|
1053
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1054
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1055
|
+
|
1056
|
+
# Serialize Request
|
1057
|
+
request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnDeviceScriptParameters.mapper()
|
1058
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1059
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1060
|
+
|
1061
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript'
|
1062
|
+
|
1063
|
+
request_url = @base_url || @client.base_url
|
1064
|
+
|
1065
|
+
options = {
|
1066
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1067
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayConnectionName' => virtual_network_gateway_connection_name,'subscriptionId' => @client.subscription_id},
|
1068
|
+
query_params: {'api-version' => @client.api_version},
|
1069
|
+
body: request_content,
|
1070
|
+
headers: request_headers.merge(custom_headers || {}),
|
1071
|
+
base_url: request_url
|
1072
|
+
}
|
1073
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1074
|
+
|
1075
|
+
promise = promise.then do |result|
|
1076
|
+
http_response = result.response
|
1077
|
+
status_code = http_response.status
|
1078
|
+
response_content = http_response.body
|
1079
|
+
unless status_code == 200
|
1080
|
+
error_model = JSON.load(response_content)
|
1081
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1085
|
+
# Deserialize Response
|
1086
|
+
if status_code == 200
|
1087
|
+
begin
|
1088
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1089
|
+
result_mapper = {
|
1090
|
+
client_side_validation: true,
|
1091
|
+
required: false,
|
1092
|
+
serialized_name: 'parsed_response',
|
1093
|
+
type: {
|
1094
|
+
name: 'String'
|
1095
|
+
}
|
1096
|
+
}
|
1097
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1098
|
+
rescue Exception => e
|
1099
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1100
|
+
end
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
result
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
promise.execute
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
#
|
1110
|
+
# Creates or updates a virtual network gateway in the specified resource group.
|
1111
|
+
#
|
1112
|
+
# @param resource_group_name [String] The name of the resource group.
|
1113
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1114
|
+
# gateway.
|
1115
|
+
# @param parameters [VirtualNetworkGateway] Parameters supplied to create or
|
1116
|
+
# update virtual network gateway operation.
|
1117
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1118
|
+
# will be added to the HTTP request.
|
1119
|
+
#
|
1120
|
+
# @return [VirtualNetworkGateway] operation results.
|
1121
|
+
#
|
1122
|
+
def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1123
|
+
response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
1124
|
+
response.body unless response.nil?
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
#
|
1128
|
+
# Creates or updates a virtual network gateway in the specified resource group.
|
1129
|
+
#
|
1130
|
+
# @param resource_group_name [String] The name of the resource group.
|
1131
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1132
|
+
# gateway.
|
1133
|
+
# @param parameters [VirtualNetworkGateway] Parameters supplied to create or
|
1134
|
+
# update virtual network gateway operation.
|
1135
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1136
|
+
# will be added to the HTTP request.
|
1137
|
+
#
|
1138
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1139
|
+
#
|
1140
|
+
def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1141
|
+
begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
#
|
1145
|
+
# Creates or updates a virtual network gateway in the specified resource group.
|
1146
|
+
#
|
1147
|
+
# @param resource_group_name [String] The name of the resource group.
|
1148
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1149
|
+
# gateway.
|
1150
|
+
# @param parameters [VirtualNetworkGateway] Parameters supplied to create or
|
1151
|
+
# update virtual network gateway operation.
|
1152
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1153
|
+
# to the HTTP request.
|
1154
|
+
#
|
1155
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1156
|
+
#
|
1157
|
+
def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1158
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1159
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
1160
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1161
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1162
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1163
|
+
|
1164
|
+
|
1165
|
+
request_headers = {}
|
1166
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1167
|
+
|
1168
|
+
# Set Headers
|
1169
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1170
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1171
|
+
|
1172
|
+
# Serialize Request
|
1173
|
+
request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
|
1174
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1175
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1176
|
+
|
1177
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
|
1178
|
+
|
1179
|
+
request_url = @base_url || @client.base_url
|
1180
|
+
|
1181
|
+
options = {
|
1182
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1183
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
1184
|
+
query_params: {'api-version' => @client.api_version},
|
1185
|
+
body: request_content,
|
1186
|
+
headers: request_headers.merge(custom_headers || {}),
|
1187
|
+
base_url: request_url
|
1188
|
+
}
|
1189
|
+
promise = @client.make_request_async(:put, path_template, options)
|
1190
|
+
|
1191
|
+
promise = promise.then do |result|
|
1192
|
+
http_response = result.response
|
1193
|
+
status_code = http_response.status
|
1194
|
+
response_content = http_response.body
|
1195
|
+
unless status_code == 200 || status_code == 201
|
1196
|
+
error_model = JSON.load(response_content)
|
1197
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1201
|
+
# Deserialize Response
|
1202
|
+
if status_code == 200
|
1203
|
+
begin
|
1204
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1205
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
|
1206
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1207
|
+
rescue Exception => e
|
1208
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1209
|
+
end
|
1210
|
+
end
|
1211
|
+
# Deserialize Response
|
1212
|
+
if status_code == 201
|
1213
|
+
begin
|
1214
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1215
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
|
1216
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1217
|
+
rescue Exception => e
|
1218
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1219
|
+
end
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
result
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
promise.execute
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
#
|
1229
|
+
# Deletes the specified virtual network gateway.
|
1230
|
+
#
|
1231
|
+
# @param resource_group_name [String] The name of the resource group.
|
1232
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1233
|
+
# gateway.
|
1234
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1235
|
+
# will be added to the HTTP request.
|
1236
|
+
#
|
1237
|
+
#
|
1238
|
+
def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
1239
|
+
response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
1240
|
+
nil
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
#
|
1244
|
+
# Deletes the specified virtual network gateway.
|
1245
|
+
#
|
1246
|
+
# @param resource_group_name [String] The name of the resource group.
|
1247
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1248
|
+
# gateway.
|
1249
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1250
|
+
# will be added to the HTTP request.
|
1251
|
+
#
|
1252
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1253
|
+
#
|
1254
|
+
def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
1255
|
+
begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
#
|
1259
|
+
# Deletes the specified virtual network gateway.
|
1260
|
+
#
|
1261
|
+
# @param resource_group_name [String] The name of the resource group.
|
1262
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1263
|
+
# gateway.
|
1264
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1265
|
+
# to the HTTP request.
|
1266
|
+
#
|
1267
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1268
|
+
#
|
1269
|
+
def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
1270
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1271
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
1272
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1273
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1274
|
+
|
1275
|
+
|
1276
|
+
request_headers = {}
|
1277
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1278
|
+
|
1279
|
+
# Set Headers
|
1280
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1281
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1282
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
|
1283
|
+
|
1284
|
+
request_url = @base_url || @client.base_url
|
1285
|
+
|
1286
|
+
options = {
|
1287
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1288
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
1289
|
+
query_params: {'api-version' => @client.api_version},
|
1290
|
+
headers: request_headers.merge(custom_headers || {}),
|
1291
|
+
base_url: request_url
|
1292
|
+
}
|
1293
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
1294
|
+
|
1295
|
+
promise = promise.then do |result|
|
1296
|
+
http_response = result.response
|
1297
|
+
status_code = http_response.status
|
1298
|
+
response_content = http_response.body
|
1299
|
+
unless status_code == 204 || status_code == 202 || status_code == 200
|
1300
|
+
error_model = JSON.load(response_content)
|
1301
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1305
|
+
|
1306
|
+
result
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
promise.execute
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
#
|
1313
|
+
# Updates a virtual network gateway tags.
|
1314
|
+
#
|
1315
|
+
# @param resource_group_name [String] The name of the resource group.
|
1316
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1317
|
+
# gateway.
|
1318
|
+
# @param parameters [TagsObject] Parameters supplied to update virtual network
|
1319
|
+
# gateway tags.
|
1320
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1321
|
+
# will be added to the HTTP request.
|
1322
|
+
#
|
1323
|
+
# @return [VirtualNetworkGateway] operation results.
|
1324
|
+
#
|
1325
|
+
def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1326
|
+
response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
1327
|
+
response.body unless response.nil?
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
#
|
1331
|
+
# Updates a virtual network gateway tags.
|
1332
|
+
#
|
1333
|
+
# @param resource_group_name [String] The name of the resource group.
|
1334
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1335
|
+
# gateway.
|
1336
|
+
# @param parameters [TagsObject] Parameters supplied to update virtual network
|
1337
|
+
# gateway tags.
|
1338
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1339
|
+
# will be added to the HTTP request.
|
1340
|
+
#
|
1341
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1342
|
+
#
|
1343
|
+
def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1344
|
+
begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
#
|
1348
|
+
# Updates a virtual network gateway tags.
|
1349
|
+
#
|
1350
|
+
# @param resource_group_name [String] The name of the resource group.
|
1351
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1352
|
+
# gateway.
|
1353
|
+
# @param parameters [TagsObject] Parameters supplied to update virtual network
|
1354
|
+
# gateway tags.
|
1355
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1356
|
+
# to the HTTP request.
|
1357
|
+
#
|
1358
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1359
|
+
#
|
1360
|
+
def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1361
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1362
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
1363
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1364
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1365
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1366
|
+
|
1367
|
+
|
1368
|
+
request_headers = {}
|
1369
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1370
|
+
|
1371
|
+
# Set Headers
|
1372
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1373
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1374
|
+
|
1375
|
+
# Serialize Request
|
1376
|
+
request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::TagsObject.mapper()
|
1377
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1378
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1379
|
+
|
1380
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'
|
1381
|
+
|
1382
|
+
request_url = @base_url || @client.base_url
|
1383
|
+
|
1384
|
+
options = {
|
1385
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1386
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
1387
|
+
query_params: {'api-version' => @client.api_version},
|
1388
|
+
body: request_content,
|
1389
|
+
headers: request_headers.merge(custom_headers || {}),
|
1390
|
+
base_url: request_url
|
1391
|
+
}
|
1392
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
1393
|
+
|
1394
|
+
promise = promise.then do |result|
|
1395
|
+
http_response = result.response
|
1396
|
+
status_code = http_response.status
|
1397
|
+
response_content = http_response.body
|
1398
|
+
unless status_code == 200
|
1399
|
+
error_model = JSON.load(response_content)
|
1400
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1404
|
+
# Deserialize Response
|
1405
|
+
if status_code == 200
|
1406
|
+
begin
|
1407
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1408
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
|
1409
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1410
|
+
rescue Exception => e
|
1411
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1412
|
+
end
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
result
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
promise.execute
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
#
|
1422
|
+
# Resets the primary of the virtual network gateway in the specified resource
|
1423
|
+
# group.
|
1424
|
+
#
|
1425
|
+
# @param resource_group_name [String] The name of the resource group.
|
1426
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1427
|
+
# gateway.
|
1428
|
+
# @param gateway_vip [String] Virtual network gateway vip address supplied to
|
1429
|
+
# the begin reset of the active-active feature enabled gateway.
|
1430
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1431
|
+
# will be added to the HTTP request.
|
1432
|
+
#
|
1433
|
+
# @return [VirtualNetworkGateway] operation results.
|
1434
|
+
#
|
1435
|
+
def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
|
1436
|
+
response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value!
|
1437
|
+
response.body unless response.nil?
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
#
|
1441
|
+
# Resets the primary of the virtual network gateway in the specified resource
|
1442
|
+
# group.
|
1443
|
+
#
|
1444
|
+
# @param resource_group_name [String] The name of the resource group.
|
1445
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1446
|
+
# gateway.
|
1447
|
+
# @param gateway_vip [String] Virtual network gateway vip address supplied to
|
1448
|
+
# the begin reset of the active-active feature enabled gateway.
|
1449
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1450
|
+
# will be added to the HTTP request.
|
1451
|
+
#
|
1452
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1453
|
+
#
|
1454
|
+
def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
|
1455
|
+
begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value!
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
#
|
1459
|
+
# Resets the primary of the virtual network gateway in the specified resource
|
1460
|
+
# group.
|
1461
|
+
#
|
1462
|
+
# @param resource_group_name [String] The name of the resource group.
|
1463
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1464
|
+
# gateway.
|
1465
|
+
# @param gateway_vip [String] Virtual network gateway vip address supplied to
|
1466
|
+
# the begin reset of the active-active feature enabled gateway.
|
1467
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1468
|
+
# to the HTTP request.
|
1469
|
+
#
|
1470
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1471
|
+
#
|
1472
|
+
def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil)
|
1473
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1474
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
1475
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1476
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1477
|
+
|
1478
|
+
|
1479
|
+
request_headers = {}
|
1480
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1481
|
+
|
1482
|
+
# Set Headers
|
1483
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1484
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1485
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset'
|
1486
|
+
|
1487
|
+
request_url = @base_url || @client.base_url
|
1488
|
+
|
1489
|
+
options = {
|
1490
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1491
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
1492
|
+
query_params: {'gatewayVip' => gateway_vip,'api-version' => @client.api_version},
|
1493
|
+
headers: request_headers.merge(custom_headers || {}),
|
1494
|
+
base_url: request_url
|
1495
|
+
}
|
1496
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1497
|
+
|
1498
|
+
promise = promise.then do |result|
|
1499
|
+
http_response = result.response
|
1500
|
+
status_code = http_response.status
|
1501
|
+
response_content = http_response.body
|
1502
|
+
unless status_code == 202 || status_code == 200
|
1503
|
+
error_model = JSON.load(response_content)
|
1504
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1508
|
+
# Deserialize Response
|
1509
|
+
if status_code == 200
|
1510
|
+
begin
|
1511
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1512
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGateway.mapper()
|
1513
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1514
|
+
rescue Exception => e
|
1515
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1516
|
+
end
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
result
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
promise.execute
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
#
|
1526
|
+
# Generates VPN client package for P2S client of the virtual network gateway in
|
1527
|
+
# the specified resource group.
|
1528
|
+
#
|
1529
|
+
# @param resource_group_name [String] The name of the resource group.
|
1530
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1531
|
+
# gateway.
|
1532
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
1533
|
+
# virtual network gateway VPN client package operation.
|
1534
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1535
|
+
# will be added to the HTTP request.
|
1536
|
+
#
|
1537
|
+
# @return [String] operation results.
|
1538
|
+
#
|
1539
|
+
def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1540
|
+
response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
1541
|
+
response.body unless response.nil?
|
1542
|
+
end
|
1543
|
+
|
1544
|
+
#
|
1545
|
+
# Generates VPN client package for P2S client of the virtual network gateway in
|
1546
|
+
# the specified resource group.
|
1547
|
+
#
|
1548
|
+
# @param resource_group_name [String] The name of the resource group.
|
1549
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1550
|
+
# gateway.
|
1551
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
1552
|
+
# virtual network gateway VPN client package operation.
|
1553
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1554
|
+
# will be added to the HTTP request.
|
1555
|
+
#
|
1556
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1557
|
+
#
|
1558
|
+
def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1559
|
+
begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
1560
|
+
end
|
1561
|
+
|
1562
|
+
#
|
1563
|
+
# Generates VPN client package for P2S client of the virtual network gateway in
|
1564
|
+
# the specified resource group.
|
1565
|
+
#
|
1566
|
+
# @param resource_group_name [String] The name of the resource group.
|
1567
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1568
|
+
# gateway.
|
1569
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
1570
|
+
# virtual network gateway VPN client package operation.
|
1571
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1572
|
+
# to the HTTP request.
|
1573
|
+
#
|
1574
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1575
|
+
#
|
1576
|
+
def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1577
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1578
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
1579
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1580
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1581
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1582
|
+
|
1583
|
+
|
1584
|
+
request_headers = {}
|
1585
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1586
|
+
|
1587
|
+
# Set Headers
|
1588
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1589
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1590
|
+
|
1591
|
+
# Serialize Request
|
1592
|
+
request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientParameters.mapper()
|
1593
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1594
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1595
|
+
|
1596
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage'
|
1597
|
+
|
1598
|
+
request_url = @base_url || @client.base_url
|
1599
|
+
|
1600
|
+
options = {
|
1601
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1602
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
1603
|
+
query_params: {'api-version' => @client.api_version},
|
1604
|
+
body: request_content,
|
1605
|
+
headers: request_headers.merge(custom_headers || {}),
|
1606
|
+
base_url: request_url
|
1607
|
+
}
|
1608
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1609
|
+
|
1610
|
+
promise = promise.then do |result|
|
1611
|
+
http_response = result.response
|
1612
|
+
status_code = http_response.status
|
1613
|
+
response_content = http_response.body
|
1614
|
+
unless status_code == 200
|
1615
|
+
error_model = JSON.load(response_content)
|
1616
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1620
|
+
# Deserialize Response
|
1621
|
+
if status_code == 200
|
1622
|
+
begin
|
1623
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1624
|
+
result_mapper = {
|
1625
|
+
client_side_validation: true,
|
1626
|
+
required: false,
|
1627
|
+
serialized_name: 'parsed_response',
|
1628
|
+
type: {
|
1629
|
+
name: 'String'
|
1630
|
+
}
|
1631
|
+
}
|
1632
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1633
|
+
rescue Exception => e
|
1634
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1635
|
+
end
|
1636
|
+
end
|
1637
|
+
|
1638
|
+
result
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
promise.execute
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
#
|
1645
|
+
# Generates VPN profile for P2S client of the virtual network gateway in the
|
1646
|
+
# specified resource group. Used for IKEV2 and radius based authentication.
|
1647
|
+
#
|
1648
|
+
# @param resource_group_name [String] The name of the resource group.
|
1649
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1650
|
+
# gateway.
|
1651
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
1652
|
+
# virtual network gateway VPN client package operation.
|
1653
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1654
|
+
# will be added to the HTTP request.
|
1655
|
+
#
|
1656
|
+
# @return [String] operation results.
|
1657
|
+
#
|
1658
|
+
def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1659
|
+
response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
1660
|
+
response.body unless response.nil?
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
#
|
1664
|
+
# Generates VPN profile for P2S client of the virtual network gateway in the
|
1665
|
+
# specified resource group. Used for IKEV2 and radius based authentication.
|
1666
|
+
#
|
1667
|
+
# @param resource_group_name [String] The name of the resource group.
|
1668
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1669
|
+
# gateway.
|
1670
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
1671
|
+
# virtual network gateway VPN client package operation.
|
1672
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1673
|
+
# will be added to the HTTP request.
|
1674
|
+
#
|
1675
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1676
|
+
#
|
1677
|
+
def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1678
|
+
begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
#
|
1682
|
+
# Generates VPN profile for P2S client of the virtual network gateway in the
|
1683
|
+
# specified resource group. Used for IKEV2 and radius based authentication.
|
1684
|
+
#
|
1685
|
+
# @param resource_group_name [String] The name of the resource group.
|
1686
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1687
|
+
# gateway.
|
1688
|
+
# @param parameters [VpnClientParameters] Parameters supplied to the generate
|
1689
|
+
# virtual network gateway VPN client package operation.
|
1690
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1691
|
+
# to the HTTP request.
|
1692
|
+
#
|
1693
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1694
|
+
#
|
1695
|
+
def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
|
1696
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1697
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
1698
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1699
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1700
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1701
|
+
|
1702
|
+
|
1703
|
+
request_headers = {}
|
1704
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1705
|
+
|
1706
|
+
# Set Headers
|
1707
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1708
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1709
|
+
|
1710
|
+
# Serialize Request
|
1711
|
+
request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientParameters.mapper()
|
1712
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1713
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1714
|
+
|
1715
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile'
|
1716
|
+
|
1717
|
+
request_url = @base_url || @client.base_url
|
1718
|
+
|
1719
|
+
options = {
|
1720
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1721
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
1722
|
+
query_params: {'api-version' => @client.api_version},
|
1723
|
+
body: request_content,
|
1724
|
+
headers: request_headers.merge(custom_headers || {}),
|
1725
|
+
base_url: request_url
|
1726
|
+
}
|
1727
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1728
|
+
|
1729
|
+
promise = promise.then do |result|
|
1730
|
+
http_response = result.response
|
1731
|
+
status_code = http_response.status
|
1732
|
+
response_content = http_response.body
|
1733
|
+
unless status_code == 200 || status_code == 202
|
1734
|
+
error_model = JSON.load(response_content)
|
1735
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1739
|
+
# Deserialize Response
|
1740
|
+
if status_code == 200
|
1741
|
+
begin
|
1742
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1743
|
+
result_mapper = {
|
1744
|
+
client_side_validation: true,
|
1745
|
+
required: false,
|
1746
|
+
serialized_name: 'parsed_response',
|
1747
|
+
type: {
|
1748
|
+
name: 'String'
|
1749
|
+
}
|
1750
|
+
}
|
1751
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1752
|
+
rescue Exception => e
|
1753
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1754
|
+
end
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
result
|
1758
|
+
end
|
1759
|
+
|
1760
|
+
promise.execute
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
#
|
1764
|
+
# Gets pre-generated VPN profile for P2S client of the virtual network gateway
|
1765
|
+
# in the specified resource group. The profile needs to be generated first
|
1766
|
+
# using generateVpnProfile.
|
1767
|
+
#
|
1768
|
+
# @param resource_group_name [String] The name of the resource group.
|
1769
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1770
|
+
# gateway.
|
1771
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1772
|
+
# will be added to the HTTP request.
|
1773
|
+
#
|
1774
|
+
# @return [String] operation results.
|
1775
|
+
#
|
1776
|
+
def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
1777
|
+
response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
1778
|
+
response.body unless response.nil?
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
#
|
1782
|
+
# Gets pre-generated VPN profile for P2S client of the virtual network gateway
|
1783
|
+
# in the specified resource group. The profile needs to be generated first
|
1784
|
+
# using generateVpnProfile.
|
1785
|
+
#
|
1786
|
+
# @param resource_group_name [String] The name of the resource group.
|
1787
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1788
|
+
# gateway.
|
1789
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1790
|
+
# will be added to the HTTP request.
|
1791
|
+
#
|
1792
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1793
|
+
#
|
1794
|
+
def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
1795
|
+
begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
1796
|
+
end
|
1797
|
+
|
1798
|
+
#
|
1799
|
+
# Gets pre-generated VPN profile for P2S client of the virtual network gateway
|
1800
|
+
# in the specified resource group. The profile needs to be generated first
|
1801
|
+
# using generateVpnProfile.
|
1802
|
+
#
|
1803
|
+
# @param resource_group_name [String] The name of the resource group.
|
1804
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1805
|
+
# gateway.
|
1806
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1807
|
+
# to the HTTP request.
|
1808
|
+
#
|
1809
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1810
|
+
#
|
1811
|
+
def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
1812
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1813
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
1814
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1815
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1816
|
+
|
1817
|
+
|
1818
|
+
request_headers = {}
|
1819
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1820
|
+
|
1821
|
+
# Set Headers
|
1822
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1823
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1824
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl'
|
1825
|
+
|
1826
|
+
request_url = @base_url || @client.base_url
|
1827
|
+
|
1828
|
+
options = {
|
1829
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1830
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
1831
|
+
query_params: {'api-version' => @client.api_version},
|
1832
|
+
headers: request_headers.merge(custom_headers || {}),
|
1833
|
+
base_url: request_url
|
1834
|
+
}
|
1835
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1836
|
+
|
1837
|
+
promise = promise.then do |result|
|
1838
|
+
http_response = result.response
|
1839
|
+
status_code = http_response.status
|
1840
|
+
response_content = http_response.body
|
1841
|
+
unless status_code == 200 || status_code == 202
|
1842
|
+
error_model = JSON.load(response_content)
|
1843
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1847
|
+
# Deserialize Response
|
1848
|
+
if status_code == 200
|
1849
|
+
begin
|
1850
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1851
|
+
result_mapper = {
|
1852
|
+
client_side_validation: true,
|
1853
|
+
required: false,
|
1854
|
+
serialized_name: 'parsed_response',
|
1855
|
+
type: {
|
1856
|
+
name: 'String'
|
1857
|
+
}
|
1858
|
+
}
|
1859
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1860
|
+
rescue Exception => e
|
1861
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1862
|
+
end
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
result
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
promise.execute
|
1869
|
+
end
|
1870
|
+
|
1871
|
+
#
|
1872
|
+
# The GetBgpPeerStatus operation retrieves the status of all BGP peers.
|
1873
|
+
#
|
1874
|
+
# @param resource_group_name [String] The name of the resource group.
|
1875
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1876
|
+
# gateway.
|
1877
|
+
# @param peer [String] The IP address of the peer to retrieve the status of.
|
1878
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1879
|
+
# will be added to the HTTP request.
|
1880
|
+
#
|
1881
|
+
# @return [BgpPeerStatusListResult] operation results.
|
1882
|
+
#
|
1883
|
+
def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
|
1884
|
+
response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value!
|
1885
|
+
response.body unless response.nil?
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
#
|
1889
|
+
# The GetBgpPeerStatus operation retrieves the status of all BGP peers.
|
1890
|
+
#
|
1891
|
+
# @param resource_group_name [String] The name of the resource group.
|
1892
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1893
|
+
# gateway.
|
1894
|
+
# @param peer [String] The IP address of the peer to retrieve the status of.
|
1895
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1896
|
+
# will be added to the HTTP request.
|
1897
|
+
#
|
1898
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1899
|
+
#
|
1900
|
+
def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
|
1901
|
+
begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value!
|
1902
|
+
end
|
1903
|
+
|
1904
|
+
#
|
1905
|
+
# The GetBgpPeerStatus operation retrieves the status of all BGP peers.
|
1906
|
+
#
|
1907
|
+
# @param resource_group_name [String] The name of the resource group.
|
1908
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1909
|
+
# gateway.
|
1910
|
+
# @param peer [String] The IP address of the peer to retrieve the status of.
|
1911
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1912
|
+
# to the HTTP request.
|
1913
|
+
#
|
1914
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1915
|
+
#
|
1916
|
+
def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil)
|
1917
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1918
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
1919
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1920
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1921
|
+
|
1922
|
+
|
1923
|
+
request_headers = {}
|
1924
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1925
|
+
|
1926
|
+
# Set Headers
|
1927
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1928
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1929
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus'
|
1930
|
+
|
1931
|
+
request_url = @base_url || @client.base_url
|
1932
|
+
|
1933
|
+
options = {
|
1934
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1935
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
1936
|
+
query_params: {'peer' => peer,'api-version' => @client.api_version},
|
1937
|
+
headers: request_headers.merge(custom_headers || {}),
|
1938
|
+
base_url: request_url
|
1939
|
+
}
|
1940
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1941
|
+
|
1942
|
+
promise = promise.then do |result|
|
1943
|
+
http_response = result.response
|
1944
|
+
status_code = http_response.status
|
1945
|
+
response_content = http_response.body
|
1946
|
+
unless status_code == 200 || status_code == 202
|
1947
|
+
error_model = JSON.load(response_content)
|
1948
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1952
|
+
# Deserialize Response
|
1953
|
+
if status_code == 200
|
1954
|
+
begin
|
1955
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1956
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::BgpPeerStatusListResult.mapper()
|
1957
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1958
|
+
rescue Exception => e
|
1959
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1960
|
+
end
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
result
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
promise.execute
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
#
|
1970
|
+
# This operation retrieves a list of routes the virtual network gateway has
|
1971
|
+
# learned, including routes learned from BGP peers.
|
1972
|
+
#
|
1973
|
+
# @param resource_group_name [String] The name of the resource group.
|
1974
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1975
|
+
# gateway.
|
1976
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1977
|
+
# will be added to the HTTP request.
|
1978
|
+
#
|
1979
|
+
# @return [GatewayRouteListResult] operation results.
|
1980
|
+
#
|
1981
|
+
def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
1982
|
+
response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
1983
|
+
response.body unless response.nil?
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
#
|
1987
|
+
# This operation retrieves a list of routes the virtual network gateway has
|
1988
|
+
# learned, including routes learned from BGP peers.
|
1989
|
+
#
|
1990
|
+
# @param resource_group_name [String] The name of the resource group.
|
1991
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
1992
|
+
# gateway.
|
1993
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1994
|
+
# will be added to the HTTP request.
|
1995
|
+
#
|
1996
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1997
|
+
#
|
1998
|
+
def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
1999
|
+
begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
#
|
2003
|
+
# This operation retrieves a list of routes the virtual network gateway has
|
2004
|
+
# learned, including routes learned from BGP peers.
|
2005
|
+
#
|
2006
|
+
# @param resource_group_name [String] The name of the resource group.
|
2007
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
2008
|
+
# gateway.
|
2009
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2010
|
+
# to the HTTP request.
|
2011
|
+
#
|
2012
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2013
|
+
#
|
2014
|
+
def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
2015
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2016
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
2017
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2018
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2019
|
+
|
2020
|
+
|
2021
|
+
request_headers = {}
|
2022
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2023
|
+
|
2024
|
+
# Set Headers
|
2025
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2026
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2027
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes'
|
2028
|
+
|
2029
|
+
request_url = @base_url || @client.base_url
|
2030
|
+
|
2031
|
+
options = {
|
2032
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2033
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
2034
|
+
query_params: {'api-version' => @client.api_version},
|
2035
|
+
headers: request_headers.merge(custom_headers || {}),
|
2036
|
+
base_url: request_url
|
2037
|
+
}
|
2038
|
+
promise = @client.make_request_async(:post, path_template, options)
|
2039
|
+
|
2040
|
+
promise = promise.then do |result|
|
2041
|
+
http_response = result.response
|
2042
|
+
status_code = http_response.status
|
2043
|
+
response_content = http_response.body
|
2044
|
+
unless status_code == 200 || status_code == 202
|
2045
|
+
error_model = JSON.load(response_content)
|
2046
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2050
|
+
# Deserialize Response
|
2051
|
+
if status_code == 200
|
2052
|
+
begin
|
2053
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2054
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::GatewayRouteListResult.mapper()
|
2055
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2056
|
+
rescue Exception => e
|
2057
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2058
|
+
end
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
result
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
promise.execute
|
2065
|
+
end
|
2066
|
+
|
2067
|
+
#
|
2068
|
+
# This operation retrieves a list of routes the virtual network gateway is
|
2069
|
+
# advertising to the specified peer.
|
2070
|
+
#
|
2071
|
+
# @param resource_group_name [String] The name of the resource group.
|
2072
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
2073
|
+
# gateway.
|
2074
|
+
# @param peer [String] The IP address of the peer
|
2075
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2076
|
+
# will be added to the HTTP request.
|
2077
|
+
#
|
2078
|
+
# @return [GatewayRouteListResult] operation results.
|
2079
|
+
#
|
2080
|
+
def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
|
2081
|
+
response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value!
|
2082
|
+
response.body unless response.nil?
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
#
|
2086
|
+
# This operation retrieves a list of routes the virtual network gateway is
|
2087
|
+
# advertising to the specified peer.
|
2088
|
+
#
|
2089
|
+
# @param resource_group_name [String] The name of the resource group.
|
2090
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
2091
|
+
# gateway.
|
2092
|
+
# @param peer [String] The IP address of the peer
|
2093
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2094
|
+
# will be added to the HTTP request.
|
2095
|
+
#
|
2096
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2097
|
+
#
|
2098
|
+
def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
|
2099
|
+
begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value!
|
2100
|
+
end
|
2101
|
+
|
2102
|
+
#
|
2103
|
+
# This operation retrieves a list of routes the virtual network gateway is
|
2104
|
+
# advertising to the specified peer.
|
2105
|
+
#
|
2106
|
+
# @param resource_group_name [String] The name of the resource group.
|
2107
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
2108
|
+
# gateway.
|
2109
|
+
# @param peer [String] The IP address of the peer
|
2110
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2111
|
+
# to the HTTP request.
|
2112
|
+
#
|
2113
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2114
|
+
#
|
2115
|
+
def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil)
|
2116
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2117
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
2118
|
+
fail ArgumentError, 'peer is nil' if peer.nil?
|
2119
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2120
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2121
|
+
|
2122
|
+
|
2123
|
+
request_headers = {}
|
2124
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2125
|
+
|
2126
|
+
# Set Headers
|
2127
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2128
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2129
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes'
|
2130
|
+
|
2131
|
+
request_url = @base_url || @client.base_url
|
2132
|
+
|
2133
|
+
options = {
|
2134
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2135
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
2136
|
+
query_params: {'peer' => peer,'api-version' => @client.api_version},
|
2137
|
+
headers: request_headers.merge(custom_headers || {}),
|
2138
|
+
base_url: request_url
|
2139
|
+
}
|
2140
|
+
promise = @client.make_request_async(:post, path_template, options)
|
2141
|
+
|
2142
|
+
promise = promise.then do |result|
|
2143
|
+
http_response = result.response
|
2144
|
+
status_code = http_response.status
|
2145
|
+
response_content = http_response.body
|
2146
|
+
unless status_code == 200 || status_code == 202
|
2147
|
+
error_model = JSON.load(response_content)
|
2148
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2149
|
+
end
|
2150
|
+
|
2151
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2152
|
+
# Deserialize Response
|
2153
|
+
if status_code == 200
|
2154
|
+
begin
|
2155
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2156
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::GatewayRouteListResult.mapper()
|
2157
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2158
|
+
rescue Exception => e
|
2159
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2160
|
+
end
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
result
|
2164
|
+
end
|
2165
|
+
|
2166
|
+
promise.execute
|
2167
|
+
end
|
2168
|
+
|
2169
|
+
#
|
2170
|
+
# The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy
|
2171
|
+
# for P2S client of virtual network gateway in the specified resource group
|
2172
|
+
# through Network resource provider.
|
2173
|
+
#
|
2174
|
+
# @param resource_group_name [String] The name of the resource group.
|
2175
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
2176
|
+
# gateway.
|
2177
|
+
# @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
|
2178
|
+
# to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
|
2179
|
+
# client operation through Network resource provider.
|
2180
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2181
|
+
# will be added to the HTTP request.
|
2182
|
+
#
|
2183
|
+
# @return [VpnClientIPsecParameters] operation results.
|
2184
|
+
#
|
2185
|
+
def begin_set_vpnclient_ipsec_parameters(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
|
2186
|
+
response = begin_set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:custom_headers).value!
|
2187
|
+
response.body unless response.nil?
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
#
|
2191
|
+
# The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy
|
2192
|
+
# for P2S client of virtual network gateway in the specified resource group
|
2193
|
+
# through Network resource provider.
|
2194
|
+
#
|
2195
|
+
# @param resource_group_name [String] The name of the resource group.
|
2196
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
2197
|
+
# gateway.
|
2198
|
+
# @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
|
2199
|
+
# to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
|
2200
|
+
# client operation through Network resource provider.
|
2201
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2202
|
+
# will be added to the HTTP request.
|
2203
|
+
#
|
2204
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2205
|
+
#
|
2206
|
+
def begin_set_vpnclient_ipsec_parameters_with_http_info(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
|
2207
|
+
begin_set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:custom_headers).value!
|
2208
|
+
end
|
2209
|
+
|
2210
|
+
#
|
2211
|
+
# The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy
|
2212
|
+
# for P2S client of virtual network gateway in the specified resource group
|
2213
|
+
# through Network resource provider.
|
2214
|
+
#
|
2215
|
+
# @param resource_group_name [String] The name of the resource group.
|
2216
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
2217
|
+
# gateway.
|
2218
|
+
# @param vpnclient_ipsec_params [VpnClientIPsecParameters] Parameters supplied
|
2219
|
+
# to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S
|
2220
|
+
# client operation through Network resource provider.
|
2221
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2222
|
+
# to the HTTP request.
|
2223
|
+
#
|
2224
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2225
|
+
#
|
2226
|
+
def begin_set_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, vpnclient_ipsec_params, custom_headers:nil)
|
2227
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2228
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
2229
|
+
fail ArgumentError, 'vpnclient_ipsec_params is nil' if vpnclient_ipsec_params.nil?
|
2230
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2231
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2232
|
+
|
2233
|
+
|
2234
|
+
request_headers = {}
|
2235
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2236
|
+
|
2237
|
+
# Set Headers
|
2238
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2239
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2240
|
+
|
2241
|
+
# Serialize Request
|
2242
|
+
request_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
|
2243
|
+
request_content = @client.serialize(request_mapper, vpnclient_ipsec_params)
|
2244
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2245
|
+
|
2246
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters'
|
2247
|
+
|
2248
|
+
request_url = @base_url || @client.base_url
|
2249
|
+
|
2250
|
+
options = {
|
2251
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2252
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
2253
|
+
query_params: {'api-version' => @client.api_version},
|
2254
|
+
body: request_content,
|
2255
|
+
headers: request_headers.merge(custom_headers || {}),
|
2256
|
+
base_url: request_url
|
2257
|
+
}
|
2258
|
+
promise = @client.make_request_async(:post, path_template, options)
|
2259
|
+
|
2260
|
+
promise = promise.then do |result|
|
2261
|
+
http_response = result.response
|
2262
|
+
status_code = http_response.status
|
2263
|
+
response_content = http_response.body
|
2264
|
+
unless status_code == 202 || status_code == 200
|
2265
|
+
error_model = JSON.load(response_content)
|
2266
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2270
|
+
# Deserialize Response
|
2271
|
+
if status_code == 200
|
2272
|
+
begin
|
2273
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2274
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
|
2275
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2276
|
+
rescue Exception => e
|
2277
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2278
|
+
end
|
2279
|
+
end
|
2280
|
+
|
2281
|
+
result
|
2282
|
+
end
|
2283
|
+
|
2284
|
+
promise.execute
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
#
|
2288
|
+
# The Get VpnclientIpsecParameters operation retrieves information about the
|
2289
|
+
# vpnclient ipsec policy for P2S client of virtual network gateway in the
|
2290
|
+
# specified resource group through Network resource provider.
|
2291
|
+
#
|
2292
|
+
# @param resource_group_name [String] The name of the resource group.
|
2293
|
+
# @param virtual_network_gateway_name [String] The virtual network gateway
|
2294
|
+
# name.
|
2295
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2296
|
+
# will be added to the HTTP request.
|
2297
|
+
#
|
2298
|
+
# @return [VpnClientIPsecParameters] operation results.
|
2299
|
+
#
|
2300
|
+
def begin_get_vpnclient_ipsec_parameters(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
2301
|
+
response = begin_get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
2302
|
+
response.body unless response.nil?
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
#
|
2306
|
+
# The Get VpnclientIpsecParameters operation retrieves information about the
|
2307
|
+
# vpnclient ipsec policy for P2S client of virtual network gateway in the
|
2308
|
+
# specified resource group through Network resource provider.
|
2309
|
+
#
|
2310
|
+
# @param resource_group_name [String] The name of the resource group.
|
2311
|
+
# @param virtual_network_gateway_name [String] The virtual network gateway
|
2312
|
+
# name.
|
2313
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2314
|
+
# will be added to the HTTP request.
|
2315
|
+
#
|
2316
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2317
|
+
#
|
2318
|
+
def begin_get_vpnclient_ipsec_parameters_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
2319
|
+
begin_get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
2320
|
+
end
|
2321
|
+
|
2322
|
+
#
|
2323
|
+
# The Get VpnclientIpsecParameters operation retrieves information about the
|
2324
|
+
# vpnclient ipsec policy for P2S client of virtual network gateway in the
|
2325
|
+
# specified resource group through Network resource provider.
|
2326
|
+
#
|
2327
|
+
# @param resource_group_name [String] The name of the resource group.
|
2328
|
+
# @param virtual_network_gateway_name [String] The virtual network gateway
|
2329
|
+
# name.
|
2330
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2331
|
+
# to the HTTP request.
|
2332
|
+
#
|
2333
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2334
|
+
#
|
2335
|
+
def begin_get_vpnclient_ipsec_parameters_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
2336
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2337
|
+
fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil?
|
2338
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2339
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2340
|
+
|
2341
|
+
|
2342
|
+
request_headers = {}
|
2343
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2344
|
+
|
2345
|
+
# Set Headers
|
2346
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2347
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2348
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters'
|
2349
|
+
|
2350
|
+
request_url = @base_url || @client.base_url
|
2351
|
+
|
2352
|
+
options = {
|
2353
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2354
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkGatewayName' => virtual_network_gateway_name,'subscriptionId' => @client.subscription_id},
|
2355
|
+
query_params: {'api-version' => @client.api_version},
|
2356
|
+
headers: request_headers.merge(custom_headers || {}),
|
2357
|
+
base_url: request_url
|
2358
|
+
}
|
2359
|
+
promise = @client.make_request_async(:post, path_template, options)
|
2360
|
+
|
2361
|
+
promise = promise.then do |result|
|
2362
|
+
http_response = result.response
|
2363
|
+
status_code = http_response.status
|
2364
|
+
response_content = http_response.body
|
2365
|
+
unless status_code == 200
|
2366
|
+
error_model = JSON.load(response_content)
|
2367
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2368
|
+
end
|
2369
|
+
|
2370
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2371
|
+
# Deserialize Response
|
2372
|
+
if status_code == 200
|
2373
|
+
begin
|
2374
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2375
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VpnClientIPsecParameters.mapper()
|
2376
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2377
|
+
rescue Exception => e
|
2378
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2379
|
+
end
|
2380
|
+
end
|
2381
|
+
|
2382
|
+
result
|
2383
|
+
end
|
2384
|
+
|
2385
|
+
promise.execute
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
#
|
2389
|
+
# Gets all virtual network gateways by resource group.
|
2390
|
+
#
|
2391
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2392
|
+
# to List operation.
|
2393
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2394
|
+
# will be added to the HTTP request.
|
2395
|
+
#
|
2396
|
+
# @return [VirtualNetworkGatewayListResult] operation results.
|
2397
|
+
#
|
2398
|
+
def list_next(next_page_link, custom_headers:nil)
|
2399
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
2400
|
+
response.body unless response.nil?
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
#
|
2404
|
+
# Gets all virtual network gateways by resource group.
|
2405
|
+
#
|
2406
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2407
|
+
# to List operation.
|
2408
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2409
|
+
# will be added to the HTTP request.
|
2410
|
+
#
|
2411
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2412
|
+
#
|
2413
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
2414
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
2415
|
+
end
|
2416
|
+
|
2417
|
+
#
|
2418
|
+
# Gets all virtual network gateways by resource group.
|
2419
|
+
#
|
2420
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2421
|
+
# to List operation.
|
2422
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2423
|
+
# to the HTTP request.
|
2424
|
+
#
|
2425
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2426
|
+
#
|
2427
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
2428
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2429
|
+
|
2430
|
+
|
2431
|
+
request_headers = {}
|
2432
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2433
|
+
|
2434
|
+
# Set Headers
|
2435
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2436
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2437
|
+
path_template = '{nextLink}'
|
2438
|
+
|
2439
|
+
request_url = @base_url || @client.base_url
|
2440
|
+
|
2441
|
+
options = {
|
2442
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2443
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
2444
|
+
headers: request_headers.merge(custom_headers || {}),
|
2445
|
+
base_url: request_url
|
2446
|
+
}
|
2447
|
+
promise = @client.make_request_async(:get, path_template, options)
|
2448
|
+
|
2449
|
+
promise = promise.then do |result|
|
2450
|
+
http_response = result.response
|
2451
|
+
status_code = http_response.status
|
2452
|
+
response_content = http_response.body
|
2453
|
+
unless status_code == 200
|
2454
|
+
error_model = JSON.load(response_content)
|
2455
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2456
|
+
end
|
2457
|
+
|
2458
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2459
|
+
# Deserialize Response
|
2460
|
+
if status_code == 200
|
2461
|
+
begin
|
2462
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2463
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGatewayListResult.mapper()
|
2464
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2465
|
+
rescue Exception => e
|
2466
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2467
|
+
end
|
2468
|
+
end
|
2469
|
+
|
2470
|
+
result
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
promise.execute
|
2474
|
+
end
|
2475
|
+
|
2476
|
+
#
|
2477
|
+
# Gets all the connections in a virtual network gateway.
|
2478
|
+
#
|
2479
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2480
|
+
# to List operation.
|
2481
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2482
|
+
# will be added to the HTTP request.
|
2483
|
+
#
|
2484
|
+
# @return [VirtualNetworkGatewayListConnectionsResult] operation results.
|
2485
|
+
#
|
2486
|
+
def list_connections_next(next_page_link, custom_headers:nil)
|
2487
|
+
response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value!
|
2488
|
+
response.body unless response.nil?
|
2489
|
+
end
|
2490
|
+
|
2491
|
+
#
|
2492
|
+
# Gets all the connections in a virtual network gateway.
|
2493
|
+
#
|
2494
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2495
|
+
# to List operation.
|
2496
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2497
|
+
# will be added to the HTTP request.
|
2498
|
+
#
|
2499
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2500
|
+
#
|
2501
|
+
def list_connections_next_with_http_info(next_page_link, custom_headers:nil)
|
2502
|
+
list_connections_next_async(next_page_link, custom_headers:custom_headers).value!
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
#
|
2506
|
+
# Gets all the connections in a virtual network gateway.
|
2507
|
+
#
|
2508
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2509
|
+
# to List operation.
|
2510
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2511
|
+
# to the HTTP request.
|
2512
|
+
#
|
2513
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2514
|
+
#
|
2515
|
+
def list_connections_next_async(next_page_link, custom_headers:nil)
|
2516
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2517
|
+
|
2518
|
+
|
2519
|
+
request_headers = {}
|
2520
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2521
|
+
|
2522
|
+
# Set Headers
|
2523
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2524
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2525
|
+
path_template = '{nextLink}'
|
2526
|
+
|
2527
|
+
request_url = @base_url || @client.base_url
|
2528
|
+
|
2529
|
+
options = {
|
2530
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2531
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
2532
|
+
headers: request_headers.merge(custom_headers || {}),
|
2533
|
+
base_url: request_url
|
2534
|
+
}
|
2535
|
+
promise = @client.make_request_async(:get, path_template, options)
|
2536
|
+
|
2537
|
+
promise = promise.then do |result|
|
2538
|
+
http_response = result.response
|
2539
|
+
status_code = http_response.status
|
2540
|
+
response_content = http_response.body
|
2541
|
+
unless status_code == 200
|
2542
|
+
error_model = JSON.load(response_content)
|
2543
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2544
|
+
end
|
2545
|
+
|
2546
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2547
|
+
# Deserialize Response
|
2548
|
+
if status_code == 200
|
2549
|
+
begin
|
2550
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2551
|
+
result_mapper = Azure::Network::Mgmt::V2018_02_01::Models::VirtualNetworkGatewayListConnectionsResult.mapper()
|
2552
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2553
|
+
rescue Exception => e
|
2554
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2555
|
+
end
|
2556
|
+
end
|
2557
|
+
|
2558
|
+
result
|
2559
|
+
end
|
2560
|
+
|
2561
|
+
promise.execute
|
2562
|
+
end
|
2563
|
+
|
2564
|
+
#
|
2565
|
+
# Gets all virtual network gateways by resource group.
|
2566
|
+
#
|
2567
|
+
# @param resource_group_name [String] The name of the resource group.
|
2568
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2569
|
+
# will be added to the HTTP request.
|
2570
|
+
#
|
2571
|
+
# @return [VirtualNetworkGatewayListResult] which provide lazy access to pages
|
2572
|
+
# of the response.
|
2573
|
+
#
|
2574
|
+
def list_as_lazy(resource_group_name, custom_headers:nil)
|
2575
|
+
response = list_async(resource_group_name, custom_headers:custom_headers).value!
|
2576
|
+
unless response.nil?
|
2577
|
+
page = response.body
|
2578
|
+
page.next_method = Proc.new do |next_page_link|
|
2579
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
2580
|
+
end
|
2581
|
+
page
|
2582
|
+
end
|
2583
|
+
end
|
2584
|
+
|
2585
|
+
#
|
2586
|
+
# Gets all the connections in a virtual network gateway.
|
2587
|
+
#
|
2588
|
+
# @param resource_group_name [String] The name of the resource group.
|
2589
|
+
# @param virtual_network_gateway_name [String] The name of the virtual network
|
2590
|
+
# gateway.
|
2591
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2592
|
+
# will be added to the HTTP request.
|
2593
|
+
#
|
2594
|
+
# @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy
|
2595
|
+
# access to pages of the response.
|
2596
|
+
#
|
2597
|
+
def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
|
2598
|
+
response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
|
2599
|
+
unless response.nil?
|
2600
|
+
page = response.body
|
2601
|
+
page.next_method = Proc.new do |next_page_link|
|
2602
|
+
list_connections_next_async(next_page_link, custom_headers:custom_headers)
|
2603
|
+
end
|
2604
|
+
page
|
2605
|
+
end
|
2606
|
+
end
|
2607
|
+
|
2608
|
+
end
|
2609
|
+
end
|