Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithProperties

Method
📦 Aspire.Hosting.Azure.CognitiveServices v17.0.0
func (AzureOpenAIDeploymentResource) WithProperties(configure func(obj AzureOpenAIDeploymentResource)) AzureOpenAIDeploymentResource

Signature

methodWithPropertiesbuilder
Allows setting the properties of an Azure OpenAI Deployment resource.
WithProperties(configure func(obj AzureOpenAIDeploymentResource)) AzureOpenAIDeploymentResource
configurefunc(obj AzureOpenAIDeploymentResource)callbackA method that can be used for customizing the AzureOpenAIDeploymentResource.
AzureOpenAIDeploymentResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: