10 references to AzureContainerRegistryRole
Aspire.Hosting.Azure.ContainerRegistry (10)
AzureContainerRegistryExtensions.cs (10)
253
/// <see cref="WithRoleAssignments{T}(IResourceBuilder{T}, IResourceBuilder{AzureContainerRegistryResource},
AzureContainerRegistryRole
[])"/>
275
/// <exception cref="ArgumentException">Thrown when a role value is not a valid <see cref="
AzureContainerRegistryRole
"/> value.</exception>
280
params
AzureContainerRegistryRole
[] roles)
293
AzureContainerRegistryRole
.AcrDelete => ContainerRegistryBuiltInRole.AcrDelete,
294
AzureContainerRegistryRole
.AcrImageSigner => ContainerRegistryBuiltInRole.AcrImageSigner,
295
AzureContainerRegistryRole
.AcrPull => ContainerRegistryBuiltInRole.AcrPull,
296
AzureContainerRegistryRole
.AcrPush => ContainerRegistryBuiltInRole.AcrPush,
297
AzureContainerRegistryRole
.AcrQuarantineReader => ContainerRegistryBuiltInRole.AcrQuarantineReader,
298
AzureContainerRegistryRole
.AcrQuarantineWriter => ContainerRegistryBuiltInRole.AcrQuarantineWriter,
299
_ => throw new ArgumentException($"'{roles[i]}' is not a valid {nameof(
AzureContainerRegistryRole
)} value.", nameof(roles))