共用方式為


AzureStorageExtensions.WithTablePort Method

Definition

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

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