7 references to FoundryRole
Aspire.Hosting.Foundry (7)
FoundryExtensions.cs (7)
210/// <param name="roles">The Microsoft Foundry roles to be assigned (for example, <see cref="FoundryRole.CognitiveServicesOpenAIUser"/>).</param> 212/// <exception cref="ArgumentException">Thrown when a role value is not a valid <see cref="FoundryRole"/> value.</exception> 217params FoundryRole[] roles) 230FoundryRole.CognitiveServicesOpenAIContributor => CognitiveServicesBuiltInRole.CognitiveServicesOpenAIContributor, 231FoundryRole.CognitiveServicesOpenAIUser => CognitiveServicesBuiltInRole.CognitiveServicesOpenAIUser, 232FoundryRole.CognitiveServicesUser => CognitiveServicesBuiltInRole.CognitiveServicesUser, 233_ => throw new ArgumentException($"'{roles[i]}' is not a valid {nameof(FoundryRole)} value.", nameof(roles))