Aspire.Hosting.Azure.Storage
Official
📦 Aspire.Hosting.Azure.Storagev13.4.016Functions
10Types
10 types and 0 members
Types
handle
AzureBlobStorageContainerResourcehandle
AzureBlobStorageResourcehandle
AzureDataLakeStorageFileSystemResourcehandle
AzureDataLakeStorageResourcehandle
AzureQueueStorageQueueResourcehandle
AzureQueueStorageResourcehandle
AzureStorageEmulatorResource6 membershandle
AzureStorageResource8 membershandle
AzureTableStorageResourceFunctions
method
addAzureStoragebuilderAdds an Azure Storage resource to the application model. This resource can be used to create Azure blob, table, and queue resources.
addAzureStorage(name: string): AzureStorageResourcemethod
addBlobContainerbuilderAdds an Azure Blob Storage container resource
addBlobContainer(name: string, blobContainerName?: string): AzureBlobStorageContainerResourcemethod
addBlobsbuilderAdds an Azure Blob Storage resource
addBlobs(name: string): AzureBlobStorageResourcemethod
addDataLakebuilderAdds an Azure Data Lake Storage resource
addDataLake(name: string): AzureDataLakeStorageResourcemethod
addDataLakeFileSystembuilderAdds an Azure Data Lake Storage file system resource
addDataLakeFileSystem(name: string, dataLakeFileSystemName?: string): AzureDataLakeStorageFileSystemResourcemethod
addQueuebuilderAdds an Azure Storage queue resource
addQueue(name: string, queueName?: string): AzureQueueStorageQueueResourcemethod
addQueuesbuilderAdds an Azure Queue Storage resource
addQueues(name: string): AzureQueueStorageResourcemethod
addTablesbuilderAdds an Azure Table Storage resource
addTables(name: string): AzureTableStorageResourcemethod
runAsEmulatorbuilderConfigures the Azure Storage resource to be emulated using Azurite
runAsEmulator(configureContainer?: (obj: AzureStorageEmulatorResource) => Promise<void>): AzureStorageResourcemethod
withApiVersionCheckbuilderEnsures the emulator checks that the requested API version is valid.
withApiVersionCheck(enable?: boolean): AzureStorageEmulatorResourcemethod
withBlobPortbuilderModifies the host port that the storage emulator listens on for blob requests.
withBlobPort(port: number): AzureStorageEmulatorResourcemethod
withDataBindMountbuilderAdds a bind mount for the data folder to an Azure Storage emulator resource.
withDataBindMount(path?: string, isReadOnly?: boolean): AzureStorageEmulatorResourcemethod
withDataVolumebuilderAdds a named volume for the data folder to an Azure Storage emulator resource.
withDataVolume(name?: string, isReadOnly?: boolean): AzureStorageEmulatorResourcemethod
withQueuePortbuilderModifies the host port that the storage emulator listens on for queue requests.
withQueuePort(port: number): AzureStorageEmulatorResourcemethod
withStorageRoleAssignmentsbuilderAssigns the specified roles to the given resource, granting it the necessary permissions on the target Azure Storage account. This replaces the default role assignments for the resource.
withStorageRoleAssignments(target: AzureStorageResource, roles: AzureStorageRole[]): IResourcemethod
withTablePortbuilderModifies the host port that the storage emulator listens on for table requests.
withTablePort(port: number): AzureStorageEmulatorResource