AzureAIFoundryExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods for adding the Azure AI Foundry resources to the application model.
public static class AzureAIFoundryExtensions
type AzureAIFoundryExtensions = class
Public Module AzureAIFoundryExtensions
- Inheritance
-
AzureAIFoundryExtensions
Methods
| AddAzureAIFoundry(IDistributedApplicationBuilder, String) |
Adds an Azure OpenAI resource to the application model. |
| AddDeployment(IResourceBuilder<AzureAIFoundryResource>, String, AIFoundryModel) |
Adds and returns an Azure AI Foundry Deployment resource to the application model using a AIFoundryModel. |
| AddDeployment(IResourceBuilder<AzureAIFoundryResource>, String, String, String, String) |
Adds and returns an Azure AI Foundry Deployment resource to the application model. |
| RunAsFoundryLocal(IResourceBuilder<AzureAIFoundryResource>) |
Adds a Foundry Local resource to the distributed application builder. |
| WithProperties(IResourceBuilder<AzureAIFoundryDeploymentResource>, Action<AzureAIFoundryDeploymentResource>) |
Allows setting the properties of an Azure AI Foundry Deployment resource. |
| WithRoleAssignments<T>(IResourceBuilder<T>, IResourceBuilder<AzureAIFoundryResource>, CognitiveServicesBuiltInRole[]) |
Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure AI Foundry resource. This replaces the default role assignments for the resource. |