# AzureBicepResource.GetOutput

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

Gets a reference to an output from a bicep template.

## Definition

```go
type AzureBicepResource interface {
    // ... omitted for brevity
    GetOutput(name string) BicepOutputReference
}
```

## Signature

```go
GetOutput(name string) BicepOutputReference
```

## Parameters

- `name` (`string`) -- Name of the output.

## Returns

[`BicepOutputReference`](/reference/api/go/aspire.hosting.azure/bicepoutputreference.md) -- A `BicepOutputReference` that represents the output.

Returns a handle; failures surface later via `Err()`.

## Defined on

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