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