ReturnT - the next stage of the definitionpublic static interface LoadBalancer.DefinitionStages.WithPublicIpAddress<ReturnT>
| Modifier and Type | Method and Description |
|---|---|
ReturnT |
withExistingPublicIpAddress(PublicIpAddress publicIpAddress)
Assigns the provided public IP address to the default public frontend to the load balancer,
making it an Internet-facing load balancer.
|
ReturnT |
withNewPublicIpAddress()
Creates a new public IP address as the default public frontend of the load balancer,
using an automatically generated name and leaf DNS label
derived from the load balancer's name, in the same resource group and region.
|
ReturnT |
withNewPublicIpAddress(com.microsoft.azure.management.resources.fluentcore.model.Creatable<PublicIpAddress> creatablePublicIpAddress)
Adds a new public IP address to the front end of the load balancer,
creating the public IP based on the provided
Creatable
stage of a public IP endpoint's definition. |
ReturnT |
withNewPublicIpAddress(String dnsLeafLabel)
Adds a new public IP address as the default public frontend of the load balancer,
using the specified DNS leaf label, an automatically generated frontend name derived from the DNS label,
in the same resource group and region as the load balancer.
|
ReturnT withExistingPublicIpAddress(PublicIpAddress publicIpAddress)
This will create a new default frontend for the load balancer under the name "default".
Once the first public frontend is specified, only public frontends can be added, not private.
publicIpAddress - an existing public IP addressReturnT withNewPublicIpAddress()
This will create a new default frontend for the load balancer under the name "default".
Once the first public frontend is specified, only public frontends can be added, not private.
ReturnT withNewPublicIpAddress(String dnsLeafLabel)
dnsLeafLabel - a DNS leaf labelReturnT withNewPublicIpAddress(com.microsoft.azure.management.resources.fluentcore.model.Creatable<PublicIpAddress> creatablePublicIpAddress)
Creatable
stage of a public IP endpoint's definition.creatablePublicIpAddress - the creatable stage of a public IP address definition/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/