Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.network;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.implementation.ApplicationGatewayIPConfigurationInner;
import com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource;
import com.microsoft.azure.management.resources.fluentcore.arm.models.HasSubnet;
import com.microsoft.azure.management.resources.fluentcore.model.Attachable;
import com.microsoft.azure.management.resources.fluentcore.model.Settable;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
A client-side representation of an application gateway IP configuration.
/**
* A client-side representation of an application gateway IP configuration.
*/
@Fluent()
public interface ApplicationGatewayIPConfiguration extends
HasInner<ApplicationGatewayIPConfigurationInner>,
ChildResource<ApplicationGateway> {
Returns: the resource ID of the virtual network the application gateway is in
/**
* @return the resource ID of the virtual network the application gateway is in
*/
String networkId();
Returns: the name of the subnet the application gateway is in
/**
* @return the name of the subnet the application gateway is in
*/
String subnetName();
Returns: the subnet the application gateway is in
Note, this results in a separate call to Azure.
/**
* @return the subnet the application gateway is in
* <p>
* Note, this results in a separate call to Azure.
*/
Subnet getSubnet();
Grouping of application gateway IP configuration definition stages.
/**
* Grouping of application gateway IP configuration definition stages.
*/
interface DefinitionStages {
The first stage of an application gateway IP configuration definition.
Type parameters: - <ParentT> – the stage of the parent definition to return to after attaching this definition
/**
* The first stage of an application gateway IP configuration definition.
* @param <ParentT> the stage of the parent definition to return to after attaching this definition
*/
interface Blank<ParentT> extends WithSubnet<ParentT> {
}
The stage of an application gateway IP configuration definition allowing to specify the subnet the application gateway is on.
Type parameters: - <ParentT> – the stage of the application gateway definition to return to after attaching this definition
/**
* The stage of an application gateway IP configuration definition allowing to specify the subnet the application gateway is on.
* @param <ParentT> the stage of the application gateway definition to return to after attaching this definition
*/
interface WithSubnet<ParentT> extends HasSubnet.DefinitionStages.WithSubnet<WithAttach<ParentT>> {
Specifies an existing subnet the application gateway should be part of and get its private IP address from.
Params: - subnet – an existing subnet
Returns: the next stage of the definition
/**
* Specifies an existing subnet the application gateway should be part of and get its private IP address from.
* @param subnet an existing subnet
* @return the next stage of the definition
*/
WithAttach<ParentT> withExistingSubnet(Subnet subnet);
Specifies an existing subnet the application gateway should be part of and get its private IP address from.
Params: - network – an existing virtual network
- subnetName – the name of a subnet within the selected network
Returns: the next stage of the definition
/**
* Specifies an existing subnet the application gateway should be part of and get its private IP address from.
* @param network an existing virtual network
* @param subnetName the name of a subnet within the selected network
* @return the next stage of the definition
*/
WithAttach<ParentT> withExistingSubnet(Network network, String subnetName);
}
The final stage of the application gateway IP configuration definition.
At this stage, any remaining optional settings can be specified, or the definition
can be attached to the parent application gateway definition.
Type parameters: - <ParentT> – the stage of the parent application gateway definition to return to after attaching this definition
/** The final stage of the application gateway IP configuration definition.
* <p>
* At this stage, any remaining optional settings can be specified, or the definition
* can be attached to the parent application gateway definition.
* @param <ParentT> the stage of the parent application gateway definition to return to after attaching this definition
*/
interface WithAttach<ParentT> extends
Attachable.InDefinition<ParentT> {
}
}
The entirety of an application gateway IP configuration definition.
Type parameters: - <ParentT> – the stage of the parent application gateway definition to return to after attaching this definition
/** The entirety of an application gateway IP configuration definition.
* @param <ParentT> the stage of the parent application gateway definition to return to after attaching this definition
*/
interface Definition<ParentT> extends
DefinitionStages.Blank<ParentT>,
DefinitionStages.WithSubnet<ParentT>,
DefinitionStages.WithAttach<ParentT> {
}
Grouping of application gateway IP configuration update stages.
/**
* Grouping of application gateway IP configuration update stages.
*/
interface UpdateStages {
The stage of an application gateway IP configuration update allowing to modify the subnet the application gateway is part of.
/**
* The stage of an application gateway IP configuration update allowing to modify the subnet the application gateway is part of.
*/
interface WithSubnet extends HasSubnet.UpdateStages.WithSubnet<Update> {
Specifies an existing subnet the application gateway should be part of and get its private IP address from.
Params: - subnet – an existing subnet
Returns: the next stage of the update
/**
* Specifies an existing subnet the application gateway should be part of and get its private IP address from.
* @param subnet an existing subnet
* @return the next stage of the update
*/
Update withExistingSubnet(Subnet subnet);
Specifies an existing subnet the application gateway should be part of and get its private IP address from.
Params: - network – an existing virtual network
- subnetName – the name of a subnet within the selected network
Returns: the next stage of the update
/**
* Specifies an existing subnet the application gateway should be part of and get its private IP address from.
* @param network an existing virtual network
* @param subnetName the name of a subnet within the selected network
* @return the next stage of the update
*/
Update withExistingSubnet(Network network, String subnetName);
}
}
The entirety of an application gateway IP configuration update as part of an application gateway update.
/**
* The entirety of an application gateway IP configuration update as part of an application gateway update.
*/
interface Update extends
Settable<ApplicationGateway.Update>,
UpdateStages.WithSubnet {
}
Grouping of application gateway IP configuration definition stages applicable as part of an application gateway update.
/**
* Grouping of application gateway IP configuration definition stages applicable as part of an application gateway update.
*/
interface UpdateDefinitionStages {
The first stage of an application gateway IP configuration definition.
Type parameters: - <ParentT> – the stage of the parent definition to return to after attaching this definition
/**
* The first stage of an application gateway IP configuration definition.
* @param <ParentT> the stage of the parent definition to return to after attaching this definition
*/
interface Blank<ParentT> extends WithSubnet<ParentT> {
}
The stage of an application gateway IP configuration definition allowing to specify the subnet the application gateway is on.
Type parameters: - <ParentT> – the parent type
/**
* The stage of an application gateway IP configuration definition allowing to specify the subnet the application gateway is on.
* @param <ParentT> the parent type
*/
interface WithSubnet<ParentT> extends HasSubnet.UpdateDefinitionStages.WithSubnet< WithAttach<ParentT>> {
Specifies an existing subnet the application gateway should be part of and get its private IP address from.
Params: - subnet – an existing subnet
Returns: the next stage of the definition
/**
* Specifies an existing subnet the application gateway should be part of and get its private IP address from.
* @param subnet an existing subnet
* @return the next stage of the definition
*/
WithAttach<ParentT> withExistingSubnet(Subnet subnet);
Specifies an existing subnet the application gateway should be part of and get its private IP address from.
Params: - network – an existing virtual network
- subnetName – the name of a subnet within the selected network
Returns: the next stage of the definition
/**
* Specifies an existing subnet the application gateway should be part of and get its private IP address from.
* @param network an existing virtual network
* @param subnetName the name of a subnet within the selected network
* @return the next stage of the definition
*/
WithAttach<ParentT> withExistingSubnet(Network network, String subnetName);
}
The final stage of an application gateway IP configuration definition.
At this stage, any remaining optional settings can be specified, or the definition
can be attached to the parent application gateway definition.
Type parameters: - <ParentT> – the stage of the parent application gateway definition to return to after attaching this definition
/** The final stage of an application gateway IP configuration definition.
* <p>
* At this stage, any remaining optional settings can be specified, or the definition
* can be attached to the parent application gateway definition.
* @param <ParentT> the stage of the parent application gateway definition to return to after attaching this definition
*/
interface WithAttach<ParentT> extends
Attachable.InUpdate<ParentT> {
}
}
The entirety of an application gateway IP configuration definition as part of an application gateway update.
Type parameters: - <ParentT> – the parent type
/** The entirety of an application gateway IP configuration definition as part of an application gateway update.
* @param <ParentT> the parent type
*/
interface UpdateDefinition<ParentT> extends
UpdateDefinitionStages.Blank<ParentT>,
UpdateDefinitionStages.WithSubnet<ParentT>,
UpdateDefinitionStages.WithAttach<ParentT> {
}
}