Skip to content
Docs Try Aspire
Docs Try

AzureStorageEmulatorResource

Handle
📦 Aspire.Hosting.Azure.Storage v13.4.0
interface AzureStorageEmulatorResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
withApiVersionCheck(enable?: boolean): AzureStorageEmulatorResource;
withBlobPort(port: number): AzureStorageEmulatorResource;
withDataBindMount(
path?: string,
isReadOnly?: boolean): AzureStorageEmulatorResource;
withDataVolume(
name?: string,
isReadOnly?: boolean): AzureStorageEmulatorResource;
withQueuePort(port: number): AzureStorageEmulatorResource;
withTablePort(port: number): AzureStorageEmulatorResource;
}

Methods

method withApiVersionCheck builder
Ensures the emulator checks that the requested API version is valid.
withApiVersionCheck(enable?: boolean): AzureStorageEmulatorResource
enable boolean optional = True
AzureStorageEmulatorResource
method withBlobPort builder
Modifies the host port that the storage emulator listens on for blob requests.
withBlobPort(port: number): AzureStorageEmulatorResource
port number
AzureStorageEmulatorResource
method withDataBindMount builder
Adds a bind mount for the data folder to an Azure Storage emulator resource.
withDataBindMount(
path?: string,
isReadOnly?: boolean): AzureStorageEmulatorResource
path string optional
isReadOnly boolean optional = False
AzureStorageEmulatorResource
method withDataVolume builder
Adds a named volume for the data folder to an Azure Storage emulator resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): AzureStorageEmulatorResource
name string optional
isReadOnly boolean optional = False
AzureStorageEmulatorResource
method withQueuePort builder
Modifies the host port that the storage emulator listens on for queue requests.
withQueuePort(port: number): AzureStorageEmulatorResource
port number
AzureStorageEmulatorResource
method withTablePort builder
Modifies the host port that the storage emulator listens on for table requests.
withTablePort(port: number): AzureStorageEmulatorResource
port number
AzureStorageEmulatorResource