AzureEnvironmentResource
Class sealed net8.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 ConstructorsAzureEnvironmentResource(string, ParameterResource, ParameterResource, ParameterResource) 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.
PrincipalIdget; setParameterResource Gets or sets the Azure principal ID that will be used to deploy the resources.
ResourceGroupNameget; setParameterResource Gets or sets the Azure resource group name that the resources will be deployed to.
Fields2
Section titled FieldsPrepareResourcesStepNamestaticstring The name of the step that prepares Azure resources (e.g. materializes role-assignment resources) so that downstream steps can reference them.
ProvisionInfrastructureStepNamestaticstring The name of the step that provisions Azure infrastructure resources.