7 references to FoundryRole
Aspire.Hosting.Foundry (7)
FoundryExtensions.cs (7)
254/// <param name="roles">The Microsoft Foundry roles to be assigned (for example, <see cref="FoundryRole.CognitiveServicesOpenAIUser"/>).</param> 257/// <exception cref="ArgumentException">Thrown when a role value is not a valid <see cref="FoundryRole"/> value.</exception> 262params FoundryRole[] roles) 275FoundryRole.CognitiveServicesOpenAIContributor => CognitiveServicesBuiltInRole.CognitiveServicesOpenAIContributor, 276FoundryRole.CognitiveServicesOpenAIUser => CognitiveServicesBuiltInRole.CognitiveServicesOpenAIUser, 277FoundryRole.CognitiveServicesUser => CognitiveServicesBuiltInRole.CognitiveServicesUser, 278_ => throw new ArgumentException($"'{roles[i]}' is not a valid {nameof(FoundryRole)} value.", nameof(roles))