> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# AzuriteInstance

> Represents a running Azurite instance with process lifecycle management.

## Definition

**Assembly:** CloudNimble.Breakdance.Azurite.dll

**Namespace:** CloudNimble.Breakdance.Azurite

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
CloudNimble.Breakdance.Azurite.AzuriteInstance
```

## Summary

Represents a running Azurite instance with process lifecycle management.

## Constructors

### &#x20;.ctor

Creates a new [AzuriteInstance](https://easyaf.nimbleapps.cloud/breakdance/api-reference/CloudNimble/Breakdance/Azurite/AzuriteInstance.md) with the specified configuration.

#### Syntax

```csharp theme={"dark"}
public AzuriteInstance(CloudNimble.Breakdance.Azurite.AzuriteConfiguration configuration = null)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `configuration` | `CloudNimble.Breakdance.Azurite.AzuriteConfiguration` | The configuration options. |

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;BlobEndpoint

Gets the HTTP endpoint URL for the Blob service.
Returns null if Blob service was not requested or not started.

#### Syntax

```csharp theme={"dark"}
public string BlobEndpoint { get; }
```

#### Property Value

Type: `string`

### &#x20;BlobPort

Gets the port number for the Blob service, or null if not started.

#### Syntax

```csharp theme={"dark"}
public System.Nullable<int> BlobPort { get; private set; }
```

#### Property Value

Type: `System.Nullable<int>`

### &#x20;IsRunning

Gets whether the Azurite instance is currently running.

#### Syntax

```csharp theme={"dark"}
public bool IsRunning { get; }
```

#### Property Value

Type: `bool`

### &#x20;QueueEndpoint

Gets the HTTP endpoint URL for the Queue service.
Returns null if Queue service was not requested or not started.

#### Syntax

```csharp theme={"dark"}
public string QueueEndpoint { get; }
```

#### Property Value

Type: `string`

### &#x20;QueuePort

Gets the port number for the Queue service, or null if not started.

#### Syntax

```csharp theme={"dark"}
public System.Nullable<int> QueuePort { get; private set; }
```

#### Property Value

Type: `System.Nullable<int>`

### &#x20;StandardError

Gets the standard error captured from the Azurite process.

#### Syntax

```csharp theme={"dark"}
public string StandardError { get; }
```

#### Property Value

Type: `string`

### &#x20;StandardOutput

Gets the standard output captured from the Azurite process.

#### Syntax

```csharp theme={"dark"}
public string StandardOutput { get; }
```

#### Property Value

Type: `string`

### &#x20;TableEndpoint

Gets the HTTP endpoint URL for the Table service.
Returns null if Table service was not requested or not started.

#### Syntax

```csharp theme={"dark"}
public string TableEndpoint { get; }
```

#### Property Value

Type: `string`

### &#x20;TablePort

Gets the port number for the Table service, or null if not started.

#### Syntax

```csharp theme={"dark"}
public System.Nullable<int> TablePort { get; private set; }
```

#### Property Value

Type: `System.Nullable<int>`

## Methods

### &#x20;ClearAllBlobContainersAsync

Deletes all blob containers in the storage account.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task ClearAllBlobContainersAsync()
```

#### Returns

Type: `System.Threading.Tasks.Task`
A task that completes when all containers are deleted.

### &#x20;ClearAllQueuesAsync

Deletes all queues in the storage account.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task ClearAllQueuesAsync()
```

#### Returns

Type: `System.Threading.Tasks.Task`
A task that completes when all queues are deleted.

### &#x20;ClearAllTablesAsync

Deletes all tables in the storage account.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task ClearAllTablesAsync()
```

#### Returns

Type: `System.Threading.Tasks.Task`
A task that completes when all tables are deleted.

### &#x20;ClearQueueMessagesAsync

Clears all messages from a queue. Does nothing if the queue doesn't exist.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task ClearQueueMessagesAsync(string queueName)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `queueName` | `string` | The name of the queue to clear. |

#### Returns

Type: `System.Threading.Tasks.Task`
A task that completes when the operation finishes.

### &#x20;DeleteBlobContainerAsync

Deletes a blob container. Does nothing if the container doesn't exist.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task DeleteBlobContainerAsync(string containerName)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `containerName` | `string` | The name of the container to delete. |

#### Returns

Type: `System.Threading.Tasks.Task`
A task that completes when the operation finishes.

### &#x20;DeleteQueueAsync

Deletes a queue. Does nothing if the queue doesn't exist.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task DeleteQueueAsync(string queueName)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `queueName` | `string` | The name of the queue to delete. |

#### Returns

Type: `System.Threading.Tasks.Task`
A task that completes when the operation finishes.

### &#x20;DeleteTableAsync

Deletes a table. Does nothing if the table doesn't exist.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task DeleteTableAsync(string tableName)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `tableName` | `string` | The name of the table to delete. |

#### Returns

Type: `System.Threading.Tasks.Task`
A task that completes when the operation finishes.

### &#x20;Dispose

Disposes the Azurite instance and releases all resources.

#### Syntax

```csharp theme={"dark"}
public void Dispose()
```

### &#x20;DisposeAsync

Asynchronously disposes the Azurite instance and releases all resources.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.ValueTask DisposeAsync()
```

#### Returns

Type: `System.Threading.Tasks.ValueTask`

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetConnectionString

Gets a connection string for the Development Storage account.
Only includes endpoints for services that were requested.

#### Syntax

```csharp theme={"dark"}
public string GetConnectionString(string accountName = "devstoreaccount1", string accountKey = "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==")
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `accountName` | `string` | The account name. Defaults to "devstoreaccount1". |
| `accountKey` | `string` | The account key. Defaults to the well-known development key. |

#### Returns

Type: `string`
A connection string that can be used with Azure Storage SDKs.

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;ListBlobContainersAsync

Lists all blob containers in the storage account.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task<System.Collections.Generic.List<string>> ListBlobContainersAsync()
```

#### Returns

Type: `System.Threading.Tasks.Task<System.Collections.Generic.List<string>>`
A list of container names.

### &#x20;ListQueuesAsync

Lists all queues in the storage account.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task<System.Collections.Generic.List<string>> ListQueuesAsync()
```

#### Returns

Type: `System.Threading.Tasks.Task<System.Collections.Generic.List<string>>`
A list of queue names.

### &#x20;ListTablesAsync

Lists all tables in the storage account.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task<System.Collections.Generic.List<string>> ListTablesAsync()
```

#### Returns

Type: `System.Threading.Tasks.Task<System.Collections.Generic.List<string>>`
A list of table names.

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;StartAsync

Starts the Azurite instance asynchronously.
Includes automatic retry logic for port conflicts when [AzuriteConfiguration.AutoAssignPorts](https://easyaf.nimbleapps.cloud/breakdance/api-reference/CloudNimble/Breakdance/Azurite/AzuriteConfiguration.md#autoassignports) is true.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task StartAsync()
```

#### Returns

Type: `System.Threading.Tasks.Task`
A task that completes when Azurite is ready to accept connections.

### &#x20;StopAsync

Stops the Azurite instance asynchronously.

#### Syntax

```csharp theme={"dark"}
public System.Threading.Tasks.Task StopAsync()
```

#### Returns

Type: `System.Threading.Tasks.Task`
A task that completes when Azurite has stopped.

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`

## Related APIs

* System.IDisposable
* System.IAsyncDisposable


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.