We recommend using Azure Native.
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 string
- The unique name of the resource.
- args NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := network.NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(ctx, "networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource", &network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs{
BackendAddressPoolId: pulumi.String("string"),
IpConfigurationName: pulumi.String("string"),
NetworkInterfaceId: pulumi.String("string"),
})
var networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource = new NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation("networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource", NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs.builder()
.backendAddressPoolId("string")
.ipConfigurationName("string")
.networkInterfaceId("string")
.build());
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")
const networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource = new azure.network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation("networkInterfaceApplicationGatewayBackendAddressPoolAssociationResource", {
backendAddressPoolId: "string",
ipConfigurationName: "string",
networkInterfaceId: "string",
});
type: azure:network:NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation
properties:
backendAddressPoolId: string
ipConfigurationName: string
networkInterfaceId: string
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:
- Backend
Address stringPool Id - 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 stringName - 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 stringId - The ID of the Network Interface. Changing this forces a new resource to be created.
- Backend
Address stringPool Id - 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 stringName - 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 stringId - The ID of the Network Interface. Changing this forces a new resource to be created.
- backend
Address StringPool Id - 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 StringName - 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 StringId - The ID of the Network Interface. Changing this forces a new resource to be created.
- backend
Address stringPool Id - 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 stringName - 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 stringId - The ID of the Network Interface. Changing this forces a new resource to be created.
- backend_
address_ strpool_ id - 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_ strname - 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_ strid - The ID of the Network Interface. Changing this forces a new resource to be created.
- backend
Address StringPool Id - 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 StringName - 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 StringId - 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Backend
Address stringPool Id - 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 stringName - 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 stringId - The ID of the Network Interface. Changing this forces a new resource to be created.
- Backend
Address stringPool Id - 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 stringName - 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 stringId - The ID of the Network Interface. Changing this forces a new resource to be created.
- backend
Address StringPool Id - 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 StringName - 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 StringId - The ID of the Network Interface. Changing this forces a new resource to be created.
- backend
Address stringPool Id - 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 stringName - 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 stringId - The ID of the Network Interface. Changing this forces a new resource to be created.
- backend_
address_ strpool_ id - 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_ strname - 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_ strid - The ID of the Network Interface. Changing this forces a new resource to be created.
- backend
Address StringPool Id - 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 StringName - 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 StringId - 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
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.