Udostępnij za pośrednictwem


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