Table of Contents

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

IReadOnlyList<string?>

CommandParts

Gets every canonically ordered rendered command fragment.

protected override sealed IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

Debug

Whether all Azure CLI debug logs are shown.

public bool Debug { get; init; }

Property Value

bool

OnlyShowErrors

Whether Azure CLI warnings are suppressed.

public bool OnlyShowErrors { get; init; }

Property Value

bool

Output

The Azure CLI output format.

public AzureOutputFormat? Output { get; init; }

Property Value

AzureOutputFormat?

Query

The JMESPath query applied by Azure CLI.

public string? Query { get; init; }

Property Value

string?

Subscription

The subscription name or ID used by Azure CLI.

public string? Subscription { get; init; }

Property Value

string?

Verbose

Whether additional Azure CLI operational details are shown.

public bool Verbose { get; init; }

Property Value

bool