AzureProvisioningResourceExtensions.ConfigureInfrastructure<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 provisioning resource Infrastructure.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<T> ConfigureInfrastructure<T> (this Aspire.Hosting.ApplicationModel.IResourceBuilder<T> builder, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configure) where T : Aspire.Hosting.Azure.AzureProvisioningResource;
static member ConfigureInfrastructure : Aspire.Hosting.ApplicationModel.IResourceBuilder<'T (requires 'T :> Aspire.Hosting.Azure.AzureProvisioningResource)> * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<'T (requires 'T :> Aspire.Hosting.Azure.AzureProvisioningResource)> (requires 'T :> Aspire.Hosting.Azure.AzureProvisioningResource)
<Extension()>
Public Function ConfigureInfrastructure(Of T As AzureProvisioningResource) (builder As IResourceBuilder(Of T), configure As Action(Of AzureResourceInfrastructure)) As IResourceBuilder(Of T)
Type Parameters
- T
Type of the AzureProvisioningResource resource.
Parameters
- builder
- IResourceBuilder<T>
The resource builder.
- configure
- Action<AzureResourceInfrastructure>
The configuration callback.
Returns
The resource builder.