Skip to content
Docs Try Aspire

AzureContainerRegistryResource Constructors

Class Constructors 1 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)
{
// ...
}
}
name string The name of the resource.
configureInfrastructure Action<AzureResourceInfrastructure> The callback to configure the Azure infrastructure for this resource.