# AzureEnvironmentResource Properties

- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Type: [AzureEnvironmentResource](/reference/api/csharp/aspire.hosting.azure/azureenvironmentresource.md)
- Kind: `Properties`
- Members: `3`

Represents the root Azure deployment target for an Aspire application. Manages deployment parameters and context for Azure resources.

## Location

- Name: `Location`
- Modifiers: `get; set`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureEnvironmentResource.cs)

Gets or sets the Azure location that the resources will be deployed to.

```csharp
public ParameterResource Location { get; set; }
```

## PrincipalId

- Name: `PrincipalId`
- Modifiers: `get; set`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureEnvironmentResource.cs)

Gets or sets the Azure principal ID that will be used to deploy the resources.

```csharp
public ParameterResource PrincipalId { get; set; }
```

## ResourceGroupName

- Name: `ResourceGroupName`
- Modifiers: `get; set`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureEnvironmentResource.cs)

Gets or sets the Azure resource group name that the resources will be deployed to.

```csharp
public ParameterResource ResourceGroupName { get; set; }
```
