Skip to content

Commit a96fa76

Browse files
author
thomhurst
committed
chore: Update az CLI options
1 parent ed611ef commit a96fa76

215 files changed

Lines changed: 791 additions & 377 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/ModularPipelines.Azure/AssemblyInfo.Generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
using System.Reflection;
77

88
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.Tool", "az")]
9-
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.GeneratedAt", "2026-02-15T03:44:19.8592513Z")]
9+
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.GeneratedAt", "2026-04-12T04:03:58.3648134Z")]

src/ModularPipelines.Azure/Options/AzAcrCacheCreateOptions.Generated.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ public record AzAcrCacheCreateOptions : AzOptions
2424
[CliFlag("--cred-set", ShortForm = "-c")]
2525
public bool? CredSet { get; set; }
2626

27+
/// <summary>
28+
/// User-assigned managed identity resource ID for ACR to authenticate with the upstream registry. Format: /subscriptions/{subscriptionId }/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedId entity/userAssignedIdentities/{identityName}.
29+
/// </summary>
30+
[CliFlag("--identity")]
31+
public bool? Identity { get; set; }
32+
2733
/// <summary>
2834
/// Name of resource group. You can configure the default group using `az configure --defaults group=&lt;name&gt;`.
2935
/// </summary>

src/ModularPipelines.Azure/Options/AzAcrCacheUpdateOptions.Generated.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ public record AzAcrCacheUpdateOptions : AzOptions
2424
[CliFlag("--cred-set", ShortForm = "-c")]
2525
public bool? CredSet { get; set; }
2626

27+
/// <summary>
28+
/// 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}.
29+
/// </summary>
30+
[CliFlag("--identity")]
31+
public bool? Identity { get; set; }
32+
2733
/// <summary>
2834
/// Optional boolean indicating whether to remove the credential set from the cache rule. False by default.
2935
/// </summary>

