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