ArmNetworkModelFactory.LoadBalancerData Method
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.
public static Azure.ResourceManager.Network.LoadBalancerData LoadBalancerData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.FrontendIPConfigurationData> frontendIPConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.BackendAddressPoolData> backendAddressPools = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.LoadBalancingRuleData> loadBalancingRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ProbeData> probes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.InboundNatRuleData> inboundNatRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.LoadBalancerInboundNatPool> inboundNatPools = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.OutboundRuleData> outboundRules = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.LoadBalancerScope? scope = default, Azure.ETag? eTag = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.Network.Models.LoadBalancerSku sku = default);
static member LoadBalancerData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.Network.FrontendIPConfigurationData> * seq<Azure.ResourceManager.Network.BackendAddressPoolData> * seq<Azure.ResourceManager.Network.LoadBalancingRuleData> * seq<Azure.ResourceManager.Network.ProbeData> * seq<Azure.ResourceManager.Network.InboundNatRuleData> * seq<Azure.ResourceManager.Network.Models.LoadBalancerInboundNatPool> * seq<Azure.ResourceManager.Network.OutboundRuleData> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.LoadBalancerScope> * Nullable<Azure.ETag> * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.ResourceManager.Network.Models.LoadBalancerSku -> Azure.ResourceManager.Network.LoadBalancerData
Public Shared Function LoadBalancerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional frontendIPConfigurations As IEnumerable(Of FrontendIPConfigurationData) = Nothing, Optional backendAddressPools As IEnumerable(Of BackendAddressPoolData) = Nothing, Optional loadBalancingRules As IEnumerable(Of LoadBalancingRuleData) = Nothing, Optional probes As IEnumerable(Of ProbeData) = Nothing, Optional inboundNatRules As IEnumerable(Of InboundNatRuleData) = Nothing, Optional inboundNatPools As IEnumerable(Of LoadBalancerInboundNatPool) = Nothing, Optional outboundRules As IEnumerable(Of OutboundRuleData) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional scope As Nullable(Of LoadBalancerScope) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional sku As LoadBalancerSku = Nothing) As LoadBalancerData
Parameters
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- frontendIPConfigurations
- IEnumerable<FrontendIPConfigurationData>
Object representing the frontend IPs to be used for the load balancer.
- backendAddressPools
- IEnumerable<BackendAddressPoolData>
Collection of backend address pools used by a load balancer.
- loadBalancingRules
- IEnumerable<LoadBalancingRuleData>
Object collection representing the load balancing rules Gets the provisioning.
- probes
- IEnumerable<ProbeData>
Collection of probe objects used in the load balancer.
- inboundNatRules
- IEnumerable<InboundNatRuleData>
Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules.
- inboundNatPools
- IEnumerable<LoadBalancerInboundNatPool>
Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.
- outboundRules
- IEnumerable<OutboundRuleData>
The outbound rules.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the load balancer resource.
- scope
- Nullable<LoadBalancerScope>
Indicates the scope of the load balancer: external (Public) or internal (Private).
- extendedLocation
- ExtendedLocation
The extended location of the load balancer.
- sku
- LoadBalancerSku
The load balancer SKU.
Returns
A new LoadBalancerData instance for mocking.