AzureStorageExtensions.WithBlobPort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Storage emulator resource builder.
- port
- Int32
Host port to use.