Skip to content
Docs Try Aspire
Docs Try

AzureAppServiceEnvironmentResource.withAcrPullIdentity

Method
📦 Aspire.Hosting.Azure.AppService v13.4.0
interface AzureAppServiceEnvironmentResource {
// ... omitted for brevity
withAcrPullIdentity(identityBuilder: AzureUserAssignedIdentityResource): AzureAppServiceEnvironmentResource;
}

Signature

method withAcrPullIdentity builder
Configures the Azure App Service environment to use the supplied `AzureUserAssignedIdentityResource` as the managed identity that App Service apps use to pull images from the configured container registry (the `AcrPull` identity), instead of having Aspire create a new identity and a new `AcrPull` role assignment.
withAcrPullIdentity(identityBuilder: AzureUserAssignedIdentityResource): AzureAppServiceEnvironmentResource
identityBuilder AzureUserAssignedIdentityResource
AzureAppServiceEnvironmentResource

Defined on

This method is defined on the following type: