# AzureBicepResourceScope

- Kind: `class`
- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResourceScope.cs)

Represents the scope associated with the resource.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public sealed class AzureBicepResourceScope
{
    // ...
}
```

## Constructors

- [AzureBicepResourceScope(object)](/reference/api/csharp/aspire.hosting.azure/azurebicepresourcescope/constructors.md#constructor-object) -- Represents the scope associated with the resource.
- [AzureBicepResourceScope(object, object)](/reference/api/csharp/aspire.hosting.azure/azurebicepresourcescope/constructors.md#constructor-object-object) -- Initializes a new instance of the [AzureBicepResourceScope](/reference/api/csharp/aspire.hosting.azure/azurebicepresourcescope.md) class.

## Properties

- [ResourceGroup](/reference/api/csharp/aspire.hosting.azure/azurebicepresourcescope/properties.md#resourcegroup) : `object` `get` -- Represents the resource group to encode in the scope.
- [Subscription](/reference/api/csharp/aspire.hosting.azure/azurebicepresourcescope/properties.md#subscription) : `object?` `get` -- Represents the subscription to encode in the scope.
