# ExistingAzureResourceAnnotation Properties

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

Represents a resource that is not managed by Aspire's provisioning or container management layer.

## Name

- Name: `Name`
- Modifiers: `get`
- Returns: `object`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/ExistingAzureResourceAnnotation.cs#L20)

Gets the name of the existing resource.

```csharp
public object Name { get; }
```

## Remarks

Supports a `String`, `ApplicationModel.ParameterResource`, or a [BicepOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepoutputreference.md) via runtime validation.

## ResourceGroup

- Name: `ResourceGroup`
- Modifiers: `nullable` `get`
- Returns: `object?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/ExistingAzureResourceAnnotation.cs#L28)

Gets the name of the existing resource group. If `null`, use the current resource group.

```csharp
public object? ResourceGroup { get; }
```

## Remarks

Supports a `String` or a `ApplicationModel.ParameterResource` via runtime validation.
