适用于负载均衡器的 Azure PowerShell 示例Azure PowerShell Samples for Load Balancer

下表包含指向使用 Azure PowerShell 生成的脚本的链接。The following table includes links to scripts built using Azure PowerShell.

ScriptScript 说明Description
为实现高可用性将流量负载均衡至 VMLoad balance traffic to VMs for high availability 使用高度可用且负载均衡的配置创建多个虚拟机。Creates several virtual machines in a highly available and load balanced configuration.
在 VM 上对多个网站进行负载均衡Load balance multiple websites on VMs 创建两个具有多个 IP 配置、联接到 Azure 可用性集、可通过 Azure 负载均衡器访问的 VM。Creates two VMs with multiple IP configurations, joined to an Azure Availability Set, accessible through an Azure Load Balancer.