Skip to content
Docs Try Aspire

AzureStorageEmulatorResource

Handle TypeScript
📦 Aspire.Hosting.Azure.Sql v13.2.0-preview.1.26159.1
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
Configures whether the emulator checks API version validity
withApiVersionCheck(enable?: boolean): AzureStorageEmulatorResource
enable boolean optional = True
AzureStorageEmulatorResource
method withBlobPort builder
Sets the host port for blob requests on the storage emulator
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
Sets the host port for queue requests on the storage emulator
withQueuePort(port: number): AzureStorageEmulatorResource
port number
AzureStorageEmulatorResource
method withTablePort builder
Sets the host port for table requests on the storage emulator
withTablePort(port: number): AzureStorageEmulatorResource
port number
AzureStorageEmulatorResource