Skip to content
Docs Try Aspire
Docs Try

withCompactResourceNaming

Method
📦 Aspire.Hosting.Azure.AppContainers v13.4.0
interface AzureContainerAppEnvironmentResource {
// ... omitted for brevity
withCompactResourceNaming(): AzureContainerAppEnvironmentResource;
}

Signature

method withCompactResourceNaming builder
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

Applies to

This method applies to the following types: