AzureConstructResourceExtensions.ConfigureConstruct<T> 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.
Configures the Azure construct resource.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<T> ConfigureConstruct<T> (this Aspire.Hosting.ApplicationModel.IResourceBuilder<T> builder, Action<Aspire.Hosting.ResourceModuleConstruct> configure) where T : Aspire.Hosting.AzureConstructResource;
static member ConfigureConstruct : Aspire.Hosting.ApplicationModel.IResourceBuilder<'T (requires 'T :> Aspire.Hosting.AzureConstructResource)> * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<'T (requires 'T :> Aspire.Hosting.AzureConstructResource)> (requires 'T :> Aspire.Hosting.AzureConstructResource)
<Extension()>
Public Function ConfigureConstruct(Of T As AzureConstructResource) (builder As IResourceBuilder(Of T), configure As Action(Of ResourceModuleConstruct)) As IResourceBuilder(Of T)
Type Parameters
- T
Type of the CDK resource.
Parameters
- builder
- IResourceBuilder<T>
The resource builder.
- configure
- Action<ResourceModuleConstruct>
The configuration callback.
Returns
The resource builder.