Skip to content
Docs Try Aspire

AzureSqlServerResource Constructors

Class Constructors 2 members
Represents an Azure Sql Server resource.
Constructor(string, Action<AzureResourceInfrastructure>) Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Initializes a new instance of the AzureSqlServerResource class.
public class AzureSqlServerResource
{
public AzureSqlServerResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
name string The name of the resource.
configureInfrastructure Action<AzureResourceInfrastructure> Callback to configure the Azure resources.
Constructor(SqlServerServerResource, Action<AzureResourceInfrastructure>) Section titled Constructor(SqlServerServerResource, Action<AzureResourceInfrastructure>)
Initializes a new instance of the AzureSqlServerResource class.
public class AzureSqlServerResource
{
public AzureSqlServerResource(
SqlServerServerResource innerResource,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
innerResource SqlServerServerResource The ApplicationModel.SqlServerServerResource that this resource wraps.
configureInfrastructure Action<AzureResourceInfrastructure> Callback to configure the Azure resources.