Aspire.Hosting.Azure.ContainerRegistry
Official
📦 Aspire.Hosting.Azure.ContainerRegistry v13.4.0 5 Functions
2 Types
2 types and 0 members
Types
Functions
method
addAzureContainerRegistry builder Adds an Azure Container Registry resource to the application model.
addAzureContainerRegistry(name: string): AzureContainerRegistryResource method
getAzureContainerRegistry builder Gets the Azure Container Registry associated with a compute environment resource.
getAzureContainerRegistry(): AzureContainerRegistryResource method
withAzureContainerRegistry builder Configures a compute environment resource to use an Azure Container Registry.
withAzureContainerRegistry(registryBuilder: AzureContainerRegistryResource): IResource method
withContainerRegistryRoleAssignments builder Adds role assignments to the specified Azure Container Registry resource.
withContainerRegistryRoleAssignments(target: AzureContainerRegistryResource, roles: AzureContainerRegistryRole[]): IResource method
withPurgeTask builder Adds a scheduled ACR purge task to remove old or unused container images from the registry.
withPurgeTask(schedule: string, filter?: string, ago?: timespan, keep?: number, taskName?: string): AzureContainerRegistryResource