# AzureBicepResourceScope Properties

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

Represents the scope associated with the resource.

## ResourceGroup

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

Represents the resource group to encode in the scope.

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

## Subscription

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

Represents the subscription to encode in the scope.

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