# BackendAddressPoolProxy

- Module: [Aspire.Hosting.Azure.Provisioning.Network](/reference/api/typescript/aspire.hosting.azure.provisioning.network.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the BackendAddressPool Azure Provisioning model.

## Definition

```typescript
interface BackendAddressPoolProxy {
  readonly backendIPConfigurations: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfNetworkInterfaceIPConfigurationProxy;
  drainPeriodInSeconds: BicepValueProxy | number;
  readonly eTag: BicepValueProxy;
  id: BicepValueProxy;
  readonly inboundNatRules: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy;
  loadBalancerBackendAddresses: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfLoadBalancerBackendAddressProxy;
  readonly loadBalancingRules: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly outboundRuleId: BicepValueProxy;
  readonly outboundRules: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy;
  parent: LoadBalancerProxy;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  syncMode: BicepValueProxy | BackendAddressSyncMode;
  tunnelInterfaces: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfGatewayLoadBalancerTunnelInterfaceProxy;
  virtualNetworkId: BicepValueProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearDrainPeriodInSeconds(): void;
  clearId(): void;
  clearLocation(): void;
  clearName(): void;
  clearSyncMode(): void;
  clearVirtualNetworkId(): void;
}
```

## Properties

- `backendIPConfigurations`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfNetworkInterfaceIPConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofnetworkinterfaceipconfigurationproxy.md) `get` -- Gets the BackendIPConfigurations provisioning property.
- `drainPeriodInSeconds`: `BicepValueProxy | number` `get - set` -- Gets or sets the DrainPeriodInSeconds provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `id`: `BicepValueProxy` `get - set` -- Gets or sets the Id provisioning property.
- `inboundNatRules`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofwritablesubresourceproxy.md) `get` -- Gets the InboundNatRules provisioning property.
- `loadBalancerBackendAddresses`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfLoadBalancerBackendAddressProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofloadbalancerbackendaddressproxy.md) `get - set` -- Gets or sets the LoadBalancerBackendAddresses provisioning property.
- `loadBalancingRules`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofwritablesubresourceproxy.md) `get` -- Gets the LoadBalancingRules provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `outboundRuleId`: `BicepValueProxy` `get` -- Gets the OutboundRuleId provisioning property.
- `outboundRules`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofwritablesubresourceproxy.md) `get` -- Gets the OutboundRules provisioning property.
- `parent`: [LoadBalancerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/loadbalancerproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `syncMode`: `BicepValueProxy | BackendAddressSyncMode` `get - set` -- Gets or sets the SyncMode provisioning property.
- `tunnelInterfaces`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfGatewayLoadBalancerTunnelInterfaceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofgatewayloadbalancertunnelinterfaceproxy.md) `get - set` -- Gets or sets the TunnelInterfaces provisioning property.
- `virtualNetworkId`: `BicepValueProxy` `get - set` -- Gets or sets the VirtualNetworkId provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/backendaddresspoolproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearDrainPeriodInSeconds](/reference/api/typescript/aspire.hosting.azure.provisioning.network/backendaddresspoolproxy/cleardrainperiodinseconds.md) -- `method` -- Clears the DrainPeriodInSeconds provisioning property.
    ```typescript
  clearDrainPeriodInSeconds(): void
  ```
- [clearId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/backendaddresspoolproxy/clearid.md) -- `method` -- Clears the Id provisioning property.
    ```typescript
  clearId(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/backendaddresspoolproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/backendaddresspoolproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearSyncMode](/reference/api/typescript/aspire.hosting.azure.provisioning.network/backendaddresspoolproxy/clearsyncmode.md) -- `method` -- Clears the SyncMode provisioning property.
    ```typescript
  clearSyncMode(): void
  ```
- [clearVirtualNetworkId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/backendaddresspoolproxy/clearvirtualnetworkid.md) -- `method` -- Clears the VirtualNetworkId provisioning property.
    ```typescript
  clearVirtualNetworkId(): void
  ```
