Skip to content
DocsTry Aspire
DocsTry

AzureContainerAppEnvironmentResource.withCompactResourceNaming

Method
📦 Aspire.Hosting.Azure.AppContainers v13.4.0
interface AzureContainerAppEnvironmentResource {
// ... omitted for brevity
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

Defined on

This method is defined on the following type: