Skip to content
DocsTry Aspire
DocsTry

AzureKeyVaultResource Constructors

ClassConstructors1 member
A resource that represents an Azure Key Vault.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>)
A resource that represents an Azure Key Vault.
public class AzureKeyVaultResource
{
public AzureKeyVaultResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
namestringThe name of the resource.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure resources.