# AzureSandboxEndpointOptions

- Kind: `class`
- Package: [Aspire.Hosting.Azure.Sandboxes](/reference/api/csharp/aspire.hosting.azure.sandboxes.md)
- Version: `13.6.0-preview.1.26478.8`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxContainerOptionsAnnotation.cs)

Overrides Azure sandbox options for a compute resource endpoint.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

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

## ATS metadata

### ATS DTO

- Serialized as a plain JSON object without a `$type` discriminator.

## Constructors

- [AzureSandboxEndpointOptions](/reference/api/csharp/aspire.hosting.azure.sandboxes/azuresandboxendpointoptions/constructors.md#constructor)

## Properties

- [Anonymous](/reference/api/csharp/aspire.hosting.azure.sandboxes/azuresandboxendpointoptions/properties.md#anonymous) : `bool?` `get; set` -- Gets or sets a value indicating whether the sandbox port allows anonymous access.
- [Name](/reference/api/csharp/aspire.hosting.azure.sandboxes/azuresandboxendpointoptions/properties.md#name) : `string?` `get; set` -- Gets or sets the Aspire endpoint name.
