1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation

Explore with Pulumi AI

Manages the association between a Network Interface and a Application Gateway’s Backend Address Pool.

Create NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(name: string, args: NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs, opts?: CustomResourceOptions);
@overload
def NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(resource_name: str,
                                                                    args: NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs,
                                                                    opts: Optional[ResourceOptions] = None)

@overload
def NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(resource_name: str,
                                                                    opts: Optional[ResourceOptions] = None,
                                                                    backend_address_pool_id: Optional[str] = None,
                                                                    ip_configuration_name: Optional[str] = None,
                                                                    network_interface_id: Optional[str] = None)
func NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(ctx *Context, name string, args NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs, opts ...ResourceOption) (*NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation, error)
public NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(string name, NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs args, CustomResourceOptions? opts = null)
public NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(String name, NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs args)
public NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(String name, NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs args, CustomResourceOptions options)
type: azure:network:NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource = new Azure.Network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation("networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource", new()
{
    BackendAddressPoolId = "string",
    IpConfigurationName = "string",
    NetworkInterfaceId = "string",
});
Copy
example, err := network.NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(ctx, "networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource", &network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs{
	BackendAddressPoolId: pulumi.String("string"),
	IpConfigurationName:  pulumi.String("string"),
	NetworkInterfaceId:   pulumi.String("string"),
})
Copy
var networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource = new NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation("networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource", NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs.builder()
    .backendAddressPoolId("string")
    .ipConfigurationName("string")
    .networkInterfaceId("string")
    .build());
Copy
network_interface_application_gateway_backend_address_pool_association_resource = azure.network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation("networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource",
    backend_address_pool_id="string",
    ip_configuration_name="string",
    network_interface_id="string")
Copy
const networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource = new azure.network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation("networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource", {
    backendAddressPoolId: "string",
    ipConfigurationName: "string",
    networkInterfaceId: "string",
});
Copy
type: azure:network:NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation
properties:
    backendAddressPoolId: string
    ipConfigurationName: string
    networkInterfaceId: string
Copy

NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation resource accepts the following input properties:

BackendAddressPoolId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
IpConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
NetworkInterfaceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Network Interface. Changing this forces a new resource to be created.
BackendAddressPoolId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
IpConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
NetworkInterfaceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Network Interface. Changing this forces a new resource to be created.
backendAddressPoolId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
ipConfigurationName
This property is required.
Changes to this property will trigger replacement.
String
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
networkInterfaceId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Network Interface. Changing this forces a new resource to be created.
backendAddressPoolId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
ipConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
networkInterfaceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Network Interface. Changing this forces a new resource to be created.
backend_address_pool_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
ip_configuration_name
This property is required.
Changes to this property will trigger replacement.
str
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
network_interface_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Network Interface. Changing this forces a new resource to be created.
backendAddressPoolId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
ipConfigurationName
This property is required.
Changes to this property will trigger replacement.
String
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
networkInterfaceId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Network Interface. Changing this forces a new resource to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation Resource

Get an existing NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationState, opts?: CustomResourceOptions): NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        backend_address_pool_id: Optional[str] = None,
        ip_configuration_name: Optional[str] = None,
        network_interface_id: Optional[str] = None) -> NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation
func GetNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(ctx *Context, name string, id IDInput, state *NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationState, opts ...ResourceOption) (*NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation, error)
public static NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation Get(string name, Input<string> id, NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationState? state, CustomResourceOptions? opts = null)
public static NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation get(String name, Output<String> id, NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationState state, CustomResourceOptions options)
resources:  _:    type: azure:network:NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
BackendAddressPoolId Changes to this property will trigger replacement. string
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
IpConfigurationName Changes to this property will trigger replacement. string
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
NetworkInterfaceId Changes to this property will trigger replacement. string
The ID of the Network Interface. Changing this forces a new resource to be created.
BackendAddressPoolId Changes to this property will trigger replacement. string
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
IpConfigurationName Changes to this property will trigger replacement. string
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
NetworkInterfaceId Changes to this property will trigger replacement. string
The ID of the Network Interface. Changing this forces a new resource to be created.
backendAddressPoolId Changes to this property will trigger replacement. String
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
ipConfigurationName Changes to this property will trigger replacement. String
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
networkInterfaceId Changes to this property will trigger replacement. String
The ID of the Network Interface. Changing this forces a new resource to be created.
backendAddressPoolId Changes to this property will trigger replacement. string
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
ipConfigurationName Changes to this property will trigger replacement. string
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
networkInterfaceId Changes to this property will trigger replacement. string
The ID of the Network Interface. Changing this forces a new resource to be created.
backend_address_pool_id Changes to this property will trigger replacement. str
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
ip_configuration_name Changes to this property will trigger replacement. str
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
network_interface_id Changes to this property will trigger replacement. str
The ID of the Network Interface. Changing this forces a new resource to be created.
backendAddressPoolId Changes to this property will trigger replacement. String
The ID of the Application Gateway's Backend Address Pool which this Network Interface which should be connected to. Changing this forces a new resource to be created.
ipConfigurationName Changes to this property will trigger replacement. String
The Name of the IP Configuration within the Network Interface which should be connected to the Backend Address Pool. Changing this forces a new resource to be created.
networkInterfaceId Changes to this property will trigger replacement. String
The ID of the Network Interface. Changing this forces a new resource to be created.

Import

Associations between Network Interfaces and Application Gateway Backend Address Pools can be imported using the resource id, e.g.

$ pulumi import azure:network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation:NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation association1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/example|/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/applicationGateways/gateway1/backendAddressPools/pool1
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.