Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureEnvironmentResource

Handle
📦 Aspire.Hosting.Azure v17.0.0
type AzureEnvironmentResource interface {
Resource
}

Methods

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().

methodWithResourceGroupbuilder
Sets the resource group name of the Azure environment resource.
WithResourceGroup(resourceGroup ParameterResource) AzureEnvironmentResource
resourceGroupParameterResourceThe Azure resource group name.
AzureEnvironmentResource

The resource builder.

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