AzureStorageExtensions.WithQueuePort Method

Definition

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

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageEmulatorResource> WithQueuePort (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageEmulatorResource> builder, int port);
static member WithQueuePort : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageEmulatorResource> * int -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageEmulatorResource>
<Extension()>
Public Function WithQueuePort (builder As IResourceBuilder(Of AzureStorageEmulatorResource), port As Integer) As IResourceBuilder(Of AzureStorageEmulatorResource)

Parameters

builder
IResourceBuilder<AzureStorageEmulatorResource>

Storage emulator resource builder.

port
Int32

Host port to use.

Returns

Applies to