AzureKustoBuilderExtensions.WithHostPort 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.
Configures the host port that the Kusto emulator listens on for HTTP query requests.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.Kusto.AzureKustoEmulatorResource> WithHostPort(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.Kusto.AzureKustoEmulatorResource> builder, int port);
static member WithHostPort : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.Kusto.AzureKustoEmulatorResource> * int -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.Kusto.AzureKustoEmulatorResource>
<Extension()>
Public Function WithHostPort (builder As IResourceBuilder(Of AzureKustoEmulatorResource), port As Integer) As IResourceBuilder(Of AzureKustoEmulatorResource)
Parameters
Kusto emulator resource builder.
- port
- Int32
Host port to use.
Returns
An IResourceBuilder<T> for the AzureKustoEmulatorResource.