Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithCompactResourceNaming

Method
📦 Aspire.Hosting.Azure.AppContainers v17.0.0
func (AzureContainerAppEnvironmentResource) WithCompactResourceNaming() AzureContainerAppEnvironmentResource

Signature

methodWithCompactResourceNamingbuilder
Configures the container app environment to use compact resource naming that maximally preserves the uniqueString suffix for length-constrained Azure resources such as storage accounts.
WithCompactResourceNaming() AzureContainerAppEnvironmentResource
AzureContainerAppEnvironmentResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: