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