src/ModularPipelines.Azure/Options/AzAcrReplicationCreateOptions.Generated.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ namespace ModularPipelines.Azure.Options;
1818
[CliSubCommand("acr", "replication", "create")]
1919
public record AzAcrReplicationCreateOptions : AzOptions
2020
{
21+
/// <summary>
22+
/// Allow routing to this replication via the registry global endpoint. If disabled, requests to the global endpoint will not be routed to the replica. Data syncing to the replica will continue regardless of the global endpoint routing status. Default: true. Allowed values: false, true.
23+
/// </summary>
24+
[CliFlag("--global-endpoint-routing")]
25+
public bool? GlobalEndpointRouting { get; set; }
26+
2127
/// <summary>
2228
/// The name of the replication. Default to the location name.
2329
/// </summary>

src/ModularPipelines.Azure/Options/AzAcrReplicationUpdateOptions.Generated.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ namespace ModularPipelines.Azure.Options;
1818
[CliSubCommand("acr", "replication", "update")]
1919
public record AzAcrReplicationUpdateOptions : AzOptions
2020
{
21+
/// <summary>
22+
/// Allow routing to this replication via the registry global endpoint. If disabled, requests to the global endpoint will not be routed to the replica. Data syncing to the replica will continue regardless of the global endpoint routing status. Allowed values: false, true.
23+
/// </summary>
24+
[CliFlag("--global-endpoint-routing")]
25+
public bool? GlobalEndpointRouting { get; set; }
26+
2127
/// <summary>
2228
/// Name of resource group. You can configure the default group using `az configure --defaults group=&lt;name&gt;`.
2329
/// </summary>

src/ModularPipelines.Azure/Options/AzAksCreateOptions.Generated.cs

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ public record AzAksCreateOptions : AzOptions
4242
[CliFlag("--acns-advanced-networkpolicies")]
4343
public bool? AcnsAdvancedNetworkpolicies { get; set; }
4444

45+
/// <summary>
46+
/// Set the datapath acceleration mode for Azure Container Networking Solution (ACNS) Performance. Valid values are 'BpfVeth' and 'None'. Allowed values: BpfVeth, None.
47+
/// </summary>
48+
[CliFlag("--acns-datapath-acceleration-mode")]
49+
public bool? AcnsDatapathAccelerationMode { get; set; }
50+
51+
/// <summary>
52+
/// Set transit encryption type for ACNS security. Allowed values: None, WireGuard.
53+
/// </summary>
54+
[CliFlag("--acns-transit-encryption-type")]
55+
public bool? AcnsTransitEncryptionType { get; set; }
56+
4557
/// <summary>
4658
/// User account to create on node VMs for SSH access. Default: azureuser.
4759
/// </summary>
@@ -312,6 +324,12 @@ public record AzAksCreateOptions : AzOptions
312324
[CliFlag("--enable-cluster-autoscaler")]
313325
public bool? EnableClusterAutoscaler { get; set; }
314326

327+
/// <summary>
328+
/// Enable container network log collection functionalities on a cluster. Automatically enables --enable-high-log-scale-mode.
329+
/// </summary>
330+
[CliFlag("--enable-container-network-logs")]
331+
public bool? EnableContainerNetworkLogs { get; set; }
332+
315333
/// <summary>
316334
/// Enable exporting Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. For more information see aka.ms/aks/docs/cost-analysis.
317335
/// </summary>
@@ -337,7 +355,7 @@ public record AzAksCreateOptions : AzOptions
337355
public bool? EnableFipsImage { get; set; }
338356

339357
/// <summary>
340-
/// Enable High Log Scale Mode for Container Logs. Allowed values: false, true.
358+
/// Enable High Log Scale Mode for Container Logs.
341359
/// </summary>
342360
[CliFlag("--enable-high-log-scale-mode")]
343361
public bool? EnableHighLogScaleMode { get; set; }

src/ModularPipelines.Azure/Options/AzAksDeleteOptions.Generated.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ namespace ModularPipelines.Azure.Options;
1919
public record AzAksDeleteOptions : AzOptions
2020
{
2121
/// <summary>
22-
/// The request should only proceed if an entity matches this string. Default value is None.
22+
/// The value provided will be compared to the ETag of the managed cluster, if it matches the operation will proceed. If it does not match, the request will be rejected to prevent accidental overwrites.
2323
/// </summary>
2424
[CliFlag("--if-match")]
2525
public bool? IfMatch { get; set; }
2626

27+
/// <summary>
28+
/// Set to '*' to allow deleting a cluster only if it exists. Other values will be ignored.
29+
/// </summary>
30+
[CliFlag("--if-none-match")]
31+
public bool? IfNoneMatch { get; set; }
32+
2733
/// <summary>
2834
/// Do not wait for the long-running operation to finish.
2935
/// </summary>

src/ModularPipelines.Azure/Options/AzAksEnableAddonsOptions.Generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public record AzAksEnableAddonsOptions : AzOptions
3131
public bool? DataCollectionSettings { get; set; }
3232

3333
/// <summary>
34-
/// Enable High Log Scale Mode for Container Logs. Allowed values: false, true.
34+
/// Enable High Log Scale Mode for Container Logs. Auto-enabled when --enable-container-network-logs is specified. Allowed values: false, true.
3535
/// </summary>
3636
[CliFlag("--enable-high-log-scale-mode")]
3737
public bool? EnableHighLogScaleMode { get; set; }

src/ModularPipelines.Azure/Options/AzAksUpdateOptions.Generated.cs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ public record AzAksUpdateOptions : AzOptions
3636
[CliFlag("--acns-advanced-networkpolicies")]
3737
public bool? AcnsAdvancedNetworkpolicies { get; set; }
3838

39+
/// <summary>
40+
/// Set the datapath acceleration mode for Azure Container Networking Solution (ACNS) Performance. Valid values are 'BpfVeth' and 'None'. Allowed values: BpfVeth, None.
41+
/// </summary>
42+
[CliFlag("--acns-datapath-acceleration-mode")]
43+
public bool? AcnsDatapathAccelerationMode { get; set; }
44+
45+
/// <summary>
46+
/// Set transit encryption type for ACNS security. Allowed values: None, WireGuard.
47+
/// </summary>
48+
[CliFlag("--acns-transit-encryption-type")]
49+
public bool? AcnsTransitEncryptionType { get; set; }
50+
3951
/// <summary>
4052
/// Comma-separated key-value pairs to specify custom headers.
4153
/// </summary>
@@ -210,6 +222,12 @@ public record AzAksUpdateOptions : AzOptions
210222
[CliFlag("--disable-cluster-autoscaler", ShortForm = "-d")]
211223
public bool? DisableClusterAutoscaler { get; set; }
212224

225+
/// <summary>
226+
/// Disable container network log collection functionalities on a cluster.
227+
/// </summary>
228+
[CliFlag("--disable-container-network-logs")]
229+
public bool? DisableContainerNetworkLogs { get; set; }
230+
213231
/// <summary>
214232
/// Disable exporting Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal.
215233
/// </summary>
@@ -240,6 +258,12 @@ public record AzAksUpdateOptions : AzOptions
240258
[CliFlag("--disable-force-upgrade")]
241259
public bool? DisableForceUpgrade { get; set; }
242260

261+
/// <summary>
262+
/// Disable HTTP Proxy Configuration on the cluster.
263+
/// </summary>
264+
[CliFlag("--disable-http-proxy")]
265+
public bool? DisableHttpProxy { get; set; }
266+
243267
/// <summary>
244268
/// Disable ImageCleaner Service.
245269
/// </summary>
@@ -378,6 +402,12 @@ public record AzAksUpdateOptions : AzOptions
378402
[CliFlag("--enable-cluster-autoscaler", ShortForm = "-e")]
379403
public bool? EnableClusterAutoscaler { get; set; }
380404

405+
/// <summary>
406+
/// Enable container network log collection functionalities on a cluster. Automatically enables --enable-high-log-scale-mode.
407+
/// </summary>
408+
[CliFlag("--enable-container-network-logs")]
409+
public bool? EnableContainerNetworkLogs { get; set; }
410+
381411
/// <summary>
382412
/// Enable exporting Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. For more information see aka.ms/aks/docs/cost-analysis.
383413
/// </summary>
@@ -408,6 +438,18 @@ public record AzAksUpdateOptions : AzOptions
408438
[CliFlag("--enable-force-upgrade")]
409439
public bool? EnableForceUpgrade { get; set; }
410440

441+
/// <summary>
442+
/// Enable High Log Scale Mode for Container Logs.
443+
/// </summary>
444+
[CliFlag("--enable-high-log-scale-mode")]
445+
public bool? EnableHighLogScaleMode { get; set; }
446+
447+
/// <summary>
448+
/// Enable HTTP Proxy Configuration on the cluster.
449+
/// </summary>
450+
[CliFlag("--enable-http-proxy")]
451+
public bool? EnableHttpProxy { get; set; }
452+
411453
/// <summary>
412454
/// Enable ImageCleaner Service.
413455
/// </summary>

src/ModularPipelines.Azure/Options/AzAmsAssetGetSasUrlsOptions.Generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace ModularPipelines.Azure.Options;
1919
public record AzAmsAssetGetSasUrlsOptions : AzOptions
2020
{
2121
/// <summary>
22-
/// Specifies the UTC datetime (Y-m-d'T'H:M:S'Z') at which the SAS becomes invalid. This must be less than 24 hours from the current time. Default: 2026-02-16 02:17:03.268947.
22+
/// Specifies the UTC datetime (Y-m-d'T'H:M:S'Z') at which the SAS becomes invalid. This must be less than 24 hours from the current time.
2323
/// </summary>
2424
[CliFlag("--expiry")]
2525
public bool? Expiry { get; set; }

0 commit comments

Comments
 (0)