10 references to AzureContainerRegistryRole
Aspire.Hosting.Azure.ContainerRegistry (10)
AzureContainerRegistryExtensions.cs (10)
266
/// <see cref="WithRoleAssignments{T}(IResourceBuilder{T}, IResourceBuilder{AzureContainerRegistryResource},
AzureContainerRegistryRole
[])"/>
287
/// <exception cref="ArgumentException">Thrown when a role value is not a valid <see cref="
AzureContainerRegistryRole
"/> value.</exception>
292
params
AzureContainerRegistryRole
[] roles)
305
AzureContainerRegistryRole
.AcrDelete => ContainerRegistryBuiltInRole.AcrDelete,
306
AzureContainerRegistryRole
.AcrImageSigner => ContainerRegistryBuiltInRole.AcrImageSigner,
307
AzureContainerRegistryRole
.AcrPull => ContainerRegistryBuiltInRole.AcrPull,
308
AzureContainerRegistryRole
.AcrPush => ContainerRegistryBuiltInRole.AcrPush,
309
AzureContainerRegistryRole
.AcrQuarantineReader => ContainerRegistryBuiltInRole.AcrQuarantineReader,
310
AzureContainerRegistryRole
.AcrQuarantineWriter => ContainerRegistryBuiltInRole.AcrQuarantineWriter,
311
_ => throw new ArgumentException($"'{roles[i]}' is not a valid {nameof(
AzureContainerRegistryRole
)} value.", nameof(roles))