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

LoadBalancerInner 构造函数

定义

重载

LoadBalancerInner()

初始化 LoadBalancerInner 类的新实例。

LoadBalancerInner(String, String, String, String, IDictionary<String, String>, LoadBalancerSku, IList<FrontendIPConfigurationInner>, IList<BackendAddressPoolInner>, IList<LoadBalancingRuleInner>, IList<ProbeInner>, IList<InboundNatRuleInner>, IList<InboundNatPoolInner>, IList<OutboundRuleInner>, String, ProvisioningState, String)

初始化 LoadBalancerInner 类的新实例。

LoadBalancerInner()

初始化 LoadBalancerInner 类的新实例。

public LoadBalancerInner ();
Public Sub New ()

适用于

LoadBalancerInner(String, String, String, String, IDictionary<String, String>, LoadBalancerSku, IList<FrontendIPConfigurationInner>, IList<BackendAddressPoolInner>, IList<LoadBalancingRuleInner>, IList<ProbeInner>, IList<InboundNatRuleInner>, IList<InboundNatPoolInner>, IList<OutboundRuleInner>, String, ProvisioningState, String)

初始化 LoadBalancerInner 类的新实例。

public LoadBalancerInner (string location = default, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Fluent.Models.LoadBalancerSku sku = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.FrontendIPConfigurationInner> frontendIPConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.BackendAddressPoolInner> backendAddressPools = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.LoadBalancingRuleInner> loadBalancingRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ProbeInner> probes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.InboundNatRuleInner> inboundNatRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.InboundNatPoolInner> inboundNatPools = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.OutboundRuleInner> outboundRules = default, string resourceGuid = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.LoadBalancerInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Fluent.Models.LoadBalancerSku * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.FrontendIPConfigurationInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.BackendAddressPoolInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.LoadBalancingRuleInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ProbeInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.InboundNatRuleInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.InboundNatPoolInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.OutboundRuleInner> * string * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * string -> Microsoft.Azure.Management.Network.Fluent.Models.LoadBalancerInner
Public Sub New (Optional location As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As LoadBalancerSku = Nothing, Optional frontendIPConfigurations As IList(Of FrontendIPConfigurationInner) = Nothing, Optional backendAddressPools As IList(Of BackendAddressPoolInner) = Nothing, Optional loadBalancingRules As IList(Of LoadBalancingRuleInner) = Nothing, Optional probes As IList(Of ProbeInner) = Nothing, Optional inboundNatRules As IList(Of InboundNatRuleInner) = Nothing, Optional inboundNatPools As IList(Of InboundNatPoolInner) = Nothing, Optional outboundRules As IList(Of OutboundRuleInner) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional etag As String = Nothing)

参数

location
String
id
String
name
String
type
String
sku
LoadBalancerSku

负载均衡器 SKU。

frontendIPConfigurations
IList<FrontendIPConfigurationInner>

表示要用于负载均衡器的前端 IP 的对象。

backendAddressPools
IList<BackendAddressPoolInner>

负载均衡器使用的后端地址池的集合。

loadBalancingRules
IList<LoadBalancingRuleInner>

表示负载均衡规则的对象集合 获取预配。

probes
IList<ProbeInner>

负载均衡器中使用的探测对象的集合。

inboundNatRules
IList<InboundNatRuleInner>

负载均衡器使用的入站 NAT 规则的集合。 在负载均衡器上定义入站 NAT 规则与定义入站 NAT 池是互斥的。 从虚拟机规模集引用入站 NAT 池。 与单个虚拟机关联的 NIC 不能引用入站 NAT 池。 它们必须引用单个入站 NAT 规则。

inboundNatPools
IList<InboundNatPoolInner>

为与负载均衡器关联的 NIC 上的单个后端端口的入站 NAT 定义外部端口范围。 使用此范围内的外部端口自动为与负载均衡器关联的每个 NIC 创建入站 NAT 规则。 在负载均衡器上定义入站 NAT 池与定义入站 Nat 规则是互斥的。 从虚拟机规模集引用入站 NAT 池。 与单个虚拟机关联的 NIC 不能引用入站 NAT 池。 它们必须引用单个入站 NAT 规则。

outboundRules
IList<OutboundRuleInner>

出站规则。

resourceGuid
String

负载均衡器资源的资源 GUID 属性。

provisioningState
ProvisioningState

负载均衡器资源的预配状态。 可能的值包括:“Succeeded”、“Updating”、“Deleting”、“Failed”

etag
String

一个唯一的只读字符串,每当资源更新时都会更改。

适用于