# PostgreSqlFlexibleServerFirewallRuleProxy

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

Represents the PostgreSqlFlexibleServerFirewallRule Azure Provisioning model.

## Definition

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

## Properties

- `endIPAddress`: `BicepValueProxy` `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`: [PostgreSqlFlexibleServerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `startIPAddress`: `BicepValueProxy` `get - set` -- Gets or sets the StartIPAddress provisioning property.
- `systemData`: [PostgreSqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverfirewallruleproxy/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.postgresql/postgresqlflexibleserverfirewallruleproxy/clearendipaddress.md) -- `method` -- Clears the EndIPAddress provisioning property.
    ```typescript
  clearEndIPAddress(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverfirewallruleproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearStartIPAddress](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverfirewallruleproxy/clearstartipaddress.md) -- `method` -- Clears the StartIPAddress provisioning property.
    ```typescript
  clearStartIPAddress(): void
  ```
