Skip to content
DocsTry Aspire
DocsTry

AzureContainerRegistryResource Constructors

ClassConstructors1 member
Represents an Azure Container Registry resource.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Initializes a new instance of the AzureContainerRegistryResource class.
public class AzureContainerRegistryResource
{
public AzureContainerRegistryResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
namestringThe name of the resource.
configureInfrastructureAction<AzureResourceInfrastructure>The callback to configure the Azure infrastructure for this resource.