Skip to content

Commit b6ec368

Browse files
thomhurstthomhurst
andauthored
chore: Update az CLI options (#2612)
Co-authored-by: thomhurst <9139608+thomhurst@users.noreply.github.com>
1 parent 7233073 commit b6ec368

76 files changed

Lines changed: 1028 additions & 1242 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-05-03T03:47:40.4764384Z")]
9+
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.GeneratedAt", "2026-05-10T03:47:39.0113682Z")]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace ModularPipelines.Azure.Options;
2121
public record AzAcrNetworkRuleAddOptions : AzOptions
2222
{
2323
/// <summary>
24-
/// IPv4 address or CIDR range.
24+
/// IPv4/IPv6 address or CIDR range.
2525
/// </summary>
2626
[CliFlag("--ip-address")]
2727
public bool? IpAddress { get; set; }

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace ModularPipelines.Azure.Options;
2121
public record AzAcrNetworkRuleRemoveOptions : AzOptions
2222
{
2323
/// <summary>
24-
/// IPv4 address or CIDR range.
24+
/// IPv4/IPv6 address or CIDR range.
2525
/// </summary>
2626
[CliFlag("--ip-address")]
2727
public bool? IpAddress { get; set; }

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespace ModularPipelines.Azure.Options;
1414

1515
/// <summary>
16-
/// Display registry endpoints.
16+
/// Display registry endpoints including data endpoints and regional
1717
/// </summary>
1818
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
1919
[ExcludeFromCodeCoverage]

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ public record AzAfdRuleCreateOptions : AzOptions
6868
[CliFlag("--destination")]
6969
public bool? Destination { get; set; }
7070

71+
/// <summary>
72+
/// Resource ID of the edge action to invoke.
73+
/// </summary>
74+
[CliFlag("--edge-action-id")]
75+
public bool? EdgeActionId { get; set; }
76+
7177
/// <summary>
7278
/// Indicates whether to enable caching on the route. Allowed values: 0, 1, f, false, n, no, t, true, y, yes.
7379
/// </summary>
@@ -104,6 +110,12 @@ public record AzAfdRuleCreateOptions : AzOptions
104110
[CliFlag("--header-value")]
105111
public bool? HeaderValue { get; set; }
106112

113+
/// <summary>
114+
/// Defines at which point in the request processing pipeline the edge action will be invoked. Allowed values: ClientRequest,
115+
/// </summary>
116+
[CliFlag("--invocation-point")]
117+
public bool? InvocationPoint { get; set; }
118+
107119
/// <summary>
108120
/// Match values of the match condition. e.g, space separated values 'GET' 'HTTP'. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
109121
/// </summary>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// <auto-generated>
2+
// This file was generated by ModularPipelines.OptionsGenerator.
3+
// Do not edit this file manually.
4+
// </auto-generated>
5+
6+
#nullable enable
7+
8+
using System.CodeDom.Compiler;
9+
using System.Diagnostics.CodeAnalysis;
10+
using ModularPipelines.Attributes;
11+
using ModularPipelines.Azure.Options;
12+
13+
namespace ModularPipelines.Azure.Options;
14+
15+
/// <summary>
16+
/// Disable Gateway API based ingress on App Routing via
17+
/// </summary>
18+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
19+
[ExcludeFromCodeCoverage]
20+
[CliSubCommand("aks", "approuting", "gateway", "istio", "disable")]
21+
public record AzAksApproutingGatewayIstioDisableOptions : AzOptions
22+
{
23+
/// <summary>
24+
/// Do not prompt for confirmation.
25+
/// </summary>
26+
[CliFlag("--yes", ShortForm = "-y")]
27+
public bool? Yes { get; set; }
28+
29+
}

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

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,12 @@ public record AzAksCreateOptions : AzOptions
302302
[CliFlag("--enable-azure-keyvault-kms")]
303303
public bool? EnableAzureKeyvaultKms { get; set; }
304304

305+
/// <summary>
306+
/// Enable Azure Monitor Application Monitoring auto-instrumentation for a Kubernetes cluster.
307+
/// </summary>
308+
[CliFlag("--enable-azure-monitor-app-monitoring")]
309+
public bool? EnableAzureMonitorAppMonitoring { get; set; }
310+
305311
/// <summary>
306312
/// Enable a kubernetes cluster with the Azure Monitor managed service for Prometheus integration.
307313
/// </summary>
@@ -356,12 +362,24 @@ public record AzAksCreateOptions : AzOptions
356362
[CliFlag("--enable-fips-image")]
357363
public bool? EnableFipsImage { get; set; }
358364

365+
/// <summary>
366+
/// Enable managed installation of Gateway API CRDs from the standard release channel.
367+
/// </summary>
368+
[CliFlag("--enable-gateway-api")]
369+
public bool? EnableGatewayApi { get; set; }
370+
359371
/// <summary>
360372
/// Enable High Log Scale Mode for Container Logs.
361373
/// </summary>
362374
[CliFlag("--enable-high-log-scale-mode")]
363375
public bool? EnableHighLogScaleMode { get; set; }
364376

377+
/// <summary>
378+
/// (Automatic SKU) Explicitly opt in to a Managed System Pool for the Automatic cluster.
379+
/// </summary>
380+
[CliFlag("--enable-hosted-system")]
381+
public bool? EnableHostedSystem { get; set; }
382+
365383
/// <summary>
366384
/// Enable ImageCleaner Service.
367385
/// </summary>
@@ -776,6 +794,12 @@ public record AzAksCreateOptions : AzOptions
776794
[CliFlag("--node-resource-group")]
777795
public bool? NodeResourceGroup { get; set; }
778796

797+
/// <summary>
798+
/// (Automatic SKU) The ID of a subnet in an existing VNet to be used by user node pools in an Automatic cluster.
799+
/// </summary>
800+
[CliFlag("--node-subnet-id")]
801+
public bool? NodeSubnetId { get; set; }
802+
779803
/// <summary>
780804
/// Size of Virtual Machines to create as Kubernetes nodes. If the user does not specify one, server will select a default VM size for her/him.
781805
/// </summary>
@@ -825,7 +849,7 @@ public record AzAksCreateOptions : AzOptions
825849
public bool? NrgLockdownRestrictionLevel { get; set; }
826850

827851
/// <summary>
828-
/// The OS SKU of the agent node pool. Ubuntu or AzureLinux. Allowed values: AzureLinux, AzureLinux3, CBLMariner, Mariner, Ubuntu,
852+
/// The OS SKU of the agent node pool. Ubuntu,
829853
/// </summary>
830854
[CliFlag("--os-sku")]
831855
public bool? OsSku { get; set; }
@@ -950,6 +974,12 @@ public record AzAksCreateOptions : AzOptions
950974
[CliFlag("--storage-pool-sku")]
951975
public bool? StoragePoolSku { get; set; }
952976

977+
/// <summary>
978+
/// (Automatic SKU) The ID of a subnet in an existing VNet to be used by the Managed System Pool in an Automatic cluster.
979+
/// </summary>
980+
[CliFlag("--system-node-subnet-id")]
981+
public bool? SystemNodeSubnetId { get; set; }
982+
953983
/// <summary>
954984
/// The tags of the managed cluster. The managed cluster instance and all resources managed by the cloud provider will be tagged.
955985
/// </summary>

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ public record AzAksMeshEnableOptions : AzOptions
5050
[CliFlag("--no-wait")]
5151
public bool? NoWait { get; set; }
5252

53+
/// <summary>
54+
/// Set the proxy redirection mechanism. Allowed values:
55+
/// </summary>
56+
[CliFlag("--proxy-redirection-mechanism")]
57+
public bool? ProxyRedirectionMechanism { get; set; }
58+
5359
/// <summary>
5460
/// Azure Service Mesh revision to install.
5561
/// </summary>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// <auto-generated>
2+
// This file was generated by ModularPipelines.OptionsGenerator.
3+
// Do not edit this file manually.
4+
// </auto-generated>
5+
6+
#nullable enable
7+
8+
using System.CodeDom.Compiler;
9+
using System.Diagnostics.CodeAnalysis;
10+
using ModularPipelines.Attributes;
11+
using ModularPipelines.Azure.Options;
12+
13+
namespace ModularPipelines.Azure.Options;
14+
15+
/// <summary>
16+
/// Set the proxy redirection mechanism for Azure Service
17+
/// </summary>
18+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
19+
[ExcludeFromCodeCoverage]
20+
[CliSubCommand("aks", "mesh", "proxy-redirection-mechanism")]
21+
public record AzAksMeshProxyRedirectionMechanismOptions : AzOptions
22+
{
23+
/// <summary>
24+
/// Do not wait for the long-running operation to finish.
25+
/// </summary>
26+
[CliFlag("--no-wait")]
27+
public bool? NoWait { get; set; }
28+
29+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public record AzAksNodepoolAddOptions : AzOptions
267267
public bool? NodeVmSize { get; set; }
268268

269269
/// <summary>
270-
/// The OS SKU of the agent node pool. Ubuntu, Ubuntu2204, Ubuntu2404, AzureLinux or AzureLinux3 for Linux. Windows2019 or Windows2022 for Windows. Allowed values: AzureLinux, AzureLinux3, CBLMariner, Mariner, Ubuntu, Ubuntu2204, Ubuntu2404, Windows2019, Windows2022.
270+
/// The OS SKU of the agent node pool. Ubuntu, Ubuntu2204, Ubuntu2404, AzureLinux, AzureLinux3, or AzureContainerLinux for Linux. Windows2019, Windows2022, or Windows2025 for Windows. Allowed values: AzureContainerLinux, AzureLinux, AzureLinux3, CBLMariner, Mariner, Ubuntu, Ubuntu2204, Ubuntu2404, Windows2019,
271271
/// </summary>
272272
[CliFlag("--os-sku")]
273273
public bool? OsSku { get; set; }

0 commit comments

Comments
 (0)