Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithProperties

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2
func (FoundryDeploymentResource) WithProperties(configure func(obj FoundryDeploymentResource)) FoundryDeploymentResource

Signature

methodWithPropertiesbuilder
Allows setting the properties of a Microsoft Foundry Deployment resource.
WithProperties(configure func(obj FoundryDeploymentResource)) FoundryDeploymentResource
configurefunc(obj FoundryDeploymentResource)callbackA method that can be used for customizing the FoundryDeploymentResource.
FoundryDeploymentResource

The resource builder.

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

Applies to

This method applies to the following types: