<PackageReference Include="Microsoft.Identity.Client" Version="4.83.3" />

Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource

public enum ManagedIdentitySource
Managed identity sources supported. The library will handle these internally.
namespace Microsoft.Identity.Client.ManagedIdentity { public enum ManagedIdentitySource { None, Imds, AppService, AzureArc, CloudShell, ServiceFabric, [Obsolete("In use only to support the now obsolete GetManagedIdentitySource API. Will be removed in a future version. Use GetManagedIdentitySourceAsync instead.")] DefaultToImds, MachineLearning, ImdsV2 } }