Partilhar via


AzureStorageExtensions.WithBlobPort Method

Definition

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

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageEmulatorResource> WithBlobPort (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageEmulatorResource> builder, int port);
static member WithBlobPort : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageEmulatorResource> * int -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageEmulatorResource>
<Extension()>
Public Function WithBlobPort (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