# OutboundRuleProxy

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

Represents the OutboundRule Azure Provisioning model.

## Definition

```typescript
interface OutboundRuleProxy {
  readonly allocatedOutboundPorts: BicepValueProxy | number;
  readonly backendAddressPoolId: BicepValueProxy;
  readonly enableTcpReset: BicepValueProxy | boolean;
  readonly eTag: BicepValueProxy;
  readonly frontendIPConfigurations: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy;
  readonly id: BicepValueProxy;
  readonly idleTimeoutInMinutes: BicepValueProxy | number;
  name: BicepValueProxy | string;
  parent: LoadBalancerProxy;
  readonly protocol: BicepValueProxy | LoadBalancerOutboundRuleProtocol;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearName(): void;
}
```

## Properties

- `allocatedOutboundPorts`: `BicepValueProxy | number` `get` -- Gets the AllocatedOutboundPorts provisioning property.
- `backendAddressPoolId`: `BicepValueProxy` `get` -- Gets the BackendAddressPoolId provisioning property.
- `enableTcpReset`: `BicepValueProxy | boolean` `get` -- Gets the EnableTcpReset provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `frontendIPConfigurations`: [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 FrontendIPConfigurations provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `idleTimeoutInMinutes`: `BicepValueProxy | number` `get` -- Gets the IdleTimeoutInMinutes provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [LoadBalancerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/loadbalancerproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `protocol`: `BicepValueProxy | LoadBalancerOutboundRuleProtocol` `get` -- Gets the Protocol provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/outboundruleproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/outboundruleproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
