# AzureTableStorageResource Constructors

- Package: [Aspire.Hosting.Azure.Storage](/reference/api/csharp/aspire.hosting.azure.storage.md)
- Type: [AzureTableStorageResource](/reference/api/csharp/aspire.hosting.azure.storage/azuretablestorageresource.md)
- Kind: `Constructors`
- Members: `1`

Represents an Azure Table Storage resource.

## AzureTableStorageResource(string, AzureStorageResource)

- Name: `Constructor(string, AzureStorageResource)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.Storage/AzureTableStorageResource.cs#L17)

Represents an Azure Table Storage resource.

```csharp
public class AzureTableStorageResource
{
    public AzureTableStorageResource(
        string name,
        AzureStorageResource storage)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
- `storage` ([AzureStorageResource](/reference/api/csharp/aspire.hosting.azure.storage/azurestorageresource.md))
  The [AzureStorageResource](/reference/api/csharp/aspire.hosting.azure.storage/azurestorageresource.md) that the resource is stored in.
