AzureContainerAppEnvironmentResource.withAcrPullIdentity
Method
interface AzureContainerAppEnvironmentResource { // ... omitted for brevity withAcrPullIdentity(identityBuilder: AzureUserAssignedIdentityResource): AzureContainerAppEnvironmentResource;}Signature
method
withAcrPullIdentity builderConfigures the container app environment to use the supplied `AzureUserAssignedIdentityResource` as the managed identity that container apps in the environment 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): AzureContainerAppEnvironmentResourceParameters
identityBuilder AzureUserAssignedIdentityResource The resource builder for the user-assigned identity that should be used for image pulls. This identity is only used for the `AcrPull` role; it is not assigned to individual container apps in the environment.Returns
AzureContainerAppEnvironmentResource Defined on
This method is defined on the following type: