azure_mgmt_network 0.19.1 → 0.20.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/network_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_network.rb +1 -0
- data/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb +22 -0
- data/lib/2017-03-30/generated/azure_mgmt_network/models/private_endpoint.rb +5 -4
- data/lib/2017-03-30/generated/azure_mgmt_network/models/private_link_service_connection.rb +39 -0
- data/lib/2017-03-30/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
- data/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_network/models/backend_address_pool.rb +22 -0
- data/lib/2018-07-01/generated/azure_mgmt_network/models/outbound_rule.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-08-01/generated/azure_mgmt_network/models/backend_address_pool.rb +22 -0
- data/lib/2018-08-01/generated/azure_mgmt_network/models/outbound_rule.rb +1 -1
- data/lib/2018-08-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb +22 -0
- data/lib/2018-10-01/generated/azure_mgmt_network/models/outbound_rule.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb +22 -0
- data/lib/2018-11-01/generated/azure_mgmt_network/models/outbound_rule.rb +1 -1
- data/lib/2018-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-12-01/generated/azure_mgmt_network/models/backend_address_pool.rb +22 -0
- data/lib/2018-12-01/generated/azure_mgmt_network/models/outbound_rule.rb +1 -1
- data/lib/2018-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-02-01/generated/azure_mgmt_network/models/backend_address_pool.rb +22 -0
- data/lib/2019-02-01/generated/azure_mgmt_network/models/outbound_rule.rb +1 -1
- data/lib/2019-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_network.rb +144 -144
- data/lib/2019-04-01/generated/azure_mgmt_network/models/backend_address_pool.rb +22 -0
- data/lib/2019-04-01/generated/azure_mgmt_network/models/outbound_rule.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_network/models/private_endpoint.rb +5 -4
- data/lib/2019-04-01/generated/azure_mgmt_network/models/private_endpoint_connection.rb +39 -0
- data/lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service.rb +5 -4
- data/lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service_connection.rb +39 -0
- data/lib/2019-04-01/generated/azure_mgmt_network/models/private_link_service_ip_configuration.rb +43 -9
- data/lib/2019-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_network/private_endpoints.rb +5 -5
- data/lib/2019-04-01/generated/azure_mgmt_network/private_link_services.rb +5 -5
- data/lib/2019-06-01/generated/azure_mgmt_network.rb +18 -18
- data/lib/2019-06-01/generated/azure_mgmt_network/bastion_hosts.rb +169 -0
- data/lib/2019-06-01/generated/azure_mgmt_network/connection_monitors.rb +112 -0
- data/lib/2019-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-07-01/generated/azure_mgmt_network.rb +628 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/application_gateways.rb +2276 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/application_security_groups.rb +973 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/available_delegations.rb +233 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/available_endpoint_services.rb +226 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/available_private_endpoint_types.rb +446 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/available_resource_group_delegations.rb +238 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/azure_firewall_fqdn_tags.rb +221 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/azure_firewalls.rb +909 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/bastion_hosts.rb +801 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/bgp_service_communities.rb +221 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/ddos_custom_policies.rb +558 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/ddos_protection_plans.rb +973 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/default_security_rules.rb +339 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +631 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +683 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +626 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_circuits.rb +1603 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_connections.rb +534 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +648 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1308 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_gateways.rb +601 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_links.rb +343 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_ports.rb +970 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_ports_locations.rb +331 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/express_route_service_providers.rb +221 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/firewall_policies.rb +918 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/firewall_policy_rule_groups.rb +626 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +336 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/inbound_nat_rules.rb +629 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +332 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +332 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +329 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +231 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/load_balancer_outbound_rules.rb +329 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/load_balancer_probes.rb +329 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/load_balancers.rb +958 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/local_network_gateways.rb +781 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/access.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway.rb +594 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +103 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +65 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +132 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health_on_demand.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +83 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +263 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_custom_error_status_code.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +142 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +140 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_header_configuration.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +185 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +105 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb +134 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +162 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +220 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +199 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +195 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_action_set.rb +77 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb +82 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_set.rb +103 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +139 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +42 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_trusted_root_certificate.rb +114 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +165 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +180 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_rule_condition.rb +164 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/auto_approved_private_link_service.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/auto_approved_private_link_services_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/availability.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/available_delegation.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/available_delegations_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/available_private_endpoint_type.rb +80 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/available_private_endpoint_types_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall.rb +265 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +135 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +129 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag.rb +124 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +120 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule.rb +157 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule_collection.rb +130 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +134 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +129 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_public_ipaddress.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_firewall_threat_intel_mode.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +81 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +108 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/backend_address_pool.rb +173 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bastion_host.rb +144 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bastion_host_ipconfiguration.rb +129 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bastion_host_list_result.rb +98 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bgp_settings.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/check_private_link_service_visibility_request.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +84 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/container.rb +43 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/container_network_interface.rb +141 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/container_network_interface_configuration.rb +135 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb +85 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ddos_custom_policy.rb +170 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ddos_custom_policy_protocol.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ddos_custom_policy_trigger_sensitivity_override.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ddos_settings.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ddos_settings_protection_coverage.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/delegation.rb +113 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/direction.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +260 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb +135 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/error.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/error_details.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/error_response.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/evaluated_network_security_group.rb +92 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit.rb +295 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +116 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +157 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_connection_list_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +339 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +121 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering_id.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +66 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_connection.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_connection_id.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_connection_list.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +250 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_gateway.rb +159 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_gateway_list.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration.rb +49 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration_bounds.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_link.rb +169 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_link_admin_state.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_link_connector_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_link_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_link_mac_sec_cipher.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_link_mac_sec_config.rb +73 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_port.rb +267 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_port_list_result.rb +98 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_ports_encapsulation.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_ports_location.rb +146 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_ports_location_bandwidths.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_ports_location_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +138 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy.rb +202 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule.rb +106 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_action.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_action_type.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule.rb +119 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_action.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_action_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_rule.rb +73 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition_application_protocol.rb +64 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition_application_protocol_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition_network_protocol.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_rule_group.rb +130 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/firewall_policy_rule_group_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/flow_log_format_parameters.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/flow_log_format_type.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/flow_log_information.rb +110 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +272 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +67 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/hub_ipaddresses.rb +67 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +126 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +197 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +200 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ipconfiguration.rb +127 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ipconfiguration_profile.rb +106 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +94 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_p2svpn_gateways_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_p2svpn_server_configurations_result.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_vpn_site_link_connections_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_vpn_site_links_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer.rb +291 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_protocol.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +236 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/local_network_gateway.rb +158 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/managed_service_identity.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/managed_service_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/match_condition.rb +118 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/match_variable.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/matched_rule.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/nat_gateway.rb +229 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/nat_gateway_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/nat_gateway_sku.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/nat_gateway_sku_name.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb +81 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb +95 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_response.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_result.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_intent_policy.rb +97 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_intent_policy_configuration.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface.rb +285 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +117 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +272 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_private_link_connection_properties.rb +83 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface_tap_configuration.rb +106 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_interface_tap_configuration_list_result.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_profile.rb +166 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_profile_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_rule_condition.rb +144 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_security_group.rb +207 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_security_group_result.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_watcher.rb +110 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/office_traffic_category.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/operation.rb +83 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/origin.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/outbound_rule.rb +175 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/p2svpn_gateway.rb +188 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/p2svpn_profile_parameters.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/p2svpn_server_config_radius_client_root_certificate.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/p2svpn_server_config_radius_server_root_certificate.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/p2svpn_server_config_vpn_client_revoked_certificate.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/p2svpn_server_config_vpn_client_root_certificate.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb +277 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/packet_capture.rb +119 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +119 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/packet_capture_result.rb +170 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/patch_route_filter.rb +177 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +129 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection.rb +170 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection_list_result.rb +104 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/policy_settings.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/prepare_network_policies_request.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_endpoint.rb +189 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_endpoint_connection.rb +119 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_endpoint_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_link_service.rb +252 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_link_service_connection.rb +149 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_link_service_connection_state.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_link_service_ip_configuration.rb +150 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_link_service_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_link_service_properties_auto_approval.rb +51 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_link_service_properties_visibility.rb +51 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/private_link_service_visibility.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/probe.rb +184 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/protocol_configuration.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb +87 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/public_ipaddress.rb +275 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/public_ipprefix.rb +244 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/public_ipprefix_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/public_ipprefix_sku.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/public_ipprefix_sku_name.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/referenced_public_ip_address.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/resource.rb +109 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/resource_identity_type.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +116 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/resource_navigation_links_list_result.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/resource_set.rb +54 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/route.rb +117 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/route_filter.rb +175 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/route_filter_rule.rb +139 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/route_table.rb +164 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/route_table_list_result.rb +98 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/security_rule.rb +313 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/security_rule_associations.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +19 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_association_link.rb +145 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_association_links_list_result.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_endpoint_policy.rb +166 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition.rb +122 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition_list_result.rb +103 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_endpoint_policy_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +78 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_tag_information.rb +73 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_tag_information_properties_format.rb +91 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/service_tags_list_result.rb +117 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/severity.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/subnet.rb +355 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/topology.rb +92 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +91 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/traffic_selector_policy.rb +75 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/unprepare_network_policies_request.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/usage.rb +95 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/verbosity_level.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_hub.rb +206 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_hub_id.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_hub_route.rb +65 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_hub_route_table.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network.rb +229 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +272 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +367 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +368 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_protocol.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +117 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +76 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +31 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +31 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +173 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_tap.rb +185 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_tap_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_router.rb +191 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_router_list_result.rb +98 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_router_peering.rb +119 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_router_peering_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_wan.rb +230 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_wan_security_provider.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_wan_security_provider_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/virtual_wan_security_providers.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +191 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail.rb +179 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail_list_result.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +94 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +92 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +92 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_connection.rb +271 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_gateway.rb +167 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_gateway_generation.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_gateway_tunneling_protocol.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_link_bgp_settings.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_link_provider_properties.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_packet_capture_start_parameters.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_packet_capture_stop_parameters.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_profile_response.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_site.rb +213 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_site_link.rb +128 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_site_link_connection.rb +251 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_action.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_custom_rule.rb +119 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_enabled_state.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_match_variable.rb +22 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_mode.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_operator.rb +24 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_policy.rb +180 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_policy_list_result.rb +105 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_policy_resource_state.rb +20 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_rule_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/models/web_application_firewall_transform.rb +20 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/module_definition.rb +9 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/nat_gateways.rb +922 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +329 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +231 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/network_interface_tap_configurations.rb +626 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/network_interfaces.rb +1230 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/network_management_client.rb +675 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/network_profiles.rb +732 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/network_security_groups.rb +976 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/network_watchers.rb +2658 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/operations.rb +219 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/p2s_vpn_gateways.rb +1289 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/p2s_vpn_server_configurations.rb +660 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/packet_captures.rb +796 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/peer_express_route_circuit_connections.rb +351 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/private_endpoints.rb +804 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/private_link_services.rb +1694 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/public_ipaddresses.rb +958 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/public_ipprefixes.rb +958 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/resource_navigation_links.rb +123 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/route_filter_rules.rb +786 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/route_filters.rb +961 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/route_tables.rb +958 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/routes.rb +625 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/security_rules.rb +643 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/service_association_links.rb +123 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/service_endpoint_policies.rb +976 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb +668 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/service_tags.rb +124 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/subnets.rb +929 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/usages.rb +227 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/virtual_hubs.rb +991 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1612 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/virtual_network_gateways.rb +3275 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/virtual_network_peerings.rb +634 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/virtual_network_taps.rb +955 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/virtual_networks.rb +1262 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/virtual_router_peerings.rb +744 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/virtual_routers.rb +918 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/virtual_wans.rb +996 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/vpn_connections.rb +647 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/vpn_gateways.rb +1132 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/vpn_link_connections.rb +247 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/vpn_site_link_connections.rb +130 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/vpn_site_links.rb +332 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/vpn_sites.rb +974 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +173 -0
- data/lib/2019-07-01/generated/azure_mgmt_network/web_application_firewall_policies.rb +758 -0
- data/lib/azure_mgmt_network.rb +1 -0
- data/lib/profiles/latest/modules/network_profile_module.rb +1457 -1401
- data/lib/version.rb +1 -1
- metadata +607 -2
@@ -0,0 +1,123 @@
|
|
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::V2019_07_01
|
7
|
+
#
|
8
|
+
# ResourceNavigationLinks
|
9
|
+
#
|
10
|
+
class ResourceNavigationLinks
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ResourceNavigationLinks 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
|
+
# Gets a list of resource navigation links for a subnet.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param virtual_network_name [String] The name of the virtual network.
|
29
|
+
# @param subnet_name [String] The name of the subnet.
|
30
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
|
+
# will be added to the HTTP request.
|
32
|
+
#
|
33
|
+
# @return [ResourceNavigationLinksListResult] operation results.
|
34
|
+
#
|
35
|
+
def list(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil)
|
36
|
+
response = list_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value!
|
37
|
+
response.body unless response.nil?
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets a list of resource navigation links for a subnet.
|
42
|
+
#
|
43
|
+
# @param resource_group_name [String] The name of the resource group.
|
44
|
+
# @param virtual_network_name [String] The name of the virtual network.
|
45
|
+
# @param subnet_name [String] The name of the subnet.
|
46
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
47
|
+
# will be added to the HTTP request.
|
48
|
+
#
|
49
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
50
|
+
#
|
51
|
+
def list_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil)
|
52
|
+
list_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value!
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Gets a list of resource navigation links for a subnet.
|
57
|
+
#
|
58
|
+
# @param resource_group_name [String] The name of the resource group.
|
59
|
+
# @param virtual_network_name [String] The name of the virtual network.
|
60
|
+
# @param subnet_name [String] The name of the subnet.
|
61
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
62
|
+
# to the HTTP request.
|
63
|
+
#
|
64
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
65
|
+
#
|
66
|
+
def list_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil)
|
67
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
68
|
+
fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil?
|
69
|
+
fail ArgumentError, 'subnet_name is nil' if subnet_name.nil?
|
70
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
71
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
72
|
+
|
73
|
+
|
74
|
+
request_headers = {}
|
75
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
76
|
+
|
77
|
+
# Set Headers
|
78
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
79
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
80
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks'
|
81
|
+
|
82
|
+
request_url = @base_url || @client.base_url
|
83
|
+
|
84
|
+
options = {
|
85
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
86
|
+
path_params: {'resourceGroupName' => resource_group_name,'virtualNetworkName' => virtual_network_name,'subnetName' => subnet_name,'subscriptionId' => @client.subscription_id},
|
87
|
+
query_params: {'api-version' => @client.api_version},
|
88
|
+
headers: request_headers.merge(custom_headers || {}),
|
89
|
+
base_url: request_url
|
90
|
+
}
|
91
|
+
promise = @client.make_request_async(:get, path_template, options)
|
92
|
+
|
93
|
+
promise = promise.then do |result|
|
94
|
+
http_response = result.response
|
95
|
+
status_code = http_response.status
|
96
|
+
response_content = http_response.body
|
97
|
+
unless status_code == 200
|
98
|
+
error_model = JSON.load(response_content)
|
99
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
100
|
+
end
|
101
|
+
|
102
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
103
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
104
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
105
|
+
# Deserialize Response
|
106
|
+
if status_code == 200
|
107
|
+
begin
|
108
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
109
|
+
result_mapper = Azure::Network::Mgmt::V2019_07_01::Models::ResourceNavigationLinksListResult.mapper()
|
110
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
111
|
+
rescue Exception => e
|
112
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
result
|
117
|
+
end
|
118
|
+
|
119
|
+
promise.execute
|
120
|
+
end
|
121
|
+
|
122
|
+
end
|
123
|
+
end
|
@@ -0,0 +1,786 @@
|
|
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::V2019_07_01
|
7
|
+
#
|
8
|
+
# RouteFilterRules
|
9
|
+
#
|
10
|
+
class RouteFilterRules
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the RouteFilterRules 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
|
+
# Deletes the specified rule from a route filter.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param route_filter_name [String] The name of the route filter.
|
29
|
+
# @param rule_name [String] The name of the rule.
|
30
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
|
+
# will be added to the HTTP request.
|
32
|
+
#
|
33
|
+
def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
|
34
|
+
response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value!
|
35
|
+
nil
|
36
|
+
end
|
37
|
+
|
38
|
+
#
|
39
|
+
# @param resource_group_name [String] The name of the resource group.
|
40
|
+
# @param route_filter_name [String] The name of the route filter.
|
41
|
+
# @param rule_name [String] The name of the rule.
|
42
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
43
|
+
# will be added to the HTTP request.
|
44
|
+
#
|
45
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
46
|
+
# response.
|
47
|
+
#
|
48
|
+
def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
|
49
|
+
# Send request
|
50
|
+
promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers)
|
51
|
+
|
52
|
+
promise = promise.then do |response|
|
53
|
+
# Defining deserialization method.
|
54
|
+
deserialize_method = lambda do |parsed_response|
|
55
|
+
end
|
56
|
+
|
57
|
+
# Waiting for response.
|
58
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
59
|
+
end
|
60
|
+
|
61
|
+
promise
|
62
|
+
end
|
63
|
+
|
64
|
+
#
|
65
|
+
# Gets the specified rule from a route filter.
|
66
|
+
#
|
67
|
+
# @param resource_group_name [String] The name of the resource group.
|
68
|
+
# @param route_filter_name [String] The name of the route filter.
|
69
|
+
# @param rule_name [String] The name of the rule.
|
70
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
71
|
+
# will be added to the HTTP request.
|
72
|
+
#
|
73
|
+
# @return [RouteFilterRule] operation results.
|
74
|
+
#
|
75
|
+
def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
|
76
|
+
response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value!
|
77
|
+
response.body unless response.nil?
|
78
|
+
end
|
79
|
+
|
80
|
+
#
|
81
|
+
# Gets the specified rule from a route filter.
|
82
|
+
#
|
83
|
+
# @param resource_group_name [String] The name of the resource group.
|
84
|
+
# @param route_filter_name [String] The name of the route filter.
|
85
|
+
# @param rule_name [String] The name of the rule.
|
86
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
87
|
+
# will be added to the HTTP request.
|
88
|
+
#
|
89
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
90
|
+
#
|
91
|
+
def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
|
92
|
+
get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value!
|
93
|
+
end
|
94
|
+
|
95
|
+
#
|
96
|
+
# Gets the specified rule from a route filter.
|
97
|
+
#
|
98
|
+
# @param resource_group_name [String] The name of the resource group.
|
99
|
+
# @param route_filter_name [String] The name of the route filter.
|
100
|
+
# @param rule_name [String] The name of the rule.
|
101
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
102
|
+
# to the HTTP request.
|
103
|
+
#
|
104
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
105
|
+
#
|
106
|
+
def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
|
107
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
108
|
+
fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil?
|
109
|
+
fail ArgumentError, 'rule_name is nil' if rule_name.nil?
|
110
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
111
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
112
|
+
|
113
|
+
|
114
|
+
request_headers = {}
|
115
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
116
|
+
|
117
|
+
# Set Headers
|
118
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
119
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
120
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'
|
121
|
+
|
122
|
+
request_url = @base_url || @client.base_url
|
123
|
+
|
124
|
+
options = {
|
125
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
126
|
+
path_params: {'resourceGroupName' => resource_group_name,'routeFilterName' => route_filter_name,'ruleName' => rule_name,'subscriptionId' => @client.subscription_id},
|
127
|
+
query_params: {'api-version' => @client.api_version},
|
128
|
+
headers: request_headers.merge(custom_headers || {}),
|
129
|
+
base_url: request_url
|
130
|
+
}
|
131
|
+
promise = @client.make_request_async(:get, path_template, options)
|
132
|
+
|
133
|
+
promise = promise.then do |result|
|
134
|
+
http_response = result.response
|
135
|
+
status_code = http_response.status
|
136
|
+
response_content = http_response.body
|
137
|
+
unless status_code == 200
|
138
|
+
error_model = JSON.load(response_content)
|
139
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
140
|
+
end
|
141
|
+
|
142
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
143
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
144
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
145
|
+
# Deserialize Response
|
146
|
+
if status_code == 200
|
147
|
+
begin
|
148
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
149
|
+
result_mapper = Azure::Network::Mgmt::V2019_07_01::Models::RouteFilterRule.mapper()
|
150
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
151
|
+
rescue Exception => e
|
152
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
result
|
157
|
+
end
|
158
|
+
|
159
|
+
promise.execute
|
160
|
+
end
|
161
|
+
|
162
|
+
#
|
163
|
+
# Creates or updates a route in the specified route filter.
|
164
|
+
#
|
165
|
+
# @param resource_group_name [String] The name of the resource group.
|
166
|
+
# @param route_filter_name [String] The name of the route filter.
|
167
|
+
# @param rule_name [String] The name of the route filter rule.
|
168
|
+
# @param route_filter_rule_parameters [RouteFilterRule] Parameters supplied to
|
169
|
+
# the create or update route filter rule operation.
|
170
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
171
|
+
# will be added to the HTTP request.
|
172
|
+
#
|
173
|
+
# @return [RouteFilterRule] operation results.
|
174
|
+
#
|
175
|
+
def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
176
|
+
response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value!
|
177
|
+
response.body unless response.nil?
|
178
|
+
end
|
179
|
+
|
180
|
+
#
|
181
|
+
# @param resource_group_name [String] The name of the resource group.
|
182
|
+
# @param route_filter_name [String] The name of the route filter.
|
183
|
+
# @param rule_name [String] The name of the route filter rule.
|
184
|
+
# @param route_filter_rule_parameters [RouteFilterRule] Parameters supplied to
|
185
|
+
# the create or update route filter rule operation.
|
186
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
187
|
+
# will be added to the HTTP request.
|
188
|
+
#
|
189
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
190
|
+
# response.
|
191
|
+
#
|
192
|
+
def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
193
|
+
# Send request
|
194
|
+
promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers)
|
195
|
+
|
196
|
+
promise = promise.then do |response|
|
197
|
+
# Defining deserialization method.
|
198
|
+
deserialize_method = lambda do |parsed_response|
|
199
|
+
result_mapper = Azure::Network::Mgmt::V2019_07_01::Models::RouteFilterRule.mapper()
|
200
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
201
|
+
end
|
202
|
+
|
203
|
+
# Waiting for response.
|
204
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
205
|
+
end
|
206
|
+
|
207
|
+
promise
|
208
|
+
end
|
209
|
+
|
210
|
+
#
|
211
|
+
# Updates a route in the specified route filter.
|
212
|
+
#
|
213
|
+
# @param resource_group_name [String] The name of the resource group.
|
214
|
+
# @param route_filter_name [String] The name of the route filter.
|
215
|
+
# @param rule_name [String] The name of the route filter rule.
|
216
|
+
# @param route_filter_rule_parameters [PatchRouteFilterRule] Parameters
|
217
|
+
# supplied to the update route filter rule operation.
|
218
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
219
|
+
# will be added to the HTTP request.
|
220
|
+
#
|
221
|
+
# @return [RouteFilterRule] operation results.
|
222
|
+
#
|
223
|
+
def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
224
|
+
response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value!
|
225
|
+
response.body unless response.nil?
|
226
|
+
end
|
227
|
+
|
228
|
+
#
|
229
|
+
# @param resource_group_name [String] The name of the resource group.
|
230
|
+
# @param route_filter_name [String] The name of the route filter.
|
231
|
+
# @param rule_name [String] The name of the route filter rule.
|
232
|
+
# @param route_filter_rule_parameters [PatchRouteFilterRule] Parameters
|
233
|
+
# supplied to the update route filter rule operation.
|
234
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
235
|
+
# will be added to the HTTP request.
|
236
|
+
#
|
237
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
238
|
+
# response.
|
239
|
+
#
|
240
|
+
def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
241
|
+
# Send request
|
242
|
+
promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers)
|
243
|
+
|
244
|
+
promise = promise.then do |response|
|
245
|
+
# Defining deserialization method.
|
246
|
+
deserialize_method = lambda do |parsed_response|
|
247
|
+
result_mapper = Azure::Network::Mgmt::V2019_07_01::Models::RouteFilterRule.mapper()
|
248
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
249
|
+
end
|
250
|
+
|
251
|
+
# Waiting for response.
|
252
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
253
|
+
end
|
254
|
+
|
255
|
+
promise
|
256
|
+
end
|
257
|
+
|
258
|
+
#
|
259
|
+
# Gets all RouteFilterRules in a route filter.
|
260
|
+
#
|
261
|
+
# @param resource_group_name [String] The name of the resource group.
|
262
|
+
# @param route_filter_name [String] The name of the route filter.
|
263
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
264
|
+
# will be added to the HTTP request.
|
265
|
+
#
|
266
|
+
# @return [Array<RouteFilterRule>] operation results.
|
267
|
+
#
|
268
|
+
def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil)
|
269
|
+
first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers)
|
270
|
+
first_page.get_all_items
|
271
|
+
end
|
272
|
+
|
273
|
+
#
|
274
|
+
# Gets all RouteFilterRules in a route filter.
|
275
|
+
#
|
276
|
+
# @param resource_group_name [String] The name of the resource group.
|
277
|
+
# @param route_filter_name [String] The name of the route filter.
|
278
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
279
|
+
# will be added to the HTTP request.
|
280
|
+
#
|
281
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
282
|
+
#
|
283
|
+
def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil)
|
284
|
+
list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value!
|
285
|
+
end
|
286
|
+
|
287
|
+
#
|
288
|
+
# Gets all RouteFilterRules in a route filter.
|
289
|
+
#
|
290
|
+
# @param resource_group_name [String] The name of the resource group.
|
291
|
+
# @param route_filter_name [String] The name of the route filter.
|
292
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
293
|
+
# to the HTTP request.
|
294
|
+
#
|
295
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
296
|
+
#
|
297
|
+
def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil)
|
298
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
299
|
+
fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil?
|
300
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
301
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
302
|
+
|
303
|
+
|
304
|
+
request_headers = {}
|
305
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
306
|
+
|
307
|
+
# Set Headers
|
308
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
309
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
310
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules'
|
311
|
+
|
312
|
+
request_url = @base_url || @client.base_url
|
313
|
+
|
314
|
+
options = {
|
315
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
316
|
+
path_params: {'resourceGroupName' => resource_group_name,'routeFilterName' => route_filter_name,'subscriptionId' => @client.subscription_id},
|
317
|
+
query_params: {'api-version' => @client.api_version},
|
318
|
+
headers: request_headers.merge(custom_headers || {}),
|
319
|
+
base_url: request_url
|
320
|
+
}
|
321
|
+
promise = @client.make_request_async(:get, path_template, options)
|
322
|
+
|
323
|
+
promise = promise.then do |result|
|
324
|
+
http_response = result.response
|
325
|
+
status_code = http_response.status
|
326
|
+
response_content = http_response.body
|
327
|
+
unless status_code == 200
|
328
|
+
error_model = JSON.load(response_content)
|
329
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
330
|
+
end
|
331
|
+
|
332
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
333
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
334
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
335
|
+
# Deserialize Response
|
336
|
+
if status_code == 200
|
337
|
+
begin
|
338
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
339
|
+
result_mapper = Azure::Network::Mgmt::V2019_07_01::Models::RouteFilterRuleListResult.mapper()
|
340
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
341
|
+
rescue Exception => e
|
342
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
result
|
347
|
+
end
|
348
|
+
|
349
|
+
promise.execute
|
350
|
+
end
|
351
|
+
|
352
|
+
#
|
353
|
+
# Deletes the specified rule from a route filter.
|
354
|
+
#
|
355
|
+
# @param resource_group_name [String] The name of the resource group.
|
356
|
+
# @param route_filter_name [String] The name of the route filter.
|
357
|
+
# @param rule_name [String] The name of the rule.
|
358
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
359
|
+
# will be added to the HTTP request.
|
360
|
+
#
|
361
|
+
#
|
362
|
+
def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
|
363
|
+
response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value!
|
364
|
+
nil
|
365
|
+
end
|
366
|
+
|
367
|
+
#
|
368
|
+
# Deletes the specified rule from a route filter.
|
369
|
+
#
|
370
|
+
# @param resource_group_name [String] The name of the resource group.
|
371
|
+
# @param route_filter_name [String] The name of the route filter.
|
372
|
+
# @param rule_name [String] The name of the rule.
|
373
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
374
|
+
# will be added to the HTTP request.
|
375
|
+
#
|
376
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
377
|
+
#
|
378
|
+
def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
|
379
|
+
begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value!
|
380
|
+
end
|
381
|
+
|
382
|
+
#
|
383
|
+
# Deletes the specified rule from a route filter.
|
384
|
+
#
|
385
|
+
# @param resource_group_name [String] The name of the resource group.
|
386
|
+
# @param route_filter_name [String] The name of the route filter.
|
387
|
+
# @param rule_name [String] The name of the rule.
|
388
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
389
|
+
# to the HTTP request.
|
390
|
+
#
|
391
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
392
|
+
#
|
393
|
+
def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
|
394
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
395
|
+
fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil?
|
396
|
+
fail ArgumentError, 'rule_name is nil' if rule_name.nil?
|
397
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
398
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
399
|
+
|
400
|
+
|
401
|
+
request_headers = {}
|
402
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
403
|
+
|
404
|
+
# Set Headers
|
405
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
406
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
407
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'
|
408
|
+
|
409
|
+
request_url = @base_url || @client.base_url
|
410
|
+
|
411
|
+
options = {
|
412
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
413
|
+
path_params: {'resourceGroupName' => resource_group_name,'routeFilterName' => route_filter_name,'ruleName' => rule_name,'subscriptionId' => @client.subscription_id},
|
414
|
+
query_params: {'api-version' => @client.api_version},
|
415
|
+
headers: request_headers.merge(custom_headers || {}),
|
416
|
+
base_url: request_url
|
417
|
+
}
|
418
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
419
|
+
|
420
|
+
promise = promise.then do |result|
|
421
|
+
http_response = result.response
|
422
|
+
status_code = http_response.status
|
423
|
+
response_content = http_response.body
|
424
|
+
unless status_code == 202 || status_code == 200 || status_code == 204
|
425
|
+
error_model = JSON.load(response_content)
|
426
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
427
|
+
end
|
428
|
+
|
429
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
430
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
431
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
432
|
+
|
433
|
+
result
|
434
|
+
end
|
435
|
+
|
436
|
+
promise.execute
|
437
|
+
end
|
438
|
+
|
439
|
+
#
|
440
|
+
# Creates or updates a route in the specified route filter.
|
441
|
+
#
|
442
|
+
# @param resource_group_name [String] The name of the resource group.
|
443
|
+
# @param route_filter_name [String] The name of the route filter.
|
444
|
+
# @param rule_name [String] The name of the route filter rule.
|
445
|
+
# @param route_filter_rule_parameters [RouteFilterRule] Parameters supplied to
|
446
|
+
# the create or update route filter rule operation.
|
447
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
448
|
+
# will be added to the HTTP request.
|
449
|
+
#
|
450
|
+
# @return [RouteFilterRule] operation results.
|
451
|
+
#
|
452
|
+
def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
453
|
+
response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value!
|
454
|
+
response.body unless response.nil?
|
455
|
+
end
|
456
|
+
|
457
|
+
#
|
458
|
+
# Creates or updates a route in the specified route filter.
|
459
|
+
#
|
460
|
+
# @param resource_group_name [String] The name of the resource group.
|
461
|
+
# @param route_filter_name [String] The name of the route filter.
|
462
|
+
# @param rule_name [String] The name of the route filter rule.
|
463
|
+
# @param route_filter_rule_parameters [RouteFilterRule] Parameters supplied to
|
464
|
+
# the create or update route filter rule operation.
|
465
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
466
|
+
# will be added to the HTTP request.
|
467
|
+
#
|
468
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
469
|
+
#
|
470
|
+
def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
471
|
+
begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value!
|
472
|
+
end
|
473
|
+
|
474
|
+
#
|
475
|
+
# Creates or updates a route in the specified route filter.
|
476
|
+
#
|
477
|
+
# @param resource_group_name [String] The name of the resource group.
|
478
|
+
# @param route_filter_name [String] The name of the route filter.
|
479
|
+
# @param rule_name [String] The name of the route filter rule.
|
480
|
+
# @param route_filter_rule_parameters [RouteFilterRule] Parameters supplied to
|
481
|
+
# the create or update route filter rule operation.
|
482
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
483
|
+
# to the HTTP request.
|
484
|
+
#
|
485
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
486
|
+
#
|
487
|
+
def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
488
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
489
|
+
fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil?
|
490
|
+
fail ArgumentError, 'rule_name is nil' if rule_name.nil?
|
491
|
+
fail ArgumentError, 'route_filter_rule_parameters is nil' if route_filter_rule_parameters.nil?
|
492
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
493
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
494
|
+
|
495
|
+
|
496
|
+
request_headers = {}
|
497
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
498
|
+
|
499
|
+
# Set Headers
|
500
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
501
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
502
|
+
|
503
|
+
# Serialize Request
|
504
|
+
request_mapper = Azure::Network::Mgmt::V2019_07_01::Models::RouteFilterRule.mapper()
|
505
|
+
request_content = @client.serialize(request_mapper, route_filter_rule_parameters)
|
506
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
507
|
+
|
508
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'
|
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: {'resourceGroupName' => resource_group_name,'routeFilterName' => route_filter_name,'ruleName' => rule_name,'subscriptionId' => @client.subscription_id},
|
515
|
+
query_params: {'api-version' => @client.api_version},
|
516
|
+
body: request_content,
|
517
|
+
headers: request_headers.merge(custom_headers || {}),
|
518
|
+
base_url: request_url
|
519
|
+
}
|
520
|
+
promise = @client.make_request_async(:put, path_template, options)
|
521
|
+
|
522
|
+
promise = promise.then do |result|
|
523
|
+
http_response = result.response
|
524
|
+
status_code = http_response.status
|
525
|
+
response_content = http_response.body
|
526
|
+
unless status_code == 200 || status_code == 201
|
527
|
+
error_model = JSON.load(response_content)
|
528
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
529
|
+
end
|
530
|
+
|
531
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
532
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
533
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
534
|
+
# Deserialize Response
|
535
|
+
if status_code == 200
|
536
|
+
begin
|
537
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
538
|
+
result_mapper = Azure::Network::Mgmt::V2019_07_01::Models::RouteFilterRule.mapper()
|
539
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
540
|
+
rescue Exception => e
|
541
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
542
|
+
end
|
543
|
+
end
|
544
|
+
# Deserialize Response
|
545
|
+
if status_code == 201
|
546
|
+
begin
|
547
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
548
|
+
result_mapper = Azure::Network::Mgmt::V2019_07_01::Models::RouteFilterRule.mapper()
|
549
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
550
|
+
rescue Exception => e
|
551
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
555
|
+
result
|
556
|
+
end
|
557
|
+
|
558
|
+
promise.execute
|
559
|
+
end
|
560
|
+
|
561
|
+
#
|
562
|
+
# Updates a route in the specified route filter.
|
563
|
+
#
|
564
|
+
# @param resource_group_name [String] The name of the resource group.
|
565
|
+
# @param route_filter_name [String] The name of the route filter.
|
566
|
+
# @param rule_name [String] The name of the route filter rule.
|
567
|
+
# @param route_filter_rule_parameters [PatchRouteFilterRule] Parameters
|
568
|
+
# supplied to the update route filter rule operation.
|
569
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
570
|
+
# will be added to the HTTP request.
|
571
|
+
#
|
572
|
+
# @return [RouteFilterRule] operation results.
|
573
|
+
#
|
574
|
+
def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
575
|
+
response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value!
|
576
|
+
response.body unless response.nil?
|
577
|
+
end
|
578
|
+
|
579
|
+
#
|
580
|
+
# Updates a route in the specified route filter.
|
581
|
+
#
|
582
|
+
# @param resource_group_name [String] The name of the resource group.
|
583
|
+
# @param route_filter_name [String] The name of the route filter.
|
584
|
+
# @param rule_name [String] The name of the route filter rule.
|
585
|
+
# @param route_filter_rule_parameters [PatchRouteFilterRule] Parameters
|
586
|
+
# supplied to the update route filter rule operation.
|
587
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
588
|
+
# will be added to the HTTP request.
|
589
|
+
#
|
590
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
591
|
+
#
|
592
|
+
def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
593
|
+
begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value!
|
594
|
+
end
|
595
|
+
|
596
|
+
#
|
597
|
+
# Updates a route in the specified route filter.
|
598
|
+
#
|
599
|
+
# @param resource_group_name [String] The name of the resource group.
|
600
|
+
# @param route_filter_name [String] The name of the route filter.
|
601
|
+
# @param rule_name [String] The name of the route filter rule.
|
602
|
+
# @param route_filter_rule_parameters [PatchRouteFilterRule] Parameters
|
603
|
+
# supplied to the update route filter rule operation.
|
604
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
605
|
+
# to the HTTP request.
|
606
|
+
#
|
607
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
608
|
+
#
|
609
|
+
def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil)
|
610
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
611
|
+
fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil?
|
612
|
+
fail ArgumentError, 'rule_name is nil' if rule_name.nil?
|
613
|
+
fail ArgumentError, 'route_filter_rule_parameters is nil' if route_filter_rule_parameters.nil?
|
614
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
615
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
616
|
+
|
617
|
+
|
618
|
+
request_headers = {}
|
619
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
620
|
+
|
621
|
+
# Set Headers
|
622
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
623
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
624
|
+
|
625
|
+
# Serialize Request
|
626
|
+
request_mapper = Azure::Network::Mgmt::V2019_07_01::Models::PatchRouteFilterRule.mapper()
|
627
|
+
request_content = @client.serialize(request_mapper, route_filter_rule_parameters)
|
628
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
629
|
+
|
630
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'
|
631
|
+
|
632
|
+
request_url = @base_url || @client.base_url
|
633
|
+
|
634
|
+
options = {
|
635
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
636
|
+
path_params: {'resourceGroupName' => resource_group_name,'routeFilterName' => route_filter_name,'ruleName' => rule_name,'subscriptionId' => @client.subscription_id},
|
637
|
+
query_params: {'api-version' => @client.api_version},
|
638
|
+
body: request_content,
|
639
|
+
headers: request_headers.merge(custom_headers || {}),
|
640
|
+
base_url: request_url
|
641
|
+
}
|
642
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
643
|
+
|
644
|
+
promise = promise.then do |result|
|
645
|
+
http_response = result.response
|
646
|
+
status_code = http_response.status
|
647
|
+
response_content = http_response.body
|
648
|
+
unless status_code == 200
|
649
|
+
error_model = JSON.load(response_content)
|
650
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
651
|
+
end
|
652
|
+
|
653
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
654
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
655
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
656
|
+
# Deserialize Response
|
657
|
+
if status_code == 200
|
658
|
+
begin
|
659
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
660
|
+
result_mapper = Azure::Network::Mgmt::V2019_07_01::Models::RouteFilterRule.mapper()
|
661
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
662
|
+
rescue Exception => e
|
663
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
664
|
+
end
|
665
|
+
end
|
666
|
+
|
667
|
+
result
|
668
|
+
end
|
669
|
+
|
670
|
+
promise.execute
|
671
|
+
end
|
672
|
+
|
673
|
+
#
|
674
|
+
# Gets all RouteFilterRules in a route filter.
|
675
|
+
#
|
676
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
677
|
+
# to List operation.
|
678
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
679
|
+
# will be added to the HTTP request.
|
680
|
+
#
|
681
|
+
# @return [RouteFilterRuleListResult] operation results.
|
682
|
+
#
|
683
|
+
def list_by_route_filter_next(next_page_link, custom_headers:nil)
|
684
|
+
response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value!
|
685
|
+
response.body unless response.nil?
|
686
|
+
end
|
687
|
+
|
688
|
+
#
|
689
|
+
# Gets all RouteFilterRules in a route filter.
|
690
|
+
#
|
691
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
692
|
+
# to List operation.
|
693
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
694
|
+
# will be added to the HTTP request.
|
695
|
+
#
|
696
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
697
|
+
#
|
698
|
+
def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil)
|
699
|
+
list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value!
|
700
|
+
end
|
701
|
+
|
702
|
+
#
|
703
|
+
# Gets all RouteFilterRules in a route filter.
|
704
|
+
#
|
705
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
706
|
+
# to List operation.
|
707
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
708
|
+
# to the HTTP request.
|
709
|
+
#
|
710
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
711
|
+
#
|
712
|
+
def list_by_route_filter_next_async(next_page_link, custom_headers:nil)
|
713
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
714
|
+
|
715
|
+
|
716
|
+
request_headers = {}
|
717
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
718
|
+
|
719
|
+
# Set Headers
|
720
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
721
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
722
|
+
path_template = '{nextLink}'
|
723
|
+
|
724
|
+
request_url = @base_url || @client.base_url
|
725
|
+
|
726
|
+
options = {
|
727
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
728
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
729
|
+
headers: request_headers.merge(custom_headers || {}),
|
730
|
+
base_url: request_url
|
731
|
+
}
|
732
|
+
promise = @client.make_request_async(:get, path_template, options)
|
733
|
+
|
734
|
+
promise = promise.then do |result|
|
735
|
+
http_response = result.response
|
736
|
+
status_code = http_response.status
|
737
|
+
response_content = http_response.body
|
738
|
+
unless status_code == 200
|
739
|
+
error_model = JSON.load(response_content)
|
740
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
741
|
+
end
|
742
|
+
|
743
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
744
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
745
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
746
|
+
# Deserialize Response
|
747
|
+
if status_code == 200
|
748
|
+
begin
|
749
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
750
|
+
result_mapper = Azure::Network::Mgmt::V2019_07_01::Models::RouteFilterRuleListResult.mapper()
|
751
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
752
|
+
rescue Exception => e
|
753
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
result
|
758
|
+
end
|
759
|
+
|
760
|
+
promise.execute
|
761
|
+
end
|
762
|
+
|
763
|
+
#
|
764
|
+
# Gets all RouteFilterRules in a route filter.
|
765
|
+
#
|
766
|
+
# @param resource_group_name [String] The name of the resource group.
|
767
|
+
# @param route_filter_name [String] The name of the route filter.
|
768
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
769
|
+
# will be added to the HTTP request.
|
770
|
+
#
|
771
|
+
# @return [RouteFilterRuleListResult] which provide lazy access to pages of the
|
772
|
+
# response.
|
773
|
+
#
|
774
|
+
def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil)
|
775
|
+
response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value!
|
776
|
+
unless response.nil?
|
777
|
+
page = response.body
|
778
|
+
page.next_method = Proc.new do |next_page_link|
|
779
|
+
list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers)
|
780
|
+
end
|
781
|
+
page
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
end
|
786
|
+
end
|