你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CloudServiceLoadBalancerConfiguration Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.