AzureAIFoundryExtensions.WithProperties Method
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.
Allows setting the properties of an Azure AI Foundry Deployment resource.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAIFoundryDeploymentResource> WithProperties(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAIFoundryDeploymentResource> builder, Action<Aspire.Hosting.Azure.AzureAIFoundryDeploymentResource> configure);
static member WithProperties : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAIFoundryDeploymentResource> * Action<Aspire.Hosting.Azure.AzureAIFoundryDeploymentResource> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureAIFoundryDeploymentResource>
<Extension()>
Public Function WithProperties (builder As IResourceBuilder(Of AzureAIFoundryDeploymentResource), configure As Action(Of AzureAIFoundryDeploymentResource)) As IResourceBuilder(Of AzureAIFoundryDeploymentResource)
Parameters
The Azure AI Foundry Deployment resource builder.
- configure
- Action<AzureAIFoundryDeploymentResource>
A method that can be used for customizing the AzureAIFoundryDeploymentResource.
Returns
A reference to the IResourceBuilder<T>.