# AzureBicepResource.getOutput

- Module: [Aspire.Hosting.Azure](/reference/api/typescript/aspire.hosting.azure.md)
- Defined on: [AzureBicepResource](/reference/api/typescript/aspire.hosting.azure/azurebicepresource.md)
- Version: `13.4.0`
- Kind: `method`

Gets a reference to an output from a bicep template.

## Definition

```typescript
interface AzureBicepResource {
  // ... omitted for brevity
  getOutput(name: string): BicepOutputReference;
}
```

## Signature

```typescript
getOutput(name: string): BicepOutputReference
```

## Parameters

- `name` (`string`)

## Returns

[BicepOutputReference](/reference/api/typescript/aspire.hosting.azure/bicepoutputreference.md)

## Defined on

- [AzureBicepResource](/reference/api/typescript/aspire.hosting.azure/azurebicepresource.md) -- `handle`
