-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathAzAcrCacheUpdateOptions.Generated.cs
More file actions
47 lines (39 loc) · 1.57 KB
/
AzAcrCacheUpdateOptions.Generated.cs
File metadata and controls
47 lines (39 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Do not edit this file manually.
// </auto-generated>
#nullable enable
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Azure.Options;
namespace ModularPipelines.Azure.Options;
/// <summary>
/// Update the credential set on a cache rule.
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("acr", "cache", "update")]
public record AzAcrCacheUpdateOptions : AzOptions
{
/// <summary>
/// The name of the credential set.
/// </summary>
[CliFlag("--cred-set", ShortForm = "-c")]
public bool? CredSet { get; set; }
/// <summary>
/// User-assigned managed identity resource ID for ACR to authenticate with the upstream registry. Format: /subscriptions/{subscriptionId}/r esourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity /userAssignedIdentities/{identityName}.
/// </summary>
[CliFlag("--identity")]
public bool? Identity { get; set; }
/// <summary>
/// Optional boolean indicating whether to remove the credential set from the cache rule. False by default.
/// </summary>
[CliFlag("--remove-cred-set")]
public bool? RemoveCredSet { get; set; }
/// <summary>
/// Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.
/// </summary>
[CliFlag("--resource-group", ShortForm = "-g")]
public bool? ResourceGroup { get; set; }
}