azure_mgmt_network 0.23.1 → 0.23.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-08-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2018-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-02-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-07-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-09-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_network/network_management_client.rb +1 -1
- data/lib/2020-03-01/generated/azure_mgmt_network.rb +730 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/application_gateways.rb +2230 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/application_security_groups.rb +925 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/available_delegations.rb +233 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/available_endpoint_services.rb +226 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/available_private_endpoint_types.rb +446 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/available_resource_group_delegations.rb +238 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/available_service_aliases.rb +432 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/azure_firewall_fqdn_tags.rb +221 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/azure_firewalls.rb +957 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/bastion_hosts.rb +801 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/bgp_service_communities.rb +221 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/connection_monitors.rb +1099 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/ddos_custom_policies.rb +512 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/ddos_protection_plans.rb +925 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/default_security_rules.rb +339 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +631 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_circuit_connections.rb +683 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +626 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_circuits.rb +1557 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_connections.rb +534 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb +648 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_cross_connections.rb +1262 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_gateways.rb +601 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_links.rb +343 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_ports.rb +922 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_ports_locations.rb +331 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/express_route_service_providers.rb +221 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/firewall_policies.rb +804 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/firewall_policy_rule_groups.rb +626 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/flow_logs.rb +634 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/hub_virtual_network_connections.rb +336 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/inbound_nat_rules.rb +629 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/ip_allocations.rb +912 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/ip_groups.rb +915 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +332 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +332 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +329 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +231 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/load_balancer_outbound_rules.rb +329 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/load_balancer_probes.rb +329 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/load_balancers.rb +912 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/local_network_gateways.rb +733 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/aad_authentication_parameters.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/access.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/address_space.rb +56 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway.rb +610 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +106 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_autoscale_configuration.rb +65 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +159 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +102 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +136 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +56 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +70 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_on_demand.rb +61 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +69 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +83 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +19 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +266 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +64 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb +60 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_custom_error_status_code.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb +71 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +79 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +143 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +143 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +105 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_header_configuration.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +220 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +108 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_on_demand_probe.rb +134 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +177 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +223 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_protocol.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +201 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_redirect_type.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +198 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb +93 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_action_set.rb +90 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb +82 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_set.rb +103 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +71 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +21 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +143 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_cipher_suite.rb +42 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +113 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_name.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +87 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_tier.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_trusted_root_certificate.rb +117 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_url_configuration.rb +72 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +168 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +180 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_rule_condition.rb +183 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_security_group.rb +127 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/association_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/authentication_method.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/authorization_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/authorization_use_status.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/auto_approved_private_link_service.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/auto_approved_private_link_services_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/availability.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_delegation.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_delegations_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_private_endpoint_type.rb +80 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_private_endpoint_types_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list.rb +56 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +65 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +86 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +88 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +86 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_service_alias.rb +79 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/available_service_aliases_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall.rb +333 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb +154 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_collection.rb +130 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb +63 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol_type.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag.rb +124 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_fqdn_tag_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_ip_groups.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_ipconfiguration.rb +133 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule.rb +187 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_nat_rule_collection.rb +131 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_network_rule.rb +191 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_collection.rb +130 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_network_rule_protocol.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_public_ipaddress.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_rcaction.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_rcaction_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_sku.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_sku_name.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_sku_tier.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_firewall_threat_intel_mode.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +81 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +78 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +62 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +108 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/backend_address_pool.rb +175 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_active_session.rb +168 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_active_session_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_connect_protocol.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_host.rb +145 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_host_ipconfiguration.rb +130 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_host_list_result.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_session_delete_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_session_state.rb +72 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_shareable_link.rb +85 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_shareable_link_list_request.rb +55 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bastion_shareable_link_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bgp_peer_state.rb +19 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +132 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +55 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bgp_service_community.rb +116 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bgp_settings.rb +91 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb +112 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/check_private_link_service_visibility_request.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/circuit_connection_status.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor.rb +212 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +70 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_endpoint.rb +82 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter.rb +69 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter_item.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter_item_type.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_endpoint_filter_type.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_http_configuration.rb +123 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_icmp_configuration.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +56 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_output.rb +61 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +182 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +313 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +58 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_source_status.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_success_threshold.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_tcp_configuration.rb +58 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_test_configuration.rb +135 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_test_configuration_protocol.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_test_group.rb +114 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_monitor_workspace_settings.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +51 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_shared_key.rb +54 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_state.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +158 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connection_status.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb +70 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connectivity_hop.rb +124 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connectivity_information.rb +130 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connectivity_issue.rb +106 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +95 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/connectivity_source.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/container.rb +43 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/container_network_interface.rb +144 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/container_network_interface_configuration.rb +136 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb +86 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/custom_dns_config_properties_format.rb +66 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ddos_custom_policy.rb +170 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ddos_custom_policy_protocol.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ddos_custom_policy_trigger_sensitivity_override.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb +165 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ddos_protection_plan_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ddos_settings.rb +72 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ddos_settings_protection_coverage.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/delegation.rb +115 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/device_properties.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/dh_group.rb +22 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/dhcp_options.rb +56 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/dimension.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/direction.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +109 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +260 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/effective_route.rb +135 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/effective_route_source.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/effective_route_state.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/error.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/error_details.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/error_response.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/evaluated_network_security_group.rb +92 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/evaluation_state.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit.rb +296 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +79 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +117 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_connection.rb +170 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_connection_list_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +341 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +122 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_id.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_reference.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +91 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +93 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +69 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +70 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +79 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +66 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +69 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +69 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_connection.rb +114 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_connection_id.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_connection_list.rb +56 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_cross_connection.rb +229 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_cross_connection_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb +251 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb +102 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_cross_connection_routes_table_summary.rb +83 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_cross_connections_routes_table_summary_list_result.rb +70 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_gateway.rb +160 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_gateway_list.rb +55 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration.rb +49 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_gateway_properties_auto_scale_configuration_bounds.rb +60 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_link.rb +169 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_link_admin_state.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_link_connector_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_link_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_link_mac_sec_cipher.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_link_mac_sec_config.rb +73 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_peering_state.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_peering_type.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_port.rb +268 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_port_list_result.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_ports_encapsulation.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_ports_location.rb +146 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_ports_location_bandwidths.rb +61 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_ports_location_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +139 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +58 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy.rb +215 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule.rb +106 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_action.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_filter_rule_action_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_intrusion_system_mode.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule.rb +119 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_action.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_nat_rule_action_type.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_rule.rb +73 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition.rb +70 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition_application_protocol.rb +64 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition_application_protocol_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition_network_protocol.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_rule_group.rb +131 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/firewall_policy_rule_group_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/flow_log.rb +198 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/flow_log_format_parameters.rb +60 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/flow_log_format_type.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/flow_log_information.rb +110 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/flow_log_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +48 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +274 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/gateway_route.rb +119 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +55 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/get_vpn_sites_configuration_request.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/httpconfiguration.rb +85 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/httpconfiguration_method.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/httpheader.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/httpmethod.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/hub_ipaddresses.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb +127 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/hub_virtual_network_connection_status.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ike_encryption.rb +21 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ike_integrity.rb +20 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +199 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +202 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ip_allocation.rb +204 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ip_allocation_list_result.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ip_allocation_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ip_flow_protocol.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ip_group.rb +154 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ip_group_list_result.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ip_tag.rb +58 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +66 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipallocation_method.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipconfiguration.rb +129 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipconfiguration_bgp_peering_address.rb +108 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipconfiguration_profile.rb +107 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipsec_encryption.rb +23 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipsec_integrity.rb +20 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipsec_policy.rb +137 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipv6circuit_connection_config.rb +61 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +94 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/ipversion.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/issue_type.rb +23 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_hub_virtual_network_connections_result.rb +102 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_p2svpn_gateways_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_virtual_hub_route_table_v2s_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_virtual_hubs_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_virtual_wans_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_vpn_connections_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_vpn_gateways_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_vpn_server_configurations_result.rb +102 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_vpn_site_link_connections_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_vpn_site_links_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/list_vpn_sites_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer.rb +294 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +102 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer_outbound_rule_protocol.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +238 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/load_distribution.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb +171 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/log_specification.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/managed_rule_enabled_state.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/managed_rule_group_override.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/managed_rule_override.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/managed_rule_set.rb +78 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/managed_rules_definition.rb +77 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/managed_service_identity.rb +102 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/managed_service_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/match_condition.rb +118 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/match_variable.rb +60 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/matched_rule.rb +58 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/metric_specification.rb +207 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/nat_gateway.rb +232 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/nat_gateway_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/nat_gateway_sku.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/nat_gateway_sku_name.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/nat_rule_condition.rb +163 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_parameters.rb +81 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb +95 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_response.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_result.rb +61 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_intent_policy.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_intent_policy_configuration.rb +60 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface.rb +291 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface_association.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +120 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +274 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +102 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_private_link_connection_properties.rb +83 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface_tap_configuration.rb +107 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_interface_tap_configuration_list_result.rb +102 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_operation_status.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_profile.rb +168 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_profile_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_rule_condition.rb +182 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_security_group.rb +233 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_security_group_result.rb +70 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_security_rules_evaluation_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_virtual_appliance.rb +224 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_virtual_appliance_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_watcher.rb +112 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +55 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +82 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/next_hop_result.rb +73 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/next_hop_type.rb +20 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/office_traffic_category.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/operation.rb +83 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/operation_display.rb +79 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/operation_list_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +76 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/origin.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/outbound_rule.rb +177 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/output_type.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry.rb +74 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry_match_variable.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry_selector_match_operator.rb +19 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/p2sconnection_configuration.rb +95 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/p2svpn_connection_health.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/p2svpn_connection_health_request.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/p2svpn_connection_request.rb +54 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/p2svpn_gateway.rb +183 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/p2svpn_profile_parameters.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/packet_capture.rb +119 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +107 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +56 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +119 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +111 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/packet_capture_result.rb +170 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +74 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/patch_route_filter.rb +179 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +129 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/pc_error.rb +19 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/pc_protocol.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/pc_status.rb +19 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection.rb +170 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/peer_express_route_circuit_connection_list_result.rb +104 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/pfs_group.rb +23 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/policy_settings.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/preferred_ipversion.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/prepare_network_policies_request.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_dns_zone_config.rb +80 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_dns_zone_group.rb +103 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_dns_zone_group_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_endpoint.rb +212 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_endpoint_connection.rb +133 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_endpoint_connection_list_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_endpoint_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_link_service.rb +267 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_link_service_connection.rb +150 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_link_service_connection_state.rb +71 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_link_service_ip_configuration.rb +151 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_link_service_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_link_service_properties_auto_approval.rb +51 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_link_service_properties_visibility.rb +51 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/private_link_service_visibility.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/probe.rb +186 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/probe_protocol.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/processor_architecture.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/protocol.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/protocol_configuration.rb +48 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb +87 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/provisioning_state.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/public_ipaddress.rb +278 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +77 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/public_ipprefix.rb +249 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/public_ipprefix_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/public_ipprefix_sku.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/public_ipprefix_sku_name.rb +15 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/radius_server.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/record_set.rb +111 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/referenced_public_ip_address.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/resource.rb +109 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/resource_identity_type.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +116 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/resource_navigation_links_list_result.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/resource_set.rb +54 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +61 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/route.rb +119 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/route_filter.rb +177 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/route_filter_rule.rb +139 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/route_list_result.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/route_next_hop_type.rb +19 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/route_table.rb +166 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/route_table_list_result.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_group_view_result.rb +56 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_partner_provider.rb +151 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_partner_provider_connection_status.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_partner_provider_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_provider_name.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_rule.rb +315 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_rule_access.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_rule_associations.rb +102 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_rule_direction.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/security_rule_protocol.rb +20 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_association_link.rb +146 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_association_links_list_result.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_endpoint_policy.rb +167 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition.rb +123 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_endpoint_policy_definition_list_result.rb +103 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_endpoint_policy_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +79 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_tag_information.rb +73 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_tag_information_properties_format.rb +91 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/service_tags_list_result.rb +117 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/session_ids.rb +54 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/severity.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/sub_resource.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/subnet.rb +380 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/subnet_association.rb +67 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/subnet_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/tags_object.rb +54 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/topology.rb +92 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/topology_association.rb +71 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/topology_parameters.rb +71 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/topology_resource.rb +89 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb +91 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/traffic_analytics_properties.rb +48 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/traffic_selector_policy.rb +75 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/transport_protocol.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +70 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +81 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +89 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/tunnel_connection_status.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/unprepare_network_policies_request.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/usage.rb +95 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/usage_name.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/usages_list_result.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/verbosity_level.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +133 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_appliance_nic_properties.rb +71 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_appliance_sku_properties.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_hub.rb +276 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_hub_id.rb +48 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_hub_route.rb +65 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_hub_route_table.rb +55 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_hub_route_table_v2.rb +122 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_hub_route_v2.rb +95 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network.rb +266 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_bgp_communities.rb +60 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +47 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +310 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +392 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +370 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +103 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_protocol.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +130 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +104 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +77 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +31 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +31 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +175 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_tap.rb +186 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_tap_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +97 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_router.rb +191 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_router_list_result.rb +98 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_router_peering.rb +119 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_router_peering_list_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_wan.rb +210 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_wan_security_provider.rb +69 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_wan_security_provider_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_wan_security_providers.rb +56 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/virtual_wan_vpn_profile_parameters.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vm.rb +85 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_authentication_type.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +212 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_client_connection_health.rb +93 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail.rb +179 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_client_connection_health_detail_list_result.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_client_ipsec_parameters.rb +137 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +94 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_client_protocol.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +93 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +93 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb +284 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection_status.rb +18 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_gateway.rb +168 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_gateway_generation.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_gateway_tunneling_protocol.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_link_bgp_settings.rb +58 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_link_provider_properties.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_packet_capture_start_parameters.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_packet_capture_stop_parameters.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_profile_response.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_server_config_radius_client_root_certificate.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_server_config_radius_server_root_certificate.rb +58 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_server_config_vpn_client_revoked_certificate.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_server_config_vpn_client_root_certificate.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb +360 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_server_configurations_response.rb +55 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_site.rb +214 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_site_id.rb +48 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_site_link.rb +140 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_site_link_connection.rb +252 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/vpn_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_action.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_custom_rule.rb +119 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_enabled_state.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_match_variable.rb +22 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_mode.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_operator.rb +25 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_policy.rb +237 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_policy_list_result.rb +105 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_policy_resource_state.rb +20 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_rule_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/models/web_application_firewall_transform.rb +20 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/module_definition.rb +9 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/nat_gateways.rb +922 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +329 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +231 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/network_interface_tap_configurations.rb +626 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/network_interfaces.rb +1184 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/network_management_client.rb +2682 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/network_profiles.rb +866 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/network_security_groups.rb +928 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/network_virtual_appliances.rb +931 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/network_watchers.rb +2670 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/operations.rb +219 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/p2s_vpn_gateways.rb +1532 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/packet_captures.rb +796 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/peer_express_route_circuit_connections.rb +351 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/private_dns_zone_groups.rb +646 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/private_endpoints.rb +804 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/private_link_services.rb +2007 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/public_ipaddresses.rb +912 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/public_ipprefixes.rb +912 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/resource_navigation_links.rb +123 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/route_filter_rules.rb +626 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/route_filters.rb +915 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/route_tables.rb +912 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/routes.rb +625 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/security_partner_providers.rb +925 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/security_rules.rb +643 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/service_association_links.rb +123 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/service_endpoint_policies.rb +928 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb +668 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/service_tags.rb +124 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/subnets.rb +929 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/usages.rb +227 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_hub_route_table_v2s.rb +647 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_hubs.rb +933 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +1612 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb +3423 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb +634 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_network_taps.rb +909 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_networks.rb +1216 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_router_peerings.rb +626 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_routers.rb +804 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/virtual_wans.rb +938 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/vpn_connections.rb +647 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/vpn_gateways.rb +1074 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/vpn_link_connections.rb +247 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/vpn_server_configurations.rb +949 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/vpn_server_configurations_associated_with_virtual_wan.rb +170 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/vpn_site_link_connections.rb +130 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/vpn_site_links.rb +332 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/vpn_sites.rb +918 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/vpn_sites_configuration.rb +173 -0
- data/lib/2020-03-01/generated/azure_mgmt_network/web_application_firewall_policies.rb +758 -0
- data/lib/azure_mgmt_network.rb +22 -21
- data/lib/profiles/latest/modules/network_profile_module.rb +1587 -1525
- data/lib/version.rb +1 -1
- metadata +708 -2
@@ -0,0 +1,2682 @@
|
|
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::V2020_03_01
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class NetworkManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] The subscription credentials which uniquely identify the
|
21
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
22
|
+
# for every service call.
|
23
|
+
attr_accessor :subscription_id
|
24
|
+
|
25
|
+
# @return [String] Client API version.
|
26
|
+
attr_reader :api_version
|
27
|
+
|
28
|
+
# @return [String] Client API version.
|
29
|
+
attr_accessor :api_version1
|
30
|
+
|
31
|
+
# @return [String] The preferred language for the response.
|
32
|
+
attr_accessor :accept_language
|
33
|
+
|
34
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
35
|
+
# Operations. Default value is 30.
|
36
|
+
attr_accessor :long_running_operation_retry_timeout
|
37
|
+
|
38
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
39
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
40
|
+
# generated and included in each request. Default is true.
|
41
|
+
attr_accessor :generate_client_request_id
|
42
|
+
|
43
|
+
# @return [ApplicationGateways] application_gateways
|
44
|
+
attr_reader :application_gateways
|
45
|
+
|
46
|
+
# @return [ApplicationSecurityGroups] application_security_groups
|
47
|
+
attr_reader :application_security_groups
|
48
|
+
|
49
|
+
# @return [AvailableDelegations] available_delegations
|
50
|
+
attr_reader :available_delegations
|
51
|
+
|
52
|
+
# @return [AvailableResourceGroupDelegations]
|
53
|
+
# available_resource_group_delegations
|
54
|
+
attr_reader :available_resource_group_delegations
|
55
|
+
|
56
|
+
# @return [AvailableServiceAliases] available_service_aliases
|
57
|
+
attr_reader :available_service_aliases
|
58
|
+
|
59
|
+
# @return [AzureFirewalls] azure_firewalls
|
60
|
+
attr_reader :azure_firewalls
|
61
|
+
|
62
|
+
# @return [AzureFirewallFqdnTags] azure_firewall_fqdn_tags
|
63
|
+
attr_reader :azure_firewall_fqdn_tags
|
64
|
+
|
65
|
+
# @return [BastionHosts] bastion_hosts
|
66
|
+
attr_reader :bastion_hosts
|
67
|
+
|
68
|
+
# @return [DdosCustomPolicies] ddos_custom_policies
|
69
|
+
attr_reader :ddos_custom_policies
|
70
|
+
|
71
|
+
# @return [DdosProtectionPlans] ddos_protection_plans
|
72
|
+
attr_reader :ddos_protection_plans
|
73
|
+
|
74
|
+
# @return [AvailableEndpointServices] available_endpoint_services
|
75
|
+
attr_reader :available_endpoint_services
|
76
|
+
|
77
|
+
# @return [ExpressRouteCircuitAuthorizations]
|
78
|
+
# express_route_circuit_authorizations
|
79
|
+
attr_reader :express_route_circuit_authorizations
|
80
|
+
|
81
|
+
# @return [ExpressRouteCircuitPeerings] express_route_circuit_peerings
|
82
|
+
attr_reader :express_route_circuit_peerings
|
83
|
+
|
84
|
+
# @return [ExpressRouteCircuitConnections]
|
85
|
+
# express_route_circuit_connections
|
86
|
+
attr_reader :express_route_circuit_connections
|
87
|
+
|
88
|
+
# @return [PeerExpressRouteCircuitConnections]
|
89
|
+
# peer_express_route_circuit_connections
|
90
|
+
attr_reader :peer_express_route_circuit_connections
|
91
|
+
|
92
|
+
# @return [ExpressRouteCircuits] express_route_circuits
|
93
|
+
attr_reader :express_route_circuits
|
94
|
+
|
95
|
+
# @return [ExpressRouteServiceProviders] express_route_service_providers
|
96
|
+
attr_reader :express_route_service_providers
|
97
|
+
|
98
|
+
# @return [ExpressRouteCrossConnections] express_route_cross_connections
|
99
|
+
attr_reader :express_route_cross_connections
|
100
|
+
|
101
|
+
# @return [ExpressRouteCrossConnectionPeerings]
|
102
|
+
# express_route_cross_connection_peerings
|
103
|
+
attr_reader :express_route_cross_connection_peerings
|
104
|
+
|
105
|
+
# @return [ExpressRoutePortsLocations] express_route_ports_locations
|
106
|
+
attr_reader :express_route_ports_locations
|
107
|
+
|
108
|
+
# @return [ExpressRoutePorts] express_route_ports
|
109
|
+
attr_reader :express_route_ports
|
110
|
+
|
111
|
+
# @return [ExpressRouteLinks] express_route_links
|
112
|
+
attr_reader :express_route_links
|
113
|
+
|
114
|
+
# @return [FirewallPolicies] firewall_policies
|
115
|
+
attr_reader :firewall_policies
|
116
|
+
|
117
|
+
# @return [FirewallPolicyRuleGroups] firewall_policy_rule_groups
|
118
|
+
attr_reader :firewall_policy_rule_groups
|
119
|
+
|
120
|
+
# @return [IpAllocations] ip_allocations
|
121
|
+
attr_reader :ip_allocations
|
122
|
+
|
123
|
+
# @return [IpGroups] ip_groups
|
124
|
+
attr_reader :ip_groups
|
125
|
+
|
126
|
+
# @return [LoadBalancers] load_balancers
|
127
|
+
attr_reader :load_balancers
|
128
|
+
|
129
|
+
# @return [LoadBalancerBackendAddressPools]
|
130
|
+
# load_balancer_backend_address_pools
|
131
|
+
attr_reader :load_balancer_backend_address_pools
|
132
|
+
|
133
|
+
# @return [LoadBalancerFrontendIPConfigurations]
|
134
|
+
# load_balancer_frontend_ipconfigurations
|
135
|
+
attr_reader :load_balancer_frontend_ipconfigurations
|
136
|
+
|
137
|
+
# @return [InboundNatRules] inbound_nat_rules
|
138
|
+
attr_reader :inbound_nat_rules
|
139
|
+
|
140
|
+
# @return [LoadBalancerLoadBalancingRules]
|
141
|
+
# load_balancer_load_balancing_rules
|
142
|
+
attr_reader :load_balancer_load_balancing_rules
|
143
|
+
|
144
|
+
# @return [LoadBalancerOutboundRules] load_balancer_outbound_rules
|
145
|
+
attr_reader :load_balancer_outbound_rules
|
146
|
+
|
147
|
+
# @return [LoadBalancerNetworkInterfaces] load_balancer_network_interfaces
|
148
|
+
attr_reader :load_balancer_network_interfaces
|
149
|
+
|
150
|
+
# @return [LoadBalancerProbes] load_balancer_probes
|
151
|
+
attr_reader :load_balancer_probes
|
152
|
+
|
153
|
+
# @return [NatGateways] nat_gateways
|
154
|
+
attr_reader :nat_gateways
|
155
|
+
|
156
|
+
# @return [NetworkInterfaces] network_interfaces
|
157
|
+
attr_reader :network_interfaces
|
158
|
+
|
159
|
+
# @return [NetworkInterfaceIPConfigurations]
|
160
|
+
# network_interface_ipconfigurations
|
161
|
+
attr_reader :network_interface_ipconfigurations
|
162
|
+
|
163
|
+
# @return [NetworkInterfaceLoadBalancers] network_interface_load_balancers
|
164
|
+
attr_reader :network_interface_load_balancers
|
165
|
+
|
166
|
+
# @return [NetworkInterfaceTapConfigurations]
|
167
|
+
# network_interface_tap_configurations
|
168
|
+
attr_reader :network_interface_tap_configurations
|
169
|
+
|
170
|
+
# @return [NetworkProfiles] network_profiles
|
171
|
+
attr_reader :network_profiles
|
172
|
+
|
173
|
+
# @return [NetworkSecurityGroups] network_security_groups
|
174
|
+
attr_reader :network_security_groups
|
175
|
+
|
176
|
+
# @return [SecurityRules] security_rules
|
177
|
+
attr_reader :security_rules
|
178
|
+
|
179
|
+
# @return [DefaultSecurityRules] default_security_rules
|
180
|
+
attr_reader :default_security_rules
|
181
|
+
|
182
|
+
# @return [NetworkVirtualAppliances] network_virtual_appliances
|
183
|
+
attr_reader :network_virtual_appliances
|
184
|
+
|
185
|
+
# @return [NetworkWatchers] network_watchers
|
186
|
+
attr_reader :network_watchers
|
187
|
+
|
188
|
+
# @return [PacketCaptures] packet_captures
|
189
|
+
attr_reader :packet_captures
|
190
|
+
|
191
|
+
# @return [ConnectionMonitors] connection_monitors
|
192
|
+
attr_reader :connection_monitors
|
193
|
+
|
194
|
+
# @return [FlowLogs] flow_logs
|
195
|
+
attr_reader :flow_logs
|
196
|
+
|
197
|
+
# @return [Operations] operations
|
198
|
+
attr_reader :operations
|
199
|
+
|
200
|
+
# @return [PrivateEndpoints] private_endpoints
|
201
|
+
attr_reader :private_endpoints
|
202
|
+
|
203
|
+
# @return [AvailablePrivateEndpointTypes] available_private_endpoint_types
|
204
|
+
attr_reader :available_private_endpoint_types
|
205
|
+
|
206
|
+
# @return [PrivateDnsZoneGroups] private_dns_zone_groups
|
207
|
+
attr_reader :private_dns_zone_groups
|
208
|
+
|
209
|
+
# @return [PrivateLinkServices] private_link_services
|
210
|
+
attr_reader :private_link_services
|
211
|
+
|
212
|
+
# @return [PublicIPAddresses] public_ipaddresses
|
213
|
+
attr_reader :public_ipaddresses
|
214
|
+
|
215
|
+
# @return [PublicIPPrefixes] public_ipprefixes
|
216
|
+
attr_reader :public_ipprefixes
|
217
|
+
|
218
|
+
# @return [RouteFilters] route_filters
|
219
|
+
attr_reader :route_filters
|
220
|
+
|
221
|
+
# @return [RouteFilterRules] route_filter_rules
|
222
|
+
attr_reader :route_filter_rules
|
223
|
+
|
224
|
+
# @return [RouteTables] route_tables
|
225
|
+
attr_reader :route_tables
|
226
|
+
|
227
|
+
# @return [Routes] routes
|
228
|
+
attr_reader :routes
|
229
|
+
|
230
|
+
# @return [SecurityPartnerProviders] security_partner_providers
|
231
|
+
attr_reader :security_partner_providers
|
232
|
+
|
233
|
+
# @return [BgpServiceCommunities] bgp_service_communities
|
234
|
+
attr_reader :bgp_service_communities
|
235
|
+
|
236
|
+
# @return [ServiceEndpointPolicies] service_endpoint_policies
|
237
|
+
attr_reader :service_endpoint_policies
|
238
|
+
|
239
|
+
# @return [ServiceEndpointPolicyDefinitions]
|
240
|
+
# service_endpoint_policy_definitions
|
241
|
+
attr_reader :service_endpoint_policy_definitions
|
242
|
+
|
243
|
+
# @return [ServiceTags] service_tags
|
244
|
+
attr_reader :service_tags
|
245
|
+
|
246
|
+
# @return [Usages] usages
|
247
|
+
attr_reader :usages
|
248
|
+
|
249
|
+
# @return [VirtualNetworks] virtual_networks
|
250
|
+
attr_reader :virtual_networks
|
251
|
+
|
252
|
+
# @return [Subnets] subnets
|
253
|
+
attr_reader :subnets
|
254
|
+
|
255
|
+
# @return [ResourceNavigationLinks] resource_navigation_links
|
256
|
+
attr_reader :resource_navigation_links
|
257
|
+
|
258
|
+
# @return [ServiceAssociationLinks] service_association_links
|
259
|
+
attr_reader :service_association_links
|
260
|
+
|
261
|
+
# @return [VirtualNetworkPeerings] virtual_network_peerings
|
262
|
+
attr_reader :virtual_network_peerings
|
263
|
+
|
264
|
+
# @return [VirtualNetworkGateways] virtual_network_gateways
|
265
|
+
attr_reader :virtual_network_gateways
|
266
|
+
|
267
|
+
# @return [VirtualNetworkGatewayConnections]
|
268
|
+
# virtual_network_gateway_connections
|
269
|
+
attr_reader :virtual_network_gateway_connections
|
270
|
+
|
271
|
+
# @return [LocalNetworkGateways] local_network_gateways
|
272
|
+
attr_reader :local_network_gateways
|
273
|
+
|
274
|
+
# @return [VirtualNetworkTaps] virtual_network_taps
|
275
|
+
attr_reader :virtual_network_taps
|
276
|
+
|
277
|
+
# @return [VirtualRouters] virtual_routers
|
278
|
+
attr_reader :virtual_routers
|
279
|
+
|
280
|
+
# @return [VirtualRouterPeerings] virtual_router_peerings
|
281
|
+
attr_reader :virtual_router_peerings
|
282
|
+
|
283
|
+
# @return [VirtualWans] virtual_wans
|
284
|
+
attr_reader :virtual_wans
|
285
|
+
|
286
|
+
# @return [VpnSites] vpn_sites
|
287
|
+
attr_reader :vpn_sites
|
288
|
+
|
289
|
+
# @return [VpnSiteLinks] vpn_site_links
|
290
|
+
attr_reader :vpn_site_links
|
291
|
+
|
292
|
+
# @return [VpnSitesConfiguration] vpn_sites_configuration
|
293
|
+
attr_reader :vpn_sites_configuration
|
294
|
+
|
295
|
+
# @return [VpnServerConfigurations] vpn_server_configurations
|
296
|
+
attr_reader :vpn_server_configurations
|
297
|
+
|
298
|
+
# @return [VirtualHubs] virtual_hubs
|
299
|
+
attr_reader :virtual_hubs
|
300
|
+
|
301
|
+
# @return [HubVirtualNetworkConnections] hub_virtual_network_connections
|
302
|
+
attr_reader :hub_virtual_network_connections
|
303
|
+
|
304
|
+
# @return [VpnGateways] vpn_gateways
|
305
|
+
attr_reader :vpn_gateways
|
306
|
+
|
307
|
+
# @return [VpnConnections] vpn_connections
|
308
|
+
attr_reader :vpn_connections
|
309
|
+
|
310
|
+
# @return [VpnSiteLinkConnections] vpn_site_link_connections
|
311
|
+
attr_reader :vpn_site_link_connections
|
312
|
+
|
313
|
+
# @return [VpnLinkConnections] vpn_link_connections
|
314
|
+
attr_reader :vpn_link_connections
|
315
|
+
|
316
|
+
# @return [P2sVpnGateways] p2s_vpn_gateways
|
317
|
+
attr_reader :p2s_vpn_gateways
|
318
|
+
|
319
|
+
# @return [VpnServerConfigurationsAssociatedWithVirtualWan]
|
320
|
+
# vpn_server_configurations_associated_with_virtual_wan
|
321
|
+
attr_reader :vpn_server_configurations_associated_with_virtual_wan
|
322
|
+
|
323
|
+
# @return [VirtualHubRouteTableV2s] virtual_hub_route_table_v2s
|
324
|
+
attr_reader :virtual_hub_route_table_v2s
|
325
|
+
|
326
|
+
# @return [ExpressRouteGateways] express_route_gateways
|
327
|
+
attr_reader :express_route_gateways
|
328
|
+
|
329
|
+
# @return [ExpressRouteConnections] express_route_connections
|
330
|
+
attr_reader :express_route_connections
|
331
|
+
|
332
|
+
# @return [WebApplicationFirewallPolicies]
|
333
|
+
# web_application_firewall_policies
|
334
|
+
attr_reader :web_application_firewall_policies
|
335
|
+
|
336
|
+
#
|
337
|
+
# Creates initializes a new instance of the NetworkManagementClient class.
|
338
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
339
|
+
# @param base_url [String] the base URI of the service.
|
340
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
341
|
+
#
|
342
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
343
|
+
super(credentials, options)
|
344
|
+
@base_url = base_url || 'https://management.azure.com'
|
345
|
+
|
346
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
347
|
+
@credentials = credentials
|
348
|
+
|
349
|
+
@application_gateways = ApplicationGateways.new(self)
|
350
|
+
@application_security_groups = ApplicationSecurityGroups.new(self)
|
351
|
+
@available_delegations = AvailableDelegations.new(self)
|
352
|
+
@available_resource_group_delegations = AvailableResourceGroupDelegations.new(self)
|
353
|
+
@available_service_aliases = AvailableServiceAliases.new(self)
|
354
|
+
@azure_firewalls = AzureFirewalls.new(self)
|
355
|
+
@azure_firewall_fqdn_tags = AzureFirewallFqdnTags.new(self)
|
356
|
+
@bastion_hosts = BastionHosts.new(self)
|
357
|
+
@ddos_custom_policies = DdosCustomPolicies.new(self)
|
358
|
+
@ddos_protection_plans = DdosProtectionPlans.new(self)
|
359
|
+
@available_endpoint_services = AvailableEndpointServices.new(self)
|
360
|
+
@express_route_circuit_authorizations = ExpressRouteCircuitAuthorizations.new(self)
|
361
|
+
@express_route_circuit_peerings = ExpressRouteCircuitPeerings.new(self)
|
362
|
+
@express_route_circuit_connections = ExpressRouteCircuitConnections.new(self)
|
363
|
+
@peer_express_route_circuit_connections = PeerExpressRouteCircuitConnections.new(self)
|
364
|
+
@express_route_circuits = ExpressRouteCircuits.new(self)
|
365
|
+
@express_route_service_providers = ExpressRouteServiceProviders.new(self)
|
366
|
+
@express_route_cross_connections = ExpressRouteCrossConnections.new(self)
|
367
|
+
@express_route_cross_connection_peerings = ExpressRouteCrossConnectionPeerings.new(self)
|
368
|
+
@express_route_ports_locations = ExpressRoutePortsLocations.new(self)
|
369
|
+
@express_route_ports = ExpressRoutePorts.new(self)
|
370
|
+
@express_route_links = ExpressRouteLinks.new(self)
|
371
|
+
@firewall_policies = FirewallPolicies.new(self)
|
372
|
+
@firewall_policy_rule_groups = FirewallPolicyRuleGroups.new(self)
|
373
|
+
@ip_allocations = IpAllocations.new(self)
|
374
|
+
@ip_groups = IpGroups.new(self)
|
375
|
+
@load_balancers = LoadBalancers.new(self)
|
376
|
+
@load_balancer_backend_address_pools = LoadBalancerBackendAddressPools.new(self)
|
377
|
+
@load_balancer_frontend_ipconfigurations = LoadBalancerFrontendIPConfigurations.new(self)
|
378
|
+
@inbound_nat_rules = InboundNatRules.new(self)
|
379
|
+
@load_balancer_load_balancing_rules = LoadBalancerLoadBalancingRules.new(self)
|
380
|
+
@load_balancer_outbound_rules = LoadBalancerOutboundRules.new(self)
|
381
|
+
@load_balancer_network_interfaces = LoadBalancerNetworkInterfaces.new(self)
|
382
|
+
@load_balancer_probes = LoadBalancerProbes.new(self)
|
383
|
+
@nat_gateways = NatGateways.new(self)
|
384
|
+
@network_interfaces = NetworkInterfaces.new(self)
|
385
|
+
@network_interface_ipconfigurations = NetworkInterfaceIPConfigurations.new(self)
|
386
|
+
@network_interface_load_balancers = NetworkInterfaceLoadBalancers.new(self)
|
387
|
+
@network_interface_tap_configurations = NetworkInterfaceTapConfigurations.new(self)
|
388
|
+
@network_profiles = NetworkProfiles.new(self)
|
389
|
+
@network_security_groups = NetworkSecurityGroups.new(self)
|
390
|
+
@security_rules = SecurityRules.new(self)
|
391
|
+
@default_security_rules = DefaultSecurityRules.new(self)
|
392
|
+
@network_virtual_appliances = NetworkVirtualAppliances.new(self)
|
393
|
+
@network_watchers = NetworkWatchers.new(self)
|
394
|
+
@packet_captures = PacketCaptures.new(self)
|
395
|
+
@connection_monitors = ConnectionMonitors.new(self)
|
396
|
+
@flow_logs = FlowLogs.new(self)
|
397
|
+
@operations = Operations.new(self)
|
398
|
+
@private_endpoints = PrivateEndpoints.new(self)
|
399
|
+
@available_private_endpoint_types = AvailablePrivateEndpointTypes.new(self)
|
400
|
+
@private_dns_zone_groups = PrivateDnsZoneGroups.new(self)
|
401
|
+
@private_link_services = PrivateLinkServices.new(self)
|
402
|
+
@public_ipaddresses = PublicIPAddresses.new(self)
|
403
|
+
@public_ipprefixes = PublicIPPrefixes.new(self)
|
404
|
+
@route_filters = RouteFilters.new(self)
|
405
|
+
@route_filter_rules = RouteFilterRules.new(self)
|
406
|
+
@route_tables = RouteTables.new(self)
|
407
|
+
@routes = Routes.new(self)
|
408
|
+
@security_partner_providers = SecurityPartnerProviders.new(self)
|
409
|
+
@bgp_service_communities = BgpServiceCommunities.new(self)
|
410
|
+
@service_endpoint_policies = ServiceEndpointPolicies.new(self)
|
411
|
+
@service_endpoint_policy_definitions = ServiceEndpointPolicyDefinitions.new(self)
|
412
|
+
@service_tags = ServiceTags.new(self)
|
413
|
+
@usages = Usages.new(self)
|
414
|
+
@virtual_networks = VirtualNetworks.new(self)
|
415
|
+
@subnets = Subnets.new(self)
|
416
|
+
@resource_navigation_links = ResourceNavigationLinks.new(self)
|
417
|
+
@service_association_links = ServiceAssociationLinks.new(self)
|
418
|
+
@virtual_network_peerings = VirtualNetworkPeerings.new(self)
|
419
|
+
@virtual_network_gateways = VirtualNetworkGateways.new(self)
|
420
|
+
@virtual_network_gateway_connections = VirtualNetworkGatewayConnections.new(self)
|
421
|
+
@local_network_gateways = LocalNetworkGateways.new(self)
|
422
|
+
@virtual_network_taps = VirtualNetworkTaps.new(self)
|
423
|
+
@virtual_routers = VirtualRouters.new(self)
|
424
|
+
@virtual_router_peerings = VirtualRouterPeerings.new(self)
|
425
|
+
@virtual_wans = VirtualWans.new(self)
|
426
|
+
@vpn_sites = VpnSites.new(self)
|
427
|
+
@vpn_site_links = VpnSiteLinks.new(self)
|
428
|
+
@vpn_sites_configuration = VpnSitesConfiguration.new(self)
|
429
|
+
@vpn_server_configurations = VpnServerConfigurations.new(self)
|
430
|
+
@virtual_hubs = VirtualHubs.new(self)
|
431
|
+
@hub_virtual_network_connections = HubVirtualNetworkConnections.new(self)
|
432
|
+
@vpn_gateways = VpnGateways.new(self)
|
433
|
+
@vpn_connections = VpnConnections.new(self)
|
434
|
+
@vpn_site_link_connections = VpnSiteLinkConnections.new(self)
|
435
|
+
@vpn_link_connections = VpnLinkConnections.new(self)
|
436
|
+
@p2s_vpn_gateways = P2sVpnGateways.new(self)
|
437
|
+
@vpn_server_configurations_associated_with_virtual_wan = VpnServerConfigurationsAssociatedWithVirtualWan.new(self)
|
438
|
+
@virtual_hub_route_table_v2s = VirtualHubRouteTableV2s.new(self)
|
439
|
+
@express_route_gateways = ExpressRouteGateways.new(self)
|
440
|
+
@express_route_connections = ExpressRouteConnections.new(self)
|
441
|
+
@web_application_firewall_policies = WebApplicationFirewallPolicies.new(self)
|
442
|
+
@api_version = '2020-03-01'
|
443
|
+
@api_version1 = '2017-03-30'
|
444
|
+
@accept_language = 'en-US'
|
445
|
+
@long_running_operation_retry_timeout = 30
|
446
|
+
@generate_client_request_id = true
|
447
|
+
add_telemetry
|
448
|
+
end
|
449
|
+
|
450
|
+
#
|
451
|
+
# Makes a request and returns the body of the response.
|
452
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
453
|
+
# @param path [String] the path, relative to {base_url}.
|
454
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
455
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
456
|
+
# Example:
|
457
|
+
#
|
458
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
459
|
+
# path = "/path"
|
460
|
+
# options = {
|
461
|
+
# body: request_content,
|
462
|
+
# query_params: {'api-version' => '2016-02-01'}
|
463
|
+
# }
|
464
|
+
# result = @client.make_request(:put, path, options)
|
465
|
+
#
|
466
|
+
def make_request(method, path, options = {})
|
467
|
+
result = make_request_with_http_info(method, path, options)
|
468
|
+
result.body unless result.nil?
|
469
|
+
end
|
470
|
+
|
471
|
+
#
|
472
|
+
# Makes a request and returns the operation response.
|
473
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
474
|
+
# @param path [String] the path, relative to {base_url}.
|
475
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
476
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
477
|
+
#
|
478
|
+
def make_request_with_http_info(method, path, options = {})
|
479
|
+
result = make_request_async(method, path, options).value!
|
480
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
481
|
+
result
|
482
|
+
end
|
483
|
+
|
484
|
+
#
|
485
|
+
# Makes a request asynchronously.
|
486
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
487
|
+
# @param path [String] the path, relative to {base_url}.
|
488
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
489
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
490
|
+
#
|
491
|
+
def make_request_async(method, path, options = {})
|
492
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
493
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
494
|
+
|
495
|
+
request_url = options[:base_url] || @base_url
|
496
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
497
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
498
|
+
end
|
499
|
+
|
500
|
+
request_headers = @request_headers
|
501
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
502
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
503
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
504
|
+
|
505
|
+
super(request_url, method, path, options)
|
506
|
+
end
|
507
|
+
|
508
|
+
#
|
509
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
510
|
+
#
|
511
|
+
# @param resource_group_name [String] The name of the resource group.
|
512
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
513
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
514
|
+
# Bastion Shareable Link endpoints.
|
515
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
516
|
+
# will be added to the HTTP request.
|
517
|
+
#
|
518
|
+
# @return [Array<BastionShareableLink>] operation results.
|
519
|
+
#
|
520
|
+
def put_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
521
|
+
first_page = put_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
|
522
|
+
first_page.get_all_items
|
523
|
+
end
|
524
|
+
|
525
|
+
#
|
526
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
527
|
+
#
|
528
|
+
# @param resource_group_name [String] The name of the resource group.
|
529
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
530
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
531
|
+
# Bastion Shareable Link endpoints.
|
532
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
533
|
+
# will be added to the HTTP request.
|
534
|
+
#
|
535
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
536
|
+
#
|
537
|
+
def put_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
538
|
+
put_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
|
539
|
+
end
|
540
|
+
|
541
|
+
#
|
542
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
543
|
+
#
|
544
|
+
# @param resource_group_name [String] The name of the resource group.
|
545
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
546
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
547
|
+
# Bastion Shareable Link endpoints.
|
548
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
549
|
+
# to the HTTP request.
|
550
|
+
#
|
551
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
552
|
+
#
|
553
|
+
def put_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
554
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
555
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
556
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
557
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
558
|
+
fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
|
559
|
+
|
560
|
+
|
561
|
+
request_headers = {}
|
562
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
563
|
+
|
564
|
+
# Set Headers
|
565
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
566
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
567
|
+
|
568
|
+
# Serialize Request
|
569
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListRequest.mapper()
|
570
|
+
request_content = self.serialize(request_mapper, bsl_request)
|
571
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
572
|
+
|
573
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'
|
574
|
+
|
575
|
+
request_url = @base_url || self.base_url
|
576
|
+
|
577
|
+
options = {
|
578
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
579
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
|
580
|
+
query_params: {'api-version' => api_version},
|
581
|
+
body: request_content,
|
582
|
+
headers: request_headers.merge(custom_headers || {}),
|
583
|
+
base_url: request_url
|
584
|
+
}
|
585
|
+
promise = self.make_request_async(:post, path_template, options)
|
586
|
+
|
587
|
+
promise = promise.then do |result|
|
588
|
+
http_response = result.response
|
589
|
+
status_code = http_response.status
|
590
|
+
response_content = http_response.body
|
591
|
+
unless status_code == 200 || status_code == 202
|
592
|
+
error_model = JSON.load(response_content)
|
593
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
594
|
+
end
|
595
|
+
|
596
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
597
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
598
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
599
|
+
# Deserialize Response
|
600
|
+
if status_code == 200
|
601
|
+
begin
|
602
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
603
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListResult.mapper()
|
604
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
605
|
+
rescue Exception => e
|
606
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
610
|
+
result
|
611
|
+
end
|
612
|
+
|
613
|
+
promise.execute
|
614
|
+
end
|
615
|
+
|
616
|
+
#
|
617
|
+
# Deletes the Bastion Shareable Links for all the VMs specified in the request.
|
618
|
+
#
|
619
|
+
# @param resource_group_name [String] The name of the resource group.
|
620
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
621
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
622
|
+
# Bastion Shareable Link endpoints.
|
623
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
624
|
+
# will be added to the HTTP request.
|
625
|
+
#
|
626
|
+
#
|
627
|
+
def delete_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
628
|
+
response = delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
|
629
|
+
nil
|
630
|
+
end
|
631
|
+
|
632
|
+
#
|
633
|
+
# Deletes the Bastion Shareable Links for all the VMs specified in the request.
|
634
|
+
#
|
635
|
+
# @param resource_group_name [String] The name of the resource group.
|
636
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
637
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
638
|
+
# Bastion Shareable Link endpoints.
|
639
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
640
|
+
# will be added to the HTTP request.
|
641
|
+
#
|
642
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
643
|
+
#
|
644
|
+
def delete_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
645
|
+
delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
|
646
|
+
end
|
647
|
+
|
648
|
+
#
|
649
|
+
# Deletes the Bastion Shareable Links for all the VMs specified in the request.
|
650
|
+
#
|
651
|
+
# @param resource_group_name [String] The name of the resource group.
|
652
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
653
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
654
|
+
# Bastion Shareable Link endpoints.
|
655
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
656
|
+
# to the HTTP request.
|
657
|
+
#
|
658
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
659
|
+
#
|
660
|
+
def delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
661
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
662
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
663
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
664
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
665
|
+
fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
|
666
|
+
|
667
|
+
|
668
|
+
request_headers = {}
|
669
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
670
|
+
|
671
|
+
# Set Headers
|
672
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
673
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
674
|
+
|
675
|
+
# Serialize Request
|
676
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListRequest.mapper()
|
677
|
+
request_content = self.serialize(request_mapper, bsl_request)
|
678
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
679
|
+
|
680
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks'
|
681
|
+
|
682
|
+
request_url = @base_url || self.base_url
|
683
|
+
|
684
|
+
options = {
|
685
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
686
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
|
687
|
+
query_params: {'api-version' => api_version},
|
688
|
+
body: request_content,
|
689
|
+
headers: request_headers.merge(custom_headers || {}),
|
690
|
+
base_url: request_url
|
691
|
+
}
|
692
|
+
promise = self.make_request_async(:post, path_template, options)
|
693
|
+
|
694
|
+
promise = promise.then do |result|
|
695
|
+
http_response = result.response
|
696
|
+
status_code = http_response.status
|
697
|
+
response_content = http_response.body
|
698
|
+
unless status_code == 200 || status_code == 202
|
699
|
+
error_model = JSON.load(response_content)
|
700
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
701
|
+
end
|
702
|
+
|
703
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
704
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
705
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
706
|
+
|
707
|
+
result
|
708
|
+
end
|
709
|
+
|
710
|
+
promise.execute
|
711
|
+
end
|
712
|
+
|
713
|
+
#
|
714
|
+
# Return the Bastion Shareable Links for all the VMs specified in the request.
|
715
|
+
#
|
716
|
+
# @param resource_group_name [String] The name of the resource group.
|
717
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
718
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
719
|
+
# Bastion Shareable Link endpoints.
|
720
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
721
|
+
# will be added to the HTTP request.
|
722
|
+
#
|
723
|
+
# @return [Array<BastionShareableLink>] operation results.
|
724
|
+
#
|
725
|
+
def get_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
726
|
+
first_page = get_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
|
727
|
+
first_page.get_all_items
|
728
|
+
end
|
729
|
+
|
730
|
+
#
|
731
|
+
# Return the Bastion Shareable Links for all the VMs specified in the request.
|
732
|
+
#
|
733
|
+
# @param resource_group_name [String] The name of the resource group.
|
734
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
735
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
736
|
+
# Bastion Shareable Link endpoints.
|
737
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
738
|
+
# will be added to the HTTP request.
|
739
|
+
#
|
740
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
741
|
+
#
|
742
|
+
def get_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
743
|
+
get_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
|
744
|
+
end
|
745
|
+
|
746
|
+
#
|
747
|
+
# Return the Bastion Shareable Links for all the VMs specified in the request.
|
748
|
+
#
|
749
|
+
# @param resource_group_name [String] The name of the resource group.
|
750
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
751
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
752
|
+
# Bastion Shareable Link endpoints.
|
753
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
754
|
+
# to the HTTP request.
|
755
|
+
#
|
756
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
757
|
+
#
|
758
|
+
def get_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
759
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
760
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
761
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
762
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
763
|
+
fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
|
764
|
+
|
765
|
+
|
766
|
+
request_headers = {}
|
767
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
768
|
+
|
769
|
+
# Set Headers
|
770
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
771
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
772
|
+
|
773
|
+
# Serialize Request
|
774
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListRequest.mapper()
|
775
|
+
request_content = self.serialize(request_mapper, bsl_request)
|
776
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
777
|
+
|
778
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks'
|
779
|
+
|
780
|
+
request_url = @base_url || self.base_url
|
781
|
+
|
782
|
+
options = {
|
783
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
784
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
|
785
|
+
query_params: {'api-version' => api_version},
|
786
|
+
body: request_content,
|
787
|
+
headers: request_headers.merge(custom_headers || {}),
|
788
|
+
base_url: request_url
|
789
|
+
}
|
790
|
+
promise = self.make_request_async(:post, path_template, options)
|
791
|
+
|
792
|
+
promise = promise.then do |result|
|
793
|
+
http_response = result.response
|
794
|
+
status_code = http_response.status
|
795
|
+
response_content = http_response.body
|
796
|
+
unless status_code == 200
|
797
|
+
error_model = JSON.load(response_content)
|
798
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
799
|
+
end
|
800
|
+
|
801
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
802
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
803
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
804
|
+
# Deserialize Response
|
805
|
+
if status_code == 200
|
806
|
+
begin
|
807
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
808
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListResult.mapper()
|
809
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
810
|
+
rescue Exception => e
|
811
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
812
|
+
end
|
813
|
+
end
|
814
|
+
|
815
|
+
result
|
816
|
+
end
|
817
|
+
|
818
|
+
promise.execute
|
819
|
+
end
|
820
|
+
|
821
|
+
#
|
822
|
+
# Returns the list of currently active sessions on the Bastion.
|
823
|
+
#
|
824
|
+
# @param resource_group_name [String] The name of the resource group.
|
825
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
826
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
827
|
+
# will be added to the HTTP request.
|
828
|
+
#
|
829
|
+
# @return [Array<BastionActiveSession>] operation results.
|
830
|
+
#
|
831
|
+
def get_active_sessions(resource_group_name, bastion_host_name, custom_headers:nil)
|
832
|
+
first_page = get_active_sessions_as_lazy(resource_group_name, bastion_host_name, custom_headers:custom_headers)
|
833
|
+
first_page.get_all_items
|
834
|
+
end
|
835
|
+
|
836
|
+
#
|
837
|
+
# Returns the list of currently active sessions on the Bastion.
|
838
|
+
#
|
839
|
+
# @param resource_group_name [String] The name of the resource group.
|
840
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
841
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
842
|
+
# will be added to the HTTP request.
|
843
|
+
#
|
844
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
845
|
+
#
|
846
|
+
def get_active_sessions_with_http_info(resource_group_name, bastion_host_name, custom_headers:nil)
|
847
|
+
get_active_sessions_async(resource_group_name, bastion_host_name, custom_headers:custom_headers).value!
|
848
|
+
end
|
849
|
+
|
850
|
+
#
|
851
|
+
# Returns the list of currently active sessions on the Bastion.
|
852
|
+
#
|
853
|
+
# @param resource_group_name [String] The name of the resource group.
|
854
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
855
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
856
|
+
# to the HTTP request.
|
857
|
+
#
|
858
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
859
|
+
#
|
860
|
+
def get_active_sessions_async(resource_group_name, bastion_host_name, custom_headers:nil)
|
861
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
862
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
863
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
864
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
865
|
+
|
866
|
+
|
867
|
+
request_headers = {}
|
868
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
869
|
+
|
870
|
+
# Set Headers
|
871
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
872
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
873
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'
|
874
|
+
|
875
|
+
request_url = @base_url || self.base_url
|
876
|
+
|
877
|
+
options = {
|
878
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
879
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
|
880
|
+
query_params: {'api-version' => api_version},
|
881
|
+
headers: request_headers.merge(custom_headers || {}),
|
882
|
+
base_url: request_url
|
883
|
+
}
|
884
|
+
promise = self.make_request_async(:post, path_template, options)
|
885
|
+
|
886
|
+
promise = promise.then do |result|
|
887
|
+
http_response = result.response
|
888
|
+
status_code = http_response.status
|
889
|
+
response_content = http_response.body
|
890
|
+
unless status_code == 200 || status_code == 202
|
891
|
+
error_model = JSON.load(response_content)
|
892
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
893
|
+
end
|
894
|
+
|
895
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
896
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
897
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
898
|
+
# Deserialize Response
|
899
|
+
if status_code == 200
|
900
|
+
begin
|
901
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
902
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionActiveSessionListResult.mapper()
|
903
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
904
|
+
rescue Exception => e
|
905
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
909
|
+
result
|
910
|
+
end
|
911
|
+
|
912
|
+
promise.execute
|
913
|
+
end
|
914
|
+
|
915
|
+
#
|
916
|
+
# Returns the list of currently active sessions on the Bastion.
|
917
|
+
#
|
918
|
+
# @param resource_group_name [String] The name of the resource group.
|
919
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
920
|
+
# @param session_ids [SessionIds] The list of sessionids to disconnect.
|
921
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
922
|
+
# will be added to the HTTP request.
|
923
|
+
#
|
924
|
+
# @return [Array<BastionSessionState>] operation results.
|
925
|
+
#
|
926
|
+
def disconnect_active_sessions(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
|
927
|
+
first_page = disconnect_active_sessions_as_lazy(resource_group_name, bastion_host_name, session_ids, custom_headers:custom_headers)
|
928
|
+
first_page.get_all_items
|
929
|
+
end
|
930
|
+
|
931
|
+
#
|
932
|
+
# Returns the list of currently active sessions on the Bastion.
|
933
|
+
#
|
934
|
+
# @param resource_group_name [String] The name of the resource group.
|
935
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
936
|
+
# @param session_ids [SessionIds] The list of sessionids to disconnect.
|
937
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
938
|
+
# will be added to the HTTP request.
|
939
|
+
#
|
940
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
941
|
+
#
|
942
|
+
def disconnect_active_sessions_with_http_info(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
|
943
|
+
disconnect_active_sessions_async(resource_group_name, bastion_host_name, session_ids, custom_headers:custom_headers).value!
|
944
|
+
end
|
945
|
+
|
946
|
+
#
|
947
|
+
# Returns the list of currently active sessions on the Bastion.
|
948
|
+
#
|
949
|
+
# @param resource_group_name [String] The name of the resource group.
|
950
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
951
|
+
# @param session_ids [SessionIds] The list of sessionids to disconnect.
|
952
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
953
|
+
# to the HTTP request.
|
954
|
+
#
|
955
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
956
|
+
#
|
957
|
+
def disconnect_active_sessions_async(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
|
958
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
959
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
960
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
961
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
962
|
+
fail ArgumentError, 'session_ids is nil' if session_ids.nil?
|
963
|
+
|
964
|
+
|
965
|
+
request_headers = {}
|
966
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
967
|
+
|
968
|
+
# Set Headers
|
969
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
970
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
971
|
+
|
972
|
+
# Serialize Request
|
973
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::SessionIds.mapper()
|
974
|
+
request_content = self.serialize(request_mapper, session_ids)
|
975
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
976
|
+
|
977
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions'
|
978
|
+
|
979
|
+
request_url = @base_url || self.base_url
|
980
|
+
|
981
|
+
options = {
|
982
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
983
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
|
984
|
+
query_params: {'api-version' => api_version},
|
985
|
+
body: request_content,
|
986
|
+
headers: request_headers.merge(custom_headers || {}),
|
987
|
+
base_url: request_url
|
988
|
+
}
|
989
|
+
promise = self.make_request_async(:post, path_template, options)
|
990
|
+
|
991
|
+
promise = promise.then do |result|
|
992
|
+
http_response = result.response
|
993
|
+
status_code = http_response.status
|
994
|
+
response_content = http_response.body
|
995
|
+
unless status_code == 200
|
996
|
+
error_model = JSON.load(response_content)
|
997
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
998
|
+
end
|
999
|
+
|
1000
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1001
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1002
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1003
|
+
# Deserialize Response
|
1004
|
+
if status_code == 200
|
1005
|
+
begin
|
1006
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1007
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionSessionDeleteResult.mapper()
|
1008
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
1009
|
+
rescue Exception => e
|
1010
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1011
|
+
end
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
result
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
promise.execute
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
#
|
1021
|
+
# Checks whether a domain name in the cloudapp.azure.com zone is available for
|
1022
|
+
# use.
|
1023
|
+
#
|
1024
|
+
# @param location [String] The location of the domain name.
|
1025
|
+
# @param domain_name_label [String] The domain name to be verified. It must
|
1026
|
+
# conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
|
1027
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1028
|
+
# will be added to the HTTP request.
|
1029
|
+
#
|
1030
|
+
# @return [DnsNameAvailabilityResult] operation results.
|
1031
|
+
#
|
1032
|
+
def check_dns_name_availability(location, domain_name_label, custom_headers:nil)
|
1033
|
+
response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value!
|
1034
|
+
response.body unless response.nil?
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
#
|
1038
|
+
# Checks whether a domain name in the cloudapp.azure.com zone is available for
|
1039
|
+
# use.
|
1040
|
+
#
|
1041
|
+
# @param location [String] The location of the domain name.
|
1042
|
+
# @param domain_name_label [String] The domain name to be verified. It must
|
1043
|
+
# conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
|
1044
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1045
|
+
# will be added to the HTTP request.
|
1046
|
+
#
|
1047
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1048
|
+
#
|
1049
|
+
def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil)
|
1050
|
+
check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value!
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
#
|
1054
|
+
# Checks whether a domain name in the cloudapp.azure.com zone is available for
|
1055
|
+
# use.
|
1056
|
+
#
|
1057
|
+
# @param location [String] The location of the domain name.
|
1058
|
+
# @param domain_name_label [String] The domain name to be verified. It must
|
1059
|
+
# conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
|
1060
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1061
|
+
# to the HTTP request.
|
1062
|
+
#
|
1063
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1064
|
+
#
|
1065
|
+
def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil)
|
1066
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
1067
|
+
fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil?
|
1068
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1069
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
1070
|
+
|
1071
|
+
|
1072
|
+
request_headers = {}
|
1073
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1074
|
+
|
1075
|
+
# Set Headers
|
1076
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1077
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1078
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability'
|
1079
|
+
|
1080
|
+
request_url = @base_url || self.base_url
|
1081
|
+
|
1082
|
+
options = {
|
1083
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1084
|
+
path_params: {'location' => location,'subscriptionId' => subscription_id},
|
1085
|
+
query_params: {'domainNameLabel' => domain_name_label,'api-version' => api_version},
|
1086
|
+
headers: request_headers.merge(custom_headers || {}),
|
1087
|
+
base_url: request_url
|
1088
|
+
}
|
1089
|
+
promise = self.make_request_async(:get, path_template, options)
|
1090
|
+
|
1091
|
+
promise = promise.then do |result|
|
1092
|
+
http_response = result.response
|
1093
|
+
status_code = http_response.status
|
1094
|
+
response_content = http_response.body
|
1095
|
+
unless status_code == 200
|
1096
|
+
error_model = JSON.load(response_content)
|
1097
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1101
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1102
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1103
|
+
# Deserialize Response
|
1104
|
+
if status_code == 200
|
1105
|
+
begin
|
1106
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1107
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::DnsNameAvailabilityResult.mapper()
|
1108
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
1109
|
+
rescue Exception => e
|
1110
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1111
|
+
end
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
result
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
promise.execute
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
#
|
1121
|
+
# Gives the supported security providers for the virtual wan.
|
1122
|
+
#
|
1123
|
+
# @param resource_group_name [String] The resource group name.
|
1124
|
+
# @param virtual_wanname [String] The name of the VirtualWAN for which
|
1125
|
+
# supported security providers are needed.
|
1126
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1127
|
+
# will be added to the HTTP request.
|
1128
|
+
#
|
1129
|
+
# @return [VirtualWanSecurityProviders] operation results.
|
1130
|
+
#
|
1131
|
+
def supported_security_providers(resource_group_name, virtual_wanname, custom_headers:nil)
|
1132
|
+
response = supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:custom_headers).value!
|
1133
|
+
response.body unless response.nil?
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
#
|
1137
|
+
# Gives the supported security providers for the virtual wan.
|
1138
|
+
#
|
1139
|
+
# @param resource_group_name [String] The resource group name.
|
1140
|
+
# @param virtual_wanname [String] The name of the VirtualWAN for which
|
1141
|
+
# supported security providers are needed.
|
1142
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1143
|
+
# will be added to the HTTP request.
|
1144
|
+
#
|
1145
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1146
|
+
#
|
1147
|
+
def supported_security_providers_with_http_info(resource_group_name, virtual_wanname, custom_headers:nil)
|
1148
|
+
supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:custom_headers).value!
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
#
|
1152
|
+
# Gives the supported security providers for the virtual wan.
|
1153
|
+
#
|
1154
|
+
# @param resource_group_name [String] The resource group name.
|
1155
|
+
# @param virtual_wanname [String] The name of the VirtualWAN for which
|
1156
|
+
# supported security providers are needed.
|
1157
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1158
|
+
# to the HTTP request.
|
1159
|
+
#
|
1160
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1161
|
+
#
|
1162
|
+
def supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:nil)
|
1163
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
1164
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1165
|
+
fail ArgumentError, 'virtual_wanname is nil' if virtual_wanname.nil?
|
1166
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1167
|
+
|
1168
|
+
|
1169
|
+
request_headers = {}
|
1170
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1171
|
+
|
1172
|
+
# Set Headers
|
1173
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1174
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1175
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders'
|
1176
|
+
|
1177
|
+
request_url = @base_url || self.base_url
|
1178
|
+
|
1179
|
+
options = {
|
1180
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1181
|
+
path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'virtualWANName' => virtual_wanname},
|
1182
|
+
query_params: {'api-version' => api_version},
|
1183
|
+
headers: request_headers.merge(custom_headers || {}),
|
1184
|
+
base_url: request_url
|
1185
|
+
}
|
1186
|
+
promise = self.make_request_async(:get, path_template, options)
|
1187
|
+
|
1188
|
+
promise = promise.then do |result|
|
1189
|
+
http_response = result.response
|
1190
|
+
status_code = http_response.status
|
1191
|
+
response_content = http_response.body
|
1192
|
+
unless status_code == 200
|
1193
|
+
error_model = JSON.load(response_content)
|
1194
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1198
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1199
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1200
|
+
# Deserialize Response
|
1201
|
+
if status_code == 200
|
1202
|
+
begin
|
1203
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1204
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::VirtualWanSecurityProviders.mapper()
|
1205
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
1206
|
+
rescue Exception => e
|
1207
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
result
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
promise.execute
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
#
|
1218
|
+
# Generates a unique VPN profile for P2S clients for VirtualWan and associated
|
1219
|
+
# VpnServerConfiguration combination in the specified resource group.
|
1220
|
+
#
|
1221
|
+
# @param resource_group_name [String] The resource group name.
|
1222
|
+
# @param virtual_wanname [String] The name of the VirtualWAN whose associated
|
1223
|
+
# VpnServerConfigurations is needed.
|
1224
|
+
# @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
|
1225
|
+
# to the generate VirtualWan VPN profile generation operation.
|
1226
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1227
|
+
# will be added to the HTTP request.
|
1228
|
+
#
|
1229
|
+
# @return [VpnProfileResponse] operation results.
|
1230
|
+
#
|
1231
|
+
def generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
|
1232
|
+
response = generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
|
1233
|
+
response.body unless response.nil?
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
#
|
1237
|
+
# Generates a unique VPN profile for P2S clients for VirtualWan and associated
|
1238
|
+
# VpnServerConfiguration combination in the specified resource group.
|
1239
|
+
#
|
1240
|
+
# @param resource_group_name [String] The resource group name.
|
1241
|
+
# @param virtual_wanname [String] The name of the VirtualWAN whose associated
|
1242
|
+
# VpnServerConfigurations is needed.
|
1243
|
+
# @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
|
1244
|
+
# to the generate VirtualWan VPN profile generation operation.
|
1245
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1246
|
+
# will be added to the HTTP request.
|
1247
|
+
#
|
1248
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1249
|
+
#
|
1250
|
+
def generatevirtualwanvpnserverconfigurationvpnprofile_with_http_info(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
|
1251
|
+
generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
#
|
1255
|
+
# Generates a unique VPN profile for P2S clients for VirtualWan and associated
|
1256
|
+
# VpnServerConfiguration combination in the specified resource group.
|
1257
|
+
#
|
1258
|
+
# @param resource_group_name [String] The resource group name.
|
1259
|
+
# @param virtual_wanname [String] The name of the VirtualWAN whose associated
|
1260
|
+
# VpnServerConfigurations is needed.
|
1261
|
+
# @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
|
1262
|
+
# to the generate VirtualWan VPN profile generation operation.
|
1263
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1264
|
+
# to the HTTP request.
|
1265
|
+
#
|
1266
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1267
|
+
#
|
1268
|
+
def generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
|
1269
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
1270
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1271
|
+
fail ArgumentError, 'virtual_wanname is nil' if virtual_wanname.nil?
|
1272
|
+
fail ArgumentError, 'vpn_client_params is nil' if vpn_client_params.nil?
|
1273
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1274
|
+
|
1275
|
+
|
1276
|
+
request_headers = {}
|
1277
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1278
|
+
|
1279
|
+
# Set Headers
|
1280
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1281
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1282
|
+
|
1283
|
+
# Serialize Request
|
1284
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::VirtualWanVpnProfileParameters.mapper()
|
1285
|
+
request_content = self.serialize(request_mapper, vpn_client_params)
|
1286
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1287
|
+
|
1288
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'
|
1289
|
+
|
1290
|
+
request_url = @base_url || self.base_url
|
1291
|
+
|
1292
|
+
options = {
|
1293
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1294
|
+
path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'virtualWANName' => virtual_wanname},
|
1295
|
+
query_params: {'api-version' => api_version},
|
1296
|
+
body: request_content,
|
1297
|
+
headers: request_headers.merge(custom_headers || {}),
|
1298
|
+
base_url: request_url
|
1299
|
+
}
|
1300
|
+
promise = self.make_request_async(:post, path_template, options)
|
1301
|
+
|
1302
|
+
promise = promise.then do |result|
|
1303
|
+
http_response = result.response
|
1304
|
+
status_code = http_response.status
|
1305
|
+
response_content = http_response.body
|
1306
|
+
unless status_code == 200 || status_code == 202
|
1307
|
+
error_model = JSON.load(response_content)
|
1308
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1312
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1313
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1314
|
+
# Deserialize Response
|
1315
|
+
if status_code == 200
|
1316
|
+
begin
|
1317
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1318
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::VpnProfileResponse.mapper()
|
1319
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
1320
|
+
rescue Exception => e
|
1321
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1322
|
+
end
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
result
|
1326
|
+
end
|
1327
|
+
|
1328
|
+
promise.execute
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
#
|
1332
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
1333
|
+
#
|
1334
|
+
# @param resource_group_name [String] The name of the resource group.
|
1335
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
1336
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
1337
|
+
# Bastion Shareable Link endpoints.
|
1338
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1339
|
+
# will be added to the HTTP request.
|
1340
|
+
#
|
1341
|
+
# @return [Array<BastionShareableLink>] operation results.
|
1342
|
+
#
|
1343
|
+
def begin_put_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
1344
|
+
first_page = begin_put_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
|
1345
|
+
first_page.get_all_items
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
#
|
1349
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
1350
|
+
#
|
1351
|
+
# @param resource_group_name [String] The name of the resource group.
|
1352
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
1353
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
1354
|
+
# Bastion Shareable Link endpoints.
|
1355
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1356
|
+
# will be added to the HTTP request.
|
1357
|
+
#
|
1358
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1359
|
+
#
|
1360
|
+
def begin_put_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
1361
|
+
begin_put_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
#
|
1365
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
1366
|
+
#
|
1367
|
+
# @param resource_group_name [String] The name of the resource group.
|
1368
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
1369
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
1370
|
+
# Bastion Shareable Link endpoints.
|
1371
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1372
|
+
# to the HTTP request.
|
1373
|
+
#
|
1374
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1375
|
+
#
|
1376
|
+
def begin_put_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
1377
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1378
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
1379
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1380
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
1381
|
+
fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
|
1382
|
+
|
1383
|
+
|
1384
|
+
request_headers = {}
|
1385
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1386
|
+
|
1387
|
+
# Set Headers
|
1388
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1389
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1390
|
+
|
1391
|
+
# Serialize Request
|
1392
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListRequest.mapper()
|
1393
|
+
request_content = self.serialize(request_mapper, bsl_request)
|
1394
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1395
|
+
|
1396
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'
|
1397
|
+
|
1398
|
+
request_url = @base_url || self.base_url
|
1399
|
+
|
1400
|
+
options = {
|
1401
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1402
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
|
1403
|
+
query_params: {'api-version' => api_version},
|
1404
|
+
body: request_content,
|
1405
|
+
headers: request_headers.merge(custom_headers || {}),
|
1406
|
+
base_url: request_url
|
1407
|
+
}
|
1408
|
+
promise = self.make_request_async(:post, path_template, options)
|
1409
|
+
|
1410
|
+
promise = promise.then do |result|
|
1411
|
+
http_response = result.response
|
1412
|
+
status_code = http_response.status
|
1413
|
+
response_content = http_response.body
|
1414
|
+
unless status_code == 200 || status_code == 202
|
1415
|
+
error_model = JSON.load(response_content)
|
1416
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1417
|
+
end
|
1418
|
+
|
1419
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1420
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1421
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1422
|
+
# Deserialize Response
|
1423
|
+
if status_code == 200
|
1424
|
+
begin
|
1425
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1426
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListResult.mapper()
|
1427
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
1428
|
+
rescue Exception => e
|
1429
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
result
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
promise.execute
|
1437
|
+
end
|
1438
|
+
|
1439
|
+
#
|
1440
|
+
# Deletes the Bastion Shareable Links for all the VMs specified in the request.
|
1441
|
+
#
|
1442
|
+
# @param resource_group_name [String] The name of the resource group.
|
1443
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
1444
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
1445
|
+
# Bastion Shareable Link endpoints.
|
1446
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1447
|
+
# will be added to the HTTP request.
|
1448
|
+
#
|
1449
|
+
#
|
1450
|
+
def begin_delete_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
1451
|
+
response = begin_delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
|
1452
|
+
nil
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
#
|
1456
|
+
# Deletes the Bastion Shareable Links for all the VMs specified in the request.
|
1457
|
+
#
|
1458
|
+
# @param resource_group_name [String] The name of the resource group.
|
1459
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
1460
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
1461
|
+
# Bastion Shareable Link endpoints.
|
1462
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1463
|
+
# will be added to the HTTP request.
|
1464
|
+
#
|
1465
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1466
|
+
#
|
1467
|
+
def begin_delete_bastion_shareable_link_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
1468
|
+
begin_delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
#
|
1472
|
+
# Deletes the Bastion Shareable Links for all the VMs specified in the request.
|
1473
|
+
#
|
1474
|
+
# @param resource_group_name [String] The name of the resource group.
|
1475
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
1476
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
1477
|
+
# Bastion Shareable Link endpoints.
|
1478
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1479
|
+
# to the HTTP request.
|
1480
|
+
#
|
1481
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1482
|
+
#
|
1483
|
+
def begin_delete_bastion_shareable_link_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
1484
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1485
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
1486
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1487
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
1488
|
+
fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
|
1489
|
+
|
1490
|
+
|
1491
|
+
request_headers = {}
|
1492
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1493
|
+
|
1494
|
+
# Set Headers
|
1495
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1496
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1497
|
+
|
1498
|
+
# Serialize Request
|
1499
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListRequest.mapper()
|
1500
|
+
request_content = self.serialize(request_mapper, bsl_request)
|
1501
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1502
|
+
|
1503
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks'
|
1504
|
+
|
1505
|
+
request_url = @base_url || self.base_url
|
1506
|
+
|
1507
|
+
options = {
|
1508
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1509
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
|
1510
|
+
query_params: {'api-version' => api_version},
|
1511
|
+
body: request_content,
|
1512
|
+
headers: request_headers.merge(custom_headers || {}),
|
1513
|
+
base_url: request_url
|
1514
|
+
}
|
1515
|
+
promise = self.make_request_async(:post, path_template, options)
|
1516
|
+
|
1517
|
+
promise = promise.then do |result|
|
1518
|
+
http_response = result.response
|
1519
|
+
status_code = http_response.status
|
1520
|
+
response_content = http_response.body
|
1521
|
+
unless status_code == 200 || status_code == 202
|
1522
|
+
error_model = JSON.load(response_content)
|
1523
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1524
|
+
end
|
1525
|
+
|
1526
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1527
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1528
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1529
|
+
|
1530
|
+
result
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
promise.execute
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
#
|
1537
|
+
# Returns the list of currently active sessions on the Bastion.
|
1538
|
+
#
|
1539
|
+
# @param resource_group_name [String] The name of the resource group.
|
1540
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
1541
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1542
|
+
# will be added to the HTTP request.
|
1543
|
+
#
|
1544
|
+
# @return [Array<BastionActiveSession>] operation results.
|
1545
|
+
#
|
1546
|
+
def begin_get_active_sessions(resource_group_name, bastion_host_name, custom_headers:nil)
|
1547
|
+
first_page = begin_get_active_sessions_as_lazy(resource_group_name, bastion_host_name, custom_headers:custom_headers)
|
1548
|
+
first_page.get_all_items
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
#
|
1552
|
+
# Returns the list of currently active sessions on the Bastion.
|
1553
|
+
#
|
1554
|
+
# @param resource_group_name [String] The name of the resource group.
|
1555
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
1556
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1557
|
+
# will be added to the HTTP request.
|
1558
|
+
#
|
1559
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1560
|
+
#
|
1561
|
+
def begin_get_active_sessions_with_http_info(resource_group_name, bastion_host_name, custom_headers:nil)
|
1562
|
+
begin_get_active_sessions_async(resource_group_name, bastion_host_name, custom_headers:custom_headers).value!
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
#
|
1566
|
+
# Returns the list of currently active sessions on the Bastion.
|
1567
|
+
#
|
1568
|
+
# @param resource_group_name [String] The name of the resource group.
|
1569
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
1570
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1571
|
+
# to the HTTP request.
|
1572
|
+
#
|
1573
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1574
|
+
#
|
1575
|
+
def begin_get_active_sessions_async(resource_group_name, bastion_host_name, custom_headers:nil)
|
1576
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1577
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
1578
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1579
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
1580
|
+
|
1581
|
+
|
1582
|
+
request_headers = {}
|
1583
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1584
|
+
|
1585
|
+
# Set Headers
|
1586
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1587
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1588
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'
|
1589
|
+
|
1590
|
+
request_url = @base_url || self.base_url
|
1591
|
+
|
1592
|
+
options = {
|
1593
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1594
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name,'subscriptionId' => subscription_id},
|
1595
|
+
query_params: {'api-version' => api_version},
|
1596
|
+
headers: request_headers.merge(custom_headers || {}),
|
1597
|
+
base_url: request_url
|
1598
|
+
}
|
1599
|
+
promise = self.make_request_async(:post, path_template, options)
|
1600
|
+
|
1601
|
+
promise = promise.then do |result|
|
1602
|
+
http_response = result.response
|
1603
|
+
status_code = http_response.status
|
1604
|
+
response_content = http_response.body
|
1605
|
+
unless status_code == 200 || status_code == 202
|
1606
|
+
error_model = JSON.load(response_content)
|
1607
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1611
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1612
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1613
|
+
# Deserialize Response
|
1614
|
+
if status_code == 200
|
1615
|
+
begin
|
1616
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1617
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionActiveSessionListResult.mapper()
|
1618
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
1619
|
+
rescue Exception => e
|
1620
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
result
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
promise.execute
|
1628
|
+
end
|
1629
|
+
|
1630
|
+
#
|
1631
|
+
# Generates a unique VPN profile for P2S clients for VirtualWan and associated
|
1632
|
+
# VpnServerConfiguration combination in the specified resource group.
|
1633
|
+
#
|
1634
|
+
# @param resource_group_name [String] The resource group name.
|
1635
|
+
# @param virtual_wanname [String] The name of the VirtualWAN whose associated
|
1636
|
+
# VpnServerConfigurations is needed.
|
1637
|
+
# @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
|
1638
|
+
# to the generate VirtualWan VPN profile generation operation.
|
1639
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1640
|
+
# will be added to the HTTP request.
|
1641
|
+
#
|
1642
|
+
# @return [VpnProfileResponse] operation results.
|
1643
|
+
#
|
1644
|
+
def begin_generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
|
1645
|
+
response = begin_generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
|
1646
|
+
response.body unless response.nil?
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
#
|
1650
|
+
# Generates a unique VPN profile for P2S clients for VirtualWan and associated
|
1651
|
+
# VpnServerConfiguration combination in the specified resource group.
|
1652
|
+
#
|
1653
|
+
# @param resource_group_name [String] The resource group name.
|
1654
|
+
# @param virtual_wanname [String] The name of the VirtualWAN whose associated
|
1655
|
+
# VpnServerConfigurations is needed.
|
1656
|
+
# @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
|
1657
|
+
# to the generate VirtualWan VPN profile generation operation.
|
1658
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1659
|
+
# will be added to the HTTP request.
|
1660
|
+
#
|
1661
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1662
|
+
#
|
1663
|
+
def begin_generatevirtualwanvpnserverconfigurationvpnprofile_with_http_info(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
|
1664
|
+
begin_generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:custom_headers).value!
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
#
|
1668
|
+
# Generates a unique VPN profile for P2S clients for VirtualWan and associated
|
1669
|
+
# VpnServerConfiguration combination in the specified resource group.
|
1670
|
+
#
|
1671
|
+
# @param resource_group_name [String] The resource group name.
|
1672
|
+
# @param virtual_wanname [String] The name of the VirtualWAN whose associated
|
1673
|
+
# VpnServerConfigurations is needed.
|
1674
|
+
# @param vpn_client_params [VirtualWanVpnProfileParameters] Parameters supplied
|
1675
|
+
# to the generate VirtualWan VPN profile generation operation.
|
1676
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1677
|
+
# to the HTTP request.
|
1678
|
+
#
|
1679
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1680
|
+
#
|
1681
|
+
def begin_generatevirtualwanvpnserverconfigurationvpnprofile_async(resource_group_name, virtual_wanname, vpn_client_params, custom_headers:nil)
|
1682
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
1683
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1684
|
+
fail ArgumentError, 'virtual_wanname is nil' if virtual_wanname.nil?
|
1685
|
+
fail ArgumentError, 'vpn_client_params is nil' if vpn_client_params.nil?
|
1686
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1687
|
+
|
1688
|
+
|
1689
|
+
request_headers = {}
|
1690
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1691
|
+
|
1692
|
+
# Set Headers
|
1693
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1694
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1695
|
+
|
1696
|
+
# Serialize Request
|
1697
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::VirtualWanVpnProfileParameters.mapper()
|
1698
|
+
request_content = self.serialize(request_mapper, vpn_client_params)
|
1699
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1700
|
+
|
1701
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'
|
1702
|
+
|
1703
|
+
request_url = @base_url || self.base_url
|
1704
|
+
|
1705
|
+
options = {
|
1706
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1707
|
+
path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'virtualWANName' => virtual_wanname},
|
1708
|
+
query_params: {'api-version' => api_version},
|
1709
|
+
body: request_content,
|
1710
|
+
headers: request_headers.merge(custom_headers || {}),
|
1711
|
+
base_url: request_url
|
1712
|
+
}
|
1713
|
+
promise = self.make_request_async(:post, path_template, options)
|
1714
|
+
|
1715
|
+
promise = promise.then do |result|
|
1716
|
+
http_response = result.response
|
1717
|
+
status_code = http_response.status
|
1718
|
+
response_content = http_response.body
|
1719
|
+
unless status_code == 200 || status_code == 202
|
1720
|
+
error_model = JSON.load(response_content)
|
1721
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1725
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1726
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1727
|
+
# Deserialize Response
|
1728
|
+
if status_code == 200
|
1729
|
+
begin
|
1730
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1731
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::VpnProfileResponse.mapper()
|
1732
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
1733
|
+
rescue Exception => e
|
1734
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
result
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
promise.execute
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
#
|
1745
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
1746
|
+
#
|
1747
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1748
|
+
# to List operation.
|
1749
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1750
|
+
# will be added to the HTTP request.
|
1751
|
+
#
|
1752
|
+
# @return [BastionShareableLinkListResult] operation results.
|
1753
|
+
#
|
1754
|
+
def put_bastion_shareable_link_next(next_page_link, custom_headers:nil)
|
1755
|
+
response = put_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
|
1756
|
+
response.body unless response.nil?
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
#
|
1760
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
1761
|
+
#
|
1762
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1763
|
+
# to List operation.
|
1764
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1765
|
+
# will be added to the HTTP request.
|
1766
|
+
#
|
1767
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1768
|
+
#
|
1769
|
+
def put_bastion_shareable_link_next_with_http_info(next_page_link, custom_headers:nil)
|
1770
|
+
put_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
|
1771
|
+
end
|
1772
|
+
|
1773
|
+
#
|
1774
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
1775
|
+
#
|
1776
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1777
|
+
# to List operation.
|
1778
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1779
|
+
# to the HTTP request.
|
1780
|
+
#
|
1781
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1782
|
+
#
|
1783
|
+
def put_bastion_shareable_link_next_async(next_page_link, custom_headers:nil)
|
1784
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1785
|
+
|
1786
|
+
|
1787
|
+
request_headers = {}
|
1788
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1789
|
+
|
1790
|
+
# Set Headers
|
1791
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1792
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1793
|
+
path_template = '{nextLink}'
|
1794
|
+
|
1795
|
+
request_url = @base_url || self.base_url
|
1796
|
+
|
1797
|
+
options = {
|
1798
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1799
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1800
|
+
headers: request_headers.merge(custom_headers || {}),
|
1801
|
+
base_url: request_url
|
1802
|
+
}
|
1803
|
+
promise = self.make_request_async(:post, path_template, options)
|
1804
|
+
|
1805
|
+
promise = promise.then do |result|
|
1806
|
+
http_response = result.response
|
1807
|
+
status_code = http_response.status
|
1808
|
+
response_content = http_response.body
|
1809
|
+
unless status_code == 200 || status_code == 202
|
1810
|
+
error_model = JSON.load(response_content)
|
1811
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1812
|
+
end
|
1813
|
+
|
1814
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1815
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1816
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1817
|
+
# Deserialize Response
|
1818
|
+
if status_code == 200
|
1819
|
+
begin
|
1820
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1821
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListResult.mapper()
|
1822
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
1823
|
+
rescue Exception => e
|
1824
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1825
|
+
end
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
result
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
promise.execute
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
#
|
1835
|
+
# Return the Bastion Shareable Links for all the VMs specified in the request.
|
1836
|
+
#
|
1837
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1838
|
+
# to List operation.
|
1839
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1840
|
+
# will be added to the HTTP request.
|
1841
|
+
#
|
1842
|
+
# @return [BastionShareableLinkListResult] operation results.
|
1843
|
+
#
|
1844
|
+
def get_bastion_shareable_link_next(next_page_link, custom_headers:nil)
|
1845
|
+
response = get_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
|
1846
|
+
response.body unless response.nil?
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
#
|
1850
|
+
# Return the Bastion Shareable Links for all the VMs specified in the request.
|
1851
|
+
#
|
1852
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1853
|
+
# to List operation.
|
1854
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1855
|
+
# will be added to the HTTP request.
|
1856
|
+
#
|
1857
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1858
|
+
#
|
1859
|
+
def get_bastion_shareable_link_next_with_http_info(next_page_link, custom_headers:nil)
|
1860
|
+
get_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
#
|
1864
|
+
# Return the Bastion Shareable Links for all the VMs specified in the request.
|
1865
|
+
#
|
1866
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1867
|
+
# to List operation.
|
1868
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1869
|
+
# to the HTTP request.
|
1870
|
+
#
|
1871
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1872
|
+
#
|
1873
|
+
def get_bastion_shareable_link_next_async(next_page_link, custom_headers:nil)
|
1874
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1875
|
+
|
1876
|
+
|
1877
|
+
request_headers = {}
|
1878
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1879
|
+
|
1880
|
+
# Set Headers
|
1881
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1882
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1883
|
+
path_template = '{nextLink}'
|
1884
|
+
|
1885
|
+
request_url = @base_url || self.base_url
|
1886
|
+
|
1887
|
+
options = {
|
1888
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1889
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1890
|
+
headers: request_headers.merge(custom_headers || {}),
|
1891
|
+
base_url: request_url
|
1892
|
+
}
|
1893
|
+
promise = self.make_request_async(:post, path_template, options)
|
1894
|
+
|
1895
|
+
promise = promise.then do |result|
|
1896
|
+
http_response = result.response
|
1897
|
+
status_code = http_response.status
|
1898
|
+
response_content = http_response.body
|
1899
|
+
unless status_code == 200
|
1900
|
+
error_model = JSON.load(response_content)
|
1901
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1902
|
+
end
|
1903
|
+
|
1904
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1905
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1906
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1907
|
+
# Deserialize Response
|
1908
|
+
if status_code == 200
|
1909
|
+
begin
|
1910
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1911
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListResult.mapper()
|
1912
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
1913
|
+
rescue Exception => e
|
1914
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1915
|
+
end
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
result
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
promise.execute
|
1922
|
+
end
|
1923
|
+
|
1924
|
+
#
|
1925
|
+
# Returns the list of currently active sessions on the Bastion.
|
1926
|
+
#
|
1927
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1928
|
+
# to List operation.
|
1929
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1930
|
+
# will be added to the HTTP request.
|
1931
|
+
#
|
1932
|
+
# @return [BastionActiveSessionListResult] operation results.
|
1933
|
+
#
|
1934
|
+
def get_active_sessions_next(next_page_link, custom_headers:nil)
|
1935
|
+
response = get_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
|
1936
|
+
response.body unless response.nil?
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
#
|
1940
|
+
# Returns the list of currently active sessions on the Bastion.
|
1941
|
+
#
|
1942
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1943
|
+
# to List operation.
|
1944
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1945
|
+
# will be added to the HTTP request.
|
1946
|
+
#
|
1947
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1948
|
+
#
|
1949
|
+
def get_active_sessions_next_with_http_info(next_page_link, custom_headers:nil)
|
1950
|
+
get_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
|
1951
|
+
end
|
1952
|
+
|
1953
|
+
#
|
1954
|
+
# Returns the list of currently active sessions on the Bastion.
|
1955
|
+
#
|
1956
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1957
|
+
# to List operation.
|
1958
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1959
|
+
# to the HTTP request.
|
1960
|
+
#
|
1961
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1962
|
+
#
|
1963
|
+
def get_active_sessions_next_async(next_page_link, custom_headers:nil)
|
1964
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1965
|
+
|
1966
|
+
|
1967
|
+
request_headers = {}
|
1968
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1969
|
+
|
1970
|
+
# Set Headers
|
1971
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1972
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
1973
|
+
path_template = '{nextLink}'
|
1974
|
+
|
1975
|
+
request_url = @base_url || self.base_url
|
1976
|
+
|
1977
|
+
options = {
|
1978
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1979
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1980
|
+
headers: request_headers.merge(custom_headers || {}),
|
1981
|
+
base_url: request_url
|
1982
|
+
}
|
1983
|
+
promise = self.make_request_async(:post, path_template, options)
|
1984
|
+
|
1985
|
+
promise = promise.then do |result|
|
1986
|
+
http_response = result.response
|
1987
|
+
status_code = http_response.status
|
1988
|
+
response_content = http_response.body
|
1989
|
+
unless status_code == 200 || status_code == 202
|
1990
|
+
error_model = JSON.load(response_content)
|
1991
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1992
|
+
end
|
1993
|
+
|
1994
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1995
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1996
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1997
|
+
# Deserialize Response
|
1998
|
+
if status_code == 200
|
1999
|
+
begin
|
2000
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2001
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionActiveSessionListResult.mapper()
|
2002
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
2003
|
+
rescue Exception => e
|
2004
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2005
|
+
end
|
2006
|
+
end
|
2007
|
+
|
2008
|
+
result
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
promise.execute
|
2012
|
+
end
|
2013
|
+
|
2014
|
+
#
|
2015
|
+
# Returns the list of currently active sessions on the Bastion.
|
2016
|
+
#
|
2017
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2018
|
+
# to List operation.
|
2019
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2020
|
+
# will be added to the HTTP request.
|
2021
|
+
#
|
2022
|
+
# @return [BastionSessionDeleteResult] operation results.
|
2023
|
+
#
|
2024
|
+
def disconnect_active_sessions_next(next_page_link, custom_headers:nil)
|
2025
|
+
response = disconnect_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
|
2026
|
+
response.body unless response.nil?
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
#
|
2030
|
+
# Returns the list of currently active sessions on the Bastion.
|
2031
|
+
#
|
2032
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2033
|
+
# to List operation.
|
2034
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2035
|
+
# will be added to the HTTP request.
|
2036
|
+
#
|
2037
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2038
|
+
#
|
2039
|
+
def disconnect_active_sessions_next_with_http_info(next_page_link, custom_headers:nil)
|
2040
|
+
disconnect_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
#
|
2044
|
+
# Returns the list of currently active sessions on the Bastion.
|
2045
|
+
#
|
2046
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2047
|
+
# to List operation.
|
2048
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2049
|
+
# to the HTTP request.
|
2050
|
+
#
|
2051
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2052
|
+
#
|
2053
|
+
def disconnect_active_sessions_next_async(next_page_link, custom_headers:nil)
|
2054
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2055
|
+
|
2056
|
+
|
2057
|
+
request_headers = {}
|
2058
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2059
|
+
|
2060
|
+
# Set Headers
|
2061
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2062
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
2063
|
+
path_template = '{nextLink}'
|
2064
|
+
|
2065
|
+
request_url = @base_url || self.base_url
|
2066
|
+
|
2067
|
+
options = {
|
2068
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2069
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
2070
|
+
headers: request_headers.merge(custom_headers || {}),
|
2071
|
+
base_url: request_url
|
2072
|
+
}
|
2073
|
+
promise = self.make_request_async(:post, path_template, options)
|
2074
|
+
|
2075
|
+
promise = promise.then do |result|
|
2076
|
+
http_response = result.response
|
2077
|
+
status_code = http_response.status
|
2078
|
+
response_content = http_response.body
|
2079
|
+
unless status_code == 200
|
2080
|
+
error_model = JSON.load(response_content)
|
2081
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2085
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2086
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2087
|
+
# Deserialize Response
|
2088
|
+
if status_code == 200
|
2089
|
+
begin
|
2090
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2091
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionSessionDeleteResult.mapper()
|
2092
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
2093
|
+
rescue Exception => e
|
2094
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2095
|
+
end
|
2096
|
+
end
|
2097
|
+
|
2098
|
+
result
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
promise.execute
|
2102
|
+
end
|
2103
|
+
|
2104
|
+
#
|
2105
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
2106
|
+
#
|
2107
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2108
|
+
# to List operation.
|
2109
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2110
|
+
# will be added to the HTTP request.
|
2111
|
+
#
|
2112
|
+
# @return [BastionShareableLinkListResult] operation results.
|
2113
|
+
#
|
2114
|
+
def begin_put_bastion_shareable_link_next(next_page_link, custom_headers:nil)
|
2115
|
+
response = begin_put_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
|
2116
|
+
response.body unless response.nil?
|
2117
|
+
end
|
2118
|
+
|
2119
|
+
#
|
2120
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
2121
|
+
#
|
2122
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2123
|
+
# to List operation.
|
2124
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2125
|
+
# will be added to the HTTP request.
|
2126
|
+
#
|
2127
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2128
|
+
#
|
2129
|
+
def begin_put_bastion_shareable_link_next_with_http_info(next_page_link, custom_headers:nil)
|
2130
|
+
begin_put_bastion_shareable_link_next_async(next_page_link, custom_headers:custom_headers).value!
|
2131
|
+
end
|
2132
|
+
|
2133
|
+
#
|
2134
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
2135
|
+
#
|
2136
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2137
|
+
# to List operation.
|
2138
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2139
|
+
# to the HTTP request.
|
2140
|
+
#
|
2141
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2142
|
+
#
|
2143
|
+
def begin_put_bastion_shareable_link_next_async(next_page_link, custom_headers:nil)
|
2144
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2145
|
+
|
2146
|
+
|
2147
|
+
request_headers = {}
|
2148
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2149
|
+
|
2150
|
+
# Set Headers
|
2151
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2152
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
2153
|
+
path_template = '{nextLink}'
|
2154
|
+
|
2155
|
+
request_url = @base_url || self.base_url
|
2156
|
+
|
2157
|
+
options = {
|
2158
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2159
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
2160
|
+
headers: request_headers.merge(custom_headers || {}),
|
2161
|
+
base_url: request_url
|
2162
|
+
}
|
2163
|
+
promise = self.make_request_async(:post, path_template, options)
|
2164
|
+
|
2165
|
+
promise = promise.then do |result|
|
2166
|
+
http_response = result.response
|
2167
|
+
status_code = http_response.status
|
2168
|
+
response_content = http_response.body
|
2169
|
+
unless status_code == 200 || status_code == 202
|
2170
|
+
error_model = JSON.load(response_content)
|
2171
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2175
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2176
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2177
|
+
# Deserialize Response
|
2178
|
+
if status_code == 200
|
2179
|
+
begin
|
2180
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2181
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListResult.mapper()
|
2182
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
2183
|
+
rescue Exception => e
|
2184
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2185
|
+
end
|
2186
|
+
end
|
2187
|
+
|
2188
|
+
result
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
promise.execute
|
2192
|
+
end
|
2193
|
+
|
2194
|
+
#
|
2195
|
+
# Returns the list of currently active sessions on the Bastion.
|
2196
|
+
#
|
2197
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2198
|
+
# to List operation.
|
2199
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2200
|
+
# will be added to the HTTP request.
|
2201
|
+
#
|
2202
|
+
# @return [BastionActiveSessionListResult] operation results.
|
2203
|
+
#
|
2204
|
+
def begin_get_active_sessions_next(next_page_link, custom_headers:nil)
|
2205
|
+
response = begin_get_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
|
2206
|
+
response.body unless response.nil?
|
2207
|
+
end
|
2208
|
+
|
2209
|
+
#
|
2210
|
+
# Returns the list of currently active sessions on the Bastion.
|
2211
|
+
#
|
2212
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2213
|
+
# to List operation.
|
2214
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2215
|
+
# will be added to the HTTP request.
|
2216
|
+
#
|
2217
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2218
|
+
#
|
2219
|
+
def begin_get_active_sessions_next_with_http_info(next_page_link, custom_headers:nil)
|
2220
|
+
begin_get_active_sessions_next_async(next_page_link, custom_headers:custom_headers).value!
|
2221
|
+
end
|
2222
|
+
|
2223
|
+
#
|
2224
|
+
# Returns the list of currently active sessions on the Bastion.
|
2225
|
+
#
|
2226
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2227
|
+
# to List operation.
|
2228
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2229
|
+
# to the HTTP request.
|
2230
|
+
#
|
2231
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2232
|
+
#
|
2233
|
+
def begin_get_active_sessions_next_async(next_page_link, custom_headers:nil)
|
2234
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2235
|
+
|
2236
|
+
|
2237
|
+
request_headers = {}
|
2238
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2239
|
+
|
2240
|
+
# Set Headers
|
2241
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2242
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
2243
|
+
path_template = '{nextLink}'
|
2244
|
+
|
2245
|
+
request_url = @base_url || self.base_url
|
2246
|
+
|
2247
|
+
options = {
|
2248
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2249
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
2250
|
+
headers: request_headers.merge(custom_headers || {}),
|
2251
|
+
base_url: request_url
|
2252
|
+
}
|
2253
|
+
promise = self.make_request_async(:post, path_template, options)
|
2254
|
+
|
2255
|
+
promise = promise.then do |result|
|
2256
|
+
http_response = result.response
|
2257
|
+
status_code = http_response.status
|
2258
|
+
response_content = http_response.body
|
2259
|
+
unless status_code == 200 || status_code == 202
|
2260
|
+
error_model = JSON.load(response_content)
|
2261
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2262
|
+
end
|
2263
|
+
|
2264
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2265
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2266
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2267
|
+
# Deserialize Response
|
2268
|
+
if status_code == 200
|
2269
|
+
begin
|
2270
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2271
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionActiveSessionListResult.mapper()
|
2272
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
2273
|
+
rescue Exception => e
|
2274
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2275
|
+
end
|
2276
|
+
end
|
2277
|
+
|
2278
|
+
result
|
2279
|
+
end
|
2280
|
+
|
2281
|
+
promise.execute
|
2282
|
+
end
|
2283
|
+
|
2284
|
+
#
|
2285
|
+
# Return the Bastion Shareable Links for all the VMs specified in the request.
|
2286
|
+
#
|
2287
|
+
# @param resource_group_name [String] The name of the resource group.
|
2288
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2289
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
2290
|
+
# Bastion Shareable Link endpoints.
|
2291
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2292
|
+
# will be added to the HTTP request.
|
2293
|
+
#
|
2294
|
+
# @return [BastionShareableLinkListResult] operation results.
|
2295
|
+
#
|
2296
|
+
def get_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
2297
|
+
first_page = get_bastion_shareable_link_as_lazy_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
|
2298
|
+
first_page.get_all_items
|
2299
|
+
end
|
2300
|
+
|
2301
|
+
#
|
2302
|
+
# Return the Bastion Shareable Links for all the VMs specified in the request.
|
2303
|
+
#
|
2304
|
+
# @param resource_group_name [String] The name of the resource group.
|
2305
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2306
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
2307
|
+
# Bastion Shareable Link endpoints.
|
2308
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2309
|
+
# will be added to the HTTP request.
|
2310
|
+
#
|
2311
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2312
|
+
#
|
2313
|
+
def get_bastion_shareable_link_as_lazy_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
2314
|
+
get_bastion_shareable_link_as_lazy_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
|
2315
|
+
end
|
2316
|
+
|
2317
|
+
#
|
2318
|
+
# Return the Bastion Shareable Links for all the VMs specified in the request.
|
2319
|
+
#
|
2320
|
+
# @param resource_group_name [String] The name of the resource group.
|
2321
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2322
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
2323
|
+
# Bastion Shareable Link endpoints.
|
2324
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2325
|
+
# to the HTTP request.
|
2326
|
+
#
|
2327
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2328
|
+
#
|
2329
|
+
def get_bastion_shareable_link_as_lazy_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
2330
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2331
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
2332
|
+
fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
|
2333
|
+
|
2334
|
+
|
2335
|
+
request_headers = {}
|
2336
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2337
|
+
|
2338
|
+
# Serialize Request
|
2339
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListRequest.mapper()
|
2340
|
+
request_content = self.serialize(request_mapper, bsl_request)
|
2341
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2342
|
+
|
2343
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks'
|
2344
|
+
|
2345
|
+
request_url = @base_url || self.base_url
|
2346
|
+
|
2347
|
+
options = {
|
2348
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2349
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name},
|
2350
|
+
body: request_content,
|
2351
|
+
headers: request_headers.merge(custom_headers || {}),
|
2352
|
+
base_url: request_url
|
2353
|
+
}
|
2354
|
+
promise = self.make_request_async(:post, path_template, options)
|
2355
|
+
|
2356
|
+
promise = promise.then do |result|
|
2357
|
+
http_response = result.response
|
2358
|
+
status_code = http_response.status
|
2359
|
+
response_content = http_response.body
|
2360
|
+
unless status_code == 200
|
2361
|
+
error_model = JSON.load(response_content)
|
2362
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2363
|
+
end
|
2364
|
+
|
2365
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2366
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2367
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2368
|
+
# Deserialize Response
|
2369
|
+
if status_code == 200
|
2370
|
+
begin
|
2371
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2372
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListResult.mapper()
|
2373
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
2374
|
+
rescue Exception => e
|
2375
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2376
|
+
end
|
2377
|
+
end
|
2378
|
+
|
2379
|
+
result
|
2380
|
+
end
|
2381
|
+
|
2382
|
+
promise.execute
|
2383
|
+
end
|
2384
|
+
|
2385
|
+
#
|
2386
|
+
# Returns the list of currently active sessions on the Bastion.
|
2387
|
+
#
|
2388
|
+
# @param resource_group_name [String] The name of the resource group.
|
2389
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2390
|
+
# @param session_ids [SessionIds] The list of sessionids to disconnect.
|
2391
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2392
|
+
# will be added to the HTTP request.
|
2393
|
+
#
|
2394
|
+
# @return [BastionSessionDeleteResult] operation results.
|
2395
|
+
#
|
2396
|
+
def disconnect_active_sessions_as_lazy(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
|
2397
|
+
first_page = disconnect_active_sessions_as_lazy_as_lazy(resource_group_name, bastion_host_name, session_ids, custom_headers:custom_headers)
|
2398
|
+
first_page.get_all_items
|
2399
|
+
end
|
2400
|
+
|
2401
|
+
#
|
2402
|
+
# Returns the list of currently active sessions on the Bastion.
|
2403
|
+
#
|
2404
|
+
# @param resource_group_name [String] The name of the resource group.
|
2405
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2406
|
+
# @param session_ids [SessionIds] The list of sessionids to disconnect.
|
2407
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2408
|
+
# will be added to the HTTP request.
|
2409
|
+
#
|
2410
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2411
|
+
#
|
2412
|
+
def disconnect_active_sessions_as_lazy_with_http_info(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
|
2413
|
+
disconnect_active_sessions_as_lazy_async(resource_group_name, bastion_host_name, session_ids, custom_headers:custom_headers).value!
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
#
|
2417
|
+
# Returns the list of currently active sessions on the Bastion.
|
2418
|
+
#
|
2419
|
+
# @param resource_group_name [String] The name of the resource group.
|
2420
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2421
|
+
# @param session_ids [SessionIds] The list of sessionids to disconnect.
|
2422
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2423
|
+
# to the HTTP request.
|
2424
|
+
#
|
2425
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2426
|
+
#
|
2427
|
+
def disconnect_active_sessions_as_lazy_async(resource_group_name, bastion_host_name, session_ids, custom_headers:nil)
|
2428
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2429
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
2430
|
+
fail ArgumentError, 'session_ids is nil' if session_ids.nil?
|
2431
|
+
|
2432
|
+
|
2433
|
+
request_headers = {}
|
2434
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2435
|
+
|
2436
|
+
# Serialize Request
|
2437
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::SessionIds.mapper()
|
2438
|
+
request_content = self.serialize(request_mapper, session_ids)
|
2439
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2440
|
+
|
2441
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions'
|
2442
|
+
|
2443
|
+
request_url = @base_url || self.base_url
|
2444
|
+
|
2445
|
+
options = {
|
2446
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2447
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name},
|
2448
|
+
body: request_content,
|
2449
|
+
headers: request_headers.merge(custom_headers || {}),
|
2450
|
+
base_url: request_url
|
2451
|
+
}
|
2452
|
+
promise = self.make_request_async(:post, path_template, options)
|
2453
|
+
|
2454
|
+
promise = promise.then do |result|
|
2455
|
+
http_response = result.response
|
2456
|
+
status_code = http_response.status
|
2457
|
+
response_content = http_response.body
|
2458
|
+
unless status_code == 200
|
2459
|
+
error_model = JSON.load(response_content)
|
2460
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2461
|
+
end
|
2462
|
+
|
2463
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2464
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2465
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2466
|
+
# Deserialize Response
|
2467
|
+
if status_code == 200
|
2468
|
+
begin
|
2469
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2470
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionSessionDeleteResult.mapper()
|
2471
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
2472
|
+
rescue Exception => e
|
2473
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2474
|
+
end
|
2475
|
+
end
|
2476
|
+
|
2477
|
+
result
|
2478
|
+
end
|
2479
|
+
|
2480
|
+
promise.execute
|
2481
|
+
end
|
2482
|
+
|
2483
|
+
#
|
2484
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
2485
|
+
#
|
2486
|
+
# @param resource_group_name [String] The name of the resource group.
|
2487
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2488
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
2489
|
+
# Bastion Shareable Link endpoints.
|
2490
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2491
|
+
# will be added to the HTTP request.
|
2492
|
+
#
|
2493
|
+
# @return [BastionShareableLinkListResult] operation results.
|
2494
|
+
#
|
2495
|
+
def begin_put_bastion_shareable_link_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
2496
|
+
first_page = begin_put_bastion_shareable_link_as_lazy_as_lazy(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers)
|
2497
|
+
first_page.get_all_items
|
2498
|
+
end
|
2499
|
+
|
2500
|
+
#
|
2501
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
2502
|
+
#
|
2503
|
+
# @param resource_group_name [String] The name of the resource group.
|
2504
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2505
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
2506
|
+
# Bastion Shareable Link endpoints.
|
2507
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2508
|
+
# will be added to the HTTP request.
|
2509
|
+
#
|
2510
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2511
|
+
#
|
2512
|
+
def begin_put_bastion_shareable_link_as_lazy_with_http_info(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
2513
|
+
begin_put_bastion_shareable_link_as_lazy_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:custom_headers).value!
|
2514
|
+
end
|
2515
|
+
|
2516
|
+
#
|
2517
|
+
# Creates a Bastion Shareable Links for all the VMs specified in the request.
|
2518
|
+
#
|
2519
|
+
# @param resource_group_name [String] The name of the resource group.
|
2520
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2521
|
+
# @param bsl_request [BastionShareableLinkListRequest] Post request for all the
|
2522
|
+
# Bastion Shareable Link endpoints.
|
2523
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2524
|
+
# to the HTTP request.
|
2525
|
+
#
|
2526
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2527
|
+
#
|
2528
|
+
def begin_put_bastion_shareable_link_as_lazy_async(resource_group_name, bastion_host_name, bsl_request, custom_headers:nil)
|
2529
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2530
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
2531
|
+
fail ArgumentError, 'bsl_request is nil' if bsl_request.nil?
|
2532
|
+
|
2533
|
+
|
2534
|
+
request_headers = {}
|
2535
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2536
|
+
|
2537
|
+
# Serialize Request
|
2538
|
+
request_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListRequest.mapper()
|
2539
|
+
request_content = self.serialize(request_mapper, bsl_request)
|
2540
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2541
|
+
|
2542
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'
|
2543
|
+
|
2544
|
+
request_url = @base_url || self.base_url
|
2545
|
+
|
2546
|
+
options = {
|
2547
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2548
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name},
|
2549
|
+
body: request_content,
|
2550
|
+
headers: request_headers.merge(custom_headers || {}),
|
2551
|
+
base_url: request_url
|
2552
|
+
}
|
2553
|
+
promise = self.make_request_async(:post, path_template, options)
|
2554
|
+
|
2555
|
+
promise = promise.then do |result|
|
2556
|
+
http_response = result.response
|
2557
|
+
status_code = http_response.status
|
2558
|
+
response_content = http_response.body
|
2559
|
+
unless status_code == 200 || status_code == 202
|
2560
|
+
error_model = JSON.load(response_content)
|
2561
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2562
|
+
end
|
2563
|
+
|
2564
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2565
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2566
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2567
|
+
# Deserialize Response
|
2568
|
+
if status_code == 200
|
2569
|
+
begin
|
2570
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2571
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionShareableLinkListResult.mapper()
|
2572
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
2573
|
+
rescue Exception => e
|
2574
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2575
|
+
end
|
2576
|
+
end
|
2577
|
+
|
2578
|
+
result
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
promise.execute
|
2582
|
+
end
|
2583
|
+
|
2584
|
+
#
|
2585
|
+
# Returns the list of currently active sessions on the Bastion.
|
2586
|
+
#
|
2587
|
+
# @param resource_group_name [String] The name of the resource group.
|
2588
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2589
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2590
|
+
# will be added to the HTTP request.
|
2591
|
+
#
|
2592
|
+
# @return [BastionActiveSessionListResult] operation results.
|
2593
|
+
#
|
2594
|
+
def begin_get_active_sessions_as_lazy(resource_group_name, bastion_host_name, custom_headers:nil)
|
2595
|
+
first_page = begin_get_active_sessions_as_lazy_as_lazy(resource_group_name, bastion_host_name, custom_headers:custom_headers)
|
2596
|
+
first_page.get_all_items
|
2597
|
+
end
|
2598
|
+
|
2599
|
+
#
|
2600
|
+
# Returns the list of currently active sessions on the Bastion.
|
2601
|
+
#
|
2602
|
+
# @param resource_group_name [String] The name of the resource group.
|
2603
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2604
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2605
|
+
# will be added to the HTTP request.
|
2606
|
+
#
|
2607
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2608
|
+
#
|
2609
|
+
def begin_get_active_sessions_as_lazy_with_http_info(resource_group_name, bastion_host_name, custom_headers:nil)
|
2610
|
+
begin_get_active_sessions_as_lazy_async(resource_group_name, bastion_host_name, custom_headers:custom_headers).value!
|
2611
|
+
end
|
2612
|
+
|
2613
|
+
#
|
2614
|
+
# Returns the list of currently active sessions on the Bastion.
|
2615
|
+
#
|
2616
|
+
# @param resource_group_name [String] The name of the resource group.
|
2617
|
+
# @param bastion_host_name [String] The name of the Bastion Host.
|
2618
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2619
|
+
# to the HTTP request.
|
2620
|
+
#
|
2621
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2622
|
+
#
|
2623
|
+
def begin_get_active_sessions_as_lazy_async(resource_group_name, bastion_host_name, custom_headers:nil)
|
2624
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2625
|
+
fail ArgumentError, 'bastion_host_name is nil' if bastion_host_name.nil?
|
2626
|
+
|
2627
|
+
|
2628
|
+
request_headers = {}
|
2629
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2630
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'
|
2631
|
+
|
2632
|
+
request_url = @base_url || self.base_url
|
2633
|
+
|
2634
|
+
options = {
|
2635
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2636
|
+
path_params: {'resourceGroupName' => resource_group_name,'bastionHostName' => bastion_host_name},
|
2637
|
+
headers: request_headers.merge(custom_headers || {}),
|
2638
|
+
base_url: request_url
|
2639
|
+
}
|
2640
|
+
promise = self.make_request_async(:post, path_template, options)
|
2641
|
+
|
2642
|
+
promise = promise.then do |result|
|
2643
|
+
http_response = result.response
|
2644
|
+
status_code = http_response.status
|
2645
|
+
response_content = http_response.body
|
2646
|
+
unless status_code == 200 || status_code == 202
|
2647
|
+
error_model = JSON.load(response_content)
|
2648
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2649
|
+
end
|
2650
|
+
|
2651
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2652
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2653
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2654
|
+
# Deserialize Response
|
2655
|
+
if status_code == 200
|
2656
|
+
begin
|
2657
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2658
|
+
result_mapper = Azure::Network::Mgmt::V2020_03_01::Models::BastionActiveSessionListResult.mapper()
|
2659
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
2660
|
+
rescue Exception => e
|
2661
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2662
|
+
end
|
2663
|
+
end
|
2664
|
+
|
2665
|
+
result
|
2666
|
+
end
|
2667
|
+
|
2668
|
+
promise.execute
|
2669
|
+
end
|
2670
|
+
|
2671
|
+
|
2672
|
+
private
|
2673
|
+
#
|
2674
|
+
# Adds telemetry information.
|
2675
|
+
#
|
2676
|
+
def add_telemetry
|
2677
|
+
sdk_information = 'azure_mgmt_network'
|
2678
|
+
sdk_information = "#{sdk_information}/0.23.2"
|
2679
|
+
add_user_agent_information(sdk_information)
|
2680
|
+
end
|
2681
|
+
end
|
2682
|
+
end
|