AzureEnvironmentResource
Classsealednet10.0
Represents the root Azure deployment target for an Aspire application. Manages deployment parameters and context for Azure resources.
namespace Aspire.Hosting.Azure;
public sealed class AzureEnvironmentResource : Aspire.Hosting.ApplicationModel.Resource{ // ...}Resource
6 members
Constructors1
Section titled Constructors Initializes a new instance of the
AzureEnvironmentResource class. Properties3
Section titled PropertiesLocationget; setParameterResource Gets or sets the Azure location that the resources will be deployed to.
PrincipalId get; setParameterResource Gets or sets the Azure principal ID that will be used to deploy the resources.
ResourceGroupName get; setParameterResource Gets or sets the Azure resource group name that the resources will be deployed to.
Fields2
Section titled FieldsPrepareResourcesStepName staticstring The name of the step that prepares Azure resources (e.g. materializes role-assignment resources) so that downstream steps can reference them.
string The name of the step that provisions Azure infrastructure resources.