# PipelineOptions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Pipelines`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/Pipelines/PipelineOptions.cs)

Represents the options for executing a pipeline.

## Definition

```csharp
namespace Aspire.Hosting.Pipelines;

public class PipelineOptions
{
    // ...
}
```

## Constructors

- [PipelineOptions](/reference/api/csharp/aspire.hosting/pipelineoptions/constructors.md#constructor)

## Properties

- [ClearCache](/reference/api/csharp/aspire.hosting/pipelineoptions/properties.md#clearcache) : `bool` `get; set` -- Gets or sets a value indicating whether to clear the deployment cache. When true, deployment state will not be saved or used.
- [LogLevel](/reference/api/csharp/aspire.hosting/pipelineoptions/properties.md#loglevel) : `string?` `get; set` -- Gets or sets the minimum log level for pipeline execution.
- [OutputPath](/reference/api/csharp/aspire.hosting/pipelineoptions/properties.md#outputpath) : `string?` `get; set` -- Gets or sets the path to the directory where the pipeline output will be written.
- [SkipConfirmation](/reference/api/csharp/aspire.hosting/pipelineoptions/properties.md#skipconfirmation) : `bool` `get; set` -- Gets or sets a value indicating whether to skip confirmation prompts for destructive operations.
- [Step](/reference/api/csharp/aspire.hosting/pipelineoptions/properties.md#step) : `string?` `get; set` -- Gets or sets the name of a specific pipeline step to run. When specified, only this step and its dependencies will be executed.
