-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathAzAcrConnectedRegistryUpdateOptions.Generated.cs
More file actions
89 lines (74 loc) · 3.32 KB
/
AzAcrConnectedRegistryUpdateOptions.Generated.cs
File metadata and controls
89 lines (74 loc) · 3.32 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// <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 a connected registry for an Azure Container Registry.
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("acr", "connected-registry", "update")]
public record AzAcrConnectedRegistryUpdateOptions : AzOptions
{
/// <summary>
/// Client tokens to be added. Use the format "--add-client-tokens [TOKEN_NAME1 TOKEN_NAME2 ...]" per token id.
/// </summary>
[CliFlag("--add-client-tokens")]
public bool? AddClientTokens { get; set; }
/// <summary>
/// List of artifact pattern to be added to notifications list. Use the format "--add-notifications [PATTERN1 PATTERN2 ...]".
/// </summary>
[CliFlag("--add-notifications")]
public bool? AddNotifications { get; set; }
/// <summary>
/// Indicate whether garbage collection is enabled. It is enabled by default. Allowed values: false, true.
/// </summary>
[CliFlag("--gc-enabled")]
public bool? GcEnabled { get; set; }
/// <summary>
/// Used to determine garbage collection schedule. Uses cron expression to determine the schedule. If not specified, garbage collection is set to run once a day.
/// </summary>
[CliFlag("--gc-schedule")]
public bool? GcSchedule { get; set; }
/// <summary>
/// Set the log level for logging on the instance. Accepted log levels are Debug, Information, Warning, Error, and None.
/// </summary>
[CliFlag("--log-level")]
public bool? LogLevel { get; set; }
/// <summary>
/// Client tokens to be removed. Use the format "--remove-client-tokens [TOKEN_NAME1 TOKEN_NAME2 ...]" per token id.
/// </summary>
[CliFlag("--remove-client-tokens")]
public bool? RemoveClientTokens { get; set; }
/// <summary>
/// List of artifact pattern to be removed from notifications list. Use the format "--remove-notifications [PATTERN1 PATTERN2 ...]".
/// </summary>
[CliFlag("--remove-notifications")]
public bool? RemoveNotifications { 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; }
/// <summary>
/// Determine how long the sync messages will be kept in the cloud. Uses ISO 8601 duration format.
/// </summary>
[CliFlag("--sync-message-ttl")]
public bool? SyncMessageTtl { get; set; }
/// <summary>
/// Optional parameter to define the sync schedule. Uses cron expression to determine the schedule. If not specified, the instance is considered always online and attempts to sync every minute.
/// </summary>
[CliFlag("--sync-schedule", ShortForm = "-s")]
public bool? SyncSchedule { get; set; }
/// <summary>
/// Used to determine the schedule duration. Uses ISO 8601 duration format.
/// </summary>
[CliFlag("--sync-window", ShortForm = "-w")]
public bool? SyncWindow { get; set; }
}