共用方式為


AzureStorageResource Constructors

Definition

Overloads

AzureStorageResource(String, Action<AzureResourceInfrastructure>)

Represents an Azure Storage resource.

AzureStorageResource(String, Action<ResourceModuleConstruct>)

Represents an Azure Storage resource.

AzureStorageResource(String, Action<AzureResourceInfrastructure>)

Source:
AzureStorageResource.cs

Represents an Azure Storage resource.

public AzureStorageResource (string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.Azure.AzureStorageResource : string * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.Azure.AzureStorageResource
Public Sub New (name As String, configureInfrastructure As Action(Of AzureResourceInfrastructure))

Parameters

name
String

The name of the resource.

configureInfrastructure
Action<AzureResourceInfrastructure>

Callback to configure the Azure resources.

Applies to

AzureStorageResource(String, Action<ResourceModuleConstruct>)

Source:
AzureStorageResource.cs

Represents an Azure Storage resource.

public AzureStorageResource (string name, Action<Aspire.Hosting.ResourceModuleConstruct> configureConstruct);
new Aspire.Hosting.Azure.AzureStorageResource : string * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.Azure.AzureStorageResource
Public Sub New (name As String, configureConstruct As Action(Of ResourceModuleConstruct))

Parameters

name
String

The name of the resource.

configureConstruct
Action<ResourceModuleConstruct>

Callback to populate the construct with Azure resources.

Applies to