All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.network.models.LoadBalancerPrivateFrontend Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.network.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.resources.fluentcore.arm.AvailabilityZoneId;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasSubnet;
import com.azure.resourcemanager.resources.fluentcore.model.Attachable;
import com.azure.resourcemanager.resources.fluentcore.model.Settable;
import java.util.Set;

/** A client-side representation of a private frontend of an internal load balancer. */
@Fluent()
public interface LoadBalancerPrivateFrontend extends LoadBalancerFrontend, HasPrivateIpAddress, HasSubnet {

    /**
     * @return associated subnet
     *     

Note this makes a separate call to Azure. */ Subnet getSubnet(); /** @return the availability zones assigned to private frontend. */ Set availabilityZones(); /** Grouping of private frontend definition stages. */ interface DefinitionStages { /** * The first stage of a private frontend definition. * * @param the stage of the parent definition to return to after attaching this definition */ interface Blank extends WithSubnet { } /** * The stage of a private frontend definition allowing to specify a subnet from the selected network. * * @param the stage of the parent definition to return to after attaching this definition */ interface WithSubnet extends HasSubnet.DefinitionStages.WithSubnet> { /** * Assigns the specified subnet to this private frontend of an internal load balancer. * * @param network the virtual network the subnet exists in * @param subnetName the name of a subnet * @return the next stage of the definition */ WithAttach withExistingSubnet(Network network, String subnetName); } /** * The stage of a private frontend definition allowing to specify availability zone. * * @param the stage of the parent definition to return to after attaching this definition */ interface WithAvailabilityZone { /** * Specifies the availability zone for the private frontend. * * @param zoneId the zone identifier. * @return the next stage of the definition */ WithAttach withAvailabilityZone(AvailabilityZoneId zoneId); } /** * The final stage of a private frontend definition. * *

At this stage, any remaining optional settings can be specified, or the frontend definition can be * attached to the parent load balancer definition. * * @param the stage of the parent definition to return to after attaching this definition */ interface WithAttach extends Attachable.InDefinitionAlt, HasPrivateIpAddress.DefinitionStages.WithPrivateIPAddress>, DefinitionStages.WithAvailabilityZone { } } /** * The entirety of a private frontend definition. * * @param the stage of the parent definition to return to after attaching this definition */ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAttach, DefinitionStages.WithSubnet { } /** Grouping of private frontend update stages. */ interface UpdateStages { /** The stage of a private frontend update allowing to specify a subnet from the selected network. */ interface WithSubnet { /** * Assigns the specified subnet to this private frontend of the internal load balancer. * * @param network the virtual network the subnet exists in * @param subnetName the name of a subnet * @return the next stage of the definition */ Update withExistingSubnet(Network network, String subnetName); } } /** The entirety of a private frontend update as part of a load balancer update. */ interface Update extends Settable, UpdateStages.WithSubnet, HasPrivateIpAddress.UpdateStages.WithPrivateIPAddress { } /** Grouping of private frontend definition stages applicable as part of a load balancer update. */ interface UpdateDefinitionStages { /** * The first stage of a private frontend definition. * * @param the stage of the parent definition to return to after attaching this definition */ interface Blank extends WithSubnet { } /** * The stage of a private frontend definition allowing to specify a subnet from the selected network. * * @param the stage of the parent definition to return to after attaching this definition */ interface WithSubnet { /** * Assigns the specified subnet to this private frontend of the internal load balancer. * * @param network the virtual network the subnet exists in * @param subnetName the name of a subnet * @return the next stage of the definition */ WithAttach withExistingSubnet(Network network, String subnetName); } /** * The stage of a private frontend definition allowing to specify availability zone. * * @param the stage of the parent definition to return to after attaching this definition */ interface WithAvailabilityZone { /** * Specifies the availability zone for the private frontend. * * @param zoneId the zone identifier. * @return the next stage of the definition */ WithAttach withAvailabilityZone(AvailabilityZoneId zoneId); } /** * The final stage of an internal frontend definition. * *

At this stage, any remaining optional settings can be specified, or the frontend definition can be * attached to the parent load balancer definition. * * @param the stage of the parent definition to return to after attaching this definition */ interface WithAttach extends Attachable.InUpdateAlt, HasPrivateIpAddress.UpdateDefinitionStages.WithPrivateIPAddress>, WithAvailabilityZone { } } /** * The entirety of a private frontend definition as part of a load balancer update. * * @param the stage of the parent definition to return to after attaching this definition */ interface UpdateDefinition extends UpdateDefinitionStages.Blank, UpdateDefinitionStages.WithAttach, UpdateDefinitionStages.WithSubnet { } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy