Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithLocation

Method
📦 Aspire.Hosting.Azure v17.0.0
func (AzureEnvironmentResource) WithLocation(location ParameterResource) AzureEnvironmentResource

Signature

methodWithLocationbuilder
Sets the location of the Azure environment resource.
WithLocation(location ParameterResource) AzureEnvironmentResource
locationParameterResourceThe Azure location.
AzureEnvironmentResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: