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