Partilhar via


AzureStorageExtensions Class

Definition

Extension methods for adding Azure Storage resources to an application model.

public static class AzureStorageExtensions
type AzureStorageExtensions = class
Public Module AzureStorageExtensions
Inheritance
AzureStorageExtensions

Methods

AddAzureStorage(IDistributedApplicationBuilder, String, Action<IResourceBuilder<AzureStorageResource>,ResourceModuleConstruct,StorageAccount>)

Adds an Azure Storage resource to the application model.This resource can be used to create Azure blob, table, and queue resources.

AddAzureStorage(IDistributedApplicationBuilder, String)

Adds an Azure Storage resource to the application model. This resource can be used to create Azure blob, table, and queue resources.

AddBlobs(IResourceBuilder<AzureStorageResource>, String)

Creates a builder for the AzureBlobStorageResource which can be referenced to get the Azure Storage blob endpoint for the storage account.

AddQueues(IResourceBuilder<AzureStorageResource>, String)

Creates a builder for the AzureQueueStorageResource which can be referenced to get the Azure Storage queues endpoint for the storage account.

AddTables(IResourceBuilder<AzureStorageResource>, String)

Creates a builder for the AzureTableStorageResource which can be referenced to get the Azure Storage tables endpoint for the storage account.

RunAsEmulator(IResourceBuilder<AzureStorageResource>, Action<IResourceBuilder<AzureStorageEmulatorResource>>)

Configures an Azure Storage resource to be emulated using Azurite. This resource requires an AzureStorageResource to be added to the application model.

WithBlobPort(IResourceBuilder<AzureStorageEmulatorResource>, Int32)

Modifies the host port that the storage emulator listens on for blob requests.

WithDataBindMount(IResourceBuilder<AzureStorageEmulatorResource>, String, Boolean)

Adds a bind mount for the data folder to an Azure Storage emulator resource.

WithDataVolume(IResourceBuilder<AzureStorageEmulatorResource>, String, Boolean)

Adds a named volume for the data folder to an Azure Storage emulator resource.

WithQueuePort(IResourceBuilder<AzureStorageEmulatorResource>, Int32)

Modifies the host port that the storage emulator listens on for queue requests.

WithTablePort(IResourceBuilder<AzureStorageEmulatorResource>, Int32)

Modifies the host port that the storage emulator listens on for table requests.

Applies to