Class AzureCommand
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Applies Azure CLI-wide subscription, output, query, warning, and diagnostic behavior after command-specific arguments.
public abstract record AzureCommand : ExecToolCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<AzureCommand>Inheritance
Derived
Implements
Constructors
AzureCommand()
Initializes Azure CLI output controls from the task logging level.
protected AzureCommand()Properties
AzureCommandParts
Provides the operation-specific arguments that execute before Azure CLI global processing.
protected abstract IReadOnlyList<string?> AzureCommandParts { get; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override sealed IReadOnlyList<string?> CommandParts { get; }Property Value
Debug
Whether all Azure CLI debug logs are shown.
public bool Debug { get; init; }Property Value
OnlyShowErrors
Whether Azure CLI warnings are suppressed.
public bool OnlyShowErrors { get; init; }Property Value
Output
The Azure CLI output format.
public AzureOutputFormat? Output { get; init; }Property Value
Query
The JMESPath query applied by Azure CLI.
public string? Query { get; init; }Property Value
Subscription
The subscription name or ID used by Azure CLI.
public string? Subscription { get; init; }Property Value
Verbose
Whether additional Azure CLI operational details are shown.
public bool Verbose { get; init; }