# getPostgreSqlFlexibleServerBackupByIdentifier

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

Gets a PostgreSqlFlexibleServerBackup provisioning resource by its Bicep identifier.

## Definition

```typescript
interface AzureResourceInfrastructure {
  // ... omitted for brevity
  getPostgreSqlFlexibleServerBackupByIdentifier(bicepIdentifier: string): PostgreSqlFlexibleServerBackupProxy
}
```

## Parameters

- `bicepIdentifier` (`string`)

## Returns

[PostgreSqlFlexibleServerBackupProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverbackupproxy.md)

## Applies to

- [AzureResourceInfrastructure](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/azureresourceinfrastructure.md)
