Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureSandboxOptions

Struct
📦 Aspire.Hosting.Azure.Sandboxes v17.0.0-preview.1.26565.2

Configures Azure sandbox runtime options for a compute resource.

type AzureSandboxOptions struct {
Tier AzureSandboxTier `json:"Tier"`
AutoSuspendEnabled *bool `json:"AutoSuspendEnabled"`
AutoSuspendInterval *float64 `json:"AutoSuspendInterval"`
AutoSuspendMode *AzureSandboxAutoSuspendMode `json:"AutoSuspendMode"`
AutoDeleteEnabled *bool `json:"AutoDeleteEnabled"`
AutoDeleteInterval *float64 `json:"AutoDeleteInterval"`
AutoDeleteTrigger *AzureSandboxAutoDeleteTrigger `json:"AutoDeleteTrigger"`
Endpoints []*AzureSandboxEndpointOptions `json:"Endpoints"`
}

Fields

TierAzureSandboxTier
Gets or sets the resource tier.
AutoSuspendEnabled*booloptional
Gets or sets a value indicating whether auto-suspend is enabled.
AutoSuspendInterval*float64optional
Gets or sets the idle interval before auto-suspend runs.
AutoSuspendMode*AzureSandboxAutoSuspendModeoptional
Gets or sets the sandbox suspend mode.
AutoDeleteEnabled*booloptional
Gets or sets a value indicating whether auto-delete is enabled.
AutoDeleteInterval*float64optional
Gets or sets the interval before auto-delete runs.
AutoDeleteTrigger*AzureSandboxAutoDeleteTriggeroptional
Gets or sets the event that starts the auto-delete interval.
Endpoints[]*AzureSandboxEndpointOptions
Gets or sets endpoint-specific sandbox option overrides.