# AzureSandboxGroupResource

- Module: [Aspire.Hosting.Azure.Sandboxes](/reference/api/go/aspire.hosting.azure.sandboxes.md)
- Version: `17.0.0-preview.1.26565.2`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents an Azure Container Apps sandbox group.

## Definition

```go
type AzureSandboxGroupResource interface {
    ComputeEnvironmentResource
    Resource
}
```

## Embeds

- `ComputeEnvironmentResource`
- `Resource`

## Methods

- [WithAcrPullIdentity](/reference/api/go/aspire.hosting.azure.sandboxes/azuresandboxgroupresource/withacrpullidentity.md) -- `method` -- Configures the user-assigned managed identity that Azure Dev Compute uses to pull sandbox images from the configured Azure Container Registry.
  ```go
  WithAcrPullIdentity(identity AzureUserAssignedIdentityResource) AzureSandboxGroupResource
  ```
- [WithNoManagedIdentity](/reference/api/go/aspire.hosting.azure.sandboxes/azuresandboxgroupresource/withnomanagedidentity.md) -- `method` -- Clears the managed identities explicitly configured for sandbox workloads.
  ```go
  WithNoManagedIdentity() AzureSandboxGroupResource
  ```
- [WithSystemAssignedIdentity](/reference/api/go/aspire.hosting.azure.sandboxes/azuresandboxgroupresource/withsystemassignedidentity.md) -- `method` -- Configures a system-assigned managed identity for sandbox workloads.
  ```go
  WithSystemAssignedIdentity() AzureSandboxGroupResource
  ```
- [WithUserAssignedIdentity](/reference/api/go/aspire.hosting.azure.sandboxes/azuresandboxgroupresource/withuserassignedidentity.md) -- `method` -- Adds a user-assigned managed identity for sandbox workloads.
  ```go
  WithUserAssignedIdentity(identity AzureUserAssignedIdentityResource) AzureSandboxGroupResource
  ```
