# AzureBicepResourceScope

- Kind: `class`
- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/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.
