IDefinition<ReturnT> Interface
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.
The entirety of a load balancing rule definition.
public interface IDefinition<ReturnT> : Microsoft.Azure.Management.Network.Fluent.HasBackendPort.Definition.IWithBackendPort<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithAttach<ReturnT>>, Microsoft.Azure.Management.Network.Fluent.HasFloatingIP.Definition.IWithFloatingIP<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithAttach<ReturnT>>, Microsoft.Azure.Management.Network.Fluent.HasFrontend.Definition.IWithFrontend<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithFrontendPort<ReturnT>>, Microsoft.Azure.Management.Network.Fluent.HasFrontendPort.Definition.IWithFrontendPort<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithBackend<ReturnT>>, Microsoft.Azure.Management.Network.Fluent.HasProtocol.Definition.IWithProtocol<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithFrontend<ReturnT>,Microsoft.Azure.Management.Network.Fluent.Models.TransportProtocol>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IBlank<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithAttach<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithBackend<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithBackendPort<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithFloatingIP<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithFrontend<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithFrontendPort<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithIdleTimeoutInMinutes<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithLoadDistribution<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithOutboundSnat<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithProbe<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithProtocol<ReturnT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Definition.IWithVirtualMachine<ReturnT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ReturnT>
type IDefinition<'ReturnT> = interface
interface IBlank<'ReturnT>
interface IWithProtocol<'ReturnT>
interface IWithProtocol<IWithFrontend<'ReturnT>, TransportProtocol>
interface IWithAttach<'ReturnT>
interface IInDefinition<'ReturnT>
interface IWithFloatingIP<'ReturnT>
interface IWithFloatingIP<IWithAttach<'ReturnT>>
interface IWithIdleTimeoutInMinutes<'ReturnT>
interface IWithLoadDistribution<'ReturnT>
interface IWithProbe<'ReturnT>
interface IWithOutboundSnat<'ReturnT>
interface IWithFrontendPort<'ReturnT>
interface IWithFrontendPort<IWithBackend<'ReturnT>>
interface IWithFrontend<'ReturnT>
interface IWithFrontend<IWithFrontendPort<'ReturnT>>
interface IWithBackend<'ReturnT>
interface IWithVirtualMachine<'ReturnT>
interface IWithBackendPort<'ReturnT>
interface IWithBackendPort<IWithAttach<'ReturnT>>
Public Interface IDefinition(Of ReturnT)
Implements IBlank(Of ReturnT), IInDefinition(Of ReturnT), IWithAttach(Of ReturnT), IWithBackend(Of ReturnT), IWithBackendPort(Of IWithAttach(Of ReturnT)), IWithBackendPort(Of ReturnT), IWithFloatingIP(Of IWithAttach(Of ReturnT)), IWithFloatingIP(Of ReturnT), IWithFrontend(Of IWithFrontendPort(Of ReturnT)), IWithFrontend(Of ReturnT), IWithFrontendPort(Of IWithBackend(Of ReturnT)), IWithFrontendPort(Of ReturnT), IWithIdleTimeoutInMinutes(Of ReturnT), IWithLoadDistribution(Of ReturnT), IWithOutboundSnat(Of ReturnT), IWithProbe(Of ReturnT), IWithProtocol(Of IWithFrontend(Of ReturnT), TransportProtocol), IWithProtocol(Of ReturnT), IWithVirtualMachine(Of ReturnT)
Type Parameters
- ReturnT
The stage of the parent definition to return to after attaching this definition.
- Implements
-
IWithBackendPort<IWithAttach<ReturnT>> IWithFloatingIP<IWithAttach<ReturnT>> IWithFrontend<IWithFrontendPort<ReturnT>> IWithFrontendPort<IWithBackend<ReturnT>> IWithProtocol<IWithFrontend<ReturnT>,TransportProtocol> IBlank<ReturnT> IWithAttach<ReturnT> IWithBackend<ReturnT> IWithBackendPort<ReturnT> IWithFloatingIP<ReturnT> IWithFrontend<ReturnT> IWithFrontendPort<ReturnT> IWithIdleTimeoutInMinutes<ReturnT> IWithLoadDistribution<ReturnT> IWithOutboundSnat<ReturnT> IWithProbe<ReturnT> IWithProtocol<ReturnT> IWithVirtualMachine<ReturnT> IInDefinition<ReturnT>
Methods
Attach() | (Inherited from IInDefinition<ParentT>) |
FromExistingPublicIPAddress(IPublicIPAddress) |
Specifies an existing public IP address to receive network traffic from. If this load balancer already has a frontend referencing this public IP address, that is the frontend that will be used. Else, an automatically named new public frontend will be created implicitly on the load balancer. (Inherited from IWithFrontend<ReturnT>) |
FromExistingPublicIPAddress(String) |
Specifies an existing public IP address to receive network traffic from. If this load balancer already has a frontend referencing this public IP address, that is the frontend that will be used. Else, an automatically named new public frontend will be created implicitly on the load balancer. (Inherited from IWithFrontend<ReturnT>) |
FromExistingSubnet(INetwork, String) |
Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer. (Inherited from IWithFrontend<ReturnT>) |
FromExistingSubnet(ISubnet) |
Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer. (Inherited from IWithFrontend<ReturnT>) |
FromExistingSubnet(String, String) |
Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer. (Inherited from IWithFrontend<ReturnT>) |
FromFrontend(String) |
Specifies the frontend to receive network traffic from. (Inherited from IWithFrontend<ReturnT>) |
FromFrontendPort(Int32) |
Specifies the frontend port to receive network traffic on. (Inherited from IWithFrontendPort<ReturnT>) |
FromNewPublicIPAddress() |
Specifies that network traffic should be received on a new public IP address that is to be automatically created woth default settings along with the load balancer. A new automatically-named public frontend will be implicitly created on this load balancer for each such new public IP address. (Inherited from IWithFrontend<ReturnT>) |
FromNewPublicIPAddress(ICreatable<IPublicIPAddress>) |
Specifies that network traffic should be received on a new public IP address that is to be created along with the load balancer based on the provided definition. A new automatically-named public frontend will be implicitly created on this load balancer for each such new public IP address. (Inherited from IWithFrontend<ReturnT>) |
FromNewPublicIPAddress(String) |
Specifies that network traffic should be received on a new public IP address that is to be created along with the load balancer in the same region and resource group but under the provided leaf DNS label, assuming it is available. A new automatically-named public frontend will be implicitly created on this load balancer for each such new public IP address, so make sure to use a unique DNS label. (Inherited from IWithFrontend<ReturnT>) |
ToBackend(String) |
Specifies a backend on this load balancer to send network traffic to. If a backend with the specified name does not yet exist on this load balancer, it will be created automatically. (Inherited from IWithBackend<ReturnT>) |
ToBackendPort(Int32) |
Specifies a backend port to send network traffic to. If not specified, the same backend port number is assumed as that used by the frontend. (Inherited from IWithBackendPort<ReturnT>) |
ToExistingVirtualMachines(ICollection<IHasNetworkInterfaces>) |
Adds the specified set of virtual machines, assuming they are from the same availability set, to a new back end address pool to be associated with this load balancing rule. This will add references to the primary IP configurations of the primary network interfaces of the provided set of virtual machines. If the virtual machines are not in the same availability set, they will not be associated with the backend. Only those virtual machines will be associated with the load balancer that already have an existing network interface. Virtual machines without a network interface will be skipped. (Inherited from IWithVirtualMachine<ReturnT>) |
ToExistingVirtualMachines(IHasNetworkInterfaces[]) |
Adds the specified set of virtual machines, assuming they are from the same availability set, to a new back end address pool to be associated with this load balancing rule. This will add references to the primary IP configurations of the primary network interfaces of the provided set of virtual machines. If the virtual machines are not in the same availability set, they will not be associated with the backend. Only those virtual machines will be associated with the load balancer that already have an existing network interface. Virtual machines without a network interface will be skipped. (Inherited from IWithVirtualMachine<ReturnT>) |
WithDisableOutboundSnat() |
Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. (Inherited from IWithOutboundSnat<ReturnT>) |
WithFloatingIP(Boolean) |
Sets the floating IP enablement. (Inherited from IWithFloatingIP<ReturnT>) |
WithFloatingIPDisabled() |
Disables floating IP support. (Inherited from IWithFloatingIP<ReturnT>) |
WithFloatingIPEnabled() |
Enables floating IP support. (Inherited from IWithFloatingIP<ReturnT>) |
WithIdleTimeoutInMinutes(Int32) |
Specifies the number of minutes before an idle connection is closed. (Inherited from IWithIdleTimeoutInMinutes<ReturnT>) |
WithLoadDistribution(LoadDistribution) |
Specifies the load distribution mode. (Inherited from IWithLoadDistribution<ReturnT>) |
WithProbe(String) |
Associates the specified existing HTTP or TCP probe of this load balancer with the load balancing rule. (Inherited from IWithProbe<ReturnT>) |
WithProtocol(ProtocolT) |
Specifies the transport protocol. (Inherited from IWithProtocol<ReturnT,ProtocolT>) |