你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudServiceLoadBalancerConfiguration Constructor

Definition

Initializes a new instance of CloudServiceLoadBalancerConfiguration.

public CloudServiceLoadBalancerConfiguration(string name, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.LoadBalancerFrontendIPConfiguration> frontendIPConfigurations);
new Azure.ResourceManager.Compute.Models.CloudServiceLoadBalancerConfiguration : string * seq<Azure.ResourceManager.Compute.Models.LoadBalancerFrontendIPConfiguration> -> Azure.ResourceManager.Compute.Models.CloudServiceLoadBalancerConfiguration
Public Sub New (name As String, frontendIPConfigurations As IEnumerable(Of LoadBalancerFrontendIPConfiguration))

Parameters

name
String

The name of the Load balancer.

frontendIPConfigurations
IEnumerable<LoadBalancerFrontendIPConfiguration>

Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.

Exceptions

name or frontendIPConfigurations is null.

Applies to