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