# AzureBicepResource

- Module: [Aspire.Hosting.Azure](/reference/api/typescript/aspire.hosting.azure.md)
- Version: `13.4.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface AzureBicepResource
  extends IAzureResource,
    IResource,
    IResourceWithParameters {
  getOutput(name: string): BicepOutputReference;
  withParameter(
      name: string,
      value?: EndpointReference): AzureBicepResource;
}
```

## Methods

- [getOutput](/reference/api/typescript/aspire.hosting.azure/azurebicepresource/getoutput.md) -- `method` -- Gets a reference to an output from a bicep template.
    ```typescript
  getOutput(name: string): BicepOutputReference
  ```
- [withParameter](/reference/api/typescript/aspire.hosting.azure/azurebicepresource/withparameter.md) -- `method` -- Adds a Bicep parameter
    ```typescript
  withParameter(name: string, value?: EndpointReference): AzureBicepResource
  ```
