# FlociAzureStorageResource

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.Floci](/reference/api/csharp/communitytoolkit.aspire.hosting.floci.md)
- Version: `13.6.1`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9c2addac6f527ef2e33712d290b84574b455a3b/src/CommunityToolkit.Aspire.Hosting.Floci/FlociAzureStorageResource.cs)
- Inherits: `Resource`
- Implements: `IExpressionValue`, `IManifestExpressionProvider`, `IResource`, `IResourceWithConnectionString`, `IResourceWithParent`, `IResourceWithParent<FlociAzureContainerResource>`, `IValueProvider`, `IValueWithReferences`

Represents the Blob, Queue and Table Storage APIs exposed by a Floci Azure emulator resource.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public class FlociAzureStorageResource
    : Aspire.Hosting.ApplicationModel.Resource,
      Aspire.Hosting.ApplicationModel.IExpressionValue,
      Aspire.Hosting.ApplicationModel.IManifestExpressionProvider,
      Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithConnectionString,
      Aspire.Hosting.ApplicationModel.IResourceWithParent,
      Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.ApplicationModel.FlociAzureContainerResource>,
      Aspire.Hosting.ApplicationModel.IValueProvider,
      Aspire.Hosting.ApplicationModel.IValueWithReferences
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `CommunityToolkit.Aspire.Hosting.Floci/FlociAzureStorageResource`
- Public instance properties are exported as ATS capabilities.

## Remarks

The resource has no health check of its own: Aspire applies the parent emulator's health check to it, so it becomes healthy as soon as the Floci Azure container is.

## Constructors

- [FlociAzureStorageResource(string, FlociAzureContainerResource)](/reference/api/csharp/communitytoolkit.aspire.hosting.floci/flociazurestorageresource/constructors.md#constructor-string-flociazurecontainerresource) -- Represents the Blob, Queue and Table Storage APIs exposed by a Floci Azure emulator resource.

## Properties

- [AccountName](/reference/api/csharp/communitytoolkit.aspire.hosting.floci/flociazurestorageresource/properties.md#accountname) : `string` `get` -- Gets the storage account name.
- [ConnectionStringExpression](/reference/api/csharp/communitytoolkit.aspire.hosting.floci/flociazurestorageresource/properties.md#connectionstringexpression) : `ReferenceExpression` `get` -- Gets the storage connection string expression, carrying the `BlobEndpoint`, `QueueEndpoint` and `TableEndpoint` entries so every Azure Storage SDK client resolves to the emulator.
- [Parent](/reference/api/csharp/communitytoolkit.aspire.hosting.floci/flociazurestorageresource/properties.md#parent) : [FlociAzureContainerResource](/reference/api/csharp/communitytoolkit.aspire.hosting.floci/flociazurecontainerresource.md) `get` -- Gets the parent Floci Azure emulator resource.
- [ServiceEndpoint](/reference/api/csharp/communitytoolkit.aspire.hosting.floci/flociazurestorageresource/properties.md#serviceendpoint) : `ReferenceExpression` `get` -- Gets the service endpoint shared by the Blob, Queue and Table APIs.
