withHostPort

Method
📦 CommunityToolkit.Aspire.Hosting.Azure.Extensions v13.6.1
interface AzureStorageExplorerResource {
// ... omitted for brevity
withHostPort(port: number): AzureStorageExplorerResource;
}

Signature

methodwithHostPortbuilder
Configures the host port that the Azure Storage Explorer resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureStorageExplorerResource
portnumberThe port to bind on the host. If `null` is used random port will be assigned.
AzureStorageExplorerResource

Applies to

This method applies to the following types: