# SqlFirewallRuleProxy

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

Represents the SqlFirewallRule Azure Provisioning model.

## Definition

```typescript
interface SqlFirewallRuleProxy {
  endIPAddress: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: SqlServerProxy;
  startIPAddress: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearEndIPAddress(): void;
  clearName(): void;
  clearStartIPAddress(): void;
}
```

## Properties

- `endIPAddress`: `BicepValueProxy | string` `get - set` -- Gets or sets the EndIPAddress provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [SqlServerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `startIPAddress`: `BicepValueProxy | string` `get - set` -- Gets or sets the StartIPAddress provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlfirewallruleproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearEndIPAddress](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlfirewallruleproxy/clearendipaddress.md) -- `method` -- Clears the EndIPAddress provisioning property.
    ```typescript
  clearEndIPAddress(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlfirewallruleproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearStartIPAddress](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlfirewallruleproxy/clearstartipaddress.md) -- `method` -- Clears the StartIPAddress provisioning property.
    ```typescript
  clearStartIPAddress(): void
  ```
