Skip to content
DocsTry Aspire
DocsTry

withUniqueResourceNaming

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

Signature

methodwithUniqueResourceNamingbuilder
Configures the container app environment to incorporate its resource name into the generated managed environment `name`, so that multiple environments in the same resource group get distinct names.
withUniqueResourceNaming(): AzureContainerAppEnvironmentResource
AzureContainerAppEnvironmentResource

Applies to

This method applies to the following types: