Last active
October 27, 2024 06:29
-
-
Save Meir017/f949571227c61021aad077ffebacda45 to your computer and use it in GitHub Desktop.
Sharpliner.generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sharpliner; | |
using Sharpliner.AzureDevOps; | |
using YamlDotNet.Serialization; | |
namespace Sharpliner.AzureDevOps.Tasks.Generated; | |
/// <summary> | |
/// <c>PowerShell@2</c>: | |
/// PowerShell | |
/// Run a PowerShell script on Linux, macOS, or Windows | |
/// </summary> | |
public record PowerShell_V2 : AzureDevOpsTask | |
{ | |
public PowerShell_V2() : base("PowerShell@2") | |
{ | |
} | |
/// <summary> | |
/// Type | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetType | |
{ | |
get => GetString("targetType"); | |
init => SetProperty("targetType", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? FilePath | |
{ | |
get => GetString("filePath"); | |
init => SetProperty("filePath", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Script | |
{ | |
get => GetString("script"); | |
init => SetProperty("script", value); | |
} | |
/// <summary> | |
/// ErrorActionPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? ErrorActionPreference | |
{ | |
get => GetString("errorActionPreference"); | |
init => SetProperty("errorActionPreference", value); | |
} | |
/// <summary> | |
/// WarningPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? WarningPreference | |
{ | |
get => GetString("warningPreference"); | |
init => SetProperty("warningPreference", value); | |
} | |
/// <summary> | |
/// InformationPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? InformationPreference | |
{ | |
get => GetString("informationPreference"); | |
init => SetProperty("informationPreference", value); | |
} | |
/// <summary> | |
/// VerbosePreference | |
/// </summary> | |
[YamlIgnore] | |
public string? VerbosePreference | |
{ | |
get => GetString("verbosePreference"); | |
init => SetProperty("verbosePreference", value); | |
} | |
/// <summary> | |
/// DebugPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? DebugPreference | |
{ | |
get => GetString("debugPreference"); | |
init => SetProperty("debugPreference", value); | |
} | |
/// <summary> | |
/// ProgressPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? ProgressPreference | |
{ | |
get => GetString("progressPreference"); | |
init => SetProperty("progressPreference", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStderr | |
{ | |
get => GetBool("failOnStderr", false); | |
init => SetProperty("failOnStderr", value); | |
} | |
/// <summary> | |
/// Show warnings as Azure DevOps warnings | |
/// </summary> | |
[YamlIgnore] | |
public bool ShowWarnings | |
{ | |
get => GetBool("showWarnings", false); | |
init => SetProperty("showWarnings", value); | |
} | |
/// <summary> | |
/// Ignore $LASTEXITCODE | |
/// </summary> | |
[YamlIgnore] | |
public bool IgnoreLASTEXITCODE | |
{ | |
get => GetBool("ignoreLASTEXITCODE", false); | |
init => SetProperty("ignoreLASTEXITCODE", value); | |
} | |
/// <summary> | |
/// Use PowerShell Core | |
/// </summary> | |
[YamlIgnore] | |
public bool Pwsh | |
{ | |
get => GetBool("pwsh", false); | |
init => SetProperty("pwsh", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Run script in the separate scope | |
/// </summary> | |
[YamlIgnore] | |
public bool RunScriptInSeparateScope | |
{ | |
get => GetBool("runScriptInSeparateScope", false); | |
init => SetProperty("runScriptInSeparateScope", value); | |
} | |
} | |
/// <summary> | |
/// <c>PowerShell@1</c>: | |
/// PowerShell | |
/// Run a PowerShell script | |
/// </summary> | |
public record PowerShell_V1 : AzureDevOpsTask | |
{ | |
public PowerShell_V1() : base("PowerShell@1") | |
{ | |
} | |
/// <summary> | |
/// Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("scriptType"); | |
init => SetProperty("scriptType", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptName | |
{ | |
get => GetString("scriptName"); | |
init => SetProperty("scriptName", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Working folder | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingFolder | |
{ | |
get => GetString("workingFolder"); | |
init => SetProperty("workingFolder", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? InlineScript | |
{ | |
get => GetString("inlineScript"); | |
init => SetProperty("inlineScript", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("failOnStandardError", false); | |
init => SetProperty("failOnStandardError", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzurePowerShell@2</c>: | |
/// Azure PowerShell | |
/// Run a PowerShell script within an Azure environment | |
/// </summary> | |
public record AzurePowerShell_V2 : AzureDevOpsTask | |
{ | |
public AzurePowerShell_V2() : base("AzurePowerShell@2") | |
{ | |
} | |
/// <summary> | |
/// Azure Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureConnectionType | |
{ | |
get => GetString("azureConnectionType"); | |
init => SetProperty("azureConnectionType", value); | |
} | |
/// <summary> | |
/// Azure Classic Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureClassicSubscription | |
{ | |
get => GetString("azureClassicSubscription"); | |
init => SetProperty("azureClassicSubscription", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Script Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("ScriptType"); | |
init => SetProperty("ScriptType", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Inline | |
{ | |
get => GetString("Inline"); | |
init => SetProperty("Inline", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
/// <summary> | |
/// Azure PowerShell Version | |
/// </summary> | |
[YamlIgnore] | |
public string? AzurePowerShellVersion | |
{ | |
get => GetString("azurePowerShellVersion"); | |
init => SetProperty("azurePowerShellVersion", value); | |
} | |
/// <summary> | |
/// Preferred Azure PowerShell Version | |
/// </summary> | |
[YamlIgnore] | |
public string? PreferredAzurePowerShellVersion | |
{ | |
get => GetString("preferredAzurePowerShellVersion"); | |
init => SetProperty("preferredAzurePowerShellVersion", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzurePowerShell@3</c>: | |
/// Azure PowerShell | |
/// Run a PowerShell script within an Azure environment | |
/// </summary> | |
public record AzurePowerShell_V3 : AzureDevOpsTask | |
{ | |
public AzurePowerShell_V3() : base("AzurePowerShell@3") | |
{ | |
} | |
/// <summary> | |
/// Azure Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureConnectionType | |
{ | |
get => GetString("azureConnectionType"); | |
init => SetProperty("azureConnectionType", value); | |
} | |
/// <summary> | |
/// Azure Classic Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureClassicSubscription | |
{ | |
get => GetString("azureClassicSubscription"); | |
init => SetProperty("azureClassicSubscription", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Script Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("ScriptType"); | |
init => SetProperty("ScriptType", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Inline | |
{ | |
get => GetString("Inline"); | |
init => SetProperty("Inline", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
/// <summary> | |
/// ErrorActionPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? ErrorActionPreference | |
{ | |
get => GetString("errorActionPreference"); | |
init => SetProperty("errorActionPreference", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("FailOnStandardError", false); | |
init => SetProperty("FailOnStandardError", value); | |
} | |
/// <summary> | |
/// Azure PowerShell Version | |
/// </summary> | |
[YamlIgnore] | |
public string? AzurePowerShellVersion | |
{ | |
get => GetString("azurePowerShellVersion"); | |
init => SetProperty("azurePowerShellVersion", value); | |
} | |
/// <summary> | |
/// Preferred Azure PowerShell Version | |
/// </summary> | |
[YamlIgnore] | |
public string? PreferredAzurePowerShellVersion | |
{ | |
get => GetString("preferredAzurePowerShellVersion"); | |
init => SetProperty("preferredAzurePowerShellVersion", value); | |
} | |
/// <summary> | |
/// Validate script signature | |
/// </summary> | |
[YamlIgnore] | |
public bool ValidateScriptSignature | |
{ | |
get => GetBool("validateScriptSignature", false); | |
init => SetProperty("validateScriptSignature", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzurePowerShell@4</c>: | |
/// Azure PowerShell | |
/// Run a PowerShell script within an Azure environment | |
/// </summary> | |
public record AzurePowerShell_V4 : AzureDevOpsTask | |
{ | |
public AzurePowerShell_V4(string? azuresubscription) : base("AzurePowerShell@4") | |
{ | |
AzureSubscription = azuresubscription; | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Script Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("ScriptType"); | |
init => SetProperty("ScriptType", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Inline | |
{ | |
get => GetString("Inline"); | |
init => SetProperty("Inline", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
/// <summary> | |
/// ErrorActionPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? ErrorActionPreference | |
{ | |
get => GetString("errorActionPreference"); | |
init => SetProperty("errorActionPreference", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("FailOnStandardError", false); | |
init => SetProperty("FailOnStandardError", value); | |
} | |
/// <summary> | |
/// Restrict scope of context to current task | |
/// </summary> | |
[YamlIgnore] | |
public bool RestrictContextToCurrentTask | |
{ | |
get => GetBool("RestrictContextToCurrentTask", false); | |
init => SetProperty("RestrictContextToCurrentTask", value); | |
} | |
/// <summary> | |
/// Azure PowerShell Version | |
/// </summary> | |
[YamlIgnore] | |
public string? AzurePowerShellVersion | |
{ | |
get => GetString("azurePowerShellVersion"); | |
init => SetProperty("azurePowerShellVersion", value); | |
} | |
/// <summary> | |
/// Preferred Azure PowerShell Version | |
/// </summary> | |
[YamlIgnore] | |
public string? PreferredAzurePowerShellVersion | |
{ | |
get => GetString("preferredAzurePowerShellVersion"); | |
init => SetProperty("preferredAzurePowerShellVersion", value); | |
} | |
/// <summary> | |
/// Use PowerShell Core | |
/// </summary> | |
[YamlIgnore] | |
public bool Pwsh | |
{ | |
get => GetBool("pwsh", false); | |
init => SetProperty("pwsh", value); | |
} | |
/// <summary> | |
/// Validate script signature | |
/// </summary> | |
[YamlIgnore] | |
public bool ValidateScriptSignature | |
{ | |
get => GetBool("validateScriptSignature", false); | |
init => SetProperty("validateScriptSignature", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzurePowerShell@5</c>: | |
/// Azure PowerShell | |
/// Run a PowerShell script within an Azure environment | |
/// </summary> | |
public record AzurePowerShell_V5 : AzureDevOpsTask | |
{ | |
public AzurePowerShell_V5(string? azuresubscription) : base("AzurePowerShell@5") | |
{ | |
AzureSubscription = azuresubscription; | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Script Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("ScriptType"); | |
init => SetProperty("ScriptType", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Inline | |
{ | |
get => GetString("Inline"); | |
init => SetProperty("Inline", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
/// <summary> | |
/// ErrorActionPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? ErrorActionPreference | |
{ | |
get => GetString("errorActionPreference"); | |
init => SetProperty("errorActionPreference", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("FailOnStandardError", false); | |
init => SetProperty("FailOnStandardError", value); | |
} | |
/// <summary> | |
/// Azure PowerShell Version | |
/// </summary> | |
[YamlIgnore] | |
public string? AzurePowerShellVersion | |
{ | |
get => GetString("azurePowerShellVersion"); | |
init => SetProperty("azurePowerShellVersion", value); | |
} | |
/// <summary> | |
/// Preferred Azure PowerShell Version | |
/// </summary> | |
[YamlIgnore] | |
public string? PreferredAzurePowerShellVersion | |
{ | |
get => GetString("preferredAzurePowerShellVersion"); | |
init => SetProperty("preferredAzurePowerShellVersion", value); | |
} | |
/// <summary> | |
/// Use PowerShell Core | |
/// </summary> | |
[YamlIgnore] | |
public bool Pwsh | |
{ | |
get => GetBool("pwsh", false); | |
init => SetProperty("pwsh", value); | |
} | |
/// <summary> | |
/// Validate script signature | |
/// </summary> | |
[YamlIgnore] | |
public bool ValidateScriptSignature | |
{ | |
get => GetBool("validateScriptSignature", false); | |
init => SetProperty("validateScriptSignature", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzurePowerShell@1</c>: | |
/// Azure PowerShell | |
/// Run a PowerShell script within an Azure environment | |
/// </summary> | |
public record AzurePowerShell_V1 : AzureDevOpsTask | |
{ | |
public AzurePowerShell_V1() : base("AzurePowerShell@1") | |
{ | |
} | |
/// <summary> | |
/// Azure Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameSelector | |
{ | |
get => GetString("ConnectedServiceNameSelector"); | |
init => SetProperty("ConnectedServiceNameSelector", value); | |
} | |
/// <summary> | |
/// Azure Classic Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("ConnectedServiceName"); | |
init => SetProperty("ConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameARM | |
{ | |
get => GetString("ConnectedServiceNameARM"); | |
init => SetProperty("ConnectedServiceNameARM", value); | |
} | |
/// <summary> | |
/// Script Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("ScriptType"); | |
init => SetProperty("ScriptType", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Inline | |
{ | |
get => GetString("Inline"); | |
init => SetProperty("Inline", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>MysqlDeploymentOnMachineGroup@1</c>: | |
/// MySQL database deploy | |
/// Run scripts and make changes to a MySQL Database | |
/// </summary> | |
public record MysqlDeploymentOnMachineGroup_V1 : AzureDevOpsTask | |
{ | |
public MysqlDeploymentOnMachineGroup_V1(string? sqlusername, string? sqlpassword) : base("MysqlDeploymentOnMachineGroup@1") | |
{ | |
SqlUsername = sqlusername; | |
SqlPassword = sqlpassword; | |
} | |
/// <summary> | |
/// Deploy MySql Using | |
/// </summary> | |
[YamlIgnore] | |
public string? TaskNameSelector | |
{ | |
get => GetString("TaskNameSelector"); | |
init => SetProperty("TaskNameSelector", value); | |
} | |
/// <summary> | |
/// MySQL Script | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlFile | |
{ | |
get => GetString("SqlFile"); | |
init => SetProperty("SqlFile", value); | |
} | |
/// <summary> | |
/// Inline MySQL Script | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlInline | |
{ | |
get => GetString("SqlInline"); | |
init => SetProperty("SqlInline", value); | |
} | |
/// <summary> | |
/// Host Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerName | |
{ | |
get => GetString("ServerName"); | |
init => SetProperty("ServerName", value); | |
} | |
/// <summary> | |
/// Database Name | |
/// </summary> | |
[YamlIgnore] | |
public string? DatabaseName | |
{ | |
get => GetString("DatabaseName"); | |
init => SetProperty("DatabaseName", value); | |
} | |
/// <summary> | |
/// MySQL User Name | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlUsername | |
{ | |
get => GetString("SqlUsername"); | |
init => SetProperty("SqlUsername", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlPassword | |
{ | |
get => GetString("SqlPassword"); | |
init => SetProperty("SqlPassword", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlAdditionalArguments | |
{ | |
get => GetString("SqlAdditionalArguments"); | |
init => SetProperty("SqlAdditionalArguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>PipAuthenticate@0</c>: | |
/// Python pip authenticate | |
/// Authentication task for the pip client used for installing Python distributions | |
/// </summary> | |
public record PipAuthenticate_V0 : AzureDevOpsTask | |
{ | |
public PipAuthenticate_V0() : base("PipAuthenticate@0") | |
{ | |
} | |
/// <summary> | |
/// My feeds (select below) | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactFeeds | |
{ | |
get => GetString("artifactFeeds"); | |
init => SetProperty("artifactFeeds", value); | |
} | |
/// <summary> | |
/// Feeds from external organizations | |
/// </summary> | |
[YamlIgnore] | |
public string? ExternalFeeds | |
{ | |
get => GetString("externalFeeds"); | |
init => SetProperty("externalFeeds", value); | |
} | |
} | |
/// <summary> | |
/// <c>PipAuthenticate@1</c>: | |
/// Python pip authenticate | |
/// Authentication task for the pip client used for installing Python distributions | |
/// </summary> | |
public record PipAuthenticate_V1 : AzureDevOpsTask | |
{ | |
public PipAuthenticate_V1() : base("PipAuthenticate@1") | |
{ | |
} | |
/// <summary> | |
/// 'Azure DevOps' Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureDevOpsServiceConnection | |
{ | |
get => GetString("azureDevOpsServiceConnection"); | |
init => SetProperty("azureDevOpsServiceConnection", value); | |
} | |
/// <summary> | |
/// Azure Artifacts Feeds url. | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedUrl | |
{ | |
get => GetString("feedUrl"); | |
init => SetProperty("feedUrl", value); | |
} | |
/// <summary> | |
/// My feeds (select below) | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactFeeds | |
{ | |
get => GetString("artifactFeeds"); | |
init => SetProperty("artifactFeeds", value); | |
} | |
/// <summary> | |
/// Feeds from external organizations | |
/// </summary> | |
[YamlIgnore] | |
public string? PythonDownloadServiceConnections | |
{ | |
get => GetString("pythonDownloadServiceConnections"); | |
init => SetProperty("pythonDownloadServiceConnections", value); | |
} | |
/// <summary> | |
/// Don't set primary index URL | |
/// </summary> | |
[YamlIgnore] | |
public bool OnlyAddExtraIndex | |
{ | |
get => GetBool("onlyAddExtraIndex", false); | |
init => SetProperty("onlyAddExtraIndex", value); | |
} | |
} | |
/// <summary> | |
/// <c>Maven@2</c>: | |
/// Maven | |
/// Build, test, and deploy with Apache Maven | |
/// </summary> | |
public record Maven_V2 : AzureDevOpsTask | |
{ | |
public Maven_V2() : base("Maven@2") | |
{ | |
} | |
/// <summary> | |
/// Maven POM file | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenPomFile | |
{ | |
get => GetString("mavenPomFile"); | |
init => SetProperty("mavenPomFile", value); | |
} | |
/// <summary> | |
/// Goal(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Goals | |
{ | |
get => GetString("goals"); | |
init => SetProperty("goals", value); | |
} | |
/// <summary> | |
/// Options | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Publish to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test results files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Allow broken symbolic links | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowBrokenSymlinks | |
{ | |
get => GetBool("allowBrokenSymlinks", false); | |
init => SetProperty("allowBrokenSymlinks", value); | |
} | |
/// <summary> | |
/// Code coverage tool | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageToolOption | |
{ | |
get => GetString("codeCoverageToolOption"); | |
init => SetProperty("codeCoverageToolOption", value); | |
} | |
/// <summary> | |
/// Class inclusion/exclusion filters | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilter | |
{ | |
get => GetString("codeCoverageClassFilter"); | |
init => SetProperty("codeCoverageClassFilter", value); | |
} | |
/// <summary> | |
/// Class files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilesDirectories | |
{ | |
get => GetString("codeCoverageClassFilesDirectories"); | |
init => SetProperty("codeCoverageClassFilesDirectories", value); | |
} | |
/// <summary> | |
/// Source files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageSourceDirectories | |
{ | |
get => GetString("codeCoverageSourceDirectories"); | |
init => SetProperty("codeCoverageSourceDirectories", value); | |
} | |
/// <summary> | |
/// Fail when code coverage results are missing | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageFailIfEmpty | |
{ | |
get => GetBool("codeCoverageFailIfEmpty", false); | |
init => SetProperty("codeCoverageFailIfEmpty", value); | |
} | |
/// <summary> | |
/// Restore original pom.xml after task execution | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageRestoreOriginalPomXml | |
{ | |
get => GetBool("codeCoverageRestoreOriginalPomXml", false); | |
init => SetProperty("codeCoverageRestoreOriginalPomXml", value); | |
} | |
/// <summary> | |
/// Set JAVA_HOME by | |
/// </summary> | |
[YamlIgnore] | |
public string? JavaHomeOption | |
{ | |
get => GetString("javaHomeOption"); | |
init => SetProperty("javaHomeOption", value); | |
} | |
/// <summary> | |
/// JDK version | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkVersionOption | |
{ | |
get => GetString("jdkVersionOption"); | |
init => SetProperty("jdkVersionOption", value); | |
} | |
/// <summary> | |
/// JDK path | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkDirectory | |
{ | |
get => GetString("jdkDirectory"); | |
init => SetProperty("jdkDirectory", value); | |
} | |
/// <summary> | |
/// JDK architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
/// <summary> | |
/// Maven version | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenVersionOption | |
{ | |
get => GetString("mavenVersionOption"); | |
init => SetProperty("mavenVersionOption", value); | |
} | |
/// <summary> | |
/// Maven path | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenDirectory | |
{ | |
get => GetString("mavenDirectory"); | |
init => SetProperty("mavenDirectory", value); | |
} | |
/// <summary> | |
/// Set M2_HOME variable | |
/// </summary> | |
[YamlIgnore] | |
public bool MavenSetM2Home | |
{ | |
get => GetBool("mavenSetM2Home", false); | |
init => SetProperty("mavenSetM2Home", value); | |
} | |
/// <summary> | |
/// Set MAVEN_OPTS to | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenOptions | |
{ | |
get => GetString("mavenOptions"); | |
init => SetProperty("mavenOptions", value); | |
} | |
/// <summary> | |
/// Authenticate with Artifacts feeds | |
/// </summary> | |
[YamlIgnore] | |
public bool MavenAuthenticateFeed | |
{ | |
get => GetBool("mavenAuthenticateFeed", false); | |
init => SetProperty("mavenAuthenticateFeed", value); | |
} | |
/// <summary> | |
/// Run SonarQube or SonarCloud analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeRunAnalysis | |
{ | |
get => GetBool("sonarQubeRunAnalysis", false); | |
init => SetProperty("sonarQubeRunAnalysis", value); | |
} | |
/// <summary> | |
/// Use XML Jacoco reports for SonarQube analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool IsJacocoCoverageReportXML | |
{ | |
get => GetBool("isJacocoCoverageReportXML", false); | |
init => SetProperty("isJacocoCoverageReportXML", value); | |
} | |
/// <summary> | |
/// SonarQube scanner for Maven version | |
/// </summary> | |
[YamlIgnore] | |
public string? SqMavenPluginVersionChoice | |
{ | |
get => GetString("sqMavenPluginVersionChoice"); | |
init => SetProperty("sqMavenPluginVersionChoice", value); | |
} | |
/// <summary> | |
/// Run Checkstyle | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckStyleRunAnalysis | |
{ | |
get => GetBool("checkStyleRunAnalysis", false); | |
init => SetProperty("checkStyleRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run PMD | |
/// </summary> | |
[YamlIgnore] | |
public bool PmdRunAnalysis | |
{ | |
get => GetBool("pmdRunAnalysis", false); | |
init => SetProperty("pmdRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run FindBugs | |
/// </summary> | |
[YamlIgnore] | |
public bool FindBugsRunAnalysis | |
{ | |
get => GetBool("findBugsRunAnalysis", false); | |
init => SetProperty("findBugsRunAnalysis", value); | |
} | |
} | |
/// <summary> | |
/// <c>Maven@3</c>: | |
/// Maven | |
/// Build, test, and deploy with Apache Maven | |
/// </summary> | |
public record Maven_V3 : AzureDevOpsTask | |
{ | |
public Maven_V3() : base("Maven@3") | |
{ | |
} | |
/// <summary> | |
/// Maven POM file | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenPomFile | |
{ | |
get => GetString("mavenPomFile"); | |
init => SetProperty("mavenPomFile", value); | |
} | |
/// <summary> | |
/// Goal(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Goals | |
{ | |
get => GetString("goals"); | |
init => SetProperty("goals", value); | |
} | |
/// <summary> | |
/// Options | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Publish to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test results files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Allow broken symbolic links | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowBrokenSymlinks | |
{ | |
get => GetBool("allowBrokenSymlinks", false); | |
init => SetProperty("allowBrokenSymlinks", value); | |
} | |
/// <summary> | |
/// Code coverage tool | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageToolOption | |
{ | |
get => GetString("codeCoverageToolOption"); | |
init => SetProperty("codeCoverageToolOption", value); | |
} | |
/// <summary> | |
/// Class inclusion/exclusion filters | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilter | |
{ | |
get => GetString("codeCoverageClassFilter"); | |
init => SetProperty("codeCoverageClassFilter", value); | |
} | |
/// <summary> | |
/// Class files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilesDirectories | |
{ | |
get => GetString("codeCoverageClassFilesDirectories"); | |
init => SetProperty("codeCoverageClassFilesDirectories", value); | |
} | |
/// <summary> | |
/// Source files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageSourceDirectories | |
{ | |
get => GetString("codeCoverageSourceDirectories"); | |
init => SetProperty("codeCoverageSourceDirectories", value); | |
} | |
/// <summary> | |
/// Fail when code coverage results are missing | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageFailIfEmpty | |
{ | |
get => GetBool("codeCoverageFailIfEmpty", false); | |
init => SetProperty("codeCoverageFailIfEmpty", value); | |
} | |
/// <summary> | |
/// Restore original pom.xml after task execution | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageRestoreOriginalPomXml | |
{ | |
get => GetBool("codeCoverageRestoreOriginalPomXml", false); | |
init => SetProperty("codeCoverageRestoreOriginalPomXml", value); | |
} | |
/// <summary> | |
/// Set JAVA_HOME by | |
/// </summary> | |
[YamlIgnore] | |
public string? JavaHomeOption | |
{ | |
get => GetString("javaHomeOption"); | |
init => SetProperty("javaHomeOption", value); | |
} | |
/// <summary> | |
/// JDK version | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkVersionOption | |
{ | |
get => GetString("jdkVersionOption"); | |
init => SetProperty("jdkVersionOption", value); | |
} | |
/// <summary> | |
/// JDK path | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkDirectory | |
{ | |
get => GetString("jdkDirectory"); | |
init => SetProperty("jdkDirectory", value); | |
} | |
/// <summary> | |
/// JDK architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
/// <summary> | |
/// Maven version | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenVersionOption | |
{ | |
get => GetString("mavenVersionOption"); | |
init => SetProperty("mavenVersionOption", value); | |
} | |
/// <summary> | |
/// Maven path | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenDirectory | |
{ | |
get => GetString("mavenDirectory"); | |
init => SetProperty("mavenDirectory", value); | |
} | |
/// <summary> | |
/// Set M2_HOME variable | |
/// </summary> | |
[YamlIgnore] | |
public bool MavenSetM2Home | |
{ | |
get => GetBool("mavenSetM2Home", false); | |
init => SetProperty("mavenSetM2Home", value); | |
} | |
/// <summary> | |
/// Set MAVEN_OPTS to | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenOptions | |
{ | |
get => GetString("mavenOptions"); | |
init => SetProperty("mavenOptions", value); | |
} | |
/// <summary> | |
/// Authenticate with Artifacts feeds | |
/// </summary> | |
[YamlIgnore] | |
public bool MavenAuthenticateFeed | |
{ | |
get => GetBool("mavenAuthenticateFeed", false); | |
init => SetProperty("mavenAuthenticateFeed", value); | |
} | |
/// <summary> | |
/// Skip generating effective POM while authenticating with Artifacts feeds | |
/// </summary> | |
[YamlIgnore] | |
public bool EffectivePomSkip | |
{ | |
get => GetBool("effectivePomSkip", false); | |
init => SetProperty("effectivePomSkip", value); | |
} | |
/// <summary> | |
/// Run SonarQube or SonarCloud analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeRunAnalysis | |
{ | |
get => GetBool("sonarQubeRunAnalysis", false); | |
init => SetProperty("sonarQubeRunAnalysis", value); | |
} | |
/// <summary> | |
/// Use XML Jacoco reports for SonarQube analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool IsJacocoCoverageReportXML | |
{ | |
get => GetBool("isJacocoCoverageReportXML", false); | |
init => SetProperty("isJacocoCoverageReportXML", value); | |
} | |
/// <summary> | |
/// SonarQube scanner for Maven version | |
/// </summary> | |
[YamlIgnore] | |
public string? SqMavenPluginVersionChoice | |
{ | |
get => GetString("sqMavenPluginVersionChoice"); | |
init => SetProperty("sqMavenPluginVersionChoice", value); | |
} | |
/// <summary> | |
/// Run Checkstyle | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckStyleRunAnalysis | |
{ | |
get => GetBool("checkStyleRunAnalysis", false); | |
init => SetProperty("checkStyleRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run PMD | |
/// </summary> | |
[YamlIgnore] | |
public bool PmdRunAnalysis | |
{ | |
get => GetBool("pmdRunAnalysis", false); | |
init => SetProperty("pmdRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run FindBugs | |
/// </summary> | |
[YamlIgnore] | |
public bool FindBugsRunAnalysis | |
{ | |
get => GetBool("findBugsRunAnalysis", false); | |
init => SetProperty("findBugsRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run SpotBugs analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool SpotBugsRunAnalysis | |
{ | |
get => GetBool("spotBugsRunAnalysis", false); | |
init => SetProperty("spotBugsRunAnalysis", value); | |
} | |
/// <summary> | |
/// Version number | |
/// </summary> | |
[YamlIgnore] | |
public string? SpotBugsVersion | |
{ | |
get => GetString("spotBugsVersion"); | |
init => SetProperty("spotBugsVersion", value); | |
} | |
/// <summary> | |
/// The goal for the spotbugs plugin | |
/// </summary> | |
[YamlIgnore] | |
public string? SpotBugsGoal | |
{ | |
get => GetString("spotBugsGoal"); | |
init => SetProperty("spotBugsGoal", value); | |
} | |
/// <summary> | |
/// Fail when bugs are found with spotbugs:check | |
/// </summary> | |
[YamlIgnore] | |
public bool FailWhenBugsFound | |
{ | |
get => GetBool("failWhenBugsFound", false); | |
init => SetProperty("failWhenBugsFound", value); | |
} | |
} | |
/// <summary> | |
/// <c>Maven@4</c>: | |
/// Maven | |
/// Build, test, and deploy with Apache Maven | |
/// </summary> | |
public record Maven_V4 : AzureDevOpsTask | |
{ | |
public Maven_V4() : base("Maven@4") | |
{ | |
} | |
/// <summary> | |
/// Azure Resource Manager connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Maven POM file | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenPomFile | |
{ | |
get => GetString("mavenPomFile"); | |
init => SetProperty("mavenPomFile", value); | |
} | |
/// <summary> | |
/// Goal(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Goals | |
{ | |
get => GetString("goals"); | |
init => SetProperty("goals", value); | |
} | |
/// <summary> | |
/// Options | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Publish to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test results files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Allow broken symbolic links | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowBrokenSymlinks | |
{ | |
get => GetBool("allowBrokenSymlinks", false); | |
init => SetProperty("allowBrokenSymlinks", value); | |
} | |
/// <summary> | |
/// Code coverage tool | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageToolOption | |
{ | |
get => GetString("codeCoverageToolOption"); | |
init => SetProperty("codeCoverageToolOption", value); | |
} | |
/// <summary> | |
/// Class inclusion/exclusion filters | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilter | |
{ | |
get => GetString("codeCoverageClassFilter"); | |
init => SetProperty("codeCoverageClassFilter", value); | |
} | |
/// <summary> | |
/// Class files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilesDirectories | |
{ | |
get => GetString("codeCoverageClassFilesDirectories"); | |
init => SetProperty("codeCoverageClassFilesDirectories", value); | |
} | |
/// <summary> | |
/// Source files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageSourceDirectories | |
{ | |
get => GetString("codeCoverageSourceDirectories"); | |
init => SetProperty("codeCoverageSourceDirectories", value); | |
} | |
/// <summary> | |
/// Fail when code coverage results are missing | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageFailIfEmpty | |
{ | |
get => GetBool("codeCoverageFailIfEmpty", false); | |
init => SetProperty("codeCoverageFailIfEmpty", value); | |
} | |
/// <summary> | |
/// Restore original pom.xml after task execution | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageRestoreOriginalPomXml | |
{ | |
get => GetBool("codeCoverageRestoreOriginalPomXml", false); | |
init => SetProperty("codeCoverageRestoreOriginalPomXml", value); | |
} | |
/// <summary> | |
/// Set JAVA_HOME by | |
/// </summary> | |
[YamlIgnore] | |
public string? JavaHomeOption | |
{ | |
get => GetString("javaHomeOption"); | |
init => SetProperty("javaHomeOption", value); | |
} | |
/// <summary> | |
/// JDK version | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkVersionOption | |
{ | |
get => GetString("jdkVersionOption"); | |
init => SetProperty("jdkVersionOption", value); | |
} | |
/// <summary> | |
/// JDK path | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkDirectory | |
{ | |
get => GetString("jdkDirectory"); | |
init => SetProperty("jdkDirectory", value); | |
} | |
/// <summary> | |
/// JDK architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
/// <summary> | |
/// Maven version | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenVersionOption | |
{ | |
get => GetString("mavenVersionOption"); | |
init => SetProperty("mavenVersionOption", value); | |
} | |
/// <summary> | |
/// Maven path | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenDirectory | |
{ | |
get => GetString("mavenDirectory"); | |
init => SetProperty("mavenDirectory", value); | |
} | |
/// <summary> | |
/// Set M2_HOME variable | |
/// </summary> | |
[YamlIgnore] | |
public bool MavenSetM2Home | |
{ | |
get => GetBool("mavenSetM2Home", false); | |
init => SetProperty("mavenSetM2Home", value); | |
} | |
/// <summary> | |
/// Set MAVEN_OPTS to | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenOptions | |
{ | |
get => GetString("mavenOptions"); | |
init => SetProperty("mavenOptions", value); | |
} | |
/// <summary> | |
/// Authenticate with Artifacts feeds | |
/// </summary> | |
[YamlIgnore] | |
public bool MavenAuthenticateFeed | |
{ | |
get => GetBool("mavenAuthenticateFeed", false); | |
init => SetProperty("mavenAuthenticateFeed", value); | |
} | |
/// <summary> | |
/// Skip generating effective POM while authenticating with Artifacts feeds | |
/// </summary> | |
[YamlIgnore] | |
public bool EffectivePomSkip | |
{ | |
get => GetBool("effectivePomSkip", false); | |
init => SetProperty("effectivePomSkip", value); | |
} | |
/// <summary> | |
/// Run SonarQube or SonarCloud analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeRunAnalysis | |
{ | |
get => GetBool("sonarQubeRunAnalysis", false); | |
init => SetProperty("sonarQubeRunAnalysis", value); | |
} | |
/// <summary> | |
/// Use XML Jacoco reports for SonarQube analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool IsJacocoCoverageReportXML | |
{ | |
get => GetBool("isJacocoCoverageReportXML", false); | |
init => SetProperty("isJacocoCoverageReportXML", value); | |
} | |
/// <summary> | |
/// SonarQube scanner for Maven version | |
/// </summary> | |
[YamlIgnore] | |
public string? SqMavenPluginVersionChoice | |
{ | |
get => GetString("sqMavenPluginVersionChoice"); | |
init => SetProperty("sqMavenPluginVersionChoice", value); | |
} | |
/// <summary> | |
/// Run Checkstyle | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckStyleRunAnalysis | |
{ | |
get => GetBool("checkStyleRunAnalysis", false); | |
init => SetProperty("checkStyleRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run PMD | |
/// </summary> | |
[YamlIgnore] | |
public bool PmdRunAnalysis | |
{ | |
get => GetBool("pmdRunAnalysis", false); | |
init => SetProperty("pmdRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run FindBugs | |
/// </summary> | |
[YamlIgnore] | |
public bool FindBugsRunAnalysis | |
{ | |
get => GetBool("findBugsRunAnalysis", false); | |
init => SetProperty("findBugsRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run SpotBugs analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool SpotBugsRunAnalysis | |
{ | |
get => GetBool("spotBugsRunAnalysis", false); | |
init => SetProperty("spotBugsRunAnalysis", value); | |
} | |
/// <summary> | |
/// Version number | |
/// </summary> | |
[YamlIgnore] | |
public string? SpotBugsVersion | |
{ | |
get => GetString("spotBugsVersion"); | |
init => SetProperty("spotBugsVersion", value); | |
} | |
/// <summary> | |
/// The goal for the spotbugs plugin | |
/// </summary> | |
[YamlIgnore] | |
public string? SpotBugsGoal | |
{ | |
get => GetString("spotBugsGoal"); | |
init => SetProperty("spotBugsGoal", value); | |
} | |
/// <summary> | |
/// Fail when bugs are found with spotbugs:check | |
/// </summary> | |
[YamlIgnore] | |
public bool FailWhenBugsFound | |
{ | |
get => GetBool("failWhenBugsFound", false); | |
init => SetProperty("failWhenBugsFound", value); | |
} | |
} | |
/// <summary> | |
/// <c>Maven@1</c>: | |
/// Maven | |
/// Build with Apache Maven | |
/// </summary> | |
public record Maven_V1 : AzureDevOpsTask | |
{ | |
public Maven_V1() : base("Maven@1") | |
{ | |
} | |
/// <summary> | |
/// Maven POM file | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenPomFile | |
{ | |
get => GetString("mavenPomFile"); | |
init => SetProperty("mavenPomFile", value); | |
} | |
/// <summary> | |
/// Goal(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Goals | |
{ | |
get => GetString("goals"); | |
init => SetProperty("goals", value); | |
} | |
/// <summary> | |
/// Options | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Publish to TFS/Team Services | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test Results Files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test Run Title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Code Coverage Tool | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageToolOption | |
{ | |
get => GetString("codeCoverageToolOption"); | |
init => SetProperty("codeCoverageToolOption", value); | |
} | |
/// <summary> | |
/// Class Inclusion/Exclusion Filters | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilter | |
{ | |
get => GetString("codeCoverageClassFilter"); | |
init => SetProperty("codeCoverageClassFilter", value); | |
} | |
/// <summary> | |
/// Class Files Directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilesDirectories | |
{ | |
get => GetString("codeCoverageClassFilesDirectories"); | |
init => SetProperty("codeCoverageClassFilesDirectories", value); | |
} | |
/// <summary> | |
/// Source Files Directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageSourceDirectories | |
{ | |
get => GetString("codeCoverageSourceDirectories"); | |
init => SetProperty("codeCoverageSourceDirectories", value); | |
} | |
/// <summary> | |
/// Fail When Code Coverage Results Are Missing | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageFailIfEmpty | |
{ | |
get => GetBool("codeCoverageFailIfEmpty", false); | |
init => SetProperty("codeCoverageFailIfEmpty", value); | |
} | |
/// <summary> | |
/// Set JAVA_HOME by | |
/// </summary> | |
[YamlIgnore] | |
public string? JavaHomeOption | |
{ | |
get => GetString("javaHomeOption"); | |
init => SetProperty("javaHomeOption", value); | |
} | |
/// <summary> | |
/// JDK Version | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkVersionOption | |
{ | |
get => GetString("jdkVersionOption"); | |
init => SetProperty("jdkVersionOption", value); | |
} | |
/// <summary> | |
/// JDK Path | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkDirectory | |
{ | |
get => GetString("jdkDirectory"); | |
init => SetProperty("jdkDirectory", value); | |
} | |
/// <summary> | |
/// JDK Architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
/// <summary> | |
/// Maven Version | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenVersionOption | |
{ | |
get => GetString("mavenVersionOption"); | |
init => SetProperty("mavenVersionOption", value); | |
} | |
/// <summary> | |
/// Maven Path | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenDirectory | |
{ | |
get => GetString("mavenDirectory"); | |
init => SetProperty("mavenDirectory", value); | |
} | |
/// <summary> | |
/// Set M2_HOME variable | |
/// </summary> | |
[YamlIgnore] | |
public bool MavenSetM2Home | |
{ | |
get => GetBool("mavenSetM2Home", false); | |
init => SetProperty("mavenSetM2Home", value); | |
} | |
/// <summary> | |
/// Set MAVEN_OPTS to | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenOptions | |
{ | |
get => GetString("mavenOptions"); | |
init => SetProperty("mavenOptions", value); | |
} | |
/// <summary> | |
/// Authenticate built-in Maven feeds | |
/// </summary> | |
[YamlIgnore] | |
public bool MavenAuthenticateFeed | |
{ | |
get => GetBool("mavenAuthenticateFeed", false); | |
init => SetProperty("mavenAuthenticateFeed", value); | |
} | |
/// <summary> | |
/// Run SonarQube Analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeRunAnalysis | |
{ | |
get => GetBool("sonarQubeRunAnalysis", false); | |
init => SetProperty("sonarQubeRunAnalysis", value); | |
} | |
/// <summary> | |
/// SonarQube Endpoint | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeServiceEndpoint | |
{ | |
get => GetString("sonarQubeServiceEndpoint"); | |
init => SetProperty("sonarQubeServiceEndpoint", value); | |
} | |
/// <summary> | |
/// SonarQube Project Name | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeProjectName | |
{ | |
get => GetString("sonarQubeProjectName"); | |
init => SetProperty("sonarQubeProjectName", value); | |
} | |
/// <summary> | |
/// SonarQube Project Key | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeProjectKey | |
{ | |
get => GetString("sonarQubeProjectKey"); | |
init => SetProperty("sonarQubeProjectKey", value); | |
} | |
/// <summary> | |
/// SonarQube Project Version | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeProjectVersion | |
{ | |
get => GetString("sonarQubeProjectVersion"); | |
init => SetProperty("sonarQubeProjectVersion", value); | |
} | |
/// <summary> | |
/// The SonarQube server version is lower than 5.2 | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeSpecifyDB | |
{ | |
get => GetBool("sonarQubeSpecifyDB", false); | |
init => SetProperty("sonarQubeSpecifyDB", value); | |
} | |
/// <summary> | |
/// Db Connection String | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeDBUrl | |
{ | |
get => GetString("sonarQubeDBUrl"); | |
init => SetProperty("sonarQubeDBUrl", value); | |
} | |
/// <summary> | |
/// Db Username | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeDBUsername | |
{ | |
get => GetString("sonarQubeDBUsername"); | |
init => SetProperty("sonarQubeDBUsername", value); | |
} | |
/// <summary> | |
/// Db User Password | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeDBPassword | |
{ | |
get => GetString("sonarQubeDBPassword"); | |
init => SetProperty("sonarQubeDBPassword", value); | |
} | |
/// <summary> | |
/// Include full analysis report in the build summary (SQ 5.3+) | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeIncludeFullReport | |
{ | |
get => GetBool("sonarQubeIncludeFullReport", false); | |
init => SetProperty("sonarQubeIncludeFullReport", value); | |
} | |
/// <summary> | |
/// Fail the build on quality gate failure (SQ 5.3+) | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeFailWhenQualityGateFails | |
{ | |
get => GetBool("sonarQubeFailWhenQualityGateFails", false); | |
init => SetProperty("sonarQubeFailWhenQualityGateFails", value); | |
} | |
/// <summary> | |
/// Run Checkstyle | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckStyleRunAnalysis | |
{ | |
get => GetBool("checkStyleRunAnalysis", false); | |
init => SetProperty("checkStyleRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run PMD | |
/// </summary> | |
[YamlIgnore] | |
public bool PmdRunAnalysis | |
{ | |
get => GetBool("pmdRunAnalysis", false); | |
init => SetProperty("pmdRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run FindBugs | |
/// </summary> | |
[YamlIgnore] | |
public bool FindBugsRunAnalysis | |
{ | |
get => GetBool("findBugsRunAnalysis", false); | |
init => SetProperty("findBugsRunAnalysis", value); | |
} | |
} | |
/// <summary> | |
/// <c>DotNetCoreCLI@2</c>: | |
/// .NET Core | |
/// Build, test, package, or publish a dotnet application, or run a custom dotnet command | |
/// </summary> | |
public record DotNetCoreCLI_V2 : AzureDevOpsTask | |
{ | |
public DotNetCoreCLI_V2() : base("DotNetCoreCLI@2") | |
{ | |
} | |
/// <summary> | |
/// Azure Resource Manager connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Publish web projects | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishWebProjects | |
{ | |
get => GetBool("publishWebProjects", false); | |
init => SetProperty("publishWebProjects", value); | |
} | |
/// <summary> | |
/// Path to project(s) or solution(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Projects | |
{ | |
get => GetString("projects"); | |
init => SetProperty("projects", value); | |
} | |
/// <summary> | |
/// Custom command | |
/// </summary> | |
[YamlIgnore] | |
public string? Custom | |
{ | |
get => GetString("custom"); | |
init => SetProperty("custom", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? RestoreArguments | |
{ | |
get => GetString("restoreArguments"); | |
init => SetProperty("restoreArguments", value); | |
} | |
/// <summary> | |
/// Publish test results and code coverage | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishTestResults | |
{ | |
get => GetBool("publishTestResults", false); | |
init => SetProperty("publishTestResults", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Zip published projects | |
/// </summary> | |
[YamlIgnore] | |
public bool ZipAfterPublish | |
{ | |
get => GetBool("zipAfterPublish", false); | |
init => SetProperty("zipAfterPublish", value); | |
} | |
/// <summary> | |
/// Add project's folder name to publish path | |
/// </summary> | |
[YamlIgnore] | |
public bool ModifyOutputPath | |
{ | |
get => GetBool("modifyOutputPath", false); | |
init => SetProperty("modifyOutputPath", value); | |
} | |
/// <summary> | |
/// Feeds to use | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedsToUse | |
{ | |
get => GetString("feedsToUse"); | |
init => SetProperty("feedsToUse", value); | |
} | |
/// <summary> | |
/// Use packages from this Azure Artifacts feed. Select from the dropdown or enter [project name/]feed name. | |
/// </summary> | |
[YamlIgnore] | |
public string? VstsFeed | |
{ | |
get => GetString("vstsFeed"); | |
init => SetProperty("vstsFeed", value); | |
} | |
/// <summary> | |
/// Use packages from NuGet.org | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeNuGetOrg | |
{ | |
get => GetBool("includeNuGetOrg", false); | |
init => SetProperty("includeNuGetOrg", value); | |
} | |
/// <summary> | |
/// Path to NuGet.config | |
/// </summary> | |
[YamlIgnore] | |
public string? NugetConfigPath | |
{ | |
get => GetString("nugetConfigPath"); | |
init => SetProperty("nugetConfigPath", value); | |
} | |
/// <summary> | |
/// Credentials for feeds outside this organization/collection | |
/// </summary> | |
[YamlIgnore] | |
public string? ExternalFeedCredentials | |
{ | |
get => GetString("externalFeedCredentials"); | |
init => SetProperty("externalFeedCredentials", value); | |
} | |
/// <summary> | |
/// Disable local cache | |
/// </summary> | |
[YamlIgnore] | |
public bool NoCache | |
{ | |
get => GetBool("noCache", false); | |
init => SetProperty("noCache", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? RestoreDirectory | |
{ | |
get => GetString("restoreDirectory"); | |
init => SetProperty("restoreDirectory", value); | |
} | |
/// <summary> | |
/// Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? VerbosityRestore | |
{ | |
get => GetString("verbosityRestore"); | |
init => SetProperty("verbosityRestore", value); | |
} | |
/// <summary> | |
/// Path to NuGet package(s) to publish | |
/// </summary> | |
[YamlIgnore] | |
public string? PackagesToPush | |
{ | |
get => GetString("packagesToPush"); | |
init => SetProperty("packagesToPush", value); | |
} | |
/// <summary> | |
/// Target feed location | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetFeedType | |
{ | |
get => GetString("nuGetFeedType"); | |
init => SetProperty("nuGetFeedType", value); | |
} | |
/// <summary> | |
/// Target feed | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishVstsFeed | |
{ | |
get => GetString("publishVstsFeed"); | |
init => SetProperty("publishVstsFeed", value); | |
} | |
/// <summary> | |
/// Publish pipeline metadata | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishPackageMetadata | |
{ | |
get => GetBool("publishPackageMetadata", false); | |
init => SetProperty("publishPackageMetadata", value); | |
} | |
/// <summary> | |
/// NuGet server | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishFeedCredentials | |
{ | |
get => GetString("publishFeedCredentials"); | |
init => SetProperty("publishFeedCredentials", value); | |
} | |
/// <summary> | |
/// Path to csproj or nuspec file(s) to pack | |
/// </summary> | |
[YamlIgnore] | |
public string? PackagesToPack | |
{ | |
get => GetString("packagesToPack"); | |
init => SetProperty("packagesToPack", value); | |
} | |
/// <summary> | |
/// Configuration to Package | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Package Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? PackDirectory | |
{ | |
get => GetString("packDirectory"); | |
init => SetProperty("packDirectory", value); | |
} | |
/// <summary> | |
/// Do not build | |
/// </summary> | |
[YamlIgnore] | |
public bool Nobuild | |
{ | |
get => GetBool("nobuild", false); | |
init => SetProperty("nobuild", value); | |
} | |
/// <summary> | |
/// Include Symbols | |
/// </summary> | |
[YamlIgnore] | |
public bool Includesymbols | |
{ | |
get => GetBool("includesymbols", false); | |
init => SetProperty("includesymbols", value); | |
} | |
/// <summary> | |
/// Include Source | |
/// </summary> | |
[YamlIgnore] | |
public bool Includesource | |
{ | |
get => GetBool("includesource", false); | |
init => SetProperty("includesource", value); | |
} | |
/// <summary> | |
/// Automatic package versioning | |
/// </summary> | |
[YamlIgnore] | |
public string? VersioningScheme | |
{ | |
get => GetString("versioningScheme"); | |
init => SetProperty("versioningScheme", value); | |
} | |
/// <summary> | |
/// Environment variable | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionEnvVar | |
{ | |
get => GetString("versionEnvVar"); | |
init => SetProperty("versionEnvVar", value); | |
} | |
/// <summary> | |
/// Major | |
/// </summary> | |
[YamlIgnore] | |
public string? MajorVersion | |
{ | |
get => GetString("majorVersion"); | |
init => SetProperty("majorVersion", value); | |
} | |
/// <summary> | |
/// Minor | |
/// </summary> | |
[YamlIgnore] | |
public string? MinorVersion | |
{ | |
get => GetString("minorVersion"); | |
init => SetProperty("minorVersion", value); | |
} | |
/// <summary> | |
/// Patch | |
/// </summary> | |
[YamlIgnore] | |
public string? PatchVersion | |
{ | |
get => GetString("patchVersion"); | |
init => SetProperty("patchVersion", value); | |
} | |
/// <summary> | |
/// Additional build properties | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildProperties | |
{ | |
get => GetString("buildProperties"); | |
init => SetProperty("buildProperties", value); | |
} | |
/// <summary> | |
/// Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? VerbosityPack | |
{ | |
get => GetString("verbosityPack"); | |
init => SetProperty("verbosityPack", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
} | |
/// <summary> | |
/// <c>DotNetCoreCLI@0</c>: | |
/// .NET Core (PREVIEW) | |
/// Build, test and publish using dotnet core command-line. | |
/// </summary> | |
public record DotNetCoreCLI_V0 : AzureDevOpsTask | |
{ | |
public DotNetCoreCLI_V0() : base("DotNetCoreCLI@0") | |
{ | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Publish Web Projects | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishWebProjects | |
{ | |
get => GetBool("publishWebProjects", false); | |
init => SetProperty("publishWebProjects", value); | |
} | |
/// <summary> | |
/// Project(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Projects | |
{ | |
get => GetString("projects"); | |
init => SetProperty("projects", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Zip Published Projects | |
/// </summary> | |
[YamlIgnore] | |
public bool ZipAfterPublish | |
{ | |
get => GetBool("zipAfterPublish", false); | |
init => SetProperty("zipAfterPublish", value); | |
} | |
} | |
/// <summary> | |
/// <c>DotNetCoreCLI@1</c>: | |
/// .NET Core | |
/// Build, test and publish using dotnet core command-line. | |
/// </summary> | |
public record DotNetCoreCLI_V1 : AzureDevOpsTask | |
{ | |
public DotNetCoreCLI_V1() : base("DotNetCoreCLI@1") | |
{ | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Publish Web Projects | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishWebProjects | |
{ | |
get => GetBool("publishWebProjects", false); | |
init => SetProperty("publishWebProjects", value); | |
} | |
/// <summary> | |
/// Project(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Projects | |
{ | |
get => GetString("projects"); | |
init => SetProperty("projects", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Zip Published Projects | |
/// </summary> | |
[YamlIgnore] | |
public bool ZipAfterPublish | |
{ | |
get => GetBool("zipAfterPublish", false); | |
init => SetProperty("zipAfterPublish", value); | |
} | |
} | |
/// <summary> | |
/// <c>XamarinComponentRestore@0</c>: | |
/// Xamarin Component Restore | |
/// This task is deprecated. Use 'NuGet' instead. | |
/// </summary> | |
public record XamarinComponentRestore_V0 : AzureDevOpsTask | |
{ | |
public XamarinComponentRestore_V0(string? email, string? password) : base("XamarinComponentRestore@0") | |
{ | |
Email = email; | |
Password = password; | |
} | |
/// <summary> | |
/// Path to solution | |
/// </summary> | |
[YamlIgnore] | |
public string? SolutionFile | |
{ | |
get => GetString("solutionFile"); | |
init => SetProperty("solutionFile", value); | |
} | |
/// <summary> | |
/// </summary> | |
[YamlIgnore] | |
public string? Email | |
{ | |
get => GetString("email"); | |
init => SetProperty("email", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureRmWebAppDeployment@3</c>: | |
/// Azure App Service deploy | |
/// Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby | |
/// </summary> | |
public record AzureRmWebAppDeployment_V3 : AzureDevOpsTask | |
{ | |
public AzureRmWebAppDeployment_V3(string? azuresubscription, string? webappname) : base("AzureRmWebAppDeployment@3") | |
{ | |
AzureSubscription = azuresubscription; | |
WebAppName = webappname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// App type | |
/// </summary> | |
[YamlIgnore] | |
public string? AppType | |
{ | |
get => GetString("appType"); | |
init => SetProperty("appType", value); | |
} | |
/// <summary> | |
/// App Service name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebAppName | |
{ | |
get => GetString("WebAppName"); | |
init => SetProperty("WebAppName", value); | |
} | |
/// <summary> | |
/// Deploy to slot | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployToSlotFlag | |
{ | |
get => GetBool("DeployToSlotFlag", false); | |
init => SetProperty("DeployToSlotFlag", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("SlotName"); | |
init => SetProperty("SlotName", value); | |
} | |
/// <summary> | |
/// Image Source | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageSource | |
{ | |
get => GetString("ImageSource"); | |
init => SetProperty("ImageSource", value); | |
} | |
/// <summary> | |
/// Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("AzureContainerRegistry"); | |
init => SetProperty("AzureContainerRegistry", value); | |
} | |
/// <summary> | |
/// Registry Login Server Name | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistryLoginServer | |
{ | |
get => GetString("AzureContainerRegistryLoginServer"); | |
init => SetProperty("AzureContainerRegistryLoginServer", value); | |
} | |
/// <summary> | |
/// Image | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistryImage | |
{ | |
get => GetString("AzureContainerRegistryImage"); | |
init => SetProperty("AzureContainerRegistryImage", value); | |
} | |
/// <summary> | |
/// Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistryTag | |
{ | |
get => GetString("AzureContainerRegistryTag"); | |
init => SetProperty("AzureContainerRegistryTag", value); | |
} | |
/// <summary> | |
/// Repository Access | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRepositoryAccess | |
{ | |
get => GetString("DockerRepositoryAccess"); | |
init => SetProperty("DockerRepositoryAccess", value); | |
} | |
/// <summary> | |
/// Registry Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryConnection | |
{ | |
get => GetString("dockerRegistryConnection"); | |
init => SetProperty("dockerRegistryConnection", value); | |
} | |
/// <summary> | |
/// Image | |
/// </summary> | |
[YamlIgnore] | |
public string? PrivateRegistryImage | |
{ | |
get => GetString("PrivateRegistryImage"); | |
init => SetProperty("PrivateRegistryImage", value); | |
} | |
/// <summary> | |
/// Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? PrivateRegistryTag | |
{ | |
get => GetString("PrivateRegistryTag"); | |
init => SetProperty("PrivateRegistryTag", value); | |
} | |
/// <summary> | |
/// Registry or Namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerNamespace | |
{ | |
get => GetString("DockerNamespace"); | |
init => SetProperty("DockerNamespace", value); | |
} | |
/// <summary> | |
/// Image | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRepository | |
{ | |
get => GetString("DockerRepository"); | |
init => SetProperty("DockerRepository", value); | |
} | |
/// <summary> | |
/// Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerImageTag | |
{ | |
get => GetString("DockerImageTag"); | |
init => SetProperty("DockerImageTag", value); | |
} | |
/// <summary> | |
/// Virtual application | |
/// </summary> | |
[YamlIgnore] | |
public string? VirtualApplication | |
{ | |
get => GetString("VirtualApplication"); | |
init => SetProperty("VirtualApplication", value); | |
} | |
/// <summary> | |
/// Package or folder | |
/// </summary> | |
[YamlIgnore] | |
public string? Package | |
{ | |
get => GetString("Package"); | |
init => SetProperty("Package", value); | |
} | |
/// <summary> | |
/// Package or folder | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageForLinux | |
{ | |
get => GetString("packageForLinux"); | |
init => SetProperty("packageForLinux", value); | |
} | |
/// <summary> | |
/// Runtime Stack | |
/// </summary> | |
[YamlIgnore] | |
public string? RuntimeStack | |
{ | |
get => GetString("RuntimeStack"); | |
init => SetProperty("RuntimeStack", value); | |
} | |
/// <summary> | |
/// Startup command | |
/// </summary> | |
[YamlIgnore] | |
public string? StartupCommand | |
{ | |
get => GetString("StartupCommand"); | |
init => SetProperty("StartupCommand", value); | |
} | |
/// <summary> | |
/// App Service URL | |
/// </summary> | |
[YamlIgnore] | |
public string? WebAppUri | |
{ | |
get => GetString("WebAppUri"); | |
init => SetProperty("WebAppUri", value); | |
} | |
/// <summary> | |
/// Deployment script type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("ScriptType"); | |
init => SetProperty("ScriptType", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? InlineScript | |
{ | |
get => GetString("InlineScript"); | |
init => SetProperty("InlineScript", value); | |
} | |
/// <summary> | |
/// Deployment script path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Generate Web.config | |
/// </summary> | |
[YamlIgnore] | |
public bool GenerateWebConfig | |
{ | |
get => GetBool("GenerateWebConfig", false); | |
init => SetProperty("GenerateWebConfig", value); | |
} | |
/// <summary> | |
/// Web.config parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? WebConfigParameters | |
{ | |
get => GetString("WebConfigParameters"); | |
init => SetProperty("WebConfigParameters", value); | |
} | |
/// <summary> | |
/// App settings | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSettings | |
{ | |
get => GetString("AppSettings"); | |
init => SetProperty("AppSettings", value); | |
} | |
/// <summary> | |
/// Configuration settings | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigurationSettings | |
{ | |
get => GetString("ConfigurationSettings"); | |
init => SetProperty("ConfigurationSettings", value); | |
} | |
/// <summary> | |
/// Take App Offline | |
/// </summary> | |
[YamlIgnore] | |
public bool TakeAppOfflineFlag | |
{ | |
get => GetBool("TakeAppOfflineFlag", false); | |
init => SetProperty("TakeAppOfflineFlag", value); | |
} | |
/// <summary> | |
/// Publish using Web Deploy | |
/// </summary> | |
[YamlIgnore] | |
public bool UseWebDeploy | |
{ | |
get => GetBool("UseWebDeploy", false); | |
init => SetProperty("UseWebDeploy", value); | |
} | |
/// <summary> | |
/// SetParameters file | |
/// </summary> | |
[YamlIgnore] | |
public string? SetParametersFile | |
{ | |
get => GetString("SetParametersFile"); | |
init => SetProperty("SetParametersFile", value); | |
} | |
/// <summary> | |
/// Remove additional files at destination | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveAdditionalFilesFlag | |
{ | |
get => GetBool("RemoveAdditionalFilesFlag", false); | |
init => SetProperty("RemoveAdditionalFilesFlag", value); | |
} | |
/// <summary> | |
/// Exclude files from the App_Data folder | |
/// </summary> | |
[YamlIgnore] | |
public bool ExcludeFilesFromAppDataFlag | |
{ | |
get => GetBool("ExcludeFilesFromAppDataFlag", false); | |
init => SetProperty("ExcludeFilesFromAppDataFlag", value); | |
} | |
/// <summary> | |
/// Additional arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// Rename locked files | |
/// </summary> | |
[YamlIgnore] | |
public bool RenameFilesFlag | |
{ | |
get => GetBool("RenameFilesFlag", false); | |
init => SetProperty("RenameFilesFlag", value); | |
} | |
/// <summary> | |
/// XML transformation | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableXmlTransform | |
{ | |
get => GetBool("enableXmlTransform", false); | |
init => SetProperty("enableXmlTransform", value); | |
} | |
/// <summary> | |
/// XML variable substitution | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableXmlVariableSubstitution | |
{ | |
get => GetBool("enableXmlVariableSubstitution", false); | |
init => SetProperty("enableXmlVariableSubstitution", value); | |
} | |
/// <summary> | |
/// JSON variable substitution | |
/// </summary> | |
[YamlIgnore] | |
public string? JSONFiles | |
{ | |
get => GetString("JSONFiles"); | |
init => SetProperty("JSONFiles", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureRmWebAppDeployment@2</c>: | |
/// Azure App Service Deploy | |
/// Update Azure App Service using Web Deploy / Kudu REST APIs | |
/// </summary> | |
public record AzureRmWebAppDeployment_V2 : AzureDevOpsTask | |
{ | |
public AzureRmWebAppDeployment_V2(string? connectedservicename, string? webappname) : base("AzureRmWebAppDeployment@2") | |
{ | |
ConnectedServiceName = connectedservicename; | |
WebAppName = webappname; | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("ConnectedServiceName"); | |
init => SetProperty("ConnectedServiceName", value); | |
} | |
/// <summary> | |
/// App Service name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebAppName | |
{ | |
get => GetString("WebAppName"); | |
init => SetProperty("WebAppName", value); | |
} | |
/// <summary> | |
/// Deploy to slot | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployToSlotFlag | |
{ | |
get => GetBool("DeployToSlotFlag", false); | |
init => SetProperty("DeployToSlotFlag", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("SlotName"); | |
init => SetProperty("SlotName", value); | |
} | |
/// <summary> | |
/// Virtual Application | |
/// </summary> | |
[YamlIgnore] | |
public string? VirtualApplication | |
{ | |
get => GetString("VirtualApplication"); | |
init => SetProperty("VirtualApplication", value); | |
} | |
/// <summary> | |
/// Package or Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? Package | |
{ | |
get => GetString("Package"); | |
init => SetProperty("Package", value); | |
} | |
/// <summary> | |
/// App Service URL | |
/// </summary> | |
[YamlIgnore] | |
public string? WebAppUri | |
{ | |
get => GetString("WebAppUri"); | |
init => SetProperty("WebAppUri", value); | |
} | |
/// <summary> | |
/// Publish using Web Deploy | |
/// </summary> | |
[YamlIgnore] | |
public bool UseWebDeploy | |
{ | |
get => GetBool("UseWebDeploy", false); | |
init => SetProperty("UseWebDeploy", value); | |
} | |
/// <summary> | |
/// SetParameters File | |
/// </summary> | |
[YamlIgnore] | |
public string? SetParametersFile | |
{ | |
get => GetString("SetParametersFile"); | |
init => SetProperty("SetParametersFile", value); | |
} | |
/// <summary> | |
/// Remove Additional Files at Destination | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveAdditionalFilesFlag | |
{ | |
get => GetBool("RemoveAdditionalFilesFlag", false); | |
init => SetProperty("RemoveAdditionalFilesFlag", value); | |
} | |
/// <summary> | |
/// Exclude Files from the App_Data Folder | |
/// </summary> | |
[YamlIgnore] | |
public bool ExcludeFilesFromAppDataFlag | |
{ | |
get => GetBool("ExcludeFilesFromAppDataFlag", false); | |
init => SetProperty("ExcludeFilesFromAppDataFlag", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// Take App Offline | |
/// </summary> | |
[YamlIgnore] | |
public bool TakeAppOfflineFlag | |
{ | |
get => GetBool("TakeAppOfflineFlag", false); | |
init => SetProperty("TakeAppOfflineFlag", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureRMWebAppDeployment@1</c>: | |
/// AzureRM Web App Deployment | |
/// Deploy the web project to the AzureRM Web App using Web Deploy | |
/// </summary> | |
public record AzureRMWebAppDeployment_V1 : AzureDevOpsTask | |
{ | |
public AzureRMWebAppDeployment_V1(string? connectedservicename, string? webappname, string? package) : base("AzureRMWebAppDeployment@1") | |
{ | |
ConnectedServiceName = connectedservicename; | |
WebAppName = webappname; | |
Package = package; | |
} | |
/// <summary> | |
/// AzureRM Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("ConnectedServiceName"); | |
init => SetProperty("ConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Web App Name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebAppName | |
{ | |
get => GetString("WebAppName"); | |
init => SetProperty("WebAppName", value); | |
} | |
/// <summary> | |
/// Deploy to Slot | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployToSlotFlag | |
{ | |
get => GetBool("DeployToSlotFlag", false); | |
init => SetProperty("DeployToSlotFlag", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("SlotName"); | |
init => SetProperty("SlotName", value); | |
} | |
/// <summary> | |
/// Package | |
/// </summary> | |
[YamlIgnore] | |
public string? Package | |
{ | |
get => GetString("Package"); | |
init => SetProperty("Package", value); | |
} | |
/// <summary> | |
/// SetParameters File | |
/// </summary> | |
[YamlIgnore] | |
public string? SetParametersFile | |
{ | |
get => GetString("SetParametersFile"); | |
init => SetProperty("SetParametersFile", value); | |
} | |
/// <summary> | |
/// Remove Additional Files at Destination | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveAdditionalFilesFlag | |
{ | |
get => GetBool("RemoveAdditionalFilesFlag", false); | |
init => SetProperty("RemoveAdditionalFilesFlag", value); | |
} | |
/// <summary> | |
/// Exclude Files from the App_Data Folder | |
/// </summary> | |
[YamlIgnore] | |
public bool ExcludeFilesFromAppDataFlag | |
{ | |
get => GetBool("ExcludeFilesFromAppDataFlag", false); | |
init => SetProperty("ExcludeFilesFromAppDataFlag", value); | |
} | |
/// <summary> | |
/// Take App Offline | |
/// </summary> | |
[YamlIgnore] | |
public bool TakeAppOfflineFlag | |
{ | |
get => GetBool("TakeAppOfflineFlag", false); | |
init => SetProperty("TakeAppOfflineFlag", value); | |
} | |
/// <summary> | |
/// Virtual Application | |
/// </summary> | |
[YamlIgnore] | |
public string? VirtualApplication | |
{ | |
get => GetString("VirtualApplication"); | |
init => SetProperty("VirtualApplication", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// Web App Hosted Url | |
/// </summary> | |
[YamlIgnore] | |
public string? WebAppUri | |
{ | |
get => GetString("WebAppUri"); | |
init => SetProperty("WebAppUri", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureRmWebAppDeployment@4</c>: | |
/// Azure App Service deploy | |
/// Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby | |
/// </summary> | |
public record AzureRmWebAppDeployment_V4 : AzureDevOpsTask | |
{ | |
public AzureRmWebAppDeployment_V4() : base("AzureRmWebAppDeployment@4") | |
{ | |
} | |
/// <summary> | |
/// Connection type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionType | |
{ | |
get => GetString("ConnectionType"); | |
init => SetProperty("ConnectionType", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Publish profile path | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishProfilePath | |
{ | |
get => GetString("PublishProfilePath"); | |
init => SetProperty("PublishProfilePath", value); | |
} | |
/// <summary> | |
/// Publish profile password | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishProfilePassword | |
{ | |
get => GetString("PublishProfilePassword"); | |
init => SetProperty("PublishProfilePassword", value); | |
} | |
/// <summary> | |
/// App Service type | |
/// </summary> | |
[YamlIgnore] | |
public string? AppType | |
{ | |
get => GetString("appType"); | |
init => SetProperty("appType", value); | |
} | |
/// <summary> | |
/// App Service name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebAppName | |
{ | |
get => GetString("WebAppName"); | |
init => SetProperty("WebAppName", value); | |
} | |
/// <summary> | |
/// Deploy to Slot or App Service Environment | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployToSlotOrASE | |
{ | |
get => GetBool("deployToSlotOrASE", false); | |
init => SetProperty("deployToSlotOrASE", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("SlotName"); | |
init => SetProperty("SlotName", value); | |
} | |
/// <summary> | |
/// Registry or Namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerNamespace | |
{ | |
get => GetString("DockerNamespace"); | |
init => SetProperty("DockerNamespace", value); | |
} | |
/// <summary> | |
/// Image | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRepository | |
{ | |
get => GetString("DockerRepository"); | |
init => SetProperty("DockerRepository", value); | |
} | |
/// <summary> | |
/// Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerImageTag | |
{ | |
get => GetString("DockerImageTag"); | |
init => SetProperty("DockerImageTag", value); | |
} | |
/// <summary> | |
/// Virtual application | |
/// </summary> | |
[YamlIgnore] | |
public string? VirtualApplication | |
{ | |
get => GetString("VirtualApplication"); | |
init => SetProperty("VirtualApplication", value); | |
} | |
/// <summary> | |
/// Package or folder | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageForLinux | |
{ | |
get => GetString("packageForLinux"); | |
init => SetProperty("packageForLinux", value); | |
} | |
/// <summary> | |
/// Runtime Stack | |
/// </summary> | |
[YamlIgnore] | |
public string? RuntimeStack | |
{ | |
get => GetString("RuntimeStack"); | |
init => SetProperty("RuntimeStack", value); | |
} | |
/// <summary> | |
/// Runtime Stack | |
/// </summary> | |
[YamlIgnore] | |
public string? RuntimeStackFunction | |
{ | |
get => GetString("RuntimeStackFunction"); | |
init => SetProperty("RuntimeStackFunction", value); | |
} | |
/// <summary> | |
/// Startup command | |
/// </summary> | |
[YamlIgnore] | |
public string? StartupCommand | |
{ | |
get => GetString("StartupCommand"); | |
init => SetProperty("StartupCommand", value); | |
} | |
/// <summary> | |
/// Deployment script type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("ScriptType"); | |
init => SetProperty("ScriptType", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? InlineScript | |
{ | |
get => GetString("InlineScript"); | |
init => SetProperty("InlineScript", value); | |
} | |
/// <summary> | |
/// Deployment script path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Generate web.config parameters for Python, Node.js, Go and Java apps | |
/// </summary> | |
[YamlIgnore] | |
public string? WebConfigParameters | |
{ | |
get => GetString("WebConfigParameters"); | |
init => SetProperty("WebConfigParameters", value); | |
} | |
/// <summary> | |
/// App settings | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSettings | |
{ | |
get => GetString("AppSettings"); | |
init => SetProperty("AppSettings", value); | |
} | |
/// <summary> | |
/// Configuration settings | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigurationSettings | |
{ | |
get => GetString("ConfigurationSettings"); | |
init => SetProperty("ConfigurationSettings", value); | |
} | |
/// <summary> | |
/// Select deployment method | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCustomDeployment | |
{ | |
get => GetBool("enableCustomDeployment", false); | |
init => SetProperty("enableCustomDeployment", value); | |
} | |
/// <summary> | |
/// Deployment method | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentType | |
{ | |
get => GetString("DeploymentType"); | |
init => SetProperty("DeploymentType", value); | |
} | |
/// <summary> | |
/// Take App Offline | |
/// </summary> | |
[YamlIgnore] | |
public bool TakeAppOfflineFlag | |
{ | |
get => GetBool("TakeAppOfflineFlag", false); | |
init => SetProperty("TakeAppOfflineFlag", value); | |
} | |
/// <summary> | |
/// SetParameters file | |
/// </summary> | |
[YamlIgnore] | |
public string? SetParametersFile | |
{ | |
get => GetString("SetParametersFile"); | |
init => SetProperty("SetParametersFile", value); | |
} | |
/// <summary> | |
/// Remove additional files at destination | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveAdditionalFilesFlag | |
{ | |
get => GetBool("RemoveAdditionalFilesFlag", false); | |
init => SetProperty("RemoveAdditionalFilesFlag", value); | |
} | |
/// <summary> | |
/// Exclude files from the App_Data folder | |
/// </summary> | |
[YamlIgnore] | |
public bool ExcludeFilesFromAppDataFlag | |
{ | |
get => GetBool("ExcludeFilesFromAppDataFlag", false); | |
init => SetProperty("ExcludeFilesFromAppDataFlag", value); | |
} | |
/// <summary> | |
/// Additional arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// Rename locked files | |
/// </summary> | |
[YamlIgnore] | |
public bool RenameFilesFlag | |
{ | |
get => GetBool("RenameFilesFlag", false); | |
init => SetProperty("RenameFilesFlag", value); | |
} | |
/// <summary> | |
/// XML transformation | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableXmlTransform | |
{ | |
get => GetBool("enableXmlTransform", false); | |
init => SetProperty("enableXmlTransform", value); | |
} | |
/// <summary> | |
/// XML variable substitution | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableXmlVariableSubstitution | |
{ | |
get => GetBool("enableXmlVariableSubstitution", false); | |
init => SetProperty("enableXmlVariableSubstitution", value); | |
} | |
/// <summary> | |
/// JSON variable substitution | |
/// </summary> | |
[YamlIgnore] | |
public string? JSONFiles | |
{ | |
get => GetString("JSONFiles"); | |
init => SetProperty("JSONFiles", value); | |
} | |
} | |
/// <summary> | |
/// <c>PowerShellOnTargetMachines@1</c>: | |
/// PowerShell on Target Machines | |
/// Execute PowerShell scripts on remote machine(s) | |
/// </summary> | |
public record PowerShellOnTargetMachines_V1 : AzureDevOpsTask | |
{ | |
public PowerShellOnTargetMachines_V1(string? environmentname, string? scriptpath) : base("PowerShellOnTargetMachines@1") | |
{ | |
EnvironmentName = environmentname; | |
ScriptPath = scriptpath; | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentName | |
{ | |
get => GetString("EnvironmentName"); | |
init => SetProperty("EnvironmentName", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminUserName | |
{ | |
get => GetString("AdminUserName"); | |
init => SetProperty("AdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminPassword | |
{ | |
get => GetString("AdminPassword"); | |
init => SetProperty("AdminPassword", value); | |
} | |
/// <summary> | |
/// Protocol | |
/// </summary> | |
[YamlIgnore] | |
public string? Protocol | |
{ | |
get => GetString("Protocol"); | |
init => SetProperty("Protocol", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool TestCertificate | |
{ | |
get => GetBool("TestCertificate", false); | |
init => SetProperty("TestCertificate", value); | |
} | |
/// <summary> | |
/// PowerShell Script | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
/// <summary> | |
/// Initialization Script | |
/// </summary> | |
[YamlIgnore] | |
public string? InitializationScriptPath | |
{ | |
get => GetString("InitializationScriptPath"); | |
init => SetProperty("InitializationScriptPath", value); | |
} | |
/// <summary> | |
/// Session Variables | |
/// </summary> | |
[YamlIgnore] | |
public string? SessionVariables | |
{ | |
get => GetString("SessionVariables"); | |
init => SetProperty("SessionVariables", value); | |
} | |
/// <summary> | |
/// Run PowerShell in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool RunPowershellInParallel | |
{ | |
get => GetBool("RunPowershellInParallel", false); | |
init => SetProperty("RunPowershellInParallel", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
} | |
/// <summary> | |
/// <c>PowerShellOnTargetMachines@3</c>: | |
/// PowerShell on target machines | |
/// Execute PowerShell scripts on remote machines using PSSession and Invoke-Command for remoting | |
/// </summary> | |
public record PowerShellOnTargetMachines_V3 : AzureDevOpsTask | |
{ | |
public PowerShellOnTargetMachines_V3(string? machines) : base("PowerShellOnTargetMachines@3") | |
{ | |
Machines = machines; | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? Machines | |
{ | |
get => GetString("Machines"); | |
init => SetProperty("Machines", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? UserName | |
{ | |
get => GetString("UserName"); | |
init => SetProperty("UserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? UserPassword | |
{ | |
get => GetString("UserPassword"); | |
init => SetProperty("UserPassword", value); | |
} | |
/// <summary> | |
/// Script Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("ScriptType"); | |
init => SetProperty("ScriptType", value); | |
} | |
/// <summary> | |
/// Script File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Script | |
/// </summary> | |
[YamlIgnore] | |
public string? InlineScript | |
{ | |
get => GetString("InlineScript"); | |
init => SetProperty("InlineScript", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
/// <summary> | |
/// Initialization script | |
/// </summary> | |
[YamlIgnore] | |
public string? InitializationScript | |
{ | |
get => GetString("InitializationScript"); | |
init => SetProperty("InitializationScript", value); | |
} | |
/// <summary> | |
/// Session Variables | |
/// </summary> | |
[YamlIgnore] | |
public string? SessionVariables | |
{ | |
get => GetString("SessionVariables"); | |
init => SetProperty("SessionVariables", value); | |
} | |
/// <summary> | |
/// Protocol | |
/// </summary> | |
[YamlIgnore] | |
public string? CommunicationProtocol | |
{ | |
get => GetString("CommunicationProtocol"); | |
init => SetProperty("CommunicationProtocol", value); | |
} | |
/// <summary> | |
/// Authentication | |
/// </summary> | |
[YamlIgnore] | |
public string? AuthenticationMechanism | |
{ | |
get => GetString("AuthenticationMechanism"); | |
init => SetProperty("AuthenticationMechanism", value); | |
} | |
/// <summary> | |
/// Session Option parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? NewPsSessionOptionArguments | |
{ | |
get => GetString("NewPsSessionOptionArguments"); | |
init => SetProperty("NewPsSessionOptionArguments", value); | |
} | |
/// <summary> | |
/// ErrorActionPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? ErrorActionPreference | |
{ | |
get => GetString("ErrorActionPreference"); | |
init => SetProperty("ErrorActionPreference", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStderr | |
{ | |
get => GetBool("failOnStderr", false); | |
init => SetProperty("failOnStderr", value); | |
} | |
/// <summary> | |
/// Ignore $LASTEXITCODE | |
/// </summary> | |
[YamlIgnore] | |
public bool IgnoreLASTEXITCODE | |
{ | |
get => GetBool("ignoreLASTEXITCODE", false); | |
init => SetProperty("ignoreLASTEXITCODE", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("WorkingDirectory"); | |
init => SetProperty("WorkingDirectory", value); | |
} | |
/// <summary> | |
/// Run PowerShell in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool RunPowershellInParallel | |
{ | |
get => GetBool("RunPowershellInParallel", false); | |
init => SetProperty("RunPowershellInParallel", value); | |
} | |
} | |
/// <summary> | |
/// <c>PowerShellOnTargetMachines@2</c>: | |
/// PowerShell on Target Machines | |
/// Execute PowerShell scripts on remote machine(s) | |
/// </summary> | |
public record PowerShellOnTargetMachines_V2 : AzureDevOpsTask | |
{ | |
public PowerShellOnTargetMachines_V2(string? environmentname, string? scriptpath) : base("PowerShellOnTargetMachines@2") | |
{ | |
EnvironmentName = environmentname; | |
ScriptPath = scriptpath; | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentName | |
{ | |
get => GetString("EnvironmentName"); | |
init => SetProperty("EnvironmentName", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminUserName | |
{ | |
get => GetString("AdminUserName"); | |
init => SetProperty("AdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminPassword | |
{ | |
get => GetString("AdminPassword"); | |
init => SetProperty("AdminPassword", value); | |
} | |
/// <summary> | |
/// Protocol | |
/// </summary> | |
[YamlIgnore] | |
public string? Protocol | |
{ | |
get => GetString("Protocol"); | |
init => SetProperty("Protocol", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool TestCertificate | |
{ | |
get => GetBool("TestCertificate", false); | |
init => SetProperty("TestCertificate", value); | |
} | |
/// <summary> | |
/// PowerShell Script | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
/// <summary> | |
/// Initialization Script | |
/// </summary> | |
[YamlIgnore] | |
public string? InitializationScriptPath | |
{ | |
get => GetString("InitializationScriptPath"); | |
init => SetProperty("InitializationScriptPath", value); | |
} | |
/// <summary> | |
/// Session Variables | |
/// </summary> | |
[YamlIgnore] | |
public string? SessionVariables | |
{ | |
get => GetString("SessionVariables"); | |
init => SetProperty("SessionVariables", value); | |
} | |
/// <summary> | |
/// Run PowerShell in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool RunPowershellInParallel | |
{ | |
get => GetBool("RunPowershellInParallel", false); | |
init => SetProperty("RunPowershellInParallel", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishCodeCoverageResults@1</c>: | |
/// [To be deprecated] Publish code coverage | |
/// [DEPRECATION WARNING! Users are recommended to switch to version 2*.] Publish Cobertura or JaCoCo code coverage results from a build | |
/// </summary> | |
public record PublishCodeCoverageResults_V1 : AzureDevOpsTask | |
{ | |
public PublishCodeCoverageResults_V1(string? summaryfilelocation) : base("PublishCodeCoverageResults@1") | |
{ | |
SummaryFileLocation = summaryfilelocation; | |
} | |
/// <summary> | |
/// Code coverage tool | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageTool | |
{ | |
get => GetString("codeCoverageTool"); | |
init => SetProperty("codeCoverageTool", value); | |
} | |
/// <summary> | |
/// Summary file | |
/// </summary> | |
[YamlIgnore] | |
public string? SummaryFileLocation | |
{ | |
get => GetString("summaryFileLocation"); | |
init => SetProperty("summaryFileLocation", value); | |
} | |
/// <summary> | |
/// Path to Source files | |
/// </summary> | |
[YamlIgnore] | |
public string? PathToSources | |
{ | |
get => GetString("pathToSources"); | |
init => SetProperty("pathToSources", value); | |
} | |
/// <summary> | |
/// Report directory | |
/// </summary> | |
[YamlIgnore] | |
public string? ReportDirectory | |
{ | |
get => GetString("reportDirectory"); | |
init => SetProperty("reportDirectory", value); | |
} | |
/// <summary> | |
/// Additional files | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalCodeCoverageFiles | |
{ | |
get => GetString("additionalCodeCoverageFiles"); | |
init => SetProperty("additionalCodeCoverageFiles", value); | |
} | |
/// <summary> | |
/// Fail when code coverage results are missing | |
/// </summary> | |
[YamlIgnore] | |
public bool FailIfCoverageEmpty | |
{ | |
get => GetBool("failIfCoverageEmpty", false); | |
init => SetProperty("failIfCoverageEmpty", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishCodeCoverageResults@2</c>: | |
/// Publish code coverage results v2 | |
/// Publish any of the code coverage results from a build | |
/// </summary> | |
public record PublishCodeCoverageResults_V2 : AzureDevOpsTask | |
{ | |
public PublishCodeCoverageResults_V2(string? summaryfilelocation) : base("PublishCodeCoverageResults@2") | |
{ | |
SummaryFileLocation = summaryfilelocation; | |
} | |
/// <summary> | |
/// Path to summary files | |
/// </summary> | |
[YamlIgnore] | |
public string? SummaryFileLocation | |
{ | |
get => GetString("summaryFileLocation"); | |
init => SetProperty("summaryFileLocation", value); | |
} | |
/// <summary> | |
/// Path to Source files | |
/// </summary> | |
[YamlIgnore] | |
public string? PathToSources | |
{ | |
get => GetString("pathToSources"); | |
init => SetProperty("pathToSources", value); | |
} | |
/// <summary> | |
/// Fail if code coverage results are missing | |
/// </summary> | |
[YamlIgnore] | |
public bool FailIfCoverageEmpty | |
{ | |
get => GetBool("failIfCoverageEmpty", false); | |
init => SetProperty("failIfCoverageEmpty", value); | |
} | |
} | |
/// <summary> | |
/// <c>RunVisualStudioTestsusingTestAgent@1</c>: | |
/// Run functional tests | |
/// Deprecated: This task and it’s companion task (Visual Studio Test Agent Deployment) are deprecated. Use the 'Visual Studio Test' task instead. The VSTest task can run unit as well as functional tests. Run tests on one or more agents using the multi-agent job setting. Use the 'Visual Studio Test Platform' task to run tests without needing Visual Studio on the agent. VSTest task also brings new capabilities such as automatically rerunning failed tests. | |
/// </summary> | |
public record RunVisualStudioTestsusingTestAgent_V1 : AzureDevOpsTask | |
{ | |
public RunVisualStudioTestsusingTestAgent_V1(string? testmachinegroup, string? droplocation) : base("RunVisualStudioTestsusingTestAgent@1") | |
{ | |
TestMachineGroup = testmachinegroup; | |
DropLocation = droplocation; | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? TestMachineGroup | |
{ | |
get => GetString("testMachineGroup"); | |
init => SetProperty("testMachineGroup", value); | |
} | |
/// <summary> | |
/// Test Drop Location | |
/// </summary> | |
[YamlIgnore] | |
public string? DropLocation | |
{ | |
get => GetString("dropLocation"); | |
init => SetProperty("dropLocation", value); | |
} | |
/// <summary> | |
/// Test Selection | |
/// </summary> | |
[YamlIgnore] | |
public string? TestSelection | |
{ | |
get => GetString("testSelection"); | |
init => SetProperty("testSelection", value); | |
} | |
/// <summary> | |
/// Test Plan | |
/// </summary> | |
[YamlIgnore] | |
public string? TestPlan | |
{ | |
get => GetString("testPlan"); | |
init => SetProperty("testPlan", value); | |
} | |
/// <summary> | |
/// Test Suite | |
/// </summary> | |
[YamlIgnore] | |
public string? TestSuite | |
{ | |
get => GetString("testSuite"); | |
init => SetProperty("testSuite", value); | |
} | |
/// <summary> | |
/// Test Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? TestConfiguration | |
{ | |
get => GetString("testConfiguration"); | |
init => SetProperty("testConfiguration", value); | |
} | |
/// <summary> | |
/// Test Assembly | |
/// </summary> | |
[YamlIgnore] | |
public string? Sourcefilters | |
{ | |
get => GetString("sourcefilters"); | |
init => SetProperty("sourcefilters", value); | |
} | |
/// <summary> | |
/// Test Filter criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFilterCriteria | |
{ | |
get => GetString("testFilterCriteria"); | |
init => SetProperty("testFilterCriteria", value); | |
} | |
/// <summary> | |
/// Run Settings File | |
/// </summary> | |
[YamlIgnore] | |
public string? RunSettingsFile | |
{ | |
get => GetString("runSettingsFile"); | |
init => SetProperty("runSettingsFile", value); | |
} | |
/// <summary> | |
/// Override Test Run Parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideRunParams | |
{ | |
get => GetString("overrideRunParams"); | |
init => SetProperty("overrideRunParams", value); | |
} | |
/// <summary> | |
/// Code Coverage Enabled | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageEnabled | |
{ | |
get => GetBool("codeCoverageEnabled", false); | |
init => SetProperty("codeCoverageEnabled", value); | |
} | |
/// <summary> | |
/// Distribute tests by number of machines | |
/// </summary> | |
[YamlIgnore] | |
public bool CustomSlicingEnabled | |
{ | |
get => GetBool("customSlicingEnabled", false); | |
init => SetProperty("customSlicingEnabled", value); | |
} | |
/// <summary> | |
/// Test Run Title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Platform | |
/// </summary> | |
[YamlIgnore] | |
public string? Platform | |
{ | |
get => GetString("platform"); | |
init => SetProperty("platform", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Test Configurations | |
/// </summary> | |
[YamlIgnore] | |
public string? TestConfigurations | |
{ | |
get => GetString("testConfigurations"); | |
init => SetProperty("testConfigurations", value); | |
} | |
/// <summary> | |
/// Application Under Test Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? AutMachineGroup | |
{ | |
get => GetString("autMachineGroup"); | |
init => SetProperty("autMachineGroup", value); | |
} | |
} | |
/// <summary> | |
/// <c>ManualIntervention@6</c>: | |
/// Manual Intervention | |
/// Pause deployment and wait for intervention | |
/// </summary> | |
public record ManualIntervention_V6 : AzureDevOpsTask | |
{ | |
public ManualIntervention_V6() : base("ManualIntervention@6") | |
{ | |
} | |
/// <summary> | |
/// Instructions | |
/// </summary> | |
[YamlIgnore] | |
public string? Instructions | |
{ | |
get => GetString("instructions"); | |
init => SetProperty("instructions", value); | |
} | |
} | |
/// <summary> | |
/// <c>ManualIntervention@7</c>: | |
/// Manual Intervention | |
/// Pause deployment and wait for intervention | |
/// </summary> | |
public record ManualIntervention_V7 : AzureDevOpsTask | |
{ | |
public ManualIntervention_V7() : base("ManualIntervention@7") | |
{ | |
} | |
/// <summary> | |
/// Instructions | |
/// </summary> | |
[YamlIgnore] | |
public string? Instructions | |
{ | |
get => GetString("instructions"); | |
init => SetProperty("instructions", value); | |
} | |
} | |
/// <summary> | |
/// <c>ManualIntervention@8</c>: | |
/// Manual intervention | |
/// Pause deployment and wait for manual intervention | |
/// </summary> | |
public record ManualIntervention_V8 : AzureDevOpsTask | |
{ | |
public ManualIntervention_V8() : base("ManualIntervention@8") | |
{ | |
} | |
/// <summary> | |
/// Instructions | |
/// </summary> | |
[YamlIgnore] | |
public string? Instructions | |
{ | |
get => GetString("instructions"); | |
init => SetProperty("instructions", value); | |
} | |
/// <summary> | |
/// Notify users | |
/// </summary> | |
[YamlIgnore] | |
public string? EmailRecipients | |
{ | |
get => GetString("emailRecipients"); | |
init => SetProperty("emailRecipients", value); | |
} | |
/// <summary> | |
/// On timeout | |
/// </summary> | |
[YamlIgnore] | |
public string? OnTimeout | |
{ | |
get => GetString("onTimeout"); | |
init => SetProperty("onTimeout", value); | |
} | |
} | |
/// <summary> | |
/// <c>InstallAppleProvisioningProfile@1</c>: | |
/// Install Apple provisioning profile | |
/// Install an Apple provisioning profile required to build on a macOS agent machine | |
/// </summary> | |
public record InstallAppleProvisioningProfile_V1 : AzureDevOpsTask | |
{ | |
public InstallAppleProvisioningProfile_V1() : base("InstallAppleProvisioningProfile@1") | |
{ | |
} | |
/// <summary> | |
/// Provisioning profile location | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvisioningProfileLocation | |
{ | |
get => GetString("provisioningProfileLocation"); | |
init => SetProperty("provisioningProfileLocation", value); | |
} | |
/// <summary> | |
/// Provisioning profile | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvProfileSecureFile | |
{ | |
get => GetString("provProfileSecureFile"); | |
init => SetProperty("provProfileSecureFile", value); | |
} | |
/// <summary> | |
/// Provisioning profile | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvProfileSourceRepository | |
{ | |
get => GetString("provProfileSourceRepository"); | |
init => SetProperty("provProfileSourceRepository", value); | |
} | |
/// <summary> | |
/// Remove profile after build | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveProfile | |
{ | |
get => GetBool("removeProfile", false); | |
init => SetProperty("removeProfile", value); | |
} | |
} | |
/// <summary> | |
/// <c>InstallAppleProvisioningProfile@0</c>: | |
/// Install Apple Provisioning Profile | |
/// Install an Apple provisioning profile required to build on a macOS agent | |
/// </summary> | |
public record InstallAppleProvisioningProfile_V0 : AzureDevOpsTask | |
{ | |
public InstallAppleProvisioningProfile_V0(string? provprofilesecurefile) : base("InstallAppleProvisioningProfile@0") | |
{ | |
ProvProfileSecureFile = provprofilesecurefile; | |
} | |
/// <summary> | |
/// Provisioning Profile | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvProfileSecureFile | |
{ | |
get => GetString("provProfileSecureFile"); | |
init => SetProperty("provProfileSecureFile", value); | |
} | |
/// <summary> | |
/// Remove Profile After Build | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveProfile | |
{ | |
get => GetBool("removeProfile", false); | |
init => SetProperty("removeProfile", value); | |
} | |
} | |
/// <summary> | |
/// <c>SonarQubePostTest@1</c>: | |
/// SonarQube for MSBuild - End Analysis | |
/// [DEPRECATED] Finish the analysis and upload the results to SonarQube | |
/// </summary> | |
public record SonarQubePostTest_V1 : AzureDevOpsTask | |
{ | |
public SonarQubePostTest_V1() : base("SonarQubePostTest@1") | |
{ | |
} | |
} | |
/// <summary> | |
/// <c>PyPIPublisher@0</c>: | |
/// PyPI publisher | |
/// Create and upload an sdist or wheel to a PyPI-compatible index using Twine | |
/// </summary> | |
public record PyPIPublisher_V0 : AzureDevOpsTask | |
{ | |
public PyPIPublisher_V0(string? pypiconnection, string? packagedirectory) : base("PyPIPublisher@0") | |
{ | |
PypiConnection = pypiconnection; | |
PackageDirectory = packagedirectory; | |
} | |
/// <summary> | |
/// PyPI service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? PypiConnection | |
{ | |
get => GetString("pypiConnection"); | |
init => SetProperty("pypiConnection", value); | |
} | |
/// <summary> | |
/// Python package directory | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageDirectory | |
{ | |
get => GetString("packageDirectory"); | |
init => SetProperty("packageDirectory", value); | |
} | |
/// <summary> | |
/// Also publish a wheel | |
/// </summary> | |
[YamlIgnore] | |
public bool AlsoPublishWheel | |
{ | |
get => GetBool("alsoPublishWheel", false); | |
init => SetProperty("alsoPublishWheel", value); | |
} | |
} | |
/// <summary> | |
/// <c>ChefKnife@1</c>: | |
/// Chef Knife | |
/// Run scripts with Knife commands on your Chef workstation | |
/// </summary> | |
public record ChefKnife_V1 : AzureDevOpsTask | |
{ | |
public ChefKnife_V1(string? connectedservicename, string? scriptpath) : base("ChefKnife@1") | |
{ | |
ConnectedServiceName = connectedservicename; | |
ScriptPath = scriptpath; | |
} | |
/// <summary> | |
/// Chef Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("ConnectedServiceName"); | |
init => SetProperty("ConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>GoTool@0</c>: | |
/// Go tool installer | |
/// Find in cache or download a specific version of Go and add it to the PATH | |
/// </summary> | |
public record GoTool_V0 : AzureDevOpsTask | |
{ | |
public GoTool_V0() : base("GoTool@0") | |
{ | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// GOPATH | |
/// </summary> | |
[YamlIgnore] | |
public string? GoPath | |
{ | |
get => GetString("goPath"); | |
init => SetProperty("goPath", value); | |
} | |
/// <summary> | |
/// GOBIN | |
/// </summary> | |
[YamlIgnore] | |
public string? GoBin | |
{ | |
get => GetString("goBin"); | |
init => SetProperty("goBin", value); | |
} | |
} | |
/// <summary> | |
/// <c>XcodePackageiOS@0</c>: | |
/// Xcode Package iOS | |
/// Generate an .ipa file from Xcode build output using xcrun (Xcode 7 or below) | |
/// </summary> | |
public record XcodePackageiOS_V0 : AzureDevOpsTask | |
{ | |
public XcodePackageiOS_V0(string? provisioningprofile) : base("XcodePackageiOS@0") | |
{ | |
ProvisioningProfile = provisioningprofile; | |
} | |
/// <summary> | |
/// Name of .app | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("appName"); | |
init => SetProperty("appName", value); | |
} | |
/// <summary> | |
/// Name of .ipa | |
/// </summary> | |
[YamlIgnore] | |
public string? IpaName | |
{ | |
get => GetString("ipaName"); | |
init => SetProperty("ipaName", value); | |
} | |
/// <summary> | |
/// Provisioning Profile Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvisioningProfile | |
{ | |
get => GetString("provisioningProfile"); | |
init => SetProperty("provisioningProfile", value); | |
} | |
/// <summary> | |
/// SDK | |
/// </summary> | |
[YamlIgnore] | |
public string? Sdk | |
{ | |
get => GetString("sdk"); | |
init => SetProperty("sdk", value); | |
} | |
/// <summary> | |
/// Path to .app | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPath | |
{ | |
get => GetString("appPath"); | |
init => SetProperty("appPath", value); | |
} | |
/// <summary> | |
/// Path to place .ipa | |
/// </summary> | |
[YamlIgnore] | |
public string? IpaPath | |
{ | |
get => GetString("ipaPath"); | |
init => SetProperty("ipaPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>Go@0</c>: | |
/// Go | |
/// Get, build, or test a Go application, or run a custom Go command | |
/// </summary> | |
public record Go_V0 : AzureDevOpsTask | |
{ | |
public Go_V0() : base("Go@0") | |
{ | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Custom command | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomCommand | |
{ | |
get => GetString("customCommand"); | |
init => SetProperty("customCommand", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishPipelineMetadata@0</c>: | |
/// Publish Pipeline Metadata | |
/// Publish Pipeline Metadata to Evidence store | |
/// </summary> | |
public record PublishPipelineMetadata_V0 : AzureDevOpsTask | |
{ | |
public PublishPipelineMetadata_V0() : base("PublishPipelineMetadata@0") | |
{ | |
} | |
} | |
/// <summary> | |
/// <c>Docker@0</c>: | |
/// Docker | |
/// Build, tag, push, or run Docker images, or run a Docker command | |
/// </summary> | |
public record Docker_V0 : AzureDevOpsTask | |
{ | |
public Docker_V0() : base("Docker@0") | |
{ | |
} | |
/// <summary> | |
/// Container Registry Type | |
/// </summary> | |
[YamlIgnore] | |
public string? Containerregistrytype | |
{ | |
get => GetString("containerregistrytype"); | |
init => SetProperty("containerregistrytype", value); | |
} | |
/// <summary> | |
/// Docker Registry Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryConnection | |
{ | |
get => GetString("dockerRegistryConnection"); | |
init => SetProperty("dockerRegistryConnection", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("azureContainerRegistry"); | |
init => SetProperty("azureContainerRegistry", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Docker File | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerFile | |
{ | |
get => GetString("dockerFile"); | |
init => SetProperty("dockerFile", value); | |
} | |
/// <summary> | |
/// Add base image metadata to image(s) | |
/// </summary> | |
[YamlIgnore] | |
public bool AddBaseImageData | |
{ | |
get => GetBool("addBaseImageData", false); | |
init => SetProperty("addBaseImageData", value); | |
} | |
/// <summary> | |
/// Build Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildArguments | |
{ | |
get => GetString("buildArguments"); | |
init => SetProperty("buildArguments", value); | |
} | |
/// <summary> | |
/// Use Default Build Context | |
/// </summary> | |
[YamlIgnore] | |
public bool DefaultContext | |
{ | |
get => GetBool("defaultContext", false); | |
init => SetProperty("defaultContext", value); | |
} | |
/// <summary> | |
/// Build Context | |
/// </summary> | |
[YamlIgnore] | |
public string? Context | |
{ | |
get => GetString("context"); | |
init => SetProperty("context", value); | |
} | |
/// <summary> | |
/// Image Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageName | |
{ | |
get => GetString("imageName"); | |
init => SetProperty("imageName", value); | |
} | |
/// <summary> | |
/// Image Names Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageNamesPath | |
{ | |
get => GetString("imageNamesPath"); | |
init => SetProperty("imageNamesPath", value); | |
} | |
/// <summary> | |
/// Qualify Image Name | |
/// </summary> | |
[YamlIgnore] | |
public bool QualifyImageName | |
{ | |
get => GetBool("qualifyImageName", false); | |
init => SetProperty("qualifyImageName", value); | |
} | |
/// <summary> | |
/// Additional Image Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalImageTags | |
{ | |
get => GetString("additionalImageTags"); | |
init => SetProperty("additionalImageTags", value); | |
} | |
/// <summary> | |
/// Include Source Tags | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeSourceTags | |
{ | |
get => GetBool("includeSourceTags", false); | |
init => SetProperty("includeSourceTags", value); | |
} | |
/// <summary> | |
/// Include Latest Tag | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeLatestTag | |
{ | |
get => GetBool("includeLatestTag", false); | |
init => SetProperty("includeLatestTag", value); | |
} | |
/// <summary> | |
/// Image Digest File | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageDigestFile | |
{ | |
get => GetString("imageDigestFile"); | |
init => SetProperty("imageDigestFile", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("containerName"); | |
init => SetProperty("containerName", value); | |
} | |
/// <summary> | |
/// Ports | |
/// </summary> | |
[YamlIgnore] | |
public string? Ports | |
{ | |
get => GetString("ports"); | |
init => SetProperty("ports", value); | |
} | |
/// <summary> | |
/// Volumes | |
/// </summary> | |
[YamlIgnore] | |
public string? Volumes | |
{ | |
get => GetString("volumes"); | |
init => SetProperty("volumes", value); | |
} | |
/// <summary> | |
/// Environment Variables | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvVars | |
{ | |
get => GetString("envVars"); | |
init => SetProperty("envVars", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkDir | |
{ | |
get => GetString("workDir"); | |
init => SetProperty("workDir", value); | |
} | |
/// <summary> | |
/// Entry Point Override | |
/// </summary> | |
[YamlIgnore] | |
public string? Entrypoint | |
{ | |
get => GetString("entrypoint"); | |
init => SetProperty("entrypoint", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerCommand | |
{ | |
get => GetString("containerCommand"); | |
init => SetProperty("containerCommand", value); | |
} | |
/// <summary> | |
/// Run In Background | |
/// </summary> | |
[YamlIgnore] | |
public bool Detached | |
{ | |
get => GetBool("detached", false); | |
init => SetProperty("detached", value); | |
} | |
/// <summary> | |
/// Restart Policy | |
/// </summary> | |
[YamlIgnore] | |
public string? RestartPolicy | |
{ | |
get => GetString("restartPolicy"); | |
init => SetProperty("restartPolicy", value); | |
} | |
/// <summary> | |
/// Maximum Restart Retries | |
/// </summary> | |
[YamlIgnore] | |
public string? RestartMaxRetries | |
{ | |
get => GetString("restartMaxRetries"); | |
init => SetProperty("restartMaxRetries", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomCommand | |
{ | |
get => GetString("customCommand"); | |
init => SetProperty("customCommand", value); | |
} | |
/// <summary> | |
/// Docker Host Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerHostEndpoint | |
{ | |
get => GetString("dockerHostEndpoint"); | |
init => SetProperty("dockerHostEndpoint", value); | |
} | |
/// <summary> | |
/// Force image name to follow Docker naming convention | |
/// </summary> | |
[YamlIgnore] | |
public bool EnforceDockerNamingConvention | |
{ | |
get => GetBool("enforceDockerNamingConvention", false); | |
init => SetProperty("enforceDockerNamingConvention", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Memory limit | |
/// </summary> | |
[YamlIgnore] | |
public string? Memory | |
{ | |
get => GetString("memory"); | |
init => SetProperty("memory", value); | |
} | |
} | |
/// <summary> | |
/// <c>Docker@1</c>: | |
/// Docker | |
/// Build, tag, push, or run Docker images, or run a Docker command | |
/// </summary> | |
public record Docker_V1 : AzureDevOpsTask | |
{ | |
public Docker_V1() : base("Docker@1") | |
{ | |
} | |
/// <summary> | |
/// Container registry type | |
/// </summary> | |
[YamlIgnore] | |
public string? Containerregistrytype | |
{ | |
get => GetString("containerregistrytype"); | |
init => SetProperty("containerregistrytype", value); | |
} | |
/// <summary> | |
/// Add base image metadata to image(s) | |
/// </summary> | |
[YamlIgnore] | |
public bool AddBaseImageData | |
{ | |
get => GetBool("addBaseImageData", false); | |
init => SetProperty("addBaseImageData", value); | |
} | |
/// <summary> | |
/// Docker registry service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryEndpoint | |
{ | |
get => GetString("dockerRegistryEndpoint"); | |
init => SetProperty("dockerRegistryEndpoint", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscriptionEndpoint | |
{ | |
get => GetString("azureSubscriptionEndpoint"); | |
init => SetProperty("azureSubscriptionEndpoint", value); | |
} | |
/// <summary> | |
/// Azure container registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("azureContainerRegistry"); | |
init => SetProperty("azureContainerRegistry", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Dockerfile | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerFile | |
{ | |
get => GetString("dockerFile"); | |
init => SetProperty("dockerFile", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Push multiple images | |
/// </summary> | |
[YamlIgnore] | |
public bool PushMultipleImages | |
{ | |
get => GetBool("pushMultipleImages", false); | |
init => SetProperty("pushMultipleImages", value); | |
} | |
/// <summary> | |
/// Tag multiple images | |
/// </summary> | |
[YamlIgnore] | |
public bool TagMultipleImages | |
{ | |
get => GetBool("tagMultipleImages", false); | |
init => SetProperty("tagMultipleImages", value); | |
} | |
/// <summary> | |
/// Image name | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageName | |
{ | |
get => GetString("imageName"); | |
init => SetProperty("imageName", value); | |
} | |
/// <summary> | |
/// Image names path | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageNamesPath | |
{ | |
get => GetString("imageNamesPath"); | |
init => SetProperty("imageNamesPath", value); | |
} | |
/// <summary> | |
/// Qualify image name | |
/// </summary> | |
[YamlIgnore] | |
public bool QualifyImageName | |
{ | |
get => GetBool("qualifyImageName", false); | |
init => SetProperty("qualifyImageName", value); | |
} | |
/// <summary> | |
/// Qualify source image name | |
/// </summary> | |
[YamlIgnore] | |
public bool QualifySourceImageName | |
{ | |
get => GetBool("qualifySourceImageName", false); | |
init => SetProperty("qualifySourceImageName", value); | |
} | |
/// <summary> | |
/// Include source tags | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeSourceTags | |
{ | |
get => GetBool("includeSourceTags", false); | |
init => SetProperty("includeSourceTags", value); | |
} | |
/// <summary> | |
/// Include latest tag | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeLatestTag | |
{ | |
get => GetBool("includeLatestTag", false); | |
init => SetProperty("includeLatestTag", value); | |
} | |
/// <summary> | |
/// Add default labels | |
/// </summary> | |
[YamlIgnore] | |
public bool AddDefaultLabels | |
{ | |
get => GetBool("addDefaultLabels", false); | |
init => SetProperty("addDefaultLabels", value); | |
} | |
/// <summary> | |
/// Use default build context | |
/// </summary> | |
[YamlIgnore] | |
public bool UseDefaultContext | |
{ | |
get => GetBool("useDefaultContext", false); | |
init => SetProperty("useDefaultContext", value); | |
} | |
/// <summary> | |
/// Build context | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildContext | |
{ | |
get => GetString("buildContext"); | |
init => SetProperty("buildContext", value); | |
} | |
/// <summary> | |
/// Image digest file | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageDigestFile | |
{ | |
get => GetString("imageDigestFile"); | |
init => SetProperty("imageDigestFile", value); | |
} | |
/// <summary> | |
/// Container name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("containerName"); | |
init => SetProperty("containerName", value); | |
} | |
/// <summary> | |
/// Ports | |
/// </summary> | |
[YamlIgnore] | |
public string? Ports | |
{ | |
get => GetString("ports"); | |
init => SetProperty("ports", value); | |
} | |
/// <summary> | |
/// Volumes | |
/// </summary> | |
[YamlIgnore] | |
public string? Volumes | |
{ | |
get => GetString("volumes"); | |
init => SetProperty("volumes", value); | |
} | |
/// <summary> | |
/// Environment variables | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvVars | |
{ | |
get => GetString("envVars"); | |
init => SetProperty("envVars", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Entry point override | |
/// </summary> | |
[YamlIgnore] | |
public string? EntrypointOverride | |
{ | |
get => GetString("entrypointOverride"); | |
init => SetProperty("entrypointOverride", value); | |
} | |
/// <summary> | |
/// Container command | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerCommand | |
{ | |
get => GetString("containerCommand"); | |
init => SetProperty("containerCommand", value); | |
} | |
/// <summary> | |
/// Run in background | |
/// </summary> | |
[YamlIgnore] | |
public bool RunInBackground | |
{ | |
get => GetBool("runInBackground", false); | |
init => SetProperty("runInBackground", value); | |
} | |
/// <summary> | |
/// Restart policy | |
/// </summary> | |
[YamlIgnore] | |
public string? RestartPolicy | |
{ | |
get => GetString("restartPolicy"); | |
init => SetProperty("restartPolicy", value); | |
} | |
/// <summary> | |
/// Maximum restart retries | |
/// </summary> | |
[YamlIgnore] | |
public string? MaxRestartRetries | |
{ | |
get => GetString("maxRestartRetries"); | |
init => SetProperty("maxRestartRetries", value); | |
} | |
/// <summary> | |
/// Docker host service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerHostEndpoint | |
{ | |
get => GetString("dockerHostEndpoint"); | |
init => SetProperty("dockerHostEndpoint", value); | |
} | |
/// <summary> | |
/// Force image name to follow Docker naming convention | |
/// </summary> | |
[YamlIgnore] | |
public bool EnforceDockerNamingConvention | |
{ | |
get => GetBool("enforceDockerNamingConvention", false); | |
init => SetProperty("enforceDockerNamingConvention", value); | |
} | |
/// <summary> | |
/// Memory limit | |
/// </summary> | |
[YamlIgnore] | |
public string? MemoryLimit | |
{ | |
get => GetString("memoryLimit"); | |
init => SetProperty("memoryLimit", value); | |
} | |
} | |
/// <summary> | |
/// <c>Docker@2</c>: | |
/// Docker | |
/// Build or push Docker images, login or logout, start or stop containers, or run a Docker command | |
/// </summary> | |
public record Docker_V2 : AzureDevOpsTask | |
{ | |
public Docker_V2() : base("Docker@2") | |
{ | |
} | |
/// <summary> | |
/// Container registry | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerRegistry | |
{ | |
get => GetString("containerRegistry"); | |
init => SetProperty("containerRegistry", value); | |
} | |
/// <summary> | |
/// Container repository | |
/// </summary> | |
[YamlIgnore] | |
public string? Repository | |
{ | |
get => GetString("repository"); | |
init => SetProperty("repository", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Dockerfile | |
/// </summary> | |
[YamlIgnore] | |
public string? Dockerfile | |
{ | |
get => GetString("Dockerfile"); | |
init => SetProperty("Dockerfile", value); | |
} | |
/// <summary> | |
/// Build context | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildContext | |
{ | |
get => GetString("buildContext"); | |
init => SetProperty("buildContext", value); | |
} | |
/// <summary> | |
/// Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? Tags | |
{ | |
get => GetString("tags"); | |
init => SetProperty("tags", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Add Pipeline metadata to image(s) | |
/// </summary> | |
[YamlIgnore] | |
public bool AddPipelineData | |
{ | |
get => GetBool("addPipelineData", false); | |
init => SetProperty("addPipelineData", value); | |
} | |
/// <summary> | |
/// Add base image metadata to image(s) | |
/// </summary> | |
[YamlIgnore] | |
public bool AddBaseImageData | |
{ | |
get => GetBool("addBaseImageData", false); | |
init => SetProperty("addBaseImageData", value); | |
} | |
/// <summary> | |
/// Container | |
/// </summary> | |
[YamlIgnore] | |
public string? Container | |
{ | |
get => GetString("container"); | |
init => SetProperty("container", value); | |
} | |
} | |
/// <summary> | |
/// <c>JenkinsQueueJob@2</c>: | |
/// Jenkins queue job | |
/// Queue a job on a Jenkins server | |
/// </summary> | |
public record JenkinsQueueJob_V2 : AzureDevOpsTask | |
{ | |
public JenkinsQueueJob_V2(string? serverendpoint, string? jobname) : base("JenkinsQueueJob@2") | |
{ | |
ServerEndpoint = serverendpoint; | |
JobName = jobname; | |
} | |
/// <summary> | |
/// Jenkins service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// Job name | |
/// </summary> | |
[YamlIgnore] | |
public string? JobName | |
{ | |
get => GetString("jobName"); | |
init => SetProperty("jobName", value); | |
} | |
/// <summary> | |
/// Job is of multibranch pipeline type | |
/// </summary> | |
[YamlIgnore] | |
public bool IsMultibranchJob | |
{ | |
get => GetBool("isMultibranchJob", false); | |
init => SetProperty("isMultibranchJob", value); | |
} | |
/// <summary> | |
/// Multibranch pipeline branch | |
/// </summary> | |
[YamlIgnore] | |
public string? MultibranchPipelineBranch | |
{ | |
get => GetString("multibranchPipelineBranch"); | |
init => SetProperty("multibranchPipelineBranch", value); | |
} | |
/// <summary> | |
/// Capture console output and wait for completion | |
/// </summary> | |
[YamlIgnore] | |
public bool CaptureConsole | |
{ | |
get => GetBool("captureConsole", false); | |
init => SetProperty("captureConsole", value); | |
} | |
/// <summary> | |
/// Capture pipeline output and wait for pipeline completion | |
/// </summary> | |
[YamlIgnore] | |
public bool CapturePipeline | |
{ | |
get => GetBool("capturePipeline", false); | |
init => SetProperty("capturePipeline", value); | |
} | |
/// <summary> | |
/// Parameterized job | |
/// </summary> | |
[YamlIgnore] | |
public bool IsParameterizedJob | |
{ | |
get => GetBool("isParameterizedJob", false); | |
init => SetProperty("isParameterizedJob", value); | |
} | |
/// <summary> | |
/// Job parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? JobParameters | |
{ | |
get => GetString("jobParameters"); | |
init => SetProperty("jobParameters", value); | |
} | |
/// <summary> | |
/// Fail on unstable result | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnUnstableResult | |
{ | |
get => GetBool("failOnUnstableResult", false); | |
init => SetProperty("failOnUnstableResult", value); | |
} | |
/// <summary> | |
/// Number of retries for failed connection | |
/// </summary> | |
[YamlIgnore] | |
public string? RetryCount | |
{ | |
get => GetString("retryCount"); | |
init => SetProperty("retryCount", value); | |
} | |
/// <summary> | |
/// Time between retries | |
/// </summary> | |
[YamlIgnore] | |
public string? DelayBetweenRetries | |
{ | |
get => GetString("delayBetweenRetries"); | |
init => SetProperty("delayBetweenRetries", value); | |
} | |
} | |
/// <summary> | |
/// <c>JenkinsQueueJob@1</c>: | |
/// Jenkins Queue Job | |
/// Queue a job on a Jenkins server | |
/// </summary> | |
public record JenkinsQueueJob_V1 : AzureDevOpsTask | |
{ | |
public JenkinsQueueJob_V1(string? serverendpoint, string? jobname) : base("JenkinsQueueJob@1") | |
{ | |
ServerEndpoint = serverendpoint; | |
JobName = jobname; | |
} | |
/// <summary> | |
/// Jenkins service endpoint | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// Job name | |
/// </summary> | |
[YamlIgnore] | |
public string? JobName | |
{ | |
get => GetString("jobName"); | |
init => SetProperty("jobName", value); | |
} | |
/// <summary> | |
/// Job is of Multibranch Pipeline type | |
/// </summary> | |
[YamlIgnore] | |
public bool IsMultibranchJob | |
{ | |
get => GetBool("isMultibranchJob", false); | |
init => SetProperty("isMultibranchJob", value); | |
} | |
/// <summary> | |
/// Multibranch Pipeline Branch | |
/// </summary> | |
[YamlIgnore] | |
public string? MultibranchPipelineBranch | |
{ | |
get => GetString("multibranchPipelineBranch"); | |
init => SetProperty("multibranchPipelineBranch", value); | |
} | |
/// <summary> | |
/// Capture console output and wait for completion | |
/// </summary> | |
[YamlIgnore] | |
public bool CaptureConsole | |
{ | |
get => GetBool("captureConsole", false); | |
init => SetProperty("captureConsole", value); | |
} | |
/// <summary> | |
/// Capture pipeline output and wait for pipeline completion | |
/// </summary> | |
[YamlIgnore] | |
public bool CapturePipeline | |
{ | |
get => GetBool("capturePipeline", false); | |
init => SetProperty("capturePipeline", value); | |
} | |
/// <summary> | |
/// Parameterized job | |
/// </summary> | |
[YamlIgnore] | |
public bool ParameterizedJob | |
{ | |
get => GetBool("parameterizedJob", false); | |
init => SetProperty("parameterizedJob", value); | |
} | |
/// <summary> | |
/// Job parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? JobParameters | |
{ | |
get => GetString("jobParameters"); | |
init => SetProperty("jobParameters", value); | |
} | |
} | |
/// <summary> | |
/// <c>FtpUpload@1</c>: | |
/// FTP upload | |
/// Upload files using FTP | |
/// </summary> | |
public record FtpUpload_V1 : AzureDevOpsTask | |
{ | |
public FtpUpload_V1(string? rootdirectory) : base("FtpUpload@1") | |
{ | |
RootDirectory = rootdirectory; | |
} | |
/// <summary> | |
/// Authentication Method | |
/// </summary> | |
[YamlIgnore] | |
public string? CredentialsOption | |
{ | |
get => GetString("credentialsOption"); | |
init => SetProperty("credentialsOption", value); | |
} | |
/// <summary> | |
/// FTP Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// Server URL | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerUrl | |
{ | |
get => GetString("serverUrl"); | |
init => SetProperty("serverUrl", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? Username | |
{ | |
get => GetString("username"); | |
init => SetProperty("username", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
/// <summary> | |
/// Root folder | |
/// </summary> | |
[YamlIgnore] | |
public string? RootDirectory | |
{ | |
get => GetString("rootDirectory"); | |
init => SetProperty("rootDirectory", value); | |
} | |
/// <summary> | |
/// File patterns | |
/// </summary> | |
[YamlIgnore] | |
public string? FilePatterns | |
{ | |
get => GetString("filePatterns"); | |
init => SetProperty("filePatterns", value); | |
} | |
/// <summary> | |
/// Remote directory | |
/// </summary> | |
[YamlIgnore] | |
public string? RemoteDirectory | |
{ | |
get => GetString("remoteDirectory"); | |
init => SetProperty("remoteDirectory", value); | |
} | |
/// <summary> | |
/// Delete remote directory | |
/// </summary> | |
[YamlIgnore] | |
public bool Clean | |
{ | |
get => GetBool("clean", false); | |
init => SetProperty("clean", value); | |
} | |
/// <summary> | |
/// Clear remote directory contents | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanContents | |
{ | |
get => GetBool("cleanContents", false); | |
init => SetProperty("cleanContents", value); | |
} | |
/// <summary> | |
/// Overwrite | |
/// </summary> | |
[YamlIgnore] | |
public bool Overwrite | |
{ | |
get => GetBool("overwrite", false); | |
init => SetProperty("overwrite", value); | |
} | |
/// <summary> | |
/// Preserve file paths | |
/// </summary> | |
[YamlIgnore] | |
public bool PreservePaths | |
{ | |
get => GetBool("preservePaths", false); | |
init => SetProperty("preservePaths", value); | |
} | |
/// <summary> | |
/// Trust server certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool TrustSSL | |
{ | |
get => GetBool("trustSSL", false); | |
init => SetProperty("trustSSL", value); | |
} | |
} | |
/// <summary> | |
/// <c>FtpUpload@2</c>: | |
/// FTP upload | |
/// Upload files using FTP | |
/// </summary> | |
public record FtpUpload_V2 : AzureDevOpsTask | |
{ | |
public FtpUpload_V2(string? rootdirectory) : base("FtpUpload@2") | |
{ | |
RootDirectory = rootdirectory; | |
} | |
/// <summary> | |
/// Authentication Method | |
/// </summary> | |
[YamlIgnore] | |
public string? CredentialsOption | |
{ | |
get => GetString("credentialsOption"); | |
init => SetProperty("credentialsOption", value); | |
} | |
/// <summary> | |
/// FTP Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// Server URL | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerUrl | |
{ | |
get => GetString("serverUrl"); | |
init => SetProperty("serverUrl", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? Username | |
{ | |
get => GetString("username"); | |
init => SetProperty("username", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
/// <summary> | |
/// Use implicit FTPS | |
/// </summary> | |
[YamlIgnore] | |
public bool ImplicitFTPS | |
{ | |
get => GetBool("implicitFTPS", false); | |
init => SetProperty("implicitFTPS", value); | |
} | |
/// <summary> | |
/// Root folder | |
/// </summary> | |
[YamlIgnore] | |
public string? RootDirectory | |
{ | |
get => GetString("rootDirectory"); | |
init => SetProperty("rootDirectory", value); | |
} | |
/// <summary> | |
/// File patterns | |
/// </summary> | |
[YamlIgnore] | |
public string? FilePatterns | |
{ | |
get => GetString("filePatterns"); | |
init => SetProperty("filePatterns", value); | |
} | |
/// <summary> | |
/// Remote directory | |
/// </summary> | |
[YamlIgnore] | |
public string? RemoteDirectory | |
{ | |
get => GetString("remoteDirectory"); | |
init => SetProperty("remoteDirectory", value); | |
} | |
/// <summary> | |
/// Enable UTF8 support | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableUtf8 | |
{ | |
get => GetBool("enableUtf8", false); | |
init => SetProperty("enableUtf8", value); | |
} | |
/// <summary> | |
/// Delete remote directory | |
/// </summary> | |
[YamlIgnore] | |
public bool Clean | |
{ | |
get => GetBool("clean", false); | |
init => SetProperty("clean", value); | |
} | |
/// <summary> | |
/// Clear remote directory contents | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanContents | |
{ | |
get => GetBool("cleanContents", false); | |
init => SetProperty("cleanContents", value); | |
} | |
/// <summary> | |
/// Preserve file paths | |
/// </summary> | |
[YamlIgnore] | |
public bool PreservePaths | |
{ | |
get => GetBool("preservePaths", false); | |
init => SetProperty("preservePaths", value); | |
} | |
/// <summary> | |
/// Trust server certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool TrustSSL | |
{ | |
get => GetBool("trustSSL", false); | |
init => SetProperty("trustSSL", value); | |
} | |
/// <summary> | |
/// FTP Commands | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomCmds | |
{ | |
get => GetString("customCmds"); | |
init => SetProperty("customCmds", value); | |
} | |
} | |
/// <summary> | |
/// <c>WindowsMachineFileCopy@1</c>: | |
/// Windows machine file copy | |
/// Copy files to remote Windows machines | |
/// </summary> | |
public record WindowsMachineFileCopy_V1 : AzureDevOpsTask | |
{ | |
public WindowsMachineFileCopy_V1(string? sourcepath, string? targetpath) : base("WindowsMachineFileCopy@1") | |
{ | |
SourcePath = sourcepath; | |
TargetPath = targetpath; | |
} | |
/// <summary> | |
/// Source | |
/// </summary> | |
[YamlIgnore] | |
public string? SourcePath | |
{ | |
get => GetString("SourcePath"); | |
init => SetProperty("SourcePath", value); | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentName | |
{ | |
get => GetString("EnvironmentName"); | |
init => SetProperty("EnvironmentName", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminUserName | |
{ | |
get => GetString("AdminUserName"); | |
init => SetProperty("AdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminPassword | |
{ | |
get => GetString("AdminPassword"); | |
init => SetProperty("AdminPassword", value); | |
} | |
/// <summary> | |
/// Destination Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
/// <summary> | |
/// Clean Target | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetBeforeCopy | |
{ | |
get => GetBool("CleanTargetBeforeCopy", false); | |
init => SetProperty("CleanTargetBeforeCopy", value); | |
} | |
/// <summary> | |
/// Copy Files in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool CopyFilesInParallel | |
{ | |
get => GetBool("CopyFilesInParallel", false); | |
init => SetProperty("CopyFilesInParallel", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
} | |
/// <summary> | |
/// <c>WindowsMachineFileCopy@2</c>: | |
/// Windows machine file copy | |
/// Copy files to remote Windows machines | |
/// </summary> | |
public record WindowsMachineFileCopy_V2 : AzureDevOpsTask | |
{ | |
public WindowsMachineFileCopy_V2(string? sourcepath, string? machinenames, string? adminusername, string? adminpassword, string? targetpath) : base("WindowsMachineFileCopy@2") | |
{ | |
SourcePath = sourcepath; | |
MachineNames = machinenames; | |
AdminUserName = adminusername; | |
AdminPassword = adminpassword; | |
TargetPath = targetpath; | |
} | |
/// <summary> | |
/// Source | |
/// </summary> | |
[YamlIgnore] | |
public string? SourcePath | |
{ | |
get => GetString("SourcePath"); | |
init => SetProperty("SourcePath", value); | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminUserName | |
{ | |
get => GetString("AdminUserName"); | |
init => SetProperty("AdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminPassword | |
{ | |
get => GetString("AdminPassword"); | |
init => SetProperty("AdminPassword", value); | |
} | |
/// <summary> | |
/// Destination Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
/// <summary> | |
/// Clean Target | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetBeforeCopy | |
{ | |
get => GetBool("CleanTargetBeforeCopy", false); | |
init => SetProperty("CleanTargetBeforeCopy", value); | |
} | |
/// <summary> | |
/// Copy Files in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool CopyFilesInParallel | |
{ | |
get => GetBool("CopyFilesInParallel", false); | |
init => SetProperty("CopyFilesInParallel", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>AndroidBuild@1</c>: | |
/// Android Build | |
/// [Deprecated] Use Gradle | |
/// </summary> | |
public record AndroidBuild_V1 : AzureDevOpsTask | |
{ | |
public AndroidBuild_V1() : base("AndroidBuild@1") | |
{ | |
} | |
/// <summary> | |
/// Location of Gradle Wrapper | |
/// </summary> | |
[YamlIgnore] | |
public string? GradleWrapper | |
{ | |
get => GetString("gradleWrapper"); | |
init => SetProperty("gradleWrapper", value); | |
} | |
/// <summary> | |
/// Project Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? GradleProj | |
{ | |
get => GetString("gradleProj"); | |
init => SetProperty("gradleProj", value); | |
} | |
/// <summary> | |
/// Gradle Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? GradleArguments | |
{ | |
get => GetString("gradleArguments"); | |
init => SetProperty("gradleArguments", value); | |
} | |
/// <summary> | |
/// Name | |
/// </summary> | |
[YamlIgnore] | |
public string? AvdName | |
{ | |
get => GetString("avdName"); | |
init => SetProperty("avdName", value); | |
} | |
/// <summary> | |
/// Create AVD | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateAvd | |
{ | |
get => GetBool("createAvd", false); | |
init => SetProperty("createAvd", value); | |
} | |
/// <summary> | |
/// AVD Target SDK | |
/// </summary> | |
[YamlIgnore] | |
public string? EmulatorTarget | |
{ | |
get => GetString("emulatorTarget"); | |
init => SetProperty("emulatorTarget", value); | |
} | |
/// <summary> | |
/// AVD Device | |
/// </summary> | |
[YamlIgnore] | |
public string? EmulatorDevice | |
{ | |
get => GetString("emulatorDevice"); | |
init => SetProperty("emulatorDevice", value); | |
} | |
/// <summary> | |
/// AVD ABI | |
/// </summary> | |
[YamlIgnore] | |
public string? AvdAbi | |
{ | |
get => GetString("avdAbi"); | |
init => SetProperty("avdAbi", value); | |
} | |
/// <summary> | |
/// Overwrite Existing AVD | |
/// </summary> | |
[YamlIgnore] | |
public bool AvdForce | |
{ | |
get => GetBool("avdForce", false); | |
init => SetProperty("avdForce", value); | |
} | |
/// <summary> | |
/// Create AVD Optional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AvdOptionalArgs | |
{ | |
get => GetString("avdOptionalArgs"); | |
init => SetProperty("avdOptionalArgs", value); | |
} | |
/// <summary> | |
/// Start and Stop Android Emulator | |
/// </summary> | |
[YamlIgnore] | |
public bool StartEmulator | |
{ | |
get => GetBool("startEmulator", false); | |
init => SetProperty("startEmulator", value); | |
} | |
/// <summary> | |
/// Timeout in Seconds | |
/// </summary> | |
[YamlIgnore] | |
public string? EmulatorTimeout | |
{ | |
get => GetString("emulatorTimeout"); | |
init => SetProperty("emulatorTimeout", value); | |
} | |
/// <summary> | |
/// Headless Display | |
/// </summary> | |
[YamlIgnore] | |
public bool EmulatorHeadless | |
{ | |
get => GetBool("emulatorHeadless", false); | |
init => SetProperty("emulatorHeadless", value); | |
} | |
/// <summary> | |
/// Emulator Optional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? EmulatorOptionalArgs | |
{ | |
get => GetString("emulatorOptionalArgs"); | |
init => SetProperty("emulatorOptionalArgs", value); | |
} | |
/// <summary> | |
/// Delete AVD | |
/// </summary> | |
[YamlIgnore] | |
public bool DeleteAvd | |
{ | |
get => GetBool("deleteAvd", false); | |
init => SetProperty("deleteAvd", value); | |
} | |
} | |
/// <summary> | |
/// <c>TwineAuthenticate@0</c>: | |
/// Python twine upload authenticate | |
/// Authenticate for uploading Python distributions using twine. Add '-r FeedName/EndpointName --config-file $(PYPIRC_PATH)' to your twine upload command. For feeds present in this organization, use the feed name as the repository (-r). Otherwise, use the endpoint name defined in the service connection. | |
/// </summary> | |
public record TwineAuthenticate_V0 : AzureDevOpsTask | |
{ | |
public TwineAuthenticate_V0() : base("TwineAuthenticate@0") | |
{ | |
} | |
/// <summary> | |
/// My feeds (select below) | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactFeeds | |
{ | |
get => GetString("artifactFeeds"); | |
init => SetProperty("artifactFeeds", value); | |
} | |
/// <summary> | |
/// Feeds from external organizations | |
/// </summary> | |
[YamlIgnore] | |
public string? ExternalFeeds | |
{ | |
get => GetString("externalFeeds"); | |
init => SetProperty("externalFeeds", value); | |
} | |
/// <summary> | |
/// Publish pipeline metadata | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishPackageMetadata | |
{ | |
get => GetBool("publishPackageMetadata", false); | |
init => SetProperty("publishPackageMetadata", value); | |
} | |
} | |
/// <summary> | |
/// <c>TwineAuthenticate@1</c>: | |
/// Python twine upload authenticate | |
/// Authenticate for uploading Python distributions using twine. Add '-r FeedName/EndpointName --config-file $(PYPIRC_PATH)' to your twine upload command. For feeds present in this organization, use the feed name as the repository (-r). Otherwise, use the endpoint name defined in the service connection. | |
/// </summary> | |
public record TwineAuthenticate_V1 : AzureDevOpsTask | |
{ | |
public TwineAuthenticate_V1() : base("TwineAuthenticate@1") | |
{ | |
} | |
/// <summary> | |
/// 'Azure DevOps' Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureDevOpsServiceConnection | |
{ | |
get => GetString("azureDevOpsServiceConnection"); | |
init => SetProperty("azureDevOpsServiceConnection", value); | |
} | |
/// <summary> | |
/// Azure Artifacts Feed url. | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedUrl | |
{ | |
get => GetString("feedUrl"); | |
init => SetProperty("feedUrl", value); | |
} | |
/// <summary> | |
/// My feed name (select below) | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactFeed | |
{ | |
get => GetString("artifactFeed"); | |
init => SetProperty("artifactFeed", value); | |
} | |
/// <summary> | |
/// Feed from external organizations | |
/// </summary> | |
[YamlIgnore] | |
public string? PythonUploadServiceConnection | |
{ | |
get => GetString("pythonUploadServiceConnection"); | |
init => SetProperty("pythonUploadServiceConnection", value); | |
} | |
} | |
/// <summary> | |
/// <c>IISWebAppDeploymentOnMachineGroup@0</c>: | |
/// IIS web app deploy | |
/// Deploy a website or web application using Web Deploy | |
/// </summary> | |
public record IISWebAppDeploymentOnMachineGroup_V0 : AzureDevOpsTask | |
{ | |
public IISWebAppDeploymentOnMachineGroup_V0(string? websitename) : base("IISWebAppDeploymentOnMachineGroup@0") | |
{ | |
WebSiteName = websitename; | |
} | |
/// <summary> | |
/// Website Name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebSiteName | |
{ | |
get => GetString("WebSiteName"); | |
init => SetProperty("WebSiteName", value); | |
} | |
/// <summary> | |
/// Virtual Application | |
/// </summary> | |
[YamlIgnore] | |
public string? VirtualApplication | |
{ | |
get => GetString("VirtualApplication"); | |
init => SetProperty("VirtualApplication", value); | |
} | |
/// <summary> | |
/// Package or Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? Package | |
{ | |
get => GetString("Package"); | |
init => SetProperty("Package", value); | |
} | |
/// <summary> | |
/// SetParameters File | |
/// </summary> | |
[YamlIgnore] | |
public string? SetParametersFile | |
{ | |
get => GetString("SetParametersFile"); | |
init => SetProperty("SetParametersFile", value); | |
} | |
/// <summary> | |
/// Remove Additional Files at Destination | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveAdditionalFilesFlag | |
{ | |
get => GetBool("RemoveAdditionalFilesFlag", false); | |
init => SetProperty("RemoveAdditionalFilesFlag", value); | |
} | |
/// <summary> | |
/// Exclude Files from the App_Data Folder | |
/// </summary> | |
[YamlIgnore] | |
public bool ExcludeFilesFromAppDataFlag | |
{ | |
get => GetBool("ExcludeFilesFromAppDataFlag", false); | |
init => SetProperty("ExcludeFilesFromAppDataFlag", value); | |
} | |
/// <summary> | |
/// Take App Offline | |
/// </summary> | |
[YamlIgnore] | |
public bool TakeAppOfflineFlag | |
{ | |
get => GetBool("TakeAppOfflineFlag", false); | |
init => SetProperty("TakeAppOfflineFlag", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// XML transformation | |
/// </summary> | |
[YamlIgnore] | |
public bool XmlTransformation | |
{ | |
get => GetBool("XmlTransformation", false); | |
init => SetProperty("XmlTransformation", value); | |
} | |
/// <summary> | |
/// XML variable substitution | |
/// </summary> | |
[YamlIgnore] | |
public bool XmlVariableSubstitution | |
{ | |
get => GetBool("XmlVariableSubstitution", false); | |
init => SetProperty("XmlVariableSubstitution", value); | |
} | |
/// <summary> | |
/// JSON variable substitution | |
/// </summary> | |
[YamlIgnore] | |
public string? JSONFiles | |
{ | |
get => GetString("JSONFiles"); | |
init => SetProperty("JSONFiles", value); | |
} | |
} | |
/// <summary> | |
/// <c>PythonScript@0</c>: | |
/// Python script | |
/// Run a Python file or inline script | |
/// </summary> | |
public record PythonScript_V0 : AzureDevOpsTask | |
{ | |
public PythonScript_V0() : base("PythonScript@0") | |
{ | |
} | |
/// <summary> | |
/// Script source | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptSource | |
{ | |
get => GetString("scriptSource"); | |
init => SetProperty("scriptSource", value); | |
} | |
/// <summary> | |
/// Script path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("scriptPath"); | |
init => SetProperty("scriptPath", value); | |
} | |
/// <summary> | |
/// Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Script | |
{ | |
get => GetString("script"); | |
init => SetProperty("script", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Python interpreter | |
/// </summary> | |
[YamlIgnore] | |
public string? PythonInterpreter | |
{ | |
get => GetString("pythonInterpreter"); | |
init => SetProperty("pythonInterpreter", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Fail on standard error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStderr | |
{ | |
get => GetBool("failOnStderr", false); | |
init => SetProperty("failOnStderr", value); | |
} | |
} | |
/// <summary> | |
/// <c>HelmInstaller@0</c>: | |
/// Helm tool installer | |
/// Install Helm and Kubernetes on an agent machine | |
/// </summary> | |
public record HelmInstaller_V0 : AzureDevOpsTask | |
{ | |
public HelmInstaller_V0() : base("HelmInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// Helm Version Spec | |
/// </summary> | |
[YamlIgnore] | |
public string? HelmVersion | |
{ | |
get => GetString("helmVersion"); | |
init => SetProperty("helmVersion", value); | |
} | |
/// <summary> | |
/// Check for latest version of Helm | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckLatestHelmVersion | |
{ | |
get => GetBool("checkLatestHelmVersion", false); | |
init => SetProperty("checkLatestHelmVersion", value); | |
} | |
/// <summary> | |
/// Install Kubectl | |
/// </summary> | |
[YamlIgnore] | |
public bool InstallKubectl | |
{ | |
get => GetBool("installKubectl", false); | |
init => SetProperty("installKubectl", value); | |
} | |
/// <summary> | |
/// Kubectl Version Spec | |
/// </summary> | |
[YamlIgnore] | |
public string? KubectlVersion | |
{ | |
get => GetString("kubectlVersion"); | |
init => SetProperty("kubectlVersion", value); | |
} | |
/// <summary> | |
/// Check for latest version of kubectl | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckLatestKubectl | |
{ | |
get => GetBool("checkLatestKubectl", false); | |
init => SetProperty("checkLatestKubectl", value); | |
} | |
} | |
/// <summary> | |
/// <c>HelmInstaller@1</c>: | |
/// Helm tool installer | |
/// Install Helm on an agent machine | |
/// </summary> | |
public record HelmInstaller_V1 : AzureDevOpsTask | |
{ | |
public HelmInstaller_V1() : base("HelmInstaller@1") | |
{ | |
} | |
/// <summary> | |
/// Helm Version Spec | |
/// </summary> | |
[YamlIgnore] | |
public string? HelmVersionToInstall | |
{ | |
get => GetString("helmVersionToInstall"); | |
init => SetProperty("helmVersionToInstall", value); | |
} | |
} | |
/// <summary> | |
/// <c>NodeTaskRunnerInstaller@0</c>: | |
/// Node.js tasks runner installer | |
/// Install specific Node.js version to run node tasks | |
/// </summary> | |
public record NodeTaskRunnerInstaller_V0 : AzureDevOpsTask | |
{ | |
public NodeTaskRunnerInstaller_V0() : base("NodeTaskRunnerInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// Version of runner to install | |
/// </summary> | |
[YamlIgnore] | |
public string? NodeVersion | |
{ | |
get => GetString("nodeVersion"); | |
init => SetProperty("nodeVersion", value); | |
} | |
} | |
/// <summary> | |
/// <c>XamarinLicense@1</c>: | |
/// Xamarin License | |
/// [Deprecated] Upgrade to free version of Xamarin: https://store.xamarin.com | |
/// </summary> | |
public record XamarinLicense_V1 : AzureDevOpsTask | |
{ | |
public XamarinLicense_V1(string? email, string? password) : base("XamarinLicense@1") | |
{ | |
Email = email; | |
Password = password; | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// </summary> | |
[YamlIgnore] | |
public string? Email | |
{ | |
get => GetString("email"); | |
init => SetProperty("email", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
/// <summary> | |
/// Xamarin Product | |
/// </summary> | |
[YamlIgnore] | |
public string? Product | |
{ | |
get => GetString("product"); | |
init => SetProperty("product", value); | |
} | |
/// <summary> | |
/// Timeout in Seconds | |
/// </summary> | |
[YamlIgnore] | |
public string? Timeout | |
{ | |
get => GetString("timeout"); | |
init => SetProperty("timeout", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGetAuthenticate@0</c>: | |
/// NuGet authenticate | |
/// This version of the task is deprecated, use NuGetAuthenticateV1 instead. Configure NuGet tools to authenticate with Azure Artifacts and other NuGet repositories. Requires NuGet >= 4.8.5385, dotnet >= 2.1.400, or MSBuild >= 15.8.166.59604. | |
/// </summary> | |
public record NuGetAuthenticate_V0 : AzureDevOpsTask | |
{ | |
public NuGetAuthenticate_V0() : base("NuGetAuthenticate@0") | |
{ | |
} | |
/// <summary> | |
/// Service connection credentials for feeds outside this organization | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetServiceConnections | |
{ | |
get => GetString("nuGetServiceConnections"); | |
init => SetProperty("nuGetServiceConnections", value); | |
} | |
/// <summary> | |
/// Reinstall the credential provider even if already installed | |
/// </summary> | |
[YamlIgnore] | |
public bool ForceReinstallCredentialProvider | |
{ | |
get => GetBool("forceReinstallCredentialProvider", false); | |
init => SetProperty("forceReinstallCredentialProvider", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGetAuthenticate@1</c>: | |
/// NuGet authenticate | |
/// Configure NuGet tools to authenticate with Azure Artifacts and other NuGet repositories. Requires NuGet >= 4.8.5385, dotnet >= 6, or MSBuild >= 15.8.166.59604 | |
/// </summary> | |
public record NuGetAuthenticate_V1 : AzureDevOpsTask | |
{ | |
public NuGetAuthenticate_V1() : base("NuGetAuthenticate@1") | |
{ | |
} | |
/// <summary> | |
/// 'Azure DevOps' Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureDevOpsServiceConnection | |
{ | |
get => GetString("azureDevOpsServiceConnection"); | |
init => SetProperty("azureDevOpsServiceConnection", value); | |
} | |
/// <summary> | |
/// Azure Artifacts URL | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedUrl | |
{ | |
get => GetString("feedUrl"); | |
init => SetProperty("feedUrl", value); | |
} | |
/// <summary> | |
/// Reinstall the credential provider even if already installed | |
/// </summary> | |
[YamlIgnore] | |
public bool ForceReinstallCredentialProvider | |
{ | |
get => GetBool("forceReinstallCredentialProvider", false); | |
init => SetProperty("forceReinstallCredentialProvider", value); | |
} | |
/// <summary> | |
/// Service connection credentials for feeds outside this organization | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetServiceConnections | |
{ | |
get => GetString("nuGetServiceConnections"); | |
init => SetProperty("nuGetServiceConnections", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadGitHubNugetPackage@1</c>: | |
/// Download GitHub Nuget Packages | |
/// Restore your nuget packages using dotnet CLI | |
/// </summary> | |
public record DownloadGitHubNugetPackage_V1 : AzureDevOpsTask | |
{ | |
public DownloadGitHubNugetPackage_V1(string? packagename, string? version) : base("DownloadGitHubNugetPackage@1") | |
{ | |
PackageName = packagename; | |
Version = version; | |
} | |
/// <summary> | |
/// Package Name | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageName | |
{ | |
get => GetString("packageName"); | |
init => SetProperty("packageName", value); | |
} | |
/// <summary> | |
/// Package Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Credentials for feed from GitHub | |
/// </summary> | |
[YamlIgnore] | |
public string? ExternalFeedCredentials | |
{ | |
get => GetString("externalFeedCredentials"); | |
init => SetProperty("externalFeedCredentials", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? RestoreDirectory | |
{ | |
get => GetString("restoreDirectory"); | |
init => SetProperty("restoreDirectory", value); | |
} | |
} | |
/// <summary> | |
/// <c>MavenAuthenticate@0</c>: | |
/// Maven Authenticate | |
/// Provides credentials for Azure Artifacts feeds and external maven repositories | |
/// </summary> | |
public record MavenAuthenticate_V0 : AzureDevOpsTask | |
{ | |
public MavenAuthenticate_V0() : base("MavenAuthenticate@0") | |
{ | |
} | |
/// <summary> | |
/// 'Entra Workload ID-backed Azure DevOps user' Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkloadIdentityServiceConnection | |
{ | |
get => GetString("workloadIdentityServiceConnection"); | |
init => SetProperty("workloadIdentityServiceConnection", value); | |
} | |
/// <summary> | |
/// Feeds | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactsFeeds | |
{ | |
get => GetString("artifactsFeeds"); | |
init => SetProperty("artifactsFeeds", value); | |
} | |
/// <summary> | |
/// Credentials for repositories outside this organization/collection | |
/// </summary> | |
[YamlIgnore] | |
public string? MavenServiceConnections | |
{ | |
get => GetString("mavenServiceConnections"); | |
init => SetProperty("mavenServiceConnections", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureAppConfigurationExport@10</c>: | |
/// Azure App Configuration Export | |
/// Download key-values to task variables from Azure App Configuration | |
/// </summary> | |
public record AzureAppConfigurationExport_V10 : AzureDevOpsTask | |
{ | |
public AzureAppConfigurationExport_V10(string? azuresubscription, string? appconfigurationendpoint) : base("AzureAppConfigurationExport@10") | |
{ | |
AzureSubscription = azuresubscription; | |
AppConfigurationEndpoint = appconfigurationendpoint; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// App Configuration Endpoint | |
/// </summary> | |
[YamlIgnore] | |
public string? AppConfigurationEndpoint | |
{ | |
get => GetString("AppConfigurationEndpoint"); | |
init => SetProperty("AppConfigurationEndpoint", value); | |
} | |
/// <summary> | |
/// Selection Mode | |
/// </summary> | |
[YamlIgnore] | |
public string? SelectionMode | |
{ | |
get => GetString("SelectionMode"); | |
init => SetProperty("SelectionMode", value); | |
} | |
/// <summary> | |
/// Key Filter | |
/// </summary> | |
[YamlIgnore] | |
public string? KeyFilter | |
{ | |
get => GetString("KeyFilter"); | |
init => SetProperty("KeyFilter", value); | |
} | |
/// <summary> | |
/// Label | |
/// </summary> | |
[YamlIgnore] | |
public string? Label | |
{ | |
get => GetString("Label"); | |
init => SetProperty("Label", value); | |
} | |
/// <summary> | |
/// Snapshot name | |
/// </summary> | |
[YamlIgnore] | |
public string? SnapshotName | |
{ | |
get => GetString("SnapshotName"); | |
init => SetProperty("SnapshotName", value); | |
} | |
/// <summary> | |
/// Trim Key Prefix | |
/// </summary> | |
[YamlIgnore] | |
public string? TrimKeyPrefix | |
{ | |
get => GetString("TrimKeyPrefix"); | |
init => SetProperty("TrimKeyPrefix", value); | |
} | |
/// <summary> | |
/// Suppress warning for overridden keys | |
/// </summary> | |
[YamlIgnore] | |
public bool SuppressWarningForOverriddenKeys | |
{ | |
get => GetBool("SuppressWarningForOverriddenKeys", false); | |
init => SetProperty("SuppressWarningForOverriddenKeys", value); | |
} | |
/// <summary> | |
/// Treat key vault resolution errors as warnings | |
/// </summary> | |
[YamlIgnore] | |
public bool TreatKeyVaultErrorsAsWarning | |
{ | |
get => GetBool("TreatKeyVaultErrorsAsWarning", false); | |
init => SetProperty("TreatKeyVaultErrorsAsWarning", value); | |
} | |
} | |
/// <summary> | |
/// <c>ReviewApp@0</c>: | |
/// Review App | |
/// Use this task under deploy phase provider to create a resource dynamically | |
/// </summary> | |
public record ReviewApp_V0 : AzureDevOpsTask | |
{ | |
public ReviewApp_V0(string? resourcename) : base("ReviewApp@0") | |
{ | |
ResourceName = resourcename; | |
} | |
/// <summary> | |
/// Resource name | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceName | |
{ | |
get => GetString("resourceName"); | |
init => SetProperty("resourceName", value); | |
} | |
/// <summary> | |
/// Environment name | |
/// </summary> | |
[YamlIgnore] | |
public string? BaseEnvironmentName | |
{ | |
get => GetString("baseEnvironmentName"); | |
init => SetProperty("baseEnvironmentName", value); | |
} | |
/// <summary> | |
/// Review Resource Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ReviewResourceName | |
{ | |
get => GetString("reviewResourceName"); | |
init => SetProperty("reviewResourceName", value); | |
} | |
} | |
/// <summary> | |
/// <c>JavaToolInstaller@0</c>: | |
/// Java tool installer | |
/// Acquire a specific version of Java from a user-supplied Azure blob or the tool cache and sets JAVA_HOME | |
/// </summary> | |
public record JavaToolInstaller_V0 : AzureDevOpsTask | |
{ | |
public JavaToolInstaller_V0(string? jdkarchitectureoption, string? jdksourceoption) : base("JavaToolInstaller@0") | |
{ | |
JdkArchitectureOption = jdkarchitectureoption; | |
JdkSourceOption = jdksourceoption; | |
} | |
/// <summary> | |
/// JDK version | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSpec | |
{ | |
get => GetString("versionSpec"); | |
init => SetProperty("versionSpec", value); | |
} | |
/// <summary> | |
/// JDK architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
/// <summary> | |
/// JDK source | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkSourceOption | |
{ | |
get => GetString("jdkSourceOption"); | |
init => SetProperty("jdkSourceOption", value); | |
} | |
/// <summary> | |
/// JDK file | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkFile | |
{ | |
get => GetString("jdkFile"); | |
init => SetProperty("jdkFile", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceManagerEndpoint | |
{ | |
get => GetString("azureResourceManagerEndpoint"); | |
init => SetProperty("azureResourceManagerEndpoint", value); | |
} | |
/// <summary> | |
/// Storage account name | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureStorageAccountName | |
{ | |
get => GetString("azureStorageAccountName"); | |
init => SetProperty("azureStorageAccountName", value); | |
} | |
/// <summary> | |
/// Container name | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerName | |
{ | |
get => GetString("azureContainerName"); | |
init => SetProperty("azureContainerName", value); | |
} | |
/// <summary> | |
/// Common virtual path | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureCommonVirtualFile | |
{ | |
get => GetString("azureCommonVirtualFile"); | |
init => SetProperty("azureCommonVirtualFile", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkDestinationDirectory | |
{ | |
get => GetString("jdkDestinationDirectory"); | |
init => SetProperty("jdkDestinationDirectory", value); | |
} | |
/// <summary> | |
/// Resource Group name | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroupName | |
{ | |
get => GetString("azureResourceGroupName"); | |
init => SetProperty("azureResourceGroupName", value); | |
} | |
/// <summary> | |
/// Clean destination directory | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanDestinationDirectory | |
{ | |
get => GetBool("cleanDestinationDirectory", false); | |
init => SetProperty("cleanDestinationDirectory", value); | |
} | |
/// <summary> | |
/// Create directory for extracting | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateExtractDirectory | |
{ | |
get => GetBool("createExtractDirectory", false); | |
init => SetProperty("createExtractDirectory", value); | |
} | |
} | |
/// <summary> | |
/// <c>Chef@1</c>: | |
/// Chef | |
/// Deploy to Chef environments by editing environment attributes | |
/// </summary> | |
public record Chef_V1 : AzureDevOpsTask | |
{ | |
public Chef_V1(string? connectedservicename, string? environment, string? attributes) : base("Chef@1") | |
{ | |
ConnectedServiceName = connectedservicename; | |
Environment = environment; | |
Attributes = attributes; | |
} | |
/// <summary> | |
/// Chef Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("connectedServiceName"); | |
init => SetProperty("connectedServiceName", value); | |
} | |
/// <summary> | |
/// Environment | |
/// </summary> | |
[YamlIgnore] | |
public string? Environment | |
{ | |
get => GetString("Environment"); | |
init => SetProperty("Environment", value); | |
} | |
/// <summary> | |
/// Environment Attributes | |
/// </summary> | |
[YamlIgnore] | |
public string? Attributes | |
{ | |
get => GetString("Attributes"); | |
init => SetProperty("Attributes", value); | |
} | |
/// <summary> | |
/// Wait Time | |
/// </summary> | |
[YamlIgnore] | |
public string? ChefWaitTime | |
{ | |
get => GetString("chefWaitTime"); | |
init => SetProperty("chefWaitTime", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFunctionApp@2</c>: | |
/// Azure Functions Deploy | |
/// Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications | |
/// </summary> | |
public record AzureFunctionApp_V2 : AzureDevOpsTask | |
{ | |
public AzureFunctionApp_V2(string? connectedservicenamearm, string? apptype, string? appname) : base("AzureFunctionApp@2") | |
{ | |
ConnectedServiceNameARM = connectedservicenamearm; | |
AppType = apptype; | |
AppName = appname; | |
} | |
/// <summary> | |
/// Azure Resource Manager connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameARM | |
{ | |
get => GetString("connectedServiceNameARM"); | |
init => SetProperty("connectedServiceNameARM", value); | |
} | |
/// <summary> | |
/// App type | |
/// </summary> | |
[YamlIgnore] | |
public string? AppType | |
{ | |
get => GetString("appType"); | |
init => SetProperty("appType", value); | |
} | |
/// <summary> | |
/// Is Function App on Flex Consumption Plan | |
/// </summary> | |
[YamlIgnore] | |
public bool IsFlexConsumption | |
{ | |
get => GetBool("isFlexConsumption", false); | |
init => SetProperty("isFlexConsumption", value); | |
} | |
/// <summary> | |
/// Azure Functions App name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("appName"); | |
init => SetProperty("appName", value); | |
} | |
/// <summary> | |
/// Deploy to Slot or App Service Environment | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployToSlotOrASE | |
{ | |
get => GetBool("deployToSlotOrASE", false); | |
init => SetProperty("deployToSlotOrASE", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("slotName"); | |
init => SetProperty("slotName", value); | |
} | |
/// <summary> | |
/// Package or folder | |
/// </summary> | |
[YamlIgnore] | |
public string? Package | |
{ | |
get => GetString("package"); | |
init => SetProperty("package", value); | |
} | |
/// <summary> | |
/// Runtime stack | |
/// </summary> | |
[YamlIgnore] | |
public string? RuntimeStack | |
{ | |
get => GetString("runtimeStack"); | |
init => SetProperty("runtimeStack", value); | |
} | |
/// <summary> | |
/// App settings | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSettings | |
{ | |
get => GetString("appSettings"); | |
init => SetProperty("appSettings", value); | |
} | |
/// <summary> | |
/// Deployment method | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentMethod | |
{ | |
get => GetString("deploymentMethod"); | |
init => SetProperty("deploymentMethod", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFunctionApp@1</c>: | |
/// Azure Functions | |
/// Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications | |
/// </summary> | |
public record AzureFunctionApp_V1 : AzureDevOpsTask | |
{ | |
public AzureFunctionApp_V1(string? azuresubscription, string? apptype, string? appname) : base("AzureFunctionApp@1") | |
{ | |
AzureSubscription = azuresubscription; | |
AppType = apptype; | |
AppName = appname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// App type | |
/// </summary> | |
[YamlIgnore] | |
public string? AppType | |
{ | |
get => GetString("appType"); | |
init => SetProperty("appType", value); | |
} | |
/// <summary> | |
/// Azure Functions App name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("appName"); | |
init => SetProperty("appName", value); | |
} | |
/// <summary> | |
/// Deploy to Slot or App Service Environment | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployToSlotOrASE | |
{ | |
get => GetBool("deployToSlotOrASE", false); | |
init => SetProperty("deployToSlotOrASE", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("slotName"); | |
init => SetProperty("slotName", value); | |
} | |
/// <summary> | |
/// Package or folder | |
/// </summary> | |
[YamlIgnore] | |
public string? Package | |
{ | |
get => GetString("package"); | |
init => SetProperty("package", value); | |
} | |
/// <summary> | |
/// Runtime stack | |
/// </summary> | |
[YamlIgnore] | |
public string? RuntimeStack | |
{ | |
get => GetString("runtimeStack"); | |
init => SetProperty("runtimeStack", value); | |
} | |
/// <summary> | |
/// Startup command | |
/// </summary> | |
[YamlIgnore] | |
public string? StartUpCommand | |
{ | |
get => GetString("startUpCommand"); | |
init => SetProperty("startUpCommand", value); | |
} | |
/// <summary> | |
/// Generate web.config parameters for Python, Node.js, Go and Java apps | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomWebConfig | |
{ | |
get => GetString("customWebConfig"); | |
init => SetProperty("customWebConfig", value); | |
} | |
/// <summary> | |
/// App settings | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSettings | |
{ | |
get => GetString("appSettings"); | |
init => SetProperty("appSettings", value); | |
} | |
/// <summary> | |
/// Configuration settings | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigurationStrings | |
{ | |
get => GetString("configurationStrings"); | |
init => SetProperty("configurationStrings", value); | |
} | |
/// <summary> | |
/// Deployment method | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentMethod | |
{ | |
get => GetString("deploymentMethod"); | |
init => SetProperty("deploymentMethod", value); | |
} | |
} | |
/// <summary> | |
/// <c>npmAuthenticate@0</c>: | |
/// npm authenticate (for task runners) | |
/// Don't use this task if you're also using the npm task. Provides npm credentials to an .npmrc file in your repository for the scope of the build. This enables npm task runners like gulp and Grunt to authenticate with private registries. | |
/// </summary> | |
public record NpmAuthenticate_V0 : AzureDevOpsTask | |
{ | |
public NpmAuthenticate_V0(string? workingfile) : base("npmAuthenticate@0") | |
{ | |
WorkingFile = workingfile; | |
} | |
/// <summary> | |
/// 'Azure DevOps' Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureDevOpsServiceConnection | |
{ | |
get => GetString("azureDevOpsServiceConnection"); | |
init => SetProperty("azureDevOpsServiceConnection", value); | |
} | |
/// <summary> | |
/// Azure Artifacts URL | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedUrl | |
{ | |
get => GetString("feedUrl"); | |
init => SetProperty("feedUrl", value); | |
} | |
/// <summary> | |
/// .npmrc file to authenticate | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingFile | |
{ | |
get => GetString("workingFile"); | |
init => SetProperty("workingFile", value); | |
} | |
/// <summary> | |
/// Credentials for registries outside this organization/collection | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomEndpoint | |
{ | |
get => GetString("customEndpoint"); | |
init => SetProperty("customEndpoint", value); | |
} | |
} | |
/// <summary> | |
/// <c>MSBuild@1</c>: | |
/// MSBuild | |
/// Build with MSBuild | |
/// </summary> | |
public record MSBuild_V1 : AzureDevOpsTask | |
{ | |
public MSBuild_V1() : base("MSBuild@1") | |
{ | |
} | |
/// <summary> | |
/// Project | |
/// </summary> | |
[YamlIgnore] | |
public string? Solution | |
{ | |
get => GetString("solution"); | |
init => SetProperty("solution", value); | |
} | |
/// <summary> | |
/// MSBuild | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildLocationMethod | |
{ | |
get => GetString("msbuildLocationMethod"); | |
init => SetProperty("msbuildLocationMethod", value); | |
} | |
/// <summary> | |
/// MSBuild Version | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildVersion | |
{ | |
get => GetString("msbuildVersion"); | |
init => SetProperty("msbuildVersion", value); | |
} | |
/// <summary> | |
/// MSBuild Architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildArchitecture | |
{ | |
get => GetString("msbuildArchitecture"); | |
init => SetProperty("msbuildArchitecture", value); | |
} | |
/// <summary> | |
/// Path to MSBuild | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildLocation | |
{ | |
get => GetString("msbuildLocation"); | |
init => SetProperty("msbuildLocation", value); | |
} | |
/// <summary> | |
/// Platform | |
/// </summary> | |
[YamlIgnore] | |
public string? Platform | |
{ | |
get => GetString("platform"); | |
init => SetProperty("platform", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// MSBuild Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildArguments | |
{ | |
get => GetString("msbuildArguments"); | |
init => SetProperty("msbuildArguments", value); | |
} | |
/// <summary> | |
/// Clean | |
/// </summary> | |
[YamlIgnore] | |
public bool Clean | |
{ | |
get => GetBool("clean", false); | |
init => SetProperty("clean", value); | |
} | |
/// <summary> | |
/// Build in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool MaximumCpuCount | |
{ | |
get => GetBool("maximumCpuCount", false); | |
init => SetProperty("maximumCpuCount", value); | |
} | |
/// <summary> | |
/// Restore NuGet Packages | |
/// </summary> | |
[YamlIgnore] | |
public bool RestoreNugetPackages | |
{ | |
get => GetBool("restoreNugetPackages", false); | |
init => SetProperty("restoreNugetPackages", value); | |
} | |
/// <summary> | |
/// Record Project Details | |
/// </summary> | |
[YamlIgnore] | |
public bool LogProjectEvents | |
{ | |
get => GetBool("logProjectEvents", false); | |
init => SetProperty("logProjectEvents", value); | |
} | |
/// <summary> | |
/// Create Log File | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateLogFile | |
{ | |
get => GetBool("createLogFile", false); | |
init => SetProperty("createLogFile", value); | |
} | |
/// <summary> | |
/// Log File Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? LogFileVerbosity | |
{ | |
get => GetString("logFileVerbosity"); | |
init => SetProperty("logFileVerbosity", value); | |
} | |
} | |
/// <summary> | |
/// <c>PackerBuild@0</c>: | |
/// Build machine image | |
/// Build a machine image using Packer, which may be used for Azure Virtual machine scale set deployment | |
/// </summary> | |
public record PackerBuild_V0 : AzureDevOpsTask | |
{ | |
public PackerBuild_V0(string? connectedservicename, string? location, string? storageaccountname, string? azureresourcegroup, string? packagepath, string? deployscriptpath) : base("PackerBuild@0") | |
{ | |
ConnectedServiceName = connectedservicename; | |
Location = location; | |
StorageAccountName = storageaccountname; | |
AzureResourceGroup = azureresourcegroup; | |
PackagePath = packagepath; | |
DeployScriptPath = deployscriptpath; | |
} | |
/// <summary> | |
/// Packer template | |
/// </summary> | |
[YamlIgnore] | |
public string? TemplateType | |
{ | |
get => GetString("templateType"); | |
init => SetProperty("templateType", value); | |
} | |
/// <summary> | |
/// Packer template location | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomTemplateLocation | |
{ | |
get => GetString("customTemplateLocation"); | |
init => SetProperty("customTemplateLocation", value); | |
} | |
/// <summary> | |
/// Template parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomTemplateParameters | |
{ | |
get => GetString("customTemplateParameters"); | |
init => SetProperty("customTemplateParameters", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("ConnectedServiceName"); | |
init => SetProperty("ConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Storage location | |
/// </summary> | |
[YamlIgnore] | |
public string? Location | |
{ | |
get => GetString("location"); | |
init => SetProperty("location", value); | |
} | |
/// <summary> | |
/// Storage account | |
/// </summary> | |
[YamlIgnore] | |
public string? StorageAccountName | |
{ | |
get => GetString("storageAccountName"); | |
init => SetProperty("storageAccountName", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroup | |
{ | |
get => GetString("azureResourceGroup"); | |
init => SetProperty("azureResourceGroup", value); | |
} | |
/// <summary> | |
/// Base image source | |
/// </summary> | |
[YamlIgnore] | |
public string? BaseImageSource | |
{ | |
get => GetString("baseImageSource"); | |
init => SetProperty("baseImageSource", value); | |
} | |
/// <summary> | |
/// Base image | |
/// </summary> | |
[YamlIgnore] | |
public string? BaseImage | |
{ | |
get => GetString("baseImage"); | |
init => SetProperty("baseImage", value); | |
} | |
/// <summary> | |
/// Base image URL | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomImageUrl | |
{ | |
get => GetString("customImageUrl"); | |
init => SetProperty("customImageUrl", value); | |
} | |
/// <summary> | |
/// Base image OS | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomImageOSType | |
{ | |
get => GetString("customImageOSType"); | |
init => SetProperty("customImageOSType", value); | |
} | |
/// <summary> | |
/// Deployment Package | |
/// </summary> | |
[YamlIgnore] | |
public string? PackagePath | |
{ | |
get => GetString("packagePath"); | |
init => SetProperty("packagePath", value); | |
} | |
/// <summary> | |
/// Deployment script | |
/// </summary> | |
[YamlIgnore] | |
public string? DeployScriptPath | |
{ | |
get => GetString("deployScriptPath"); | |
init => SetProperty("deployScriptPath", value); | |
} | |
/// <summary> | |
/// Deployment script arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? DeployScriptArguments | |
{ | |
get => GetString("deployScriptArguments"); | |
init => SetProperty("deployScriptArguments", value); | |
} | |
/// <summary> | |
/// Additional Builder parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalBuilderParameters | |
{ | |
get => GetString("additionalBuilderParameters"); | |
init => SetProperty("additionalBuilderParameters", value); | |
} | |
/// <summary> | |
/// Skip temporary file cleanup during deprovision | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipTempFileCleanupDuringVMDeprovision | |
{ | |
get => GetBool("skipTempFileCleanupDuringVMDeprovision", false); | |
init => SetProperty("skipTempFileCleanupDuringVMDeprovision", value); | |
} | |
/// <summary> | |
/// Image URL | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageUri | |
{ | |
get => GetString("imageUri"); | |
init => SetProperty("imageUri", value); | |
} | |
} | |
/// <summary> | |
/// <c>PackerBuild@1</c>: | |
/// Build machine image | |
/// Build a machine image using Packer, which may be used for Azure Virtual machine scale set deployment | |
/// </summary> | |
public record PackerBuild_V1 : AzureDevOpsTask | |
{ | |
public PackerBuild_V1(string? connectedservicename, string? location, string? storageaccountname, string? azureresourcegroup, string? packagepath, string? deployscriptpath) : base("PackerBuild@1") | |
{ | |
ConnectedServiceName = connectedservicename; | |
Location = location; | |
StorageAccountName = storageaccountname; | |
AzureResourceGroup = azureresourcegroup; | |
PackagePath = packagepath; | |
DeployScriptPath = deployscriptpath; | |
} | |
/// <summary> | |
/// Packer template | |
/// </summary> | |
[YamlIgnore] | |
public string? TemplateType | |
{ | |
get => GetString("templateType"); | |
init => SetProperty("templateType", value); | |
} | |
/// <summary> | |
/// Packer template location | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomTemplateLocation | |
{ | |
get => GetString("customTemplateLocation"); | |
init => SetProperty("customTemplateLocation", value); | |
} | |
/// <summary> | |
/// Template parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomTemplateParameters | |
{ | |
get => GetString("customTemplateParameters"); | |
init => SetProperty("customTemplateParameters", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("ConnectedServiceName"); | |
init => SetProperty("ConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Managed VM disk image | |
/// </summary> | |
[YamlIgnore] | |
public bool IsManagedImage | |
{ | |
get => GetBool("isManagedImage", false); | |
init => SetProperty("isManagedImage", value); | |
} | |
/// <summary> | |
/// Managed VM Disk Image Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ManagedImageName | |
{ | |
get => GetString("managedImageName"); | |
init => SetProperty("managedImageName", value); | |
} | |
/// <summary> | |
/// Storage location | |
/// </summary> | |
[YamlIgnore] | |
public string? Location | |
{ | |
get => GetString("location"); | |
init => SetProperty("location", value); | |
} | |
/// <summary> | |
/// Storage account | |
/// </summary> | |
[YamlIgnore] | |
public string? StorageAccountName | |
{ | |
get => GetString("storageAccountName"); | |
init => SetProperty("storageAccountName", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroup | |
{ | |
get => GetString("azureResourceGroup"); | |
init => SetProperty("azureResourceGroup", value); | |
} | |
/// <summary> | |
/// Base image source | |
/// </summary> | |
[YamlIgnore] | |
public string? BaseImageSource | |
{ | |
get => GetString("baseImageSource"); | |
init => SetProperty("baseImageSource", value); | |
} | |
/// <summary> | |
/// Base image | |
/// </summary> | |
[YamlIgnore] | |
public string? BaseImage | |
{ | |
get => GetString("baseImage"); | |
init => SetProperty("baseImage", value); | |
} | |
/// <summary> | |
/// Base image URL | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomImageUrl | |
{ | |
get => GetString("customImageUrl"); | |
init => SetProperty("customImageUrl", value); | |
} | |
/// <summary> | |
/// Base image OS | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomImageOSType | |
{ | |
get => GetString("customImageOSType"); | |
init => SetProperty("customImageOSType", value); | |
} | |
/// <summary> | |
/// Deployment Package | |
/// </summary> | |
[YamlIgnore] | |
public string? PackagePath | |
{ | |
get => GetString("packagePath"); | |
init => SetProperty("packagePath", value); | |
} | |
/// <summary> | |
/// Deployment script | |
/// </summary> | |
[YamlIgnore] | |
public string? DeployScriptPath | |
{ | |
get => GetString("deployScriptPath"); | |
init => SetProperty("deployScriptPath", value); | |
} | |
/// <summary> | |
/// Deployment script arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? DeployScriptArguments | |
{ | |
get => GetString("deployScriptArguments"); | |
init => SetProperty("deployScriptArguments", value); | |
} | |
/// <summary> | |
/// Additional Builder parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalBuilderParameters | |
{ | |
get => GetString("additionalBuilderParameters"); | |
init => SetProperty("additionalBuilderParameters", value); | |
} | |
/// <summary> | |
/// Skip temporary file cleanup during deprovision | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipTempFileCleanupDuringVMDeprovision | |
{ | |
get => GetBool("skipTempFileCleanupDuringVMDeprovision", false); | |
init => SetProperty("skipTempFileCleanupDuringVMDeprovision", value); | |
} | |
/// <summary> | |
/// Packer Version | |
/// </summary> | |
[YamlIgnore] | |
public string? PackerVersion | |
{ | |
get => GetString("packerVersion"); | |
init => SetProperty("packerVersion", value); | |
} | |
/// <summary> | |
/// Image URL or Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageUri | |
{ | |
get => GetString("imageUri"); | |
init => SetProperty("imageUri", value); | |
} | |
/// <summary> | |
/// Azure Resource Id | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageId | |
{ | |
get => GetString("imageId"); | |
init => SetProperty("imageId", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGetPackager@0</c>: | |
/// NuGet packager | |
/// Deprecated: use the “NuGet” task instead. It works with the new Tool Installer framework so you can easily use new versions of NuGet without waiting for a task update, provides better support for authenticated feeds outside this organization/collection, and uses NuGet 4 by default. | |
/// </summary> | |
public record NuGetPackager_V0 : AzureDevOpsTask | |
{ | |
public NuGetPackager_V0() : base("NuGetPackager@0") | |
{ | |
} | |
/// <summary> | |
/// Path to csproj or nuspec file(s) to pack | |
/// </summary> | |
[YamlIgnore] | |
public string? SearchPattern | |
{ | |
get => GetString("searchPattern"); | |
init => SetProperty("searchPattern", value); | |
} | |
/// <summary> | |
/// Package Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? Outputdir | |
{ | |
get => GetString("outputdir"); | |
init => SetProperty("outputdir", value); | |
} | |
/// <summary> | |
/// Include referenced projects | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeReferencedProjects | |
{ | |
get => GetBool("includeReferencedProjects", false); | |
init => SetProperty("includeReferencedProjects", value); | |
} | |
/// <summary> | |
/// Automatic package versioning | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionByBuild | |
{ | |
get => GetString("versionByBuild"); | |
init => SetProperty("versionByBuild", value); | |
} | |
/// <summary> | |
/// Environment variable | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionEnvVar | |
{ | |
get => GetString("versionEnvVar"); | |
init => SetProperty("versionEnvVar", value); | |
} | |
/// <summary> | |
/// Major | |
/// </summary> | |
[YamlIgnore] | |
public string? RequestedMajorVersion | |
{ | |
get => GetString("requestedMajorVersion"); | |
init => SetProperty("requestedMajorVersion", value); | |
} | |
/// <summary> | |
/// Minor | |
/// </summary> | |
[YamlIgnore] | |
public string? RequestedMinorVersion | |
{ | |
get => GetString("requestedMinorVersion"); | |
init => SetProperty("requestedMinorVersion", value); | |
} | |
/// <summary> | |
/// Patch | |
/// </summary> | |
[YamlIgnore] | |
public string? RequestedPatchVersion | |
{ | |
get => GetString("requestedPatchVersion"); | |
init => SetProperty("requestedPatchVersion", value); | |
} | |
/// <summary> | |
/// Configuration to Package | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigurationToPack | |
{ | |
get => GetString("configurationToPack"); | |
init => SetProperty("configurationToPack", value); | |
} | |
/// <summary> | |
/// Additional build properties | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildProperties | |
{ | |
get => GetString("buildProperties"); | |
init => SetProperty("buildProperties", value); | |
} | |
/// <summary> | |
/// NuGet Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetAdditionalArgs | |
{ | |
get => GetString("nuGetAdditionalArgs"); | |
init => SetProperty("nuGetAdditionalArgs", value); | |
} | |
/// <summary> | |
/// Path to NuGet.exe | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetPath | |
{ | |
get => GetString("nuGetPath"); | |
init => SetProperty("nuGetPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureAppConfigurationSnapshot@1</c>: | |
/// Azure App Configuration Snapshot | |
/// Create a snapshot in an Azure App Configuration instance | |
/// </summary> | |
public record AzureAppConfigurationSnapshot_V1 : AzureDevOpsTask | |
{ | |
public AzureAppConfigurationSnapshot_V1(string? azuresubscription, string? appconfigurationendpoint, string? snapshotname, string? filters) : base("AzureAppConfigurationSnapshot@1") | |
{ | |
AzureSubscription = azuresubscription; | |
AppConfigurationEndpoint = appconfigurationendpoint; | |
SnapshotName = snapshotname; | |
Filters = filters; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// App Configuration Endpoint | |
/// </summary> | |
[YamlIgnore] | |
public string? AppConfigurationEndpoint | |
{ | |
get => GetString("AppConfigurationEndpoint"); | |
init => SetProperty("AppConfigurationEndpoint", value); | |
} | |
/// <summary> | |
/// Snapshot Name | |
/// </summary> | |
[YamlIgnore] | |
public string? SnapshotName | |
{ | |
get => GetString("SnapshotName"); | |
init => SetProperty("SnapshotName", value); | |
} | |
/// <summary> | |
/// Composition Type | |
/// </summary> | |
[YamlIgnore] | |
public string? CompositionType | |
{ | |
get => GetString("CompositionType"); | |
init => SetProperty("CompositionType", value); | |
} | |
/// <summary> | |
/// Filters for key-values | |
/// </summary> | |
[YamlIgnore] | |
public string? Filters | |
{ | |
get => GetString("Filters"); | |
init => SetProperty("Filters", value); | |
} | |
/// <summary> | |
/// Days to retain archived snapshot | |
/// </summary> | |
[YamlIgnore] | |
public int? RetentionPeriod | |
{ | |
get => GetInt("RetentionPeriod"); | |
init => SetProperty("RetentionPeriod", value); | |
} | |
/// <summary> | |
/// Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? Tags | |
{ | |
get => GetString("Tags"); | |
init => SetProperty("Tags", value); | |
} | |
} | |
/// <summary> | |
/// <c>DuffleInstaller@0</c>: | |
/// Duffle tool installer | |
/// Install a specified version of Duffle for installing and managing CNAB bundles | |
/// </summary> | |
public record DuffleInstaller_V0 : AzureDevOpsTask | |
{ | |
public DuffleInstaller_V0() : base("DuffleInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Check for latest version | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckLatestVersion | |
{ | |
get => GetBool("checkLatestVersion", false); | |
init => SetProperty("checkLatestVersion", value); | |
} | |
} | |
/// <summary> | |
/// <c>ServiceFabricUpdateAppVersions@1</c>: | |
/// Update Service Fabric App Versions | |
/// Automatically updates the versions of a packaged Service Fabric application. | |
/// </summary> | |
public record ServiceFabricUpdateAppVersions_V1 : AzureDevOpsTask | |
{ | |
public ServiceFabricUpdateAppVersions_V1(string? applicationpackagepath) : base("ServiceFabricUpdateAppVersions@1") | |
{ | |
ApplicationPackagePath = applicationpackagepath; | |
} | |
/// <summary> | |
/// Application Package | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationPackagePath | |
{ | |
get => GetString("applicationPackagePath"); | |
init => SetProperty("applicationPackagePath", value); | |
} | |
/// <summary> | |
/// Version Value | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSuffix | |
{ | |
get => GetString("versionSuffix"); | |
init => SetProperty("versionSuffix", value); | |
} | |
/// <summary> | |
/// Version Behavior | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionBehavior | |
{ | |
get => GetString("versionBehavior"); | |
init => SetProperty("versionBehavior", value); | |
} | |
/// <summary> | |
/// Update only if changed | |
/// </summary> | |
[YamlIgnore] | |
public bool UpdateOnlyChanged | |
{ | |
get => GetBool("updateOnlyChanged", false); | |
init => SetProperty("updateOnlyChanged", value); | |
} | |
/// <summary> | |
/// Package Artifact Name | |
/// </summary> | |
[YamlIgnore] | |
public string? PkgArtifactName | |
{ | |
get => GetString("pkgArtifactName"); | |
init => SetProperty("pkgArtifactName", value); | |
} | |
/// <summary> | |
/// Log all changes | |
/// </summary> | |
[YamlIgnore] | |
public bool LogAllChanges | |
{ | |
get => GetBool("logAllChanges", false); | |
init => SetProperty("logAllChanges", value); | |
} | |
/// <summary> | |
/// Compare against | |
/// </summary> | |
[YamlIgnore] | |
public string? CompareType | |
{ | |
get => GetString("compareType"); | |
init => SetProperty("compareType", value); | |
} | |
/// <summary> | |
/// Build Number | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildNumber | |
{ | |
get => GetString("buildNumber"); | |
init => SetProperty("buildNumber", value); | |
} | |
} | |
/// <summary> | |
/// <c>ServiceFabricUpdateManifests@2</c>: | |
/// Update Service Fabric manifests | |
/// Automatically update portions of application and service manifests in a packaged Azure Service Fabric application | |
/// </summary> | |
public record ServiceFabricUpdateManifests_V2 : AzureDevOpsTask | |
{ | |
public ServiceFabricUpdateManifests_V2(string? applicationpackagepath) : base("ServiceFabricUpdateManifests@2") | |
{ | |
ApplicationPackagePath = applicationpackagepath; | |
} | |
/// <summary> | |
/// Update Type | |
/// </summary> | |
[YamlIgnore] | |
public string? UpdateType | |
{ | |
get => GetString("updateType"); | |
init => SetProperty("updateType", value); | |
} | |
/// <summary> | |
/// Application Package | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationPackagePath | |
{ | |
get => GetString("applicationPackagePath"); | |
init => SetProperty("applicationPackagePath", value); | |
} | |
/// <summary> | |
/// Version Value | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSuffix | |
{ | |
get => GetString("versionSuffix"); | |
init => SetProperty("versionSuffix", value); | |
} | |
/// <summary> | |
/// Version Behavior | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionBehavior | |
{ | |
get => GetString("versionBehavior"); | |
init => SetProperty("versionBehavior", value); | |
} | |
/// <summary> | |
/// Update only if changed | |
/// </summary> | |
[YamlIgnore] | |
public bool UpdateOnlyChanged | |
{ | |
get => GetBool("updateOnlyChanged", false); | |
init => SetProperty("updateOnlyChanged", value); | |
} | |
/// <summary> | |
/// Package Artifact Name | |
/// </summary> | |
[YamlIgnore] | |
public string? PkgArtifactName | |
{ | |
get => GetString("pkgArtifactName"); | |
init => SetProperty("pkgArtifactName", value); | |
} | |
/// <summary> | |
/// Log all changes | |
/// </summary> | |
[YamlIgnore] | |
public bool LogAllChanges | |
{ | |
get => GetBool("logAllChanges", false); | |
init => SetProperty("logAllChanges", value); | |
} | |
/// <summary> | |
/// Compare against | |
/// </summary> | |
[YamlIgnore] | |
public string? CompareType | |
{ | |
get => GetString("compareType"); | |
init => SetProperty("compareType", value); | |
} | |
/// <summary> | |
/// Build Number | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildNumber | |
{ | |
get => GetString("buildNumber"); | |
init => SetProperty("buildNumber", value); | |
} | |
/// <summary> | |
/// Overwrite Existing Package Artifact | |
/// </summary> | |
[YamlIgnore] | |
public bool OverwriteExistingPkgArtifact | |
{ | |
get => GetBool("overwriteExistingPkgArtifact", false); | |
init => SetProperty("overwriteExistingPkgArtifact", value); | |
} | |
/// <summary> | |
/// Image Names Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageNamesPath | |
{ | |
get => GetString("imageNamesPath"); | |
init => SetProperty("imageNamesPath", value); | |
} | |
/// <summary> | |
/// Image Digests Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageDigestsPath | |
{ | |
get => GetString("imageDigestsPath"); | |
init => SetProperty("imageDigestsPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureMonitor@1</c>: | |
/// Query Azure Monitor alerts | |
/// Observe the configured Azure Monitor rules for active alerts | |
/// </summary> | |
public record AzureMonitor_V1 : AzureDevOpsTask | |
{ | |
public AzureMonitor_V1(string? connectedservicenamearm, string? resourcegroupname) : base("AzureMonitor@1") | |
{ | |
ConnectedServiceNameARM = connectedservicenamearm; | |
ResourceGroupName = resourcegroupname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameARM | |
{ | |
get => GetString("connectedServiceNameARM"); | |
init => SetProperty("connectedServiceNameARM", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Filter type | |
/// </summary> | |
[YamlIgnore] | |
public string? FilterType | |
{ | |
get => GetString("filterType"); | |
init => SetProperty("filterType", value); | |
} | |
/// <summary> | |
/// Resource | |
/// </summary> | |
[YamlIgnore] | |
public string? Resource | |
{ | |
get => GetString("resource"); | |
init => SetProperty("resource", value); | |
} | |
/// <summary> | |
/// Alert rule | |
/// </summary> | |
[YamlIgnore] | |
public string? AlertRule | |
{ | |
get => GetString("alertRule"); | |
init => SetProperty("alertRule", value); | |
} | |
/// <summary> | |
/// Severity | |
/// </summary> | |
[YamlIgnore] | |
public string? Severity | |
{ | |
get => GetString("severity"); | |
init => SetProperty("severity", value); | |
} | |
/// <summary> | |
/// Time range | |
/// </summary> | |
[YamlIgnore] | |
public string? TimeRange | |
{ | |
get => GetString("timeRange"); | |
init => SetProperty("timeRange", value); | |
} | |
/// <summary> | |
/// Alert state | |
/// </summary> | |
[YamlIgnore] | |
public string? AlertState | |
{ | |
get => GetString("alertState"); | |
init => SetProperty("alertState", value); | |
} | |
/// <summary> | |
/// Monitor condition | |
/// </summary> | |
[YamlIgnore] | |
public string? MonitorCondition | |
{ | |
get => GetString("monitorCondition"); | |
init => SetProperty("monitorCondition", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureMonitor@0</c>: | |
/// Query Classic Azure Monitor alerts | |
/// Observe the configured classic Azure Monitor rules for active alerts | |
/// </summary> | |
public record AzureMonitor_V0 : AzureDevOpsTask | |
{ | |
public AzureMonitor_V0(string? connectedservicenamearm, string? resourcegroupname, string? resourcename, string? alertrules) : base("AzureMonitor@0") | |
{ | |
ConnectedServiceNameARM = connectedservicenamearm; | |
ResourceGroupName = resourcegroupname; | |
ResourceName = resourcename; | |
AlertRules = alertrules; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameARM | |
{ | |
get => GetString("connectedServiceNameARM"); | |
init => SetProperty("connectedServiceNameARM", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Resource type | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceType | |
{ | |
get => GetString("ResourceType"); | |
init => SetProperty("ResourceType", value); | |
} | |
/// <summary> | |
/// Resource name | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceName | |
{ | |
get => GetString("resourceName"); | |
init => SetProperty("resourceName", value); | |
} | |
/// <summary> | |
/// Alert rules | |
/// </summary> | |
[YamlIgnore] | |
public string? AlertRules | |
{ | |
get => GetString("alertRules"); | |
init => SetProperty("alertRules", value); | |
} | |
} | |
/// <summary> | |
/// <c>Notation@0</c>: | |
/// Notation | |
/// Azure Pipepine Task for setting up Notation CLI, sign and verify with Notation | |
/// </summary> | |
public record Notation_V0 : AzureDevOpsTask | |
{ | |
public Notation_V0() : base("Notation@0") | |
{ | |
} | |
/// <summary> | |
/// Command to run | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Custom Version | |
/// </summary> | |
[YamlIgnore] | |
public bool IsCustomVersion | |
{ | |
get => GetBool("isCustomVersion", false); | |
init => SetProperty("isCustomVersion", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Download URL | |
/// </summary> | |
[YamlIgnore] | |
public string? Url | |
{ | |
get => GetString("url"); | |
init => SetProperty("url", value); | |
} | |
/// <summary> | |
/// Checksum | |
/// </summary> | |
[YamlIgnore] | |
public string? Checksum | |
{ | |
get => GetString("checksum"); | |
init => SetProperty("checksum", value); | |
} | |
/// <summary> | |
/// Artifact references | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactRefs | |
{ | |
get => GetString("artifactRefs"); | |
init => SetProperty("artifactRefs", value); | |
} | |
/// <summary> | |
/// Signature Format | |
/// </summary> | |
[YamlIgnore] | |
public string? SignatureFormat | |
{ | |
get => GetString("signatureFormat"); | |
init => SetProperty("signatureFormat", value); | |
} | |
/// <summary> | |
/// [Experimental] Allow Referrers API | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowReferrersAPI | |
{ | |
get => GetBool("allowReferrersAPI", false); | |
init => SetProperty("allowReferrersAPI", value); | |
} | |
/// <summary> | |
/// Plugin | |
/// </summary> | |
[YamlIgnore] | |
public string? Plugin | |
{ | |
get => GetString("plugin"); | |
init => SetProperty("plugin", value); | |
} | |
/// <summary> | |
/// Plugin Version | |
/// </summary> | |
[YamlIgnore] | |
public string? AkvPluginVersion | |
{ | |
get => GetString("akvPluginVersion"); | |
init => SetProperty("akvPluginVersion", value); | |
} | |
/// <summary> | |
/// Azure Key Vault service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzurekvServiceConection | |
{ | |
get => GetString("azurekvServiceConection"); | |
init => SetProperty("azurekvServiceConection", value); | |
} | |
/// <summary> | |
/// Key ID | |
/// </summary> | |
[YamlIgnore] | |
public string? Keyid | |
{ | |
get => GetString("keyid"); | |
init => SetProperty("keyid", value); | |
} | |
/// <summary> | |
/// Certificate Bundle File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? CaCertBundle | |
{ | |
get => GetString("caCertBundle"); | |
init => SetProperty("caCertBundle", value); | |
} | |
/// <summary> | |
/// Self-signed Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool SelfSigned | |
{ | |
get => GetBool("selfSigned", false); | |
init => SetProperty("selfSigned", value); | |
} | |
/// <summary> | |
/// Timestamp URL | |
/// </summary> | |
[YamlIgnore] | |
public string? TimestampURL | |
{ | |
get => GetString("timestampURL"); | |
init => SetProperty("timestampURL", value); | |
} | |
/// <summary> | |
/// Timestamp Root Certificate | |
/// </summary> | |
[YamlIgnore] | |
public string? TimestampRootCert | |
{ | |
get => GetString("timestampRootCert"); | |
init => SetProperty("timestampRootCert", value); | |
} | |
/// <summary> | |
/// Trust Policy File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? TrustPolicy | |
{ | |
get => GetString("trustPolicy"); | |
init => SetProperty("trustPolicy", value); | |
} | |
/// <summary> | |
/// Trust Store Folder Path | |
/// </summary> | |
[YamlIgnore] | |
public string? TrustStore | |
{ | |
get => GetString("trustStore"); | |
init => SetProperty("trustStore", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureNLBManagement@1</c>: | |
/// Azure Network Load Balancer | |
/// Connect or disconnect an Azure virtual machine's network interface to a Load Balancer's back end address pool | |
/// </summary> | |
public record AzureNLBManagement_V1 : AzureDevOpsTask | |
{ | |
public AzureNLBManagement_V1(string? azuresubscription, string? resourcegroupname, string? loadbalancer, string? action) : base("AzureNLBManagement@1") | |
{ | |
AzureSubscription = azuresubscription; | |
ResourceGroupName = resourcegroupname; | |
LoadBalancer = loadbalancer; | |
Action = action; | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Load Balancer Name | |
/// </summary> | |
[YamlIgnore] | |
public string? LoadBalancer | |
{ | |
get => GetString("LoadBalancer"); | |
init => SetProperty("LoadBalancer", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("Action"); | |
init => SetProperty("Action", value); | |
} | |
} | |
/// <summary> | |
/// <c>ApacheJMeterLoadTest@1</c>: | |
/// Cloud-based Apache JMeter load test | |
/// Run an Apache JMeter load test in the cloud | |
/// </summary> | |
public record ApacheJMeterLoadTest_V1 : AzureDevOpsTask | |
{ | |
public ApacheJMeterLoadTest_V1(string? testdrop) : base("ApacheJMeterLoadTest@1") | |
{ | |
TestDrop = testdrop; | |
} | |
/// <summary> | |
/// Azure Pipelines Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("connectedServiceName"); | |
init => SetProperty("connectedServiceName", value); | |
} | |
/// <summary> | |
/// Apache JMeter test files folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TestDrop | |
{ | |
get => GetString("TestDrop"); | |
init => SetProperty("TestDrop", value); | |
} | |
/// <summary> | |
/// Apache JMeter file | |
/// </summary> | |
[YamlIgnore] | |
public string? LoadTest | |
{ | |
get => GetString("LoadTest"); | |
init => SetProperty("LoadTest", value); | |
} | |
/// <summary> | |
/// Agent Count | |
/// </summary> | |
[YamlIgnore] | |
public string? AgentCount | |
{ | |
get => GetString("agentCount"); | |
init => SetProperty("agentCount", value); | |
} | |
/// <summary> | |
/// Run Duration (sec) | |
/// </summary> | |
[YamlIgnore] | |
public string? RunDuration | |
{ | |
get => GetString("runDuration"); | |
init => SetProperty("runDuration", value); | |
} | |
/// <summary> | |
/// Load Location | |
/// </summary> | |
[YamlIgnore] | |
public string? GeoLocation | |
{ | |
get => GetString("geoLocation"); | |
init => SetProperty("geoLocation", value); | |
} | |
/// <summary> | |
/// Run load test using | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineType | |
{ | |
get => GetString("machineType"); | |
init => SetProperty("machineType", value); | |
} | |
} | |
/// <summary> | |
/// <c>DockerCompose@0</c>: | |
/// Docker Compose | |
/// Build, push or run multi-container Docker applications. Task can be used with Docker or Azure Container registry. | |
/// </summary> | |
public record DockerCompose_V0 : AzureDevOpsTask | |
{ | |
public DockerCompose_V0() : base("DockerCompose@0") | |
{ | |
} | |
/// <summary> | |
/// Container Registry Type | |
/// </summary> | |
[YamlIgnore] | |
public string? Containerregistrytype | |
{ | |
get => GetString("containerregistrytype"); | |
init => SetProperty("containerregistrytype", value); | |
} | |
/// <summary> | |
/// Docker Registry Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryEndpoint | |
{ | |
get => GetString("dockerRegistryEndpoint"); | |
init => SetProperty("dockerRegistryEndpoint", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("azureContainerRegistry"); | |
init => SetProperty("azureContainerRegistry", value); | |
} | |
/// <summary> | |
/// Docker Compose File | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposeFile | |
{ | |
get => GetString("dockerComposeFile"); | |
init => SetProperty("dockerComposeFile", value); | |
} | |
/// <summary> | |
/// Additional Docker Compose Files | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalDockerComposeFiles | |
{ | |
get => GetString("additionalDockerComposeFiles"); | |
init => SetProperty("additionalDockerComposeFiles", value); | |
} | |
/// <summary> | |
/// Environment Variables | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposeFileArgs | |
{ | |
get => GetString("dockerComposeFileArgs"); | |
init => SetProperty("dockerComposeFileArgs", value); | |
} | |
/// <summary> | |
/// Project Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ProjectName | |
{ | |
get => GetString("projectName"); | |
init => SetProperty("projectName", value); | |
} | |
/// <summary> | |
/// Qualify Image Names | |
/// </summary> | |
[YamlIgnore] | |
public bool QualifyImageNames | |
{ | |
get => GetBool("qualifyImageNames", false); | |
init => SetProperty("qualifyImageNames", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Additional Image Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalImageTags | |
{ | |
get => GetString("additionalImageTags"); | |
init => SetProperty("additionalImageTags", value); | |
} | |
/// <summary> | |
/// Include Source Tags | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeSourceTags | |
{ | |
get => GetBool("includeSourceTags", false); | |
init => SetProperty("includeSourceTags", value); | |
} | |
/// <summary> | |
/// Include Latest Tag | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeLatestTag | |
{ | |
get => GetBool("includeLatestTag", false); | |
init => SetProperty("includeLatestTag", value); | |
} | |
/// <summary> | |
/// Build Images | |
/// </summary> | |
[YamlIgnore] | |
public bool BuildImages | |
{ | |
get => GetBool("buildImages", false); | |
init => SetProperty("buildImages", value); | |
} | |
/// <summary> | |
/// Service Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceName | |
{ | |
get => GetString("serviceName"); | |
init => SetProperty("serviceName", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("containerName"); | |
init => SetProperty("containerName", value); | |
} | |
/// <summary> | |
/// Ports | |
/// </summary> | |
[YamlIgnore] | |
public string? Ports | |
{ | |
get => GetString("ports"); | |
init => SetProperty("ports", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Entry Point Override | |
/// </summary> | |
[YamlIgnore] | |
public string? Entrypoint | |
{ | |
get => GetString("entrypoint"); | |
init => SetProperty("entrypoint", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerCommand | |
{ | |
get => GetString("containerCommand"); | |
init => SetProperty("containerCommand", value); | |
} | |
/// <summary> | |
/// Run in Background | |
/// </summary> | |
[YamlIgnore] | |
public bool Detached | |
{ | |
get => GetBool("detached", false); | |
init => SetProperty("detached", value); | |
} | |
/// <summary> | |
/// Abort on Container Exit | |
/// </summary> | |
[YamlIgnore] | |
public bool AbortOnContainerExit | |
{ | |
get => GetBool("abortOnContainerExit", false); | |
init => SetProperty("abortOnContainerExit", value); | |
} | |
/// <summary> | |
/// Image Digest Compose File | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageDigestComposeFile | |
{ | |
get => GetString("imageDigestComposeFile"); | |
init => SetProperty("imageDigestComposeFile", value); | |
} | |
/// <summary> | |
/// Remove Build Options | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveBuildOptions | |
{ | |
get => GetBool("removeBuildOptions", false); | |
init => SetProperty("removeBuildOptions", value); | |
} | |
/// <summary> | |
/// Base Resolve Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? BaseResolveDirectory | |
{ | |
get => GetString("baseResolveDirectory"); | |
init => SetProperty("baseResolveDirectory", value); | |
} | |
/// <summary> | |
/// Output Docker Compose File | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputDockerComposeFile | |
{ | |
get => GetString("outputDockerComposeFile"); | |
init => SetProperty("outputDockerComposeFile", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposeCommand | |
{ | |
get => GetString("dockerComposeCommand"); | |
init => SetProperty("dockerComposeCommand", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Docker Host Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerHostEndpoint | |
{ | |
get => GetString("dockerHostEndpoint"); | |
init => SetProperty("dockerHostEndpoint", value); | |
} | |
/// <summary> | |
/// No-op if no Docker Compose File | |
/// </summary> | |
[YamlIgnore] | |
public bool NopIfNoDockerComposeFile | |
{ | |
get => GetBool("nopIfNoDockerComposeFile", false); | |
init => SetProperty("nopIfNoDockerComposeFile", value); | |
} | |
/// <summary> | |
/// Require Additional Docker Compose Files | |
/// </summary> | |
[YamlIgnore] | |
public bool RequireAdditionalDockerComposeFiles | |
{ | |
get => GetBool("requireAdditionalDockerComposeFiles", false); | |
init => SetProperty("requireAdditionalDockerComposeFiles", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? CurrentWorkingDirectory | |
{ | |
get => GetString("currentWorkingDirectory"); | |
init => SetProperty("currentWorkingDirectory", value); | |
} | |
/// <summary> | |
/// Docker Compose executable Path | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposePath | |
{ | |
get => GetString("dockerComposePath"); | |
init => SetProperty("dockerComposePath", value); | |
} | |
} | |
/// <summary> | |
/// <c>DockerCompose@1</c>: | |
/// Docker Compose | |
/// Build, push or run multi-container Docker applications. Task can be used with Docker or Azure Container registry. | |
/// </summary> | |
public record DockerCompose_V1 : AzureDevOpsTask | |
{ | |
public DockerCompose_V1() : base("DockerCompose@1") | |
{ | |
} | |
/// <summary> | |
/// Container Registry Type | |
/// </summary> | |
[YamlIgnore] | |
public string? Containerregistrytype | |
{ | |
get => GetString("containerregistrytype"); | |
init => SetProperty("containerregistrytype", value); | |
} | |
/// <summary> | |
/// Docker Registry Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryEndpoint | |
{ | |
get => GetString("dockerRegistryEndpoint"); | |
init => SetProperty("dockerRegistryEndpoint", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("azureContainerRegistry"); | |
init => SetProperty("azureContainerRegistry", value); | |
} | |
/// <summary> | |
/// Docker Compose File | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposeFile | |
{ | |
get => GetString("dockerComposeFile"); | |
init => SetProperty("dockerComposeFile", value); | |
} | |
/// <summary> | |
/// Additional Docker Compose Files | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalDockerComposeFiles | |
{ | |
get => GetString("additionalDockerComposeFiles"); | |
init => SetProperty("additionalDockerComposeFiles", value); | |
} | |
/// <summary> | |
/// Environment Variables | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposeFileArgs | |
{ | |
get => GetString("dockerComposeFileArgs"); | |
init => SetProperty("dockerComposeFileArgs", value); | |
} | |
/// <summary> | |
/// Project Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ProjectName | |
{ | |
get => GetString("projectName"); | |
init => SetProperty("projectName", value); | |
} | |
/// <summary> | |
/// Qualify Image Names | |
/// </summary> | |
[YamlIgnore] | |
public bool QualifyImageNames | |
{ | |
get => GetBool("qualifyImageNames", false); | |
init => SetProperty("qualifyImageNames", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Additional Image Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalImageTags | |
{ | |
get => GetString("additionalImageTags"); | |
init => SetProperty("additionalImageTags", value); | |
} | |
/// <summary> | |
/// Include Source Tags | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeSourceTags | |
{ | |
get => GetBool("includeSourceTags", false); | |
init => SetProperty("includeSourceTags", value); | |
} | |
/// <summary> | |
/// Include Latest Tag | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeLatestTag | |
{ | |
get => GetBool("includeLatestTag", false); | |
init => SetProperty("includeLatestTag", value); | |
} | |
/// <summary> | |
/// Build Images | |
/// </summary> | |
[YamlIgnore] | |
public bool BuildImages | |
{ | |
get => GetBool("buildImages", false); | |
init => SetProperty("buildImages", value); | |
} | |
/// <summary> | |
/// Service Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceName | |
{ | |
get => GetString("serviceName"); | |
init => SetProperty("serviceName", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("containerName"); | |
init => SetProperty("containerName", value); | |
} | |
/// <summary> | |
/// Ports | |
/// </summary> | |
[YamlIgnore] | |
public string? Ports | |
{ | |
get => GetString("ports"); | |
init => SetProperty("ports", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Entry Point Override | |
/// </summary> | |
[YamlIgnore] | |
public string? Entrypoint | |
{ | |
get => GetString("entrypoint"); | |
init => SetProperty("entrypoint", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerCommand | |
{ | |
get => GetString("containerCommand"); | |
init => SetProperty("containerCommand", value); | |
} | |
/// <summary> | |
/// Run in Background | |
/// </summary> | |
[YamlIgnore] | |
public bool Detached | |
{ | |
get => GetBool("detached", false); | |
init => SetProperty("detached", value); | |
} | |
/// <summary> | |
/// Abort on Container Exit | |
/// </summary> | |
[YamlIgnore] | |
public bool AbortOnContainerExit | |
{ | |
get => GetBool("abortOnContainerExit", false); | |
init => SetProperty("abortOnContainerExit", value); | |
} | |
/// <summary> | |
/// Image Digest Compose File | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageDigestComposeFile | |
{ | |
get => GetString("imageDigestComposeFile"); | |
init => SetProperty("imageDigestComposeFile", value); | |
} | |
/// <summary> | |
/// Remove Build Options | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveBuildOptions | |
{ | |
get => GetBool("removeBuildOptions", false); | |
init => SetProperty("removeBuildOptions", value); | |
} | |
/// <summary> | |
/// Base Resolve Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? BaseResolveDirectory | |
{ | |
get => GetString("baseResolveDirectory"); | |
init => SetProperty("baseResolveDirectory", value); | |
} | |
/// <summary> | |
/// Output Docker Compose File | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputDockerComposeFile | |
{ | |
get => GetString("outputDockerComposeFile"); | |
init => SetProperty("outputDockerComposeFile", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposeCommand | |
{ | |
get => GetString("dockerComposeCommand"); | |
init => SetProperty("dockerComposeCommand", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Docker Host Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerHostEndpoint | |
{ | |
get => GetString("dockerHostEndpoint"); | |
init => SetProperty("dockerHostEndpoint", value); | |
} | |
/// <summary> | |
/// No-op if no Docker Compose File | |
/// </summary> | |
[YamlIgnore] | |
public bool NopIfNoDockerComposeFile | |
{ | |
get => GetBool("nopIfNoDockerComposeFile", false); | |
init => SetProperty("nopIfNoDockerComposeFile", value); | |
} | |
/// <summary> | |
/// Require Additional Docker Compose Files | |
/// </summary> | |
[YamlIgnore] | |
public bool RequireAdditionalDockerComposeFiles | |
{ | |
get => GetBool("requireAdditionalDockerComposeFiles", false); | |
init => SetProperty("requireAdditionalDockerComposeFiles", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? CurrentWorkingDirectory | |
{ | |
get => GetString("currentWorkingDirectory"); | |
init => SetProperty("currentWorkingDirectory", value); | |
} | |
/// <summary> | |
/// Docker Compose executable Path | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposePath | |
{ | |
get => GetString("dockerComposePath"); | |
init => SetProperty("dockerComposePath", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureMonitorAlerts@0</c>: | |
/// Azure Monitor alerts (Deprecated) | |
/// Configure alerts on available metrics for an Azure resource (Deprecated) | |
/// </summary> | |
public record AzureMonitorAlerts_V0 : AzureDevOpsTask | |
{ | |
public AzureMonitorAlerts_V0(string? azuresubscription, string? resourcegroupname, string? resourcename, string? alertrules) : base("AzureMonitorAlerts@0") | |
{ | |
AzureSubscription = azuresubscription; | |
ResourceGroupName = resourcegroupname; | |
ResourceName = resourcename; | |
AlertRules = alertrules; | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Resource Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceType | |
{ | |
get => GetString("ResourceType"); | |
init => SetProperty("ResourceType", value); | |
} | |
/// <summary> | |
/// Resource name | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceName | |
{ | |
get => GetString("ResourceName"); | |
init => SetProperty("ResourceName", value); | |
} | |
/// <summary> | |
/// Alert rules | |
/// </summary> | |
[YamlIgnore] | |
public string? AlertRules | |
{ | |
get => GetString("AlertRules"); | |
init => SetProperty("AlertRules", value); | |
} | |
/// <summary> | |
/// Subscription owners, contributors and readers | |
/// </summary> | |
[YamlIgnore] | |
public bool NotifyServiceOwners | |
{ | |
get => GetBool("NotifyServiceOwners", false); | |
init => SetProperty("NotifyServiceOwners", value); | |
} | |
/// <summary> | |
/// Additional administrator emails | |
/// </summary> | |
[YamlIgnore] | |
public string? NotifyEmails | |
{ | |
get => GetString("NotifyEmails"); | |
init => SetProperty("NotifyEmails", value); | |
} | |
} | |
/// <summary> | |
/// <c>XamarinTestCloud@1</c>: | |
/// Xamarin Test Cloud | |
/// [Deprecated] Test mobile apps with Xamarin Test Cloud using Xamarin.UITest. Instead, use the 'App Center test' task. | |
/// </summary> | |
public record XamarinTestCloud_V1 : AzureDevOpsTask | |
{ | |
public XamarinTestCloud_V1(string? appfile, string? teamapikey, string? email, string? devices, string? testassemblydirectory) : base("XamarinTestCloud@1") | |
{ | |
AppFile = appfile; | |
TeamApiKey = teamapikey; | |
Email = email; | |
Devices = devices; | |
TestAssemblyDirectory = testassemblydirectory; | |
} | |
/// <summary> | |
/// App file | |
/// </summary> | |
[YamlIgnore] | |
public string? AppFile | |
{ | |
get => GetString("appFile"); | |
init => SetProperty("appFile", value); | |
} | |
/// <summary> | |
/// dSYM file (iOS only) | |
/// </summary> | |
[YamlIgnore] | |
public string? DsymFile | |
{ | |
get => GetString("dsymFile"); | |
init => SetProperty("dsymFile", value); | |
} | |
/// <summary> | |
/// Team API key | |
/// </summary> | |
[YamlIgnore] | |
public string? TeamApiKey | |
{ | |
get => GetString("teamApiKey"); | |
init => SetProperty("teamApiKey", value); | |
} | |
/// <summary> | |
/// User email | |
/// </summary> | |
[YamlIgnore] | |
public string? Email | |
{ | |
get => GetString("email"); | |
init => SetProperty("email", value); | |
} | |
/// <summary> | |
/// Devices | |
/// </summary> | |
[YamlIgnore] | |
public string? Devices | |
{ | |
get => GetString("devices"); | |
init => SetProperty("devices", value); | |
} | |
/// <summary> | |
/// Series | |
/// </summary> | |
[YamlIgnore] | |
public string? Series | |
{ | |
get => GetString("series"); | |
init => SetProperty("series", value); | |
} | |
/// <summary> | |
/// Test assembly directory | |
/// </summary> | |
[YamlIgnore] | |
public string? TestAssemblyDirectory | |
{ | |
get => GetString("testAssemblyDirectory"); | |
init => SetProperty("testAssemblyDirectory", value); | |
} | |
/// <summary> | |
/// Parallelization | |
/// </summary> | |
[YamlIgnore] | |
public string? ParallelizationOption | |
{ | |
get => GetString("parallelizationOption"); | |
init => SetProperty("parallelizationOption", value); | |
} | |
/// <summary> | |
/// System language | |
/// </summary> | |
[YamlIgnore] | |
public string? LocaleOption | |
{ | |
get => GetString("localeOption"); | |
init => SetProperty("localeOption", value); | |
} | |
/// <summary> | |
/// Other locale | |
/// </summary> | |
[YamlIgnore] | |
public string? UserDefinedLocale | |
{ | |
get => GetString("userDefinedLocale"); | |
init => SetProperty("userDefinedLocale", value); | |
} | |
/// <summary> | |
/// test-cloud.exe location | |
/// </summary> | |
[YamlIgnore] | |
public string? TestCloudFile | |
{ | |
get => GetString("testCloudFile"); | |
init => SetProperty("testCloudFile", value); | |
} | |
/// <summary> | |
/// Optional arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? OptionalArgs | |
{ | |
get => GetString("optionalArgs"); | |
init => SetProperty("optionalArgs", value); | |
} | |
/// <summary> | |
/// Publish results to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishNUnitResults | |
{ | |
get => GetBool("publishNUnitResults", false); | |
init => SetProperty("publishNUnitResults", value); | |
} | |
} | |
/// <summary> | |
/// <c>ServiceFabricDeploy@1</c>: | |
/// Service Fabric application deployment | |
/// Deploy an Azure Service Fabric application to a cluster | |
/// </summary> | |
public record ServiceFabricDeploy_V1 : AzureDevOpsTask | |
{ | |
public ServiceFabricDeploy_V1(string? applicationpackagepath, string? serviceconnectionname) : base("ServiceFabricDeploy@1") | |
{ | |
ApplicationPackagePath = applicationpackagepath; | |
ServiceConnectionName = serviceconnectionname; | |
} | |
/// <summary> | |
/// Application Package | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationPackagePath | |
{ | |
get => GetString("applicationPackagePath"); | |
init => SetProperty("applicationPackagePath", value); | |
} | |
/// <summary> | |
/// Cluster Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceConnectionName | |
{ | |
get => GetString("serviceConnectionName"); | |
init => SetProperty("serviceConnectionName", value); | |
} | |
/// <summary> | |
/// Publish Profile | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishProfilePath | |
{ | |
get => GetString("publishProfilePath"); | |
init => SetProperty("publishProfilePath", value); | |
} | |
/// <summary> | |
/// Application Parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationParameterPath | |
{ | |
get => GetString("applicationParameterPath"); | |
init => SetProperty("applicationParameterPath", value); | |
} | |
/// <summary> | |
/// Override Application Parameters | |
/// </summary> | |
[YamlIgnore] | |
public bool OverrideApplicationParameter | |
{ | |
get => GetBool("overrideApplicationParameter", false); | |
init => SetProperty("overrideApplicationParameter", value); | |
} | |
/// <summary> | |
/// Compress Package | |
/// </summary> | |
[YamlIgnore] | |
public bool CompressPackage | |
{ | |
get => GetBool("compressPackage", false); | |
init => SetProperty("compressPackage", value); | |
} | |
/// <summary> | |
/// CopyPackageTimeoutSec | |
/// </summary> | |
[YamlIgnore] | |
public string? CopyPackageTimeoutSec | |
{ | |
get => GetString("copyPackageTimeoutSec"); | |
init => SetProperty("copyPackageTimeoutSec", value); | |
} | |
/// <summary> | |
/// RegisterPackageTimeoutSec | |
/// </summary> | |
[YamlIgnore] | |
public string? RegisterPackageTimeoutSec | |
{ | |
get => GetString("registerPackageTimeoutSec"); | |
init => SetProperty("registerPackageTimeoutSec", value); | |
} | |
/// <summary> | |
/// Overwrite Behavior | |
/// </summary> | |
[YamlIgnore] | |
public string? OverwriteBehavior | |
{ | |
get => GetString("overwriteBehavior"); | |
init => SetProperty("overwriteBehavior", value); | |
} | |
/// <summary> | |
/// Skip upgrade for same Type and Version | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipUpgradeSameTypeAndVersion | |
{ | |
get => GetBool("skipUpgradeSameTypeAndVersion", false); | |
init => SetProperty("skipUpgradeSameTypeAndVersion", value); | |
} | |
/// <summary> | |
/// Skip package validation | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipPackageValidation | |
{ | |
get => GetBool("skipPackageValidation", false); | |
init => SetProperty("skipPackageValidation", value); | |
} | |
/// <summary> | |
/// Use Diff Package | |
/// </summary> | |
[YamlIgnore] | |
public bool UseDiffPackage | |
{ | |
get => GetBool("useDiffPackage", false); | |
init => SetProperty("useDiffPackage", value); | |
} | |
/// <summary> | |
/// Override All Publish Profile Upgrade Settings | |
/// </summary> | |
[YamlIgnore] | |
public bool OverridePublishProfileSettings | |
{ | |
get => GetBool("overridePublishProfileSettings", false); | |
init => SetProperty("overridePublishProfileSettings", value); | |
} | |
/// <summary> | |
/// Upgrade the Application | |
/// </summary> | |
[YamlIgnore] | |
public bool IsUpgrade | |
{ | |
get => GetBool("isUpgrade", false); | |
init => SetProperty("isUpgrade", value); | |
} | |
/// <summary> | |
/// Unregister Unused Versions | |
/// </summary> | |
[YamlIgnore] | |
public bool UnregisterUnusedVersions | |
{ | |
get => GetBool("unregisterUnusedVersions", false); | |
init => SetProperty("unregisterUnusedVersions", value); | |
} | |
/// <summary> | |
/// Upgrade Mode | |
/// </summary> | |
[YamlIgnore] | |
public string? UpgradeMode | |
{ | |
get => GetString("upgradeMode"); | |
init => SetProperty("upgradeMode", value); | |
} | |
/// <summary> | |
/// FailureAction | |
/// </summary> | |
[YamlIgnore] | |
public string? FailureAction | |
{ | |
get => GetString("FailureAction"); | |
init => SetProperty("FailureAction", value); | |
} | |
/// <summary> | |
/// UpgradeReplicaSetCheckTimeoutSec | |
/// </summary> | |
[YamlIgnore] | |
public string? UpgradeReplicaSetCheckTimeoutSec | |
{ | |
get => GetString("UpgradeReplicaSetCheckTimeoutSec"); | |
init => SetProperty("UpgradeReplicaSetCheckTimeoutSec", value); | |
} | |
/// <summary> | |
/// TimeoutSec | |
/// </summary> | |
[YamlIgnore] | |
public string? TimeoutSec | |
{ | |
get => GetString("TimeoutSec"); | |
init => SetProperty("TimeoutSec", value); | |
} | |
/// <summary> | |
/// ForceRestart | |
/// </summary> | |
[YamlIgnore] | |
public bool ForceRestart | |
{ | |
get => GetBool("ForceRestart", false); | |
init => SetProperty("ForceRestart", value); | |
} | |
/// <summary> | |
/// HealthCheckRetryTimeoutSec | |
/// </summary> | |
[YamlIgnore] | |
public string? HealthCheckRetryTimeoutSec | |
{ | |
get => GetString("HealthCheckRetryTimeoutSec"); | |
init => SetProperty("HealthCheckRetryTimeoutSec", value); | |
} | |
/// <summary> | |
/// HealthCheckWaitDurationSec | |
/// </summary> | |
[YamlIgnore] | |
public string? HealthCheckWaitDurationSec | |
{ | |
get => GetString("HealthCheckWaitDurationSec"); | |
init => SetProperty("HealthCheckWaitDurationSec", value); | |
} | |
/// <summary> | |
/// HealthCheckStableDurationSec | |
/// </summary> | |
[YamlIgnore] | |
public string? HealthCheckStableDurationSec | |
{ | |
get => GetString("HealthCheckStableDurationSec"); | |
init => SetProperty("HealthCheckStableDurationSec", value); | |
} | |
/// <summary> | |
/// UpgradeDomainTimeoutSec | |
/// </summary> | |
[YamlIgnore] | |
public string? UpgradeDomainTimeoutSec | |
{ | |
get => GetString("UpgradeDomainTimeoutSec"); | |
init => SetProperty("UpgradeDomainTimeoutSec", value); | |
} | |
/// <summary> | |
/// ConsiderWarningAsError | |
/// </summary> | |
[YamlIgnore] | |
public bool ConsiderWarningAsError | |
{ | |
get => GetBool("ConsiderWarningAsError", false); | |
init => SetProperty("ConsiderWarningAsError", value); | |
} | |
/// <summary> | |
/// DefaultServiceTypeHealthPolicy | |
/// </summary> | |
[YamlIgnore] | |
public string? DefaultServiceTypeHealthPolicy | |
{ | |
get => GetString("DefaultServiceTypeHealthPolicy"); | |
init => SetProperty("DefaultServiceTypeHealthPolicy", value); | |
} | |
/// <summary> | |
/// MaxPercentUnhealthyDeployedApplications | |
/// </summary> | |
[YamlIgnore] | |
public string? MaxPercentUnhealthyDeployedApplications | |
{ | |
get => GetString("MaxPercentUnhealthyDeployedApplications"); | |
init => SetProperty("MaxPercentUnhealthyDeployedApplications", value); | |
} | |
/// <summary> | |
/// UpgradeTimeoutSec | |
/// </summary> | |
[YamlIgnore] | |
public string? UpgradeTimeoutSec | |
{ | |
get => GetString("UpgradeTimeoutSec"); | |
init => SetProperty("UpgradeTimeoutSec", value); | |
} | |
/// <summary> | |
/// ServiceTypeHealthPolicyMap | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceTypeHealthPolicyMap | |
{ | |
get => GetString("ServiceTypeHealthPolicyMap"); | |
init => SetProperty("ServiceTypeHealthPolicyMap", value); | |
} | |
/// <summary> | |
/// Configure Docker settings | |
/// </summary> | |
[YamlIgnore] | |
public bool ConfigureDockerSettings | |
{ | |
get => GetBool("configureDockerSettings", false); | |
init => SetProperty("configureDockerSettings", value); | |
} | |
/// <summary> | |
/// Registry Credentials Source | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryCredentials | |
{ | |
get => GetString("registryCredentials"); | |
init => SetProperty("registryCredentials", value); | |
} | |
/// <summary> | |
/// Docker Registry Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryConnection | |
{ | |
get => GetString("dockerRegistryConnection"); | |
init => SetProperty("dockerRegistryConnection", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Registry User Name | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryUserName | |
{ | |
get => GetString("registryUserName"); | |
init => SetProperty("registryUserName", value); | |
} | |
/// <summary> | |
/// Registry Password | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryPassword | |
{ | |
get => GetString("registryPassword"); | |
init => SetProperty("registryPassword", value); | |
} | |
/// <summary> | |
/// Password Encrypted | |
/// </summary> | |
[YamlIgnore] | |
public bool PasswordEncrypted | |
{ | |
get => GetBool("passwordEncrypted", false); | |
init => SetProperty("passwordEncrypted", value); | |
} | |
} | |
/// <summary> | |
/// <c>Xcode@2</c>: | |
/// Xcode Build | |
/// Build an Xcode workspace on Mac OS | |
/// </summary> | |
public record Xcode_V2 : AzureDevOpsTask | |
{ | |
public Xcode_V2() : base("Xcode@2") | |
{ | |
} | |
/// <summary> | |
/// Actions | |
/// </summary> | |
[YamlIgnore] | |
public string? Actions | |
{ | |
get => GetString("actions"); | |
init => SetProperty("actions", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// SDK | |
/// </summary> | |
[YamlIgnore] | |
public string? Sdk | |
{ | |
get => GetString("sdk"); | |
init => SetProperty("sdk", value); | |
} | |
/// <summary> | |
/// Workspace/Project Path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcWorkspacePath | |
{ | |
get => GetString("xcWorkspacePath"); | |
init => SetProperty("xcWorkspacePath", value); | |
} | |
/// <summary> | |
/// Scheme | |
/// </summary> | |
[YamlIgnore] | |
public string? Scheme | |
{ | |
get => GetString("scheme"); | |
init => SetProperty("scheme", value); | |
} | |
/// <summary> | |
/// Create App Package | |
/// </summary> | |
[YamlIgnore] | |
public bool PackageApp | |
{ | |
get => GetBool("packageApp", false); | |
init => SetProperty("packageApp", value); | |
} | |
/// <summary> | |
/// Create Package (IPA) using | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageTool | |
{ | |
get => GetString("packageTool"); | |
init => SetProperty("packageTool", value); | |
} | |
/// <summary> | |
/// Archive Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ArchivePath | |
{ | |
get => GetString("archivePath"); | |
init => SetProperty("archivePath", value); | |
} | |
/// <summary> | |
/// Export Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportPath | |
{ | |
get => GetString("exportPath"); | |
init => SetProperty("exportPath", value); | |
} | |
/// <summary> | |
/// Export Options | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportOptions | |
{ | |
get => GetString("exportOptions"); | |
init => SetProperty("exportOptions", value); | |
} | |
/// <summary> | |
/// Export Method | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportMethod | |
{ | |
get => GetString("exportMethod"); | |
init => SetProperty("exportMethod", value); | |
} | |
/// <summary> | |
/// Team ID | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportTeamId | |
{ | |
get => GetString("exportTeamId"); | |
init => SetProperty("exportTeamId", value); | |
} | |
/// <summary> | |
/// Export Options Plist | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportOptionsPlist | |
{ | |
get => GetString("exportOptionsPlist"); | |
init => SetProperty("exportOptionsPlist", value); | |
} | |
/// <summary> | |
/// Automatic Signing | |
/// </summary> | |
[YamlIgnore] | |
public bool Xcode8AutomaticSigning | |
{ | |
get => GetBool("xcode8AutomaticSigning", false); | |
init => SetProperty("xcode8AutomaticSigning", value); | |
} | |
/// <summary> | |
/// Team ID | |
/// </summary> | |
[YamlIgnore] | |
public string? TeamId | |
{ | |
get => GetString("teamId"); | |
init => SetProperty("teamId", value); | |
} | |
/// <summary> | |
/// Override Using | |
/// </summary> | |
[YamlIgnore] | |
public string? SignMethod | |
{ | |
get => GetString("signMethod"); | |
init => SetProperty("signMethod", value); | |
} | |
/// <summary> | |
/// Signing Identity | |
/// </summary> | |
[YamlIgnore] | |
public string? IosSigningIdentity | |
{ | |
get => GetString("iosSigningIdentity"); | |
init => SetProperty("iosSigningIdentity", value); | |
} | |
/// <summary> | |
/// Unlock Default Keychain | |
/// </summary> | |
[YamlIgnore] | |
public bool UnlockDefaultKeychain | |
{ | |
get => GetBool("unlockDefaultKeychain", false); | |
init => SetProperty("unlockDefaultKeychain", value); | |
} | |
/// <summary> | |
/// Default Keychain Password | |
/// </summary> | |
[YamlIgnore] | |
public string? DefaultKeychainPassword | |
{ | |
get => GetString("defaultKeychainPassword"); | |
init => SetProperty("defaultKeychainPassword", value); | |
} | |
/// <summary> | |
/// Provisioning Profile UUID | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvProfileUuid | |
{ | |
get => GetString("provProfileUuid"); | |
init => SetProperty("provProfileUuid", value); | |
} | |
/// <summary> | |
/// P12 Certificate File | |
/// </summary> | |
[YamlIgnore] | |
public string? P12 | |
{ | |
get => GetString("p12"); | |
init => SetProperty("p12", value); | |
} | |
/// <summary> | |
/// P12 Password | |
/// </summary> | |
[YamlIgnore] | |
public string? P12pwd | |
{ | |
get => GetString("p12pwd"); | |
init => SetProperty("p12pwd", value); | |
} | |
/// <summary> | |
/// Provisioning Profile File | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvProfile | |
{ | |
get => GetString("provProfile"); | |
init => SetProperty("provProfile", value); | |
} | |
/// <summary> | |
/// Remove Profile After Build | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveProfile | |
{ | |
get => GetBool("removeProfile", false); | |
init => SetProperty("removeProfile", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? Cwd | |
{ | |
get => GetString("cwd"); | |
init => SetProperty("cwd", value); | |
} | |
/// <summary> | |
/// Output Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputPattern | |
{ | |
get => GetString("outputPattern"); | |
init => SetProperty("outputPattern", value); | |
} | |
/// <summary> | |
/// Xcode Developer Path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcodeDeveloperDir | |
{ | |
get => GetString("xcodeDeveloperDir"); | |
init => SetProperty("xcodeDeveloperDir", value); | |
} | |
/// <summary> | |
/// Use xcpretty | |
/// </summary> | |
[YamlIgnore] | |
public bool UseXcpretty | |
{ | |
get => GetBool("useXcpretty", false); | |
init => SetProperty("useXcpretty", value); | |
} | |
/// <summary> | |
/// Publish to VSTS/TFS | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Use xctool | |
/// </summary> | |
[YamlIgnore] | |
public bool UseXctool | |
{ | |
get => GetBool("useXctool", false); | |
init => SetProperty("useXctool", value); | |
} | |
/// <summary> | |
/// xctool Test Reporter Format | |
/// </summary> | |
[YamlIgnore] | |
public string? XctoolReporter | |
{ | |
get => GetString("xctoolReporter"); | |
init => SetProperty("xctoolReporter", value); | |
} | |
} | |
/// <summary> | |
/// <c>Xcode@3</c>: | |
/// Xcode Build | |
/// Build an Xcode workspace on macOS | |
/// </summary> | |
public record Xcode_V3 : AzureDevOpsTask | |
{ | |
public Xcode_V3() : base("Xcode@3") | |
{ | |
} | |
/// <summary> | |
/// Actions | |
/// </summary> | |
[YamlIgnore] | |
public string? Actions | |
{ | |
get => GetString("actions"); | |
init => SetProperty("actions", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// SDK | |
/// </summary> | |
[YamlIgnore] | |
public string? Sdk | |
{ | |
get => GetString("sdk"); | |
init => SetProperty("sdk", value); | |
} | |
/// <summary> | |
/// Workspace/Project Path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcWorkspacePath | |
{ | |
get => GetString("xcWorkspacePath"); | |
init => SetProperty("xcWorkspacePath", value); | |
} | |
/// <summary> | |
/// Scheme | |
/// </summary> | |
[YamlIgnore] | |
public string? Scheme | |
{ | |
get => GetString("scheme"); | |
init => SetProperty("scheme", value); | |
} | |
/// <summary> | |
/// Create App Package | |
/// </summary> | |
[YamlIgnore] | |
public bool PackageApp | |
{ | |
get => GetBool("packageApp", false); | |
init => SetProperty("packageApp", value); | |
} | |
/// <summary> | |
/// Archive Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ArchivePath | |
{ | |
get => GetString("archivePath"); | |
init => SetProperty("archivePath", value); | |
} | |
/// <summary> | |
/// Export Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportPath | |
{ | |
get => GetString("exportPath"); | |
init => SetProperty("exportPath", value); | |
} | |
/// <summary> | |
/// Export Options | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportOptions | |
{ | |
get => GetString("exportOptions"); | |
init => SetProperty("exportOptions", value); | |
} | |
/// <summary> | |
/// Export Method | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportMethod | |
{ | |
get => GetString("exportMethod"); | |
init => SetProperty("exportMethod", value); | |
} | |
/// <summary> | |
/// Team ID | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportTeamId | |
{ | |
get => GetString("exportTeamId"); | |
init => SetProperty("exportTeamId", value); | |
} | |
/// <summary> | |
/// Export Options Plist | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportOptionsPlist | |
{ | |
get => GetString("exportOptionsPlist"); | |
init => SetProperty("exportOptionsPlist", value); | |
} | |
/// <summary> | |
/// Export Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportArgs | |
{ | |
get => GetString("exportArgs"); | |
init => SetProperty("exportArgs", value); | |
} | |
/// <summary> | |
/// Automatic Signing | |
/// </summary> | |
[YamlIgnore] | |
public bool Xcode8AutomaticSigning | |
{ | |
get => GetBool("xcode8AutomaticSigning", false); | |
init => SetProperty("xcode8AutomaticSigning", value); | |
} | |
/// <summary> | |
/// Team ID | |
/// </summary> | |
[YamlIgnore] | |
public string? TeamId | |
{ | |
get => GetString("teamId"); | |
init => SetProperty("teamId", value); | |
} | |
/// <summary> | |
/// Override Using | |
/// </summary> | |
[YamlIgnore] | |
public string? SignMethod | |
{ | |
get => GetString("signMethod"); | |
init => SetProperty("signMethod", value); | |
} | |
/// <summary> | |
/// Signing Identity | |
/// </summary> | |
[YamlIgnore] | |
public string? IosSigningIdentity | |
{ | |
get => GetString("iosSigningIdentity"); | |
init => SetProperty("iosSigningIdentity", value); | |
} | |
/// <summary> | |
/// Unlock Default Keychain | |
/// </summary> | |
[YamlIgnore] | |
public bool UnlockDefaultKeychain | |
{ | |
get => GetBool("unlockDefaultKeychain", false); | |
init => SetProperty("unlockDefaultKeychain", value); | |
} | |
/// <summary> | |
/// Default Keychain Password | |
/// </summary> | |
[YamlIgnore] | |
public string? DefaultKeychainPassword | |
{ | |
get => GetString("defaultKeychainPassword"); | |
init => SetProperty("defaultKeychainPassword", value); | |
} | |
/// <summary> | |
/// Provisioning Profile UUID | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvProfileUuid | |
{ | |
get => GetString("provProfileUuid"); | |
init => SetProperty("provProfileUuid", value); | |
} | |
/// <summary> | |
/// P12 Certificate File | |
/// </summary> | |
[YamlIgnore] | |
public string? P12 | |
{ | |
get => GetString("p12"); | |
init => SetProperty("p12", value); | |
} | |
/// <summary> | |
/// P12 Password | |
/// </summary> | |
[YamlIgnore] | |
public string? P12pwd | |
{ | |
get => GetString("p12pwd"); | |
init => SetProperty("p12pwd", value); | |
} | |
/// <summary> | |
/// Provisioning Profile File | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvProfile | |
{ | |
get => GetString("provProfile"); | |
init => SetProperty("provProfile", value); | |
} | |
/// <summary> | |
/// Remove Profile After Build | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveProfile | |
{ | |
get => GetBool("removeProfile", false); | |
init => SetProperty("removeProfile", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? Cwd | |
{ | |
get => GetString("cwd"); | |
init => SetProperty("cwd", value); | |
} | |
/// <summary> | |
/// Output Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputPattern | |
{ | |
get => GetString("outputPattern"); | |
init => SetProperty("outputPattern", value); | |
} | |
/// <summary> | |
/// Xcode Developer Path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcodeDeveloperDir | |
{ | |
get => GetString("xcodeDeveloperDir"); | |
init => SetProperty("xcodeDeveloperDir", value); | |
} | |
/// <summary> | |
/// Use xcpretty | |
/// </summary> | |
[YamlIgnore] | |
public bool UseXcpretty | |
{ | |
get => GetBool("useXcpretty", false); | |
init => SetProperty("useXcpretty", value); | |
} | |
/// <summary> | |
/// Publish to VSTS/TFS | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
} | |
/// <summary> | |
/// <c>Xcode@4</c>: | |
/// Xcode | |
/// Build, test, or archive an Xcode workspace on macOS. Optionally package an app. | |
/// </summary> | |
public record Xcode_V4 : AzureDevOpsTask | |
{ | |
public Xcode_V4() : base("Xcode@4") | |
{ | |
} | |
/// <summary> | |
/// Actions | |
/// </summary> | |
[YamlIgnore] | |
public string? Actions | |
{ | |
get => GetString("actions"); | |
init => SetProperty("actions", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// SDK | |
/// </summary> | |
[YamlIgnore] | |
public string? Sdk | |
{ | |
get => GetString("sdk"); | |
init => SetProperty("sdk", value); | |
} | |
/// <summary> | |
/// Workspace or project path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcWorkspacePath | |
{ | |
get => GetString("xcWorkspacePath"); | |
init => SetProperty("xcWorkspacePath", value); | |
} | |
/// <summary> | |
/// Scheme | |
/// </summary> | |
[YamlIgnore] | |
public string? Scheme | |
{ | |
get => GetString("scheme"); | |
init => SetProperty("scheme", value); | |
} | |
/// <summary> | |
/// Xcode version | |
/// </summary> | |
[YamlIgnore] | |
public string? XcodeVersion | |
{ | |
get => GetString("xcodeVersion"); | |
init => SetProperty("xcodeVersion", value); | |
} | |
/// <summary> | |
/// Xcode developer path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcodeDeveloperDir | |
{ | |
get => GetString("xcodeDeveloperDir"); | |
init => SetProperty("xcodeDeveloperDir", value); | |
} | |
/// <summary> | |
/// Create app package | |
/// </summary> | |
[YamlIgnore] | |
public bool PackageApp | |
{ | |
get => GetBool("packageApp", false); | |
init => SetProperty("packageApp", value); | |
} | |
/// <summary> | |
/// Archive path | |
/// </summary> | |
[YamlIgnore] | |
public string? ArchivePath | |
{ | |
get => GetString("archivePath"); | |
init => SetProperty("archivePath", value); | |
} | |
/// <summary> | |
/// Export path | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportPath | |
{ | |
get => GetString("exportPath"); | |
init => SetProperty("exportPath", value); | |
} | |
/// <summary> | |
/// Export options | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportOptions | |
{ | |
get => GetString("exportOptions"); | |
init => SetProperty("exportOptions", value); | |
} | |
/// <summary> | |
/// Export method | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportMethod | |
{ | |
get => GetString("exportMethod"); | |
init => SetProperty("exportMethod", value); | |
} | |
/// <summary> | |
/// Team ID | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportTeamId | |
{ | |
get => GetString("exportTeamId"); | |
init => SetProperty("exportTeamId", value); | |
} | |
/// <summary> | |
/// Export options plist | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportOptionsPlist | |
{ | |
get => GetString("exportOptionsPlist"); | |
init => SetProperty("exportOptionsPlist", value); | |
} | |
/// <summary> | |
/// Export arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportArgs | |
{ | |
get => GetString("exportArgs"); | |
init => SetProperty("exportArgs", value); | |
} | |
/// <summary> | |
/// Signing style | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningOption | |
{ | |
get => GetString("signingOption"); | |
init => SetProperty("signingOption", value); | |
} | |
/// <summary> | |
/// Signing identity | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningIdentity | |
{ | |
get => GetString("signingIdentity"); | |
init => SetProperty("signingIdentity", value); | |
} | |
/// <summary> | |
/// Provisioning profile UUID | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvisioningProfileUuid | |
{ | |
get => GetString("provisioningProfileUuid"); | |
init => SetProperty("provisioningProfileUuid", value); | |
} | |
/// <summary> | |
/// Team ID | |
/// </summary> | |
[YamlIgnore] | |
public string? TeamId | |
{ | |
get => GetString("teamId"); | |
init => SetProperty("teamId", value); | |
} | |
/// <summary> | |
/// Destination platform | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationPlatformOption | |
{ | |
get => GetString("destinationPlatformOption"); | |
init => SetProperty("destinationPlatformOption", value); | |
} | |
/// <summary> | |
/// Custom destination platform | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationPlatform | |
{ | |
get => GetString("destinationPlatform"); | |
init => SetProperty("destinationPlatform", value); | |
} | |
/// <summary> | |
/// Destination type | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationTypeOption | |
{ | |
get => GetString("destinationTypeOption"); | |
init => SetProperty("destinationTypeOption", value); | |
} | |
/// <summary> | |
/// Simulator | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationSimulators | |
{ | |
get => GetString("destinationSimulators"); | |
init => SetProperty("destinationSimulators", value); | |
} | |
/// <summary> | |
/// Device | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationDevices | |
{ | |
get => GetString("destinationDevices"); | |
init => SetProperty("destinationDevices", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Output directory | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputPattern | |
{ | |
get => GetString("outputPattern"); | |
init => SetProperty("outputPattern", value); | |
} | |
/// <summary> | |
/// Use xcpretty | |
/// </summary> | |
[YamlIgnore] | |
public bool UseXcpretty | |
{ | |
get => GetBool("useXcpretty", false); | |
init => SetProperty("useXcpretty", value); | |
} | |
/// <summary> | |
/// Publish test results to VSTS/TFS | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
} | |
/// <summary> | |
/// <c>Xcode@5</c>: | |
/// Xcode | |
/// Build, test, or archive an Xcode workspace on macOS. Optionally package an app. | |
/// </summary> | |
public record Xcode_V5 : AzureDevOpsTask | |
{ | |
public Xcode_V5() : base("Xcode@5") | |
{ | |
} | |
/// <summary> | |
/// Actions | |
/// </summary> | |
[YamlIgnore] | |
public string? Actions | |
{ | |
get => GetString("actions"); | |
init => SetProperty("actions", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// SDK | |
/// </summary> | |
[YamlIgnore] | |
public string? Sdk | |
{ | |
get => GetString("sdk"); | |
init => SetProperty("sdk", value); | |
} | |
/// <summary> | |
/// Workspace or project path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcWorkspacePath | |
{ | |
get => GetString("xcWorkspacePath"); | |
init => SetProperty("xcWorkspacePath", value); | |
} | |
/// <summary> | |
/// Scheme | |
/// </summary> | |
[YamlIgnore] | |
public string? Scheme | |
{ | |
get => GetString("scheme"); | |
init => SetProperty("scheme", value); | |
} | |
/// <summary> | |
/// Xcode version | |
/// </summary> | |
[YamlIgnore] | |
public string? XcodeVersion | |
{ | |
get => GetString("xcodeVersion"); | |
init => SetProperty("xcodeVersion", value); | |
} | |
/// <summary> | |
/// Xcode developer path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcodeDeveloperDir | |
{ | |
get => GetString("xcodeDeveloperDir"); | |
init => SetProperty("xcodeDeveloperDir", value); | |
} | |
/// <summary> | |
/// Create app package | |
/// </summary> | |
[YamlIgnore] | |
public bool PackageApp | |
{ | |
get => GetBool("packageApp", false); | |
init => SetProperty("packageApp", value); | |
} | |
/// <summary> | |
/// Archive path | |
/// </summary> | |
[YamlIgnore] | |
public string? ArchivePath | |
{ | |
get => GetString("archivePath"); | |
init => SetProperty("archivePath", value); | |
} | |
/// <summary> | |
/// Export path | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportPath | |
{ | |
get => GetString("exportPath"); | |
init => SetProperty("exportPath", value); | |
} | |
/// <summary> | |
/// Export options | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportOptions | |
{ | |
get => GetString("exportOptions"); | |
init => SetProperty("exportOptions", value); | |
} | |
/// <summary> | |
/// Export method | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportMethod | |
{ | |
get => GetString("exportMethod"); | |
init => SetProperty("exportMethod", value); | |
} | |
/// <summary> | |
/// Team ID | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportTeamId | |
{ | |
get => GetString("exportTeamId"); | |
init => SetProperty("exportTeamId", value); | |
} | |
/// <summary> | |
/// Export options plist | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportOptionsPlist | |
{ | |
get => GetString("exportOptionsPlist"); | |
init => SetProperty("exportOptionsPlist", value); | |
} | |
/// <summary> | |
/// Export arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ExportArgs | |
{ | |
get => GetString("exportArgs"); | |
init => SetProperty("exportArgs", value); | |
} | |
/// <summary> | |
/// Signing style | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningOption | |
{ | |
get => GetString("signingOption"); | |
init => SetProperty("signingOption", value); | |
} | |
/// <summary> | |
/// Signing identity | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningIdentity | |
{ | |
get => GetString("signingIdentity"); | |
init => SetProperty("signingIdentity", value); | |
} | |
/// <summary> | |
/// Provisioning profile UUID | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvisioningProfileUuid | |
{ | |
get => GetString("provisioningProfileUuid"); | |
init => SetProperty("provisioningProfileUuid", value); | |
} | |
/// <summary> | |
/// Provisioning profile name | |
/// </summary> | |
[YamlIgnore] | |
public string? ProvisioningProfileName | |
{ | |
get => GetString("provisioningProfileName"); | |
init => SetProperty("provisioningProfileName", value); | |
} | |
/// <summary> | |
/// Team ID | |
/// </summary> | |
[YamlIgnore] | |
public string? TeamId | |
{ | |
get => GetString("teamId"); | |
init => SetProperty("teamId", value); | |
} | |
/// <summary> | |
/// Destination platform | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationPlatformOption | |
{ | |
get => GetString("destinationPlatformOption"); | |
init => SetProperty("destinationPlatformOption", value); | |
} | |
/// <summary> | |
/// Custom destination platform | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationPlatform | |
{ | |
get => GetString("destinationPlatform"); | |
init => SetProperty("destinationPlatform", value); | |
} | |
/// <summary> | |
/// Destination type | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationTypeOption | |
{ | |
get => GetString("destinationTypeOption"); | |
init => SetProperty("destinationTypeOption", value); | |
} | |
/// <summary> | |
/// Simulator | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationSimulators | |
{ | |
get => GetString("destinationSimulators"); | |
init => SetProperty("destinationSimulators", value); | |
} | |
/// <summary> | |
/// Device | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationDevices | |
{ | |
get => GetString("destinationDevices"); | |
init => SetProperty("destinationDevices", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Use xcpretty | |
/// </summary> | |
[YamlIgnore] | |
public bool UseXcpretty | |
{ | |
get => GetBool("useXcpretty", false); | |
init => SetProperty("useXcpretty", value); | |
} | |
/// <summary> | |
/// Xcpretty arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? XcprettyArgs | |
{ | |
get => GetString("xcprettyArgs"); | |
init => SetProperty("xcprettyArgs", value); | |
} | |
/// <summary> | |
/// Publish test results to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGetPublisher@0</c>: | |
/// NuGet publisher | |
/// Deprecated: use the “NuGet” task instead. It works with the new Tool Installer framework so you can easily use new versions of NuGet without waiting for a task update, provides better support for authenticated feeds outside this organization/collection, and uses NuGet 4 by default. | |
/// </summary> | |
public record NuGetPublisher_V0 : AzureDevOpsTask | |
{ | |
public NuGetPublisher_V0() : base("NuGetPublisher@0") | |
{ | |
} | |
/// <summary> | |
/// Path/Pattern to nupkg | |
/// </summary> | |
[YamlIgnore] | |
public string? SearchPattern | |
{ | |
get => GetString("searchPattern"); | |
init => SetProperty("searchPattern", value); | |
} | |
/// <summary> | |
/// Feed type | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetFeedType | |
{ | |
get => GetString("nuGetFeedType"); | |
init => SetProperty("nuGetFeedType", value); | |
} | |
/// <summary> | |
/// NuGet Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("connectedServiceName"); | |
init => SetProperty("connectedServiceName", value); | |
} | |
/// <summary> | |
/// Internal Feed URL | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedName | |
{ | |
get => GetString("feedName"); | |
init => SetProperty("feedName", value); | |
} | |
/// <summary> | |
/// NuGet Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetAdditionalArgs | |
{ | |
get => GetString("nuGetAdditionalArgs"); | |
init => SetProperty("nuGetAdditionalArgs", value); | |
} | |
/// <summary> | |
/// Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? Verbosity | |
{ | |
get => GetString("verbosity"); | |
init => SetProperty("verbosity", value); | |
} | |
/// <summary> | |
/// NuGet Version | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetVersion | |
{ | |
get => GetString("nuGetVersion"); | |
init => SetProperty("nuGetVersion", value); | |
} | |
/// <summary> | |
/// Path to NuGet.exe | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetPath | |
{ | |
get => GetString("nuGetPath"); | |
init => SetProperty("nuGetPath", value); | |
} | |
/// <summary> | |
/// Continue if no packages match the "Path/Pattern to nupkg" | |
/// </summary> | |
[YamlIgnore] | |
public bool ContinueOnEmptyNupkgMatch | |
{ | |
get => GetBool("continueOnEmptyNupkgMatch", false); | |
init => SetProperty("continueOnEmptyNupkgMatch", value); | |
} | |
} | |
/// <summary> | |
/// <c>queryWorkItems@0</c>: | |
/// Query work items | |
/// Execute a work item query and check the number of items returned | |
/// </summary> | |
public record QueryWorkItems_V0 : AzureDevOpsTask | |
{ | |
public QueryWorkItems_V0(string? queryid) : base("queryWorkItems@0") | |
{ | |
QueryId = queryid; | |
} | |
/// <summary> | |
/// Query | |
/// </summary> | |
[YamlIgnore] | |
public string? QueryId | |
{ | |
get => GetString("queryId"); | |
init => SetProperty("queryId", value); | |
} | |
/// <summary> | |
/// Upper threshold | |
/// </summary> | |
[YamlIgnore] | |
public string? MaxThreshold | |
{ | |
get => GetString("maxThreshold"); | |
init => SetProperty("maxThreshold", value); | |
} | |
/// <summary> | |
/// Lower threshold | |
/// </summary> | |
[YamlIgnore] | |
public string? MinThreshold | |
{ | |
get => GetString("minThreshold"); | |
init => SetProperty("minThreshold", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureWebAppContainer@1</c>: | |
/// Azure Web App for Containers | |
/// Deploy containers to Azure App Service | |
/// </summary> | |
public record AzureWebAppContainer_V1 : AzureDevOpsTask | |
{ | |
public AzureWebAppContainer_V1(string? azuresubscription, string? appname) : base("AzureWebAppContainer@1") | |
{ | |
AzureSubscription = azuresubscription; | |
AppName = appname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// App name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("appName"); | |
init => SetProperty("appName", value); | |
} | |
/// <summary> | |
/// Deploy to Slot or App Service Environment | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployToSlotOrASE | |
{ | |
get => GetBool("deployToSlotOrASE", false); | |
init => SetProperty("deployToSlotOrASE", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("slotName"); | |
init => SetProperty("slotName", value); | |
} | |
/// <summary> | |
/// Image name | |
/// </summary> | |
[YamlIgnore] | |
public string? Containers | |
{ | |
get => GetString("containers"); | |
init => SetProperty("containers", value); | |
} | |
/// <summary> | |
/// Configuration File | |
/// </summary> | |
[YamlIgnore] | |
public string? MulticontainerConfigFile | |
{ | |
get => GetString("multicontainerConfigFile"); | |
init => SetProperty("multicontainerConfigFile", value); | |
} | |
/// <summary> | |
/// Startup command | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerCommand | |
{ | |
get => GetString("containerCommand"); | |
init => SetProperty("containerCommand", value); | |
} | |
/// <summary> | |
/// App settings | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSettings | |
{ | |
get => GetString("appSettings"); | |
init => SetProperty("appSettings", value); | |
} | |
/// <summary> | |
/// Configuration settings | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigurationStrings | |
{ | |
get => GetString("configurationStrings"); | |
init => SetProperty("configurationStrings", value); | |
} | |
} | |
/// <summary> | |
/// <c>SqlDacpacDeploymentOnMachineGroup@0</c>: | |
/// SQL Server database deploy | |
/// Deploy a SQL Server database using DACPAC or SQL scripts | |
/// </summary> | |
public record SqlDacpacDeploymentOnMachineGroup_V0 : AzureDevOpsTask | |
{ | |
public SqlDacpacDeploymentOnMachineGroup_V0() : base("SqlDacpacDeploymentOnMachineGroup@0") | |
{ | |
} | |
/// <summary> | |
/// Deploy SQL Using | |
/// </summary> | |
[YamlIgnore] | |
public string? TaskType | |
{ | |
get => GetString("TaskType"); | |
init => SetProperty("TaskType", value); | |
} | |
/// <summary> | |
/// DACPAC File | |
/// </summary> | |
[YamlIgnore] | |
public string? DacpacFile | |
{ | |
get => GetString("DacpacFile"); | |
init => SetProperty("DacpacFile", value); | |
} | |
/// <summary> | |
/// Sql File | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlFile | |
{ | |
get => GetString("SqlFile"); | |
init => SetProperty("SqlFile", value); | |
} | |
/// <summary> | |
/// Execute within a transaction | |
/// </summary> | |
[YamlIgnore] | |
public bool ExecuteInTransaction | |
{ | |
get => GetBool("ExecuteInTransaction", false); | |
init => SetProperty("ExecuteInTransaction", value); | |
} | |
/// <summary> | |
/// Acquire an exclusive app lock while executing script(s) | |
/// </summary> | |
[YamlIgnore] | |
public bool ExclusiveLock | |
{ | |
get => GetBool("ExclusiveLock", false); | |
init => SetProperty("ExclusiveLock", value); | |
} | |
/// <summary> | |
/// App lock name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppLockName | |
{ | |
get => GetString("AppLockName"); | |
init => SetProperty("AppLockName", value); | |
} | |
/// <summary> | |
/// Inline Sql | |
/// </summary> | |
[YamlIgnore] | |
public string? InlineSql | |
{ | |
get => GetString("InlineSql"); | |
init => SetProperty("InlineSql", value); | |
} | |
/// <summary> | |
/// Specify SQL Using | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetMethod | |
{ | |
get => GetString("TargetMethod"); | |
init => SetProperty("TargetMethod", value); | |
} | |
/// <summary> | |
/// Server Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerName | |
{ | |
get => GetString("ServerName"); | |
init => SetProperty("ServerName", value); | |
} | |
/// <summary> | |
/// Database Name | |
/// </summary> | |
[YamlIgnore] | |
public string? DatabaseName | |
{ | |
get => GetString("DatabaseName"); | |
init => SetProperty("DatabaseName", value); | |
} | |
/// <summary> | |
/// Authentication | |
/// </summary> | |
[YamlIgnore] | |
public string? AuthScheme | |
{ | |
get => GetString("AuthScheme"); | |
init => SetProperty("AuthScheme", value); | |
} | |
/// <summary> | |
/// SQL User name | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlUsername | |
{ | |
get => GetString("SqlUsername"); | |
init => SetProperty("SqlUsername", value); | |
} | |
/// <summary> | |
/// SQL Password | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlPassword | |
{ | |
get => GetString("SqlPassword"); | |
init => SetProperty("SqlPassword", value); | |
} | |
/// <summary> | |
/// Connection String | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionString | |
{ | |
get => GetString("ConnectionString"); | |
init => SetProperty("ConnectionString", value); | |
} | |
/// <summary> | |
/// Publish Profile | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishProfile | |
{ | |
get => GetString("PublishProfile"); | |
init => SetProperty("PublishProfile", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsSql | |
{ | |
get => GetString("AdditionalArgumentsSql"); | |
init => SetProperty("AdditionalArgumentsSql", value); | |
} | |
} | |
/// <summary> | |
/// <c>CacheBeta@1</c>: | |
/// Cache (Beta) | |
/// Cache files between runs | |
/// </summary> | |
public record CacheBeta_V1 : AzureDevOpsTask | |
{ | |
public CacheBeta_V1(string? key, string? path) : base("CacheBeta@1") | |
{ | |
Key = key; | |
Path = path; | |
} | |
/// <summary> | |
/// Key | |
/// </summary> | |
[YamlIgnore] | |
public string? Key | |
{ | |
get => GetString("key"); | |
init => SetProperty("key", value); | |
} | |
/// <summary> | |
/// Path | |
/// </summary> | |
[YamlIgnore] | |
public string? Path | |
{ | |
get => GetString("path"); | |
init => SetProperty("path", value); | |
} | |
/// <summary> | |
/// Cache hit variable | |
/// </summary> | |
[YamlIgnore] | |
public string? CacheHitVar | |
{ | |
get => GetString("cacheHitVar"); | |
init => SetProperty("cacheHitVar", value); | |
} | |
/// <summary> | |
/// Additional restore key prefixes | |
/// </summary> | |
[YamlIgnore] | |
public string? RestoreKeys | |
{ | |
get => GetString("restoreKeys"); | |
init => SetProperty("restoreKeys", value); | |
} | |
} | |
/// <summary> | |
/// <c>CacheBeta@0</c>: | |
/// Cache (Beta) | |
/// Cache files between runs | |
/// </summary> | |
public record CacheBeta_V0 : AzureDevOpsTask | |
{ | |
public CacheBeta_V0(string? key, string? path) : base("CacheBeta@0") | |
{ | |
Key = key; | |
Path = path; | |
} | |
/// <summary> | |
/// Key | |
/// </summary> | |
[YamlIgnore] | |
public string? Key | |
{ | |
get => GetString("key"); | |
init => SetProperty("key", value); | |
} | |
/// <summary> | |
/// Path | |
/// </summary> | |
[YamlIgnore] | |
public string? Path | |
{ | |
get => GetString("path"); | |
init => SetProperty("path", value); | |
} | |
/// <summary> | |
/// Cache hit variable | |
/// </summary> | |
[YamlIgnore] | |
public string? CacheHitVar | |
{ | |
get => GetString("cacheHitVar"); | |
init => SetProperty("cacheHitVar", value); | |
} | |
} | |
/// <summary> | |
/// <c>Cache@2</c>: | |
/// Cache | |
/// Cache files between runs | |
/// </summary> | |
public record Cache_V2 : AzureDevOpsTask | |
{ | |
public Cache_V2(string? key, string? path) : base("Cache@2") | |
{ | |
Key = key; | |
Path = path; | |
} | |
/// <summary> | |
/// Key | |
/// </summary> | |
[YamlIgnore] | |
public string? Key | |
{ | |
get => GetString("key"); | |
init => SetProperty("key", value); | |
} | |
/// <summary> | |
/// Path | |
/// </summary> | |
[YamlIgnore] | |
public string? Path | |
{ | |
get => GetString("path"); | |
init => SetProperty("path", value); | |
} | |
/// <summary> | |
/// Cache hit variable | |
/// </summary> | |
[YamlIgnore] | |
public string? CacheHitVar | |
{ | |
get => GetString("cacheHitVar"); | |
init => SetProperty("cacheHitVar", value); | |
} | |
/// <summary> | |
/// Additional restore key prefixes | |
/// </summary> | |
[YamlIgnore] | |
public string? RestoreKeys | |
{ | |
get => GetString("restoreKeys"); | |
init => SetProperty("restoreKeys", value); | |
} | |
} | |
/// <summary> | |
/// <c>CMake@1</c>: | |
/// CMake | |
/// Build with the CMake cross-platform build system | |
/// </summary> | |
public record CMake_V1 : AzureDevOpsTask | |
{ | |
public CMake_V1() : base("CMake@1") | |
{ | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? CmakeArgs | |
{ | |
get => GetString("cmakeArgs"); | |
init => SetProperty("cmakeArgs", value); | |
} | |
/// <summary> | |
/// Run cmake command inside shell | |
/// </summary> | |
[YamlIgnore] | |
public bool RunInsideShell | |
{ | |
get => GetBool("runInsideShell", false); | |
init => SetProperty("runInsideShell", value); | |
} | |
} | |
/// <summary> | |
/// <c>VSMobileCenterTest@0</c>: | |
/// Mobile Center Test | |
/// Test mobile app packages with Visual Studio Mobile Center. | |
/// </summary> | |
public record VSMobileCenterTest_V0 : AzureDevOpsTask | |
{ | |
public VSMobileCenterTest_V0(string? app) : base("VSMobileCenterTest@0") | |
{ | |
App = app; | |
} | |
/// <summary> | |
/// Binary Application File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? App | |
{ | |
get => GetString("app"); | |
init => SetProperty("app", value); | |
} | |
/// <summary> | |
/// Artifacts Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactsDir | |
{ | |
get => GetString("artifactsDir"); | |
init => SetProperty("artifactsDir", value); | |
} | |
/// <summary> | |
/// Prepare Tests | |
/// </summary> | |
[YamlIgnore] | |
public bool EnablePrepare | |
{ | |
get => GetBool("enablePrepare", false); | |
init => SetProperty("enablePrepare", value); | |
} | |
/// <summary> | |
/// Test Framework | |
/// </summary> | |
[YamlIgnore] | |
public string? Framework | |
{ | |
get => GetString("framework"); | |
init => SetProperty("framework", value); | |
} | |
/// <summary> | |
/// Build Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? AppiumBuildDir | |
{ | |
get => GetString("appiumBuildDir"); | |
init => SetProperty("appiumBuildDir", value); | |
} | |
/// <summary> | |
/// Build Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? EspressoBuildDir | |
{ | |
get => GetString("espressoBuildDir"); | |
init => SetProperty("espressoBuildDir", value); | |
} | |
/// <summary> | |
/// Test APK Path | |
/// </summary> | |
[YamlIgnore] | |
public string? EspressoTestApkPath | |
{ | |
get => GetString("espressoTestApkPath"); | |
init => SetProperty("espressoTestApkPath", value); | |
} | |
/// <summary> | |
/// Project Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? CalabashProjectDir | |
{ | |
get => GetString("calabashProjectDir"); | |
init => SetProperty("calabashProjectDir", value); | |
} | |
/// <summary> | |
/// Cucumber Config File | |
/// </summary> | |
[YamlIgnore] | |
public string? CalabashConfigFile | |
{ | |
get => GetString("calabashConfigFile"); | |
init => SetProperty("calabashConfigFile", value); | |
} | |
/// <summary> | |
/// Profile to run | |
/// </summary> | |
[YamlIgnore] | |
public string? CalabashProfile | |
{ | |
get => GetString("calabashProfile"); | |
init => SetProperty("calabashProfile", value); | |
} | |
/// <summary> | |
/// Skip Configuration Check | |
/// </summary> | |
[YamlIgnore] | |
public bool CalabashSkipConfigCheck | |
{ | |
get => GetBool("calabashSkipConfigCheck", false); | |
init => SetProperty("calabashSkipConfigCheck", value); | |
} | |
/// <summary> | |
/// Build Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? UitestBuildDir | |
{ | |
get => GetString("uitestBuildDir"); | |
init => SetProperty("uitestBuildDir", value); | |
} | |
/// <summary> | |
/// Store File | |
/// </summary> | |
[YamlIgnore] | |
public string? UitestStoreFile | |
{ | |
get => GetString("uitestStoreFile"); | |
init => SetProperty("uitestStoreFile", value); | |
} | |
/// <summary> | |
/// Store Password | |
/// </summary> | |
[YamlIgnore] | |
public string? UitestStorePass | |
{ | |
get => GetString("uitestStorePass"); | |
init => SetProperty("uitestStorePass", value); | |
} | |
/// <summary> | |
/// Key Alias | |
/// </summary> | |
[YamlIgnore] | |
public string? UitestKeyAlias | |
{ | |
get => GetString("uitestKeyAlias"); | |
init => SetProperty("uitestKeyAlias", value); | |
} | |
/// <summary> | |
/// Key Password | |
/// </summary> | |
[YamlIgnore] | |
public string? UitestKeyPass | |
{ | |
get => GetString("uitestKeyPass"); | |
init => SetProperty("uitestKeyPass", value); | |
} | |
/// <summary> | |
/// Test Tools Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? UitestToolsDir | |
{ | |
get => GetString("uitestToolsDir"); | |
init => SetProperty("uitestToolsDir", value); | |
} | |
/// <summary> | |
/// Signing Information | |
/// </summary> | |
[YamlIgnore] | |
public string? SignInfo | |
{ | |
get => GetString("signInfo"); | |
init => SetProperty("signInfo", value); | |
} | |
/// <summary> | |
/// Build Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? XcuitestBuildDir | |
{ | |
get => GetString("xcuitestBuildDir"); | |
init => SetProperty("xcuitestBuildDir", value); | |
} | |
/// <summary> | |
/// Test IPA Path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcuitestTestIpaPath | |
{ | |
get => GetString("xcuitestTestIpaPath"); | |
init => SetProperty("xcuitestTestIpaPath", value); | |
} | |
/// <summary> | |
/// Additional Options | |
/// </summary> | |
[YamlIgnore] | |
public string? PrepareOpts | |
{ | |
get => GetString("prepareOpts"); | |
init => SetProperty("prepareOpts", value); | |
} | |
/// <summary> | |
/// Run Tests | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableRun | |
{ | |
get => GetBool("enableRun", false); | |
init => SetProperty("enableRun", value); | |
} | |
/// <summary> | |
/// Authentication Method | |
/// </summary> | |
[YamlIgnore] | |
public string? CredsType | |
{ | |
get => GetString("credsType"); | |
init => SetProperty("credsType", value); | |
} | |
/// <summary> | |
/// Mobile Center Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// Mobile Center Username | |
/// </summary> | |
[YamlIgnore] | |
public string? Username | |
{ | |
get => GetString("username"); | |
init => SetProperty("username", value); | |
} | |
/// <summary> | |
/// Mobile Center Password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
/// <summary> | |
/// App Slug | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSlug | |
{ | |
get => GetString("appSlug"); | |
init => SetProperty("appSlug", value); | |
} | |
/// <summary> | |
/// Devices | |
/// </summary> | |
[YamlIgnore] | |
public string? Devices | |
{ | |
get => GetString("devices"); | |
init => SetProperty("devices", value); | |
} | |
/// <summary> | |
/// Test Series | |
/// </summary> | |
[YamlIgnore] | |
public string? Series | |
{ | |
get => GetString("series"); | |
init => SetProperty("series", value); | |
} | |
/// <summary> | |
/// dSYM Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? DsymDir | |
{ | |
get => GetString("dsymDir"); | |
init => SetProperty("dsymDir", value); | |
} | |
/// <summary> | |
/// System Language | |
/// </summary> | |
[YamlIgnore] | |
public string? Locale | |
{ | |
get => GetString("locale"); | |
init => SetProperty("locale", value); | |
} | |
/// <summary> | |
/// Other Locale | |
/// </summary> | |
[YamlIgnore] | |
public string? UserDefinedLocale | |
{ | |
get => GetString("userDefinedLocale"); | |
init => SetProperty("userDefinedLocale", value); | |
} | |
/// <summary> | |
/// Addtional Options for Login | |
/// </summary> | |
[YamlIgnore] | |
public string? LoginOpts | |
{ | |
get => GetString("loginOpts"); | |
init => SetProperty("loginOpts", value); | |
} | |
/// <summary> | |
/// Additional Options for Run | |
/// </summary> | |
[YamlIgnore] | |
public string? RunOpts | |
{ | |
get => GetString("runOpts"); | |
init => SetProperty("runOpts", value); | |
} | |
/// <summary> | |
/// Do not wait for test result | |
/// </summary> | |
[YamlIgnore] | |
public bool Async | |
{ | |
get => GetBool("async", false); | |
init => SetProperty("async", value); | |
} | |
/// <summary> | |
/// mobile-center CLI Location | |
/// </summary> | |
[YamlIgnore] | |
public string? CliLocationOverride | |
{ | |
get => GetString("cliLocationOverride"); | |
init => SetProperty("cliLocationOverride", value); | |
} | |
/// <summary> | |
/// Enable Debug Output | |
/// </summary> | |
[YamlIgnore] | |
public bool Debug | |
{ | |
get => GetBool("debug", false); | |
init => SetProperty("debug", value); | |
} | |
} | |
/// <summary> | |
/// <c>AppCenterTest@1</c>: | |
/// App Center test | |
/// Test app packages with Visual Studio App Center | |
/// </summary> | |
public record AppCenterTest_V1 : AzureDevOpsTask | |
{ | |
public AppCenterTest_V1(string? appfile) : base("AppCenterTest@1") | |
{ | |
AppFile = appfile; | |
} | |
/// <summary> | |
/// Binary application file path | |
/// </summary> | |
[YamlIgnore] | |
public string? AppFile | |
{ | |
get => GetString("appFile"); | |
init => SetProperty("appFile", value); | |
} | |
/// <summary> | |
/// Artifacts directory | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactsDirectory | |
{ | |
get => GetString("artifactsDirectory"); | |
init => SetProperty("artifactsDirectory", value); | |
} | |
/// <summary> | |
/// Prepare tests | |
/// </summary> | |
[YamlIgnore] | |
public bool PrepareTests | |
{ | |
get => GetBool("prepareTests", false); | |
init => SetProperty("prepareTests", value); | |
} | |
/// <summary> | |
/// Test framework | |
/// </summary> | |
[YamlIgnore] | |
public string? FrameworkOption | |
{ | |
get => GetString("frameworkOption"); | |
init => SetProperty("frameworkOption", value); | |
} | |
/// <summary> | |
/// Build directory | |
/// </summary> | |
[YamlIgnore] | |
public string? AppiumBuildDirectory | |
{ | |
get => GetString("appiumBuildDirectory"); | |
init => SetProperty("appiumBuildDirectory", value); | |
} | |
/// <summary> | |
/// Build directory | |
/// </summary> | |
[YamlIgnore] | |
public string? EspressoBuildDirectory | |
{ | |
get => GetString("espressoBuildDirectory"); | |
init => SetProperty("espressoBuildDirectory", value); | |
} | |
/// <summary> | |
/// Test APK path | |
/// </summary> | |
[YamlIgnore] | |
public string? EspressoTestApkFile | |
{ | |
get => GetString("espressoTestApkFile"); | |
init => SetProperty("espressoTestApkFile", value); | |
} | |
/// <summary> | |
/// Project directory | |
/// </summary> | |
[YamlIgnore] | |
public string? CalabashProjectDirectory | |
{ | |
get => GetString("calabashProjectDirectory"); | |
init => SetProperty("calabashProjectDirectory", value); | |
} | |
/// <summary> | |
/// Cucumber config file | |
/// </summary> | |
[YamlIgnore] | |
public string? CalabashConfigFile | |
{ | |
get => GetString("calabashConfigFile"); | |
init => SetProperty("calabashConfigFile", value); | |
} | |
/// <summary> | |
/// Profile to run | |
/// </summary> | |
[YamlIgnore] | |
public string? CalabashProfile | |
{ | |
get => GetString("calabashProfile"); | |
init => SetProperty("calabashProfile", value); | |
} | |
/// <summary> | |
/// Skip Configuration Check | |
/// </summary> | |
[YamlIgnore] | |
public bool CalabashSkipConfigCheck | |
{ | |
get => GetBool("calabashSkipConfigCheck", false); | |
init => SetProperty("calabashSkipConfigCheck", value); | |
} | |
/// <summary> | |
/// Build directory | |
/// </summary> | |
[YamlIgnore] | |
public string? UiTestBuildDirectory | |
{ | |
get => GetString("uiTestBuildDirectory"); | |
init => SetProperty("uiTestBuildDirectory", value); | |
} | |
/// <summary> | |
/// Store file | |
/// </summary> | |
[YamlIgnore] | |
public string? UitestStorePath | |
{ | |
get => GetString("uitestStorePath"); | |
init => SetProperty("uitestStorePath", value); | |
} | |
/// <summary> | |
/// Store password | |
/// </summary> | |
[YamlIgnore] | |
public string? UiTestStorePassword | |
{ | |
get => GetString("uiTestStorePassword"); | |
init => SetProperty("uiTestStorePassword", value); | |
} | |
/// <summary> | |
/// Key alias | |
/// </summary> | |
[YamlIgnore] | |
public string? UitestKeyAlias | |
{ | |
get => GetString("uitestKeyAlias"); | |
init => SetProperty("uitestKeyAlias", value); | |
} | |
/// <summary> | |
/// Key password | |
/// </summary> | |
[YamlIgnore] | |
public string? UiTestKeyPassword | |
{ | |
get => GetString("uiTestKeyPassword"); | |
init => SetProperty("uiTestKeyPassword", value); | |
} | |
/// <summary> | |
/// Test tools directory | |
/// </summary> | |
[YamlIgnore] | |
public string? UiTestToolsDirectory | |
{ | |
get => GetString("uiTestToolsDirectory"); | |
init => SetProperty("uiTestToolsDirectory", value); | |
} | |
/// <summary> | |
/// Signing information | |
/// </summary> | |
[YamlIgnore] | |
public string? SignInfo | |
{ | |
get => GetString("signInfo"); | |
init => SetProperty("signInfo", value); | |
} | |
/// <summary> | |
/// Build directory | |
/// </summary> | |
[YamlIgnore] | |
public string? XcUITestBuildDirectory | |
{ | |
get => GetString("xcUITestBuildDirectory"); | |
init => SetProperty("xcUITestBuildDirectory", value); | |
} | |
/// <summary> | |
/// Test IPA path | |
/// </summary> | |
[YamlIgnore] | |
public string? XcUITestIpaFile | |
{ | |
get => GetString("xcUITestIpaFile"); | |
init => SetProperty("xcUITestIpaFile", value); | |
} | |
/// <summary> | |
/// Additional options | |
/// </summary> | |
[YamlIgnore] | |
public string? PrepareOptions | |
{ | |
get => GetString("prepareOptions"); | |
init => SetProperty("prepareOptions", value); | |
} | |
/// <summary> | |
/// Run tests | |
/// </summary> | |
[YamlIgnore] | |
public bool RunTests | |
{ | |
get => GetBool("runTests", false); | |
init => SetProperty("runTests", value); | |
} | |
/// <summary> | |
/// Authentication method | |
/// </summary> | |
[YamlIgnore] | |
public string? CredentialsOption | |
{ | |
get => GetString("credentialsOption"); | |
init => SetProperty("credentialsOption", value); | |
} | |
/// <summary> | |
/// App Center service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// App Center username | |
/// </summary> | |
[YamlIgnore] | |
public string? Username | |
{ | |
get => GetString("username"); | |
init => SetProperty("username", value); | |
} | |
/// <summary> | |
/// App Center password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
/// <summary> | |
/// App slug | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSlug | |
{ | |
get => GetString("appSlug"); | |
init => SetProperty("appSlug", value); | |
} | |
/// <summary> | |
/// Devices | |
/// </summary> | |
[YamlIgnore] | |
public string? Devices | |
{ | |
get => GetString("devices"); | |
init => SetProperty("devices", value); | |
} | |
/// <summary> | |
/// Test series | |
/// </summary> | |
[YamlIgnore] | |
public string? Series | |
{ | |
get => GetString("series"); | |
init => SetProperty("series", value); | |
} | |
/// <summary> | |
/// dSYM directory | |
/// </summary> | |
[YamlIgnore] | |
public string? DsymDirectory | |
{ | |
get => GetString("dsymDirectory"); | |
init => SetProperty("dsymDirectory", value); | |
} | |
/// <summary> | |
/// System language | |
/// </summary> | |
[YamlIgnore] | |
public string? LocaleOption | |
{ | |
get => GetString("localeOption"); | |
init => SetProperty("localeOption", value); | |
} | |
/// <summary> | |
/// Other locale | |
/// </summary> | |
[YamlIgnore] | |
public string? UserDefinedLocale | |
{ | |
get => GetString("userDefinedLocale"); | |
init => SetProperty("userDefinedLocale", value); | |
} | |
/// <summary> | |
/// Additional options for login | |
/// </summary> | |
[YamlIgnore] | |
public string? LoginOptions | |
{ | |
get => GetString("loginOptions"); | |
init => SetProperty("loginOptions", value); | |
} | |
/// <summary> | |
/// Additional options for run | |
/// </summary> | |
[YamlIgnore] | |
public string? RunOptions | |
{ | |
get => GetString("runOptions"); | |
init => SetProperty("runOptions", value); | |
} | |
/// <summary> | |
/// Do not wait for test result | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipWaitingForResults | |
{ | |
get => GetBool("skipWaitingForResults", false); | |
init => SetProperty("skipWaitingForResults", value); | |
} | |
/// <summary> | |
/// App Center CLI location | |
/// </summary> | |
[YamlIgnore] | |
public string? CliFile | |
{ | |
get => GetString("cliFile"); | |
init => SetProperty("cliFile", value); | |
} | |
/// <summary> | |
/// Enable debug output | |
/// </summary> | |
[YamlIgnore] | |
public bool ShowDebugOutput | |
{ | |
get => GetBool("showDebugOutput", false); | |
init => SetProperty("showDebugOutput", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadSecureFile@1</c>: | |
/// Download secure file | |
/// Download a secure file to the agent machine | |
/// </summary> | |
public record DownloadSecureFile_V1 : AzureDevOpsTask | |
{ | |
public DownloadSecureFile_V1(string? securefile) : base("DownloadSecureFile@1") | |
{ | |
SecureFile = securefile; | |
} | |
/// <summary> | |
/// Secure File | |
/// </summary> | |
[YamlIgnore] | |
public string? SecureFile | |
{ | |
get => GetString("secureFile"); | |
init => SetProperty("secureFile", value); | |
} | |
/// <summary> | |
/// Retry Count | |
/// </summary> | |
[YamlIgnore] | |
public string? RetryCount | |
{ | |
get => GetString("retryCount"); | |
init => SetProperty("retryCount", value); | |
} | |
/// <summary> | |
/// Socket Timeout | |
/// </summary> | |
[YamlIgnore] | |
public string? SocketTimeout | |
{ | |
get => GetString("socketTimeout"); | |
init => SetProperty("socketTimeout", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureContainerApps@0</c>: | |
/// Azure Container Apps Deploy | |
/// An Azure DevOps Task to build and deploy Azure Container Apps. | |
/// </summary> | |
public record AzureContainerApps_V0 : AzureDevOpsTask | |
{ | |
public AzureContainerApps_V0(string? azuresubscription) : base("AzureContainerApps@0") | |
{ | |
AzureSubscription = azuresubscription; | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Application source path | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSourcePath | |
{ | |
get => GetString("appSourcePath"); | |
init => SetProperty("appSourcePath", value); | |
} | |
/// <summary> | |
/// Azure Resource Manager connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Azure Container Registry name | |
/// </summary> | |
[YamlIgnore] | |
public string? AcrName | |
{ | |
get => GetString("acrName"); | |
init => SetProperty("acrName", value); | |
} | |
/// <summary> | |
/// Azure Container Registry username | |
/// </summary> | |
[YamlIgnore] | |
public string? AcrUsername | |
{ | |
get => GetString("acrUsername"); | |
init => SetProperty("acrUsername", value); | |
} | |
/// <summary> | |
/// Azure Container Registry password | |
/// </summary> | |
[YamlIgnore] | |
public string? AcrPassword | |
{ | |
get => GetString("acrPassword"); | |
init => SetProperty("acrPassword", value); | |
} | |
/// <summary> | |
/// Dockerfile path | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerfilePath | |
{ | |
get => GetString("dockerfilePath"); | |
init => SetProperty("dockerfilePath", value); | |
} | |
/// <summary> | |
/// Docker image to build | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageToBuild | |
{ | |
get => GetString("imageToBuild"); | |
init => SetProperty("imageToBuild", value); | |
} | |
/// <summary> | |
/// Docker image to deploy | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageToDeploy | |
{ | |
get => GetString("imageToDeploy"); | |
init => SetProperty("imageToDeploy", value); | |
} | |
/// <summary> | |
/// Azure Container App name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerAppName | |
{ | |
get => GetString("containerAppName"); | |
init => SetProperty("containerAppName", value); | |
} | |
/// <summary> | |
/// Azure resource group name | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroup | |
{ | |
get => GetString("resourceGroup"); | |
init => SetProperty("resourceGroup", value); | |
} | |
/// <summary> | |
/// Azure Container App environment | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerAppEnvironment | |
{ | |
get => GetString("containerAppEnvironment"); | |
init => SetProperty("containerAppEnvironment", value); | |
} | |
/// <summary> | |
/// Application runtime stack | |
/// </summary> | |
[YamlIgnore] | |
public string? RuntimeStack | |
{ | |
get => GetString("runtimeStack"); | |
init => SetProperty("runtimeStack", value); | |
} | |
/// <summary> | |
/// Application target port | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPort | |
{ | |
get => GetString("targetPort"); | |
init => SetProperty("targetPort", value); | |
} | |
/// <summary> | |
/// Location of the Container App | |
/// </summary> | |
[YamlIgnore] | |
public string? Location | |
{ | |
get => GetString("location"); | |
init => SetProperty("location", value); | |
} | |
/// <summary> | |
/// Environment variables | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentVariables | |
{ | |
get => GetString("environmentVariables"); | |
init => SetProperty("environmentVariables", value); | |
} | |
/// <summary> | |
/// Ingress setting | |
/// </summary> | |
[YamlIgnore] | |
public string? Ingress | |
{ | |
get => GetString("ingress"); | |
init => SetProperty("ingress", value); | |
} | |
/// <summary> | |
/// YAML configuration file path | |
/// </summary> | |
[YamlIgnore] | |
public string? YamlConfigPath | |
{ | |
get => GetString("yamlConfigPath"); | |
init => SetProperty("yamlConfigPath", value); | |
} | |
/// <summary> | |
/// Disable telemetry | |
/// </summary> | |
[YamlIgnore] | |
public bool DisableTelemetry | |
{ | |
get => GetBool("disableTelemetry", false); | |
init => SetProperty("disableTelemetry", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureContainerApps@1</c>: | |
/// Azure Container Apps Deploy | |
/// An Azure DevOps Task to build and deploy Azure Container Apps. | |
/// </summary> | |
public record AzureContainerApps_V1 : AzureDevOpsTask | |
{ | |
public AzureContainerApps_V1(string? azuresubscription) : base("AzureContainerApps@1") | |
{ | |
AzureSubscription = azuresubscription; | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Application source path | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSourcePath | |
{ | |
get => GetString("appSourcePath"); | |
init => SetProperty("appSourcePath", value); | |
} | |
/// <summary> | |
/// Azure Resource Manager connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Azure Container Registry name | |
/// </summary> | |
[YamlIgnore] | |
public string? AcrName | |
{ | |
get => GetString("acrName"); | |
init => SetProperty("acrName", value); | |
} | |
/// <summary> | |
/// Azure Container Registry username | |
/// </summary> | |
[YamlIgnore] | |
public string? AcrUsername | |
{ | |
get => GetString("acrUsername"); | |
init => SetProperty("acrUsername", value); | |
} | |
/// <summary> | |
/// Azure Container Registry password | |
/// </summary> | |
[YamlIgnore] | |
public string? AcrPassword | |
{ | |
get => GetString("acrPassword"); | |
init => SetProperty("acrPassword", value); | |
} | |
/// <summary> | |
/// Dockerfile path | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerfilePath | |
{ | |
get => GetString("dockerfilePath"); | |
init => SetProperty("dockerfilePath", value); | |
} | |
/// <summary> | |
/// Docker image to build | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageToBuild | |
{ | |
get => GetString("imageToBuild"); | |
init => SetProperty("imageToBuild", value); | |
} | |
/// <summary> | |
/// Docker image to deploy | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageToDeploy | |
{ | |
get => GetString("imageToDeploy"); | |
init => SetProperty("imageToDeploy", value); | |
} | |
/// <summary> | |
/// Azure Container App name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerAppName | |
{ | |
get => GetString("containerAppName"); | |
init => SetProperty("containerAppName", value); | |
} | |
/// <summary> | |
/// Azure resource group name | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroup | |
{ | |
get => GetString("resourceGroup"); | |
init => SetProperty("resourceGroup", value); | |
} | |
/// <summary> | |
/// Azure Container App environment | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerAppEnvironment | |
{ | |
get => GetString("containerAppEnvironment"); | |
init => SetProperty("containerAppEnvironment", value); | |
} | |
/// <summary> | |
/// Application runtime stack | |
/// </summary> | |
[YamlIgnore] | |
public string? RuntimeStack | |
{ | |
get => GetString("runtimeStack"); | |
init => SetProperty("runtimeStack", value); | |
} | |
/// <summary> | |
/// Application target port | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPort | |
{ | |
get => GetString("targetPort"); | |
init => SetProperty("targetPort", value); | |
} | |
/// <summary> | |
/// Location of the Container App | |
/// </summary> | |
[YamlIgnore] | |
public string? Location | |
{ | |
get => GetString("location"); | |
init => SetProperty("location", value); | |
} | |
/// <summary> | |
/// Environment variables | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentVariables | |
{ | |
get => GetString("environmentVariables"); | |
init => SetProperty("environmentVariables", value); | |
} | |
/// <summary> | |
/// Ingress setting | |
/// </summary> | |
[YamlIgnore] | |
public string? Ingress | |
{ | |
get => GetString("ingress"); | |
init => SetProperty("ingress", value); | |
} | |
/// <summary> | |
/// YAML configuration file path | |
/// </summary> | |
[YamlIgnore] | |
public string? YamlConfigPath | |
{ | |
get => GetString("yamlConfigPath"); | |
init => SetProperty("yamlConfigPath", value); | |
} | |
/// <summary> | |
/// Disable telemetry | |
/// </summary> | |
[YamlIgnore] | |
public bool DisableTelemetry | |
{ | |
get => GetBool("disableTelemetry", false); | |
init => SetProperty("disableTelemetry", value); | |
} | |
} | |
/// <summary> | |
/// <c>UseRubyVersion@0</c>: | |
/// Use Ruby version | |
/// Use the specified version of Ruby from the tool cache, optionally adding it to the PATH | |
/// </summary> | |
public record UseRubyVersion_V0 : AzureDevOpsTask | |
{ | |
public UseRubyVersion_V0() : base("UseRubyVersion@0") | |
{ | |
} | |
/// <summary> | |
/// Version spec | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSpec | |
{ | |
get => GetString("versionSpec"); | |
init => SetProperty("versionSpec", value); | |
} | |
/// <summary> | |
/// Add to PATH | |
/// </summary> | |
[YamlIgnore] | |
public bool AddToPath | |
{ | |
get => GetBool("addToPath", false); | |
init => SetProperty("addToPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>Grunt@0</c>: | |
/// Grunt | |
/// Run the Grunt JavaScript task runner | |
/// </summary> | |
public record Grunt_V0 : AzureDevOpsTask | |
{ | |
public Grunt_V0() : base("Grunt@0") | |
{ | |
} | |
/// <summary> | |
/// Grunt File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? GruntFile | |
{ | |
get => GetString("gruntFile"); | |
init => SetProperty("gruntFile", value); | |
} | |
/// <summary> | |
/// Grunt Task(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Targets | |
{ | |
get => GetString("targets"); | |
init => SetProperty("targets", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// grunt-cli location | |
/// </summary> | |
[YamlIgnore] | |
public string? GruntCli | |
{ | |
get => GetString("gruntCli"); | |
init => SetProperty("gruntCli", value); | |
} | |
/// <summary> | |
/// Publish to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test Results Files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test Run Title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Enable Code Coverage | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCodeCoverage | |
{ | |
get => GetBool("enableCodeCoverage", false); | |
init => SetProperty("enableCodeCoverage", value); | |
} | |
/// <summary> | |
/// Test Framework | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFramework | |
{ | |
get => GetString("testFramework"); | |
init => SetProperty("testFramework", value); | |
} | |
/// <summary> | |
/// Source Files | |
/// </summary> | |
[YamlIgnore] | |
public string? SrcFiles | |
{ | |
get => GetString("srcFiles"); | |
init => SetProperty("srcFiles", value); | |
} | |
/// <summary> | |
/// Test Script Files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFiles | |
{ | |
get => GetString("testFiles"); | |
init => SetProperty("testFiles", value); | |
} | |
} | |
/// <summary> | |
/// <c>SqlAzureDacpacDeployment@1</c>: | |
/// Azure SQL Database deployment | |
/// Deploy an Azure SQL Database using DACPAC or run scripts using SQLCMD | |
/// </summary> | |
public record SqlAzureDacpacDeployment_V1 : AzureDevOpsTask | |
{ | |
public SqlAzureDacpacDeployment_V1() : base("SqlAzureDacpacDeployment@1") | |
{ | |
} | |
/// <summary> | |
/// Azure Service Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureConnectionType | |
{ | |
get => GetString("azureConnectionType"); | |
init => SetProperty("azureConnectionType", value); | |
} | |
/// <summary> | |
/// Azure Classic Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureClassicSubscription | |
{ | |
get => GetString("azureClassicSubscription"); | |
init => SetProperty("azureClassicSubscription", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Authentication Type | |
/// </summary> | |
[YamlIgnore] | |
public string? AuthenticationType | |
{ | |
get => GetString("AuthenticationType"); | |
init => SetProperty("AuthenticationType", value); | |
} | |
/// <summary> | |
/// Azure SQL Server | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerName | |
{ | |
get => GetString("ServerName"); | |
init => SetProperty("ServerName", value); | |
} | |
/// <summary> | |
/// Database | |
/// </summary> | |
[YamlIgnore] | |
public string? DatabaseName | |
{ | |
get => GetString("DatabaseName"); | |
init => SetProperty("DatabaseName", value); | |
} | |
/// <summary> | |
/// Login | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlUsername | |
{ | |
get => GetString("SqlUsername"); | |
init => SetProperty("SqlUsername", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlPassword | |
{ | |
get => GetString("SqlPassword"); | |
init => SetProperty("SqlPassword", value); | |
} | |
/// <summary> | |
/// Login | |
/// </summary> | |
[YamlIgnore] | |
public string? AadSqlUsername | |
{ | |
get => GetString("aadSqlUsername"); | |
init => SetProperty("aadSqlUsername", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AadSqlPassword | |
{ | |
get => GetString("aadSqlPassword"); | |
init => SetProperty("aadSqlPassword", value); | |
} | |
/// <summary> | |
/// Connection String | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionString | |
{ | |
get => GetString("ConnectionString"); | |
init => SetProperty("ConnectionString", value); | |
} | |
/// <summary> | |
/// Deploy type | |
/// </summary> | |
[YamlIgnore] | |
public string? DeployType | |
{ | |
get => GetString("deployType"); | |
init => SetProperty("deployType", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentAction | |
{ | |
get => GetString("DeploymentAction"); | |
init => SetProperty("DeploymentAction", value); | |
} | |
/// <summary> | |
/// DACPAC File | |
/// </summary> | |
[YamlIgnore] | |
public string? DacpacFile | |
{ | |
get => GetString("DacpacFile"); | |
init => SetProperty("DacpacFile", value); | |
} | |
/// <summary> | |
/// BACPAC File | |
/// </summary> | |
[YamlIgnore] | |
public string? BacpacFile | |
{ | |
get => GetString("BacpacFile"); | |
init => SetProperty("BacpacFile", value); | |
} | |
/// <summary> | |
/// SQL Script | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlFile | |
{ | |
get => GetString("SqlFile"); | |
init => SetProperty("SqlFile", value); | |
} | |
/// <summary> | |
/// Inline SQL Script | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlInline | |
{ | |
get => GetString("SqlInline"); | |
init => SetProperty("SqlInline", value); | |
} | |
/// <summary> | |
/// Publish Profile | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishProfile | |
{ | |
get => GetString("PublishProfile"); | |
init => SetProperty("PublishProfile", value); | |
} | |
/// <summary> | |
/// Additional SqlPackage.exe Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// Additional Invoke-Sqlcmd Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlAdditionalArguments | |
{ | |
get => GetString("SqlAdditionalArguments"); | |
init => SetProperty("SqlAdditionalArguments", value); | |
} | |
/// <summary> | |
/// Additional Invoke-Sqlcmd Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? InlineAdditionalArguments | |
{ | |
get => GetString("InlineAdditionalArguments"); | |
init => SetProperty("InlineAdditionalArguments", value); | |
} | |
/// <summary> | |
/// Specify Firewall Rules Using | |
/// </summary> | |
[YamlIgnore] | |
public string? IpDetectionMethod | |
{ | |
get => GetString("IpDetectionMethod"); | |
init => SetProperty("IpDetectionMethod", value); | |
} | |
/// <summary> | |
/// Start IP Address | |
/// </summary> | |
[YamlIgnore] | |
public string? StartIpAddress | |
{ | |
get => GetString("StartIpAddress"); | |
init => SetProperty("StartIpAddress", value); | |
} | |
/// <summary> | |
/// End IP Address | |
/// </summary> | |
[YamlIgnore] | |
public string? EndIpAddress | |
{ | |
get => GetString("EndIpAddress"); | |
init => SetProperty("EndIpAddress", value); | |
} | |
/// <summary> | |
/// Delete Rule After Task Ends | |
/// </summary> | |
[YamlIgnore] | |
public bool DeleteFirewallRule | |
{ | |
get => GetBool("DeleteFirewallRule", false); | |
init => SetProperty("DeleteFirewallRule", value); | |
} | |
} | |
/// <summary> | |
/// <c>ContainerStructureTest@0</c>: | |
/// Container Structure Test | |
/// Uses container-structure-test (https://github.com/GoogleContainerTools/container-structure-test) to validate the structure of an image based on four categories of tests - command tests, file existence tests, file content tests and metadata tests | |
/// </summary> | |
public record ContainerStructureTest_V0 : AzureDevOpsTask | |
{ | |
public ContainerStructureTest_V0(string? dockerregistryserviceconnection, string? repository, string? configfile) : base("ContainerStructureTest@0") | |
{ | |
DockerRegistryServiceConnection = dockerregistryserviceconnection; | |
Repository = repository; | |
ConfigFile = configfile; | |
} | |
/// <summary> | |
/// Docker registry service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryServiceConnection | |
{ | |
get => GetString("dockerRegistryServiceConnection"); | |
init => SetProperty("dockerRegistryServiceConnection", value); | |
} | |
/// <summary> | |
/// Container repository | |
/// </summary> | |
[YamlIgnore] | |
public string? Repository | |
{ | |
get => GetString("repository"); | |
init => SetProperty("repository", value); | |
} | |
/// <summary> | |
/// Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? Tag | |
{ | |
get => GetString("tag"); | |
init => SetProperty("tag", value); | |
} | |
/// <summary> | |
/// Config file path | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigFile | |
{ | |
get => GetString("configFile"); | |
init => SetProperty("configFile", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Fail task if there are test failures | |
/// </summary> | |
[YamlIgnore] | |
public bool FailTaskOnFailedTests | |
{ | |
get => GetBool("failTaskOnFailedTests", false); | |
init => SetProperty("failTaskOnFailedTests", value); | |
} | |
} | |
/// <summary> | |
/// <c>IISWebAppDeployment@1</c>: | |
/// [Deprecated] IIS Web App deployment | |
/// Deploy using MSDeploy, then create/update websites and app pools | |
/// </summary> | |
public record IISWebAppDeployment_V1 : AzureDevOpsTask | |
{ | |
public IISWebAppDeployment_V1(string? environmentname, string? webdeploypackage) : base("IISWebAppDeployment@1") | |
{ | |
EnvironmentName = environmentname; | |
WebDeployPackage = webdeploypackage; | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentName | |
{ | |
get => GetString("EnvironmentName"); | |
init => SetProperty("EnvironmentName", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminUserName | |
{ | |
get => GetString("AdminUserName"); | |
init => SetProperty("AdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminPassword | |
{ | |
get => GetString("AdminPassword"); | |
init => SetProperty("AdminPassword", value); | |
} | |
/// <summary> | |
/// Protocol | |
/// </summary> | |
[YamlIgnore] | |
public string? WinRMProtocol | |
{ | |
get => GetString("WinRMProtocol"); | |
init => SetProperty("WinRMProtocol", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool TestCertificate | |
{ | |
get => GetBool("TestCertificate", false); | |
init => SetProperty("TestCertificate", value); | |
} | |
/// <summary> | |
/// Web Deploy Package | |
/// </summary> | |
[YamlIgnore] | |
public string? WebDeployPackage | |
{ | |
get => GetString("WebDeployPackage"); | |
init => SetProperty("WebDeployPackage", value); | |
} | |
/// <summary> | |
/// Web Deploy Parameter File | |
/// </summary> | |
[YamlIgnore] | |
public string? WebDeployParamFile | |
{ | |
get => GetString("WebDeployParamFile"); | |
init => SetProperty("WebDeployParamFile", value); | |
} | |
/// <summary> | |
/// Override Parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? OverRideParams | |
{ | |
get => GetString("OverRideParams"); | |
init => SetProperty("OverRideParams", value); | |
} | |
/// <summary> | |
/// Create or Update Website | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateWebSite | |
{ | |
get => GetBool("CreateWebSite", false); | |
init => SetProperty("CreateWebSite", value); | |
} | |
/// <summary> | |
/// Website Name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebSiteName | |
{ | |
get => GetString("WebSiteName"); | |
init => SetProperty("WebSiteName", value); | |
} | |
/// <summary> | |
/// Physical Path | |
/// </summary> | |
[YamlIgnore] | |
public string? WebSitePhysicalPath | |
{ | |
get => GetString("WebSitePhysicalPath"); | |
init => SetProperty("WebSitePhysicalPath", value); | |
} | |
/// <summary> | |
/// Physical Path Authentication | |
/// </summary> | |
[YamlIgnore] | |
public string? WebSitePhysicalPathAuth | |
{ | |
get => GetString("WebSitePhysicalPathAuth"); | |
init => SetProperty("WebSitePhysicalPathAuth", value); | |
} | |
/// <summary> | |
/// User Name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebSiteAuthUserName | |
{ | |
get => GetString("WebSiteAuthUserName"); | |
init => SetProperty("WebSiteAuthUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? WebSiteAuthUserPassword | |
{ | |
get => GetString("WebSiteAuthUserPassword"); | |
init => SetProperty("WebSiteAuthUserPassword", value); | |
} | |
/// <summary> | |
/// Add Binding | |
/// </summary> | |
[YamlIgnore] | |
public bool AddBinding | |
{ | |
get => GetBool("AddBinding", false); | |
init => SetProperty("AddBinding", value); | |
} | |
/// <summary> | |
/// Assign Duplicate Binding | |
/// </summary> | |
[YamlIgnore] | |
public bool AssignDuplicateBinding | |
{ | |
get => GetBool("AssignDuplicateBinding", false); | |
init => SetProperty("AssignDuplicateBinding", value); | |
} | |
/// <summary> | |
/// Protocol | |
/// </summary> | |
[YamlIgnore] | |
public string? Protocol | |
{ | |
get => GetString("Protocol"); | |
init => SetProperty("Protocol", value); | |
} | |
/// <summary> | |
/// IP Address | |
/// </summary> | |
[YamlIgnore] | |
public string? IPAddress | |
{ | |
get => GetString("IPAddress"); | |
init => SetProperty("IPAddress", value); | |
} | |
/// <summary> | |
/// Port | |
/// </summary> | |
[YamlIgnore] | |
public string? Port | |
{ | |
get => GetString("Port"); | |
init => SetProperty("Port", value); | |
} | |
/// <summary> | |
/// Server Name Indication Required | |
/// </summary> | |
[YamlIgnore] | |
public bool ServerNameIndication | |
{ | |
get => GetBool("ServerNameIndication", false); | |
init => SetProperty("ServerNameIndication", value); | |
} | |
/// <summary> | |
/// Host Name | |
/// </summary> | |
[YamlIgnore] | |
public string? HostNameWithOutSNI | |
{ | |
get => GetString("HostNameWithOutSNI"); | |
init => SetProperty("HostNameWithOutSNI", value); | |
} | |
/// <summary> | |
/// Host Name | |
/// </summary> | |
[YamlIgnore] | |
public string? HostNameWithHttp | |
{ | |
get => GetString("HostNameWithHttp"); | |
init => SetProperty("HostNameWithHttp", value); | |
} | |
/// <summary> | |
/// Host Name | |
/// </summary> | |
[YamlIgnore] | |
public string? HostNameWithSNI | |
{ | |
get => GetString("HostNameWithSNI"); | |
init => SetProperty("HostNameWithSNI", value); | |
} | |
/// <summary> | |
/// SSL Certificate Thumb Print | |
/// </summary> | |
[YamlIgnore] | |
public string? SSLCertThumbPrint | |
{ | |
get => GetString("SSLCertThumbPrint"); | |
init => SetProperty("SSLCertThumbPrint", value); | |
} | |
/// <summary> | |
/// Create or Update Application Pool | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateAppPool | |
{ | |
get => GetBool("CreateAppPool", false); | |
init => SetProperty("CreateAppPool", value); | |
} | |
/// <summary> | |
/// Name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolName | |
{ | |
get => GetString("AppPoolName"); | |
init => SetProperty("AppPoolName", value); | |
} | |
/// <summary> | |
/// .NET Version | |
/// </summary> | |
[YamlIgnore] | |
public string? DotNetVersion | |
{ | |
get => GetString("DotNetVersion"); | |
init => SetProperty("DotNetVersion", value); | |
} | |
/// <summary> | |
/// Managed Pipeline Mode | |
/// </summary> | |
[YamlIgnore] | |
public string? PipeLineMode | |
{ | |
get => GetString("PipeLineMode"); | |
init => SetProperty("PipeLineMode", value); | |
} | |
/// <summary> | |
/// Identity | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolIdentity | |
{ | |
get => GetString("AppPoolIdentity"); | |
init => SetProperty("AppPoolIdentity", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolUsername | |
{ | |
get => GetString("AppPoolUsername"); | |
init => SetProperty("AppPoolUsername", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolPassword | |
{ | |
get => GetString("AppPoolPassword"); | |
init => SetProperty("AppPoolPassword", value); | |
} | |
/// <summary> | |
/// Additional AppCmd.exe Commands | |
/// </summary> | |
[YamlIgnore] | |
public string? AppCmdCommands | |
{ | |
get => GetString("AppCmdCommands"); | |
init => SetProperty("AppCmdCommands", value); | |
} | |
/// <summary> | |
/// Deploy in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployInParallel | |
{ | |
get => GetBool("DeployInParallel", false); | |
init => SetProperty("DeployInParallel", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Deploy to Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineFilter | |
{ | |
get => GetString("MachineFilter"); | |
init => SetProperty("MachineFilter", value); | |
} | |
} | |
/// <summary> | |
/// <c>CloudLoadTest@1</c>: | |
/// Cloud-based load test | |
/// Run a load test in the cloud with Azure Pipelines | |
/// </summary> | |
public record CloudLoadTest_V1 : AzureDevOpsTask | |
{ | |
public CloudLoadTest_V1(string? loadtest) : base("CloudLoadTest@1") | |
{ | |
LoadTest = loadtest; | |
} | |
/// <summary> | |
/// Azure Pipelines Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("connectedServiceName"); | |
init => SetProperty("connectedServiceName", value); | |
} | |
/// <summary> | |
/// Load test files folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TestDrop | |
{ | |
get => GetString("TestDrop"); | |
init => SetProperty("TestDrop", value); | |
} | |
/// <summary> | |
/// Load test file | |
/// </summary> | |
[YamlIgnore] | |
public string? LoadTest | |
{ | |
get => GetString("LoadTest"); | |
init => SetProperty("LoadTest", value); | |
} | |
/// <summary> | |
/// Active Run Settings | |
/// </summary> | |
[YamlIgnore] | |
public string? ActiveRunSettings | |
{ | |
get => GetString("activeRunSettings"); | |
init => SetProperty("activeRunSettings", value); | |
} | |
/// <summary> | |
/// Specify the name of the Run Settings | |
/// </summary> | |
[YamlIgnore] | |
public string? RunSettingName | |
{ | |
get => GetString("runSettingName"); | |
init => SetProperty("runSettingName", value); | |
} | |
/// <summary> | |
/// Override load test context parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? TestContextParameters | |
{ | |
get => GetString("testContextParameters"); | |
init => SetProperty("testContextParameters", value); | |
} | |
/// <summary> | |
/// Test settings file | |
/// </summary> | |
[YamlIgnore] | |
public string? TestSettings | |
{ | |
get => GetString("TestSettings"); | |
init => SetProperty("TestSettings", value); | |
} | |
/// <summary> | |
/// Number of permissible threshold violations | |
/// </summary> | |
[YamlIgnore] | |
public string? ThresholdLimit | |
{ | |
get => GetString("ThresholdLimit"); | |
init => SetProperty("ThresholdLimit", value); | |
} | |
/// <summary> | |
/// Run load test using | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineType | |
{ | |
get => GetString("MachineType"); | |
init => SetProperty("MachineType", value); | |
} | |
/// <summary> | |
/// Resource group rig | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Number of agents to use | |
/// </summary> | |
[YamlIgnore] | |
public int? NumOfSelfProvisionedAgents | |
{ | |
get => GetInt("numOfSelfProvisionedAgents"); | |
init => SetProperty("numOfSelfProvisionedAgents", value); | |
} | |
} | |
/// <summary> | |
/// <c>KubectlInstaller@0</c>: | |
/// Kubectl tool installer | |
/// Install Kubectl on agent machine | |
/// </summary> | |
public record KubectlInstaller_V0 : AzureDevOpsTask | |
{ | |
public KubectlInstaller_V0() : base("KubectlInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// Kubectl Version Spec | |
/// </summary> | |
[YamlIgnore] | |
public string? KubectlVersion | |
{ | |
get => GetString("kubectlVersion"); | |
init => SetProperty("kubectlVersion", value); | |
} | |
} | |
/// <summary> | |
/// <c>CmdLine@2</c>: | |
/// Command line | |
/// Run a command line script using Bash on Linux and macOS and cmd.exe on Windows | |
/// </summary> | |
public record CmdLine_V2 : AzureDevOpsTask | |
{ | |
public CmdLine_V2() : base("CmdLine@2") | |
{ | |
} | |
/// <summary> | |
/// Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Script | |
{ | |
get => GetString("script"); | |
init => SetProperty("script", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStderr | |
{ | |
get => GetBool("failOnStderr", false); | |
init => SetProperty("failOnStderr", value); | |
} | |
} | |
/// <summary> | |
/// <c>CmdLine@1</c>: | |
/// Command Line | |
/// Run a command line with arguments | |
/// </summary> | |
public record CmdLine_V1 : AzureDevOpsTask | |
{ | |
public CmdLine_V1(string? filename) : base("CmdLine@1") | |
{ | |
Filename = filename; | |
} | |
/// <summary> | |
/// Tool | |
/// </summary> | |
[YamlIgnore] | |
public string? Filename | |
{ | |
get => GetString("filename"); | |
init => SetProperty("filename", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Working folder | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingFolder | |
{ | |
get => GetString("workingFolder"); | |
init => SetProperty("workingFolder", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("failOnStandardError", false); | |
init => SetProperty("failOnStandardError", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGet@0</c>: | |
/// NuGet command | |
/// Deprecated: use the “NuGet” task instead. It works with the new Tool Installer framework so you can easily use new versions of NuGet without waiting for a task update, provides better support for authenticated feeds outside this organization/collection, and uses NuGet 4 by default. | |
/// </summary> | |
public record NuGet_V0 : AzureDevOpsTask | |
{ | |
public NuGet_V0(string? command) : base("NuGet@0") | |
{ | |
Command = command; | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>ContainerBuild@0</c>: | |
/// Container Build | |
/// Container Build Task | |
/// </summary> | |
public record ContainerBuild_V0 : AzureDevOpsTask | |
{ | |
public ContainerBuild_V0() : base("ContainerBuild@0") | |
{ | |
} | |
/// <summary> | |
/// Docker registry service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryServiceConnection | |
{ | |
get => GetString("dockerRegistryServiceConnection"); | |
init => SetProperty("dockerRegistryServiceConnection", value); | |
} | |
/// <summary> | |
/// Container repository | |
/// </summary> | |
[YamlIgnore] | |
public string? Repository | |
{ | |
get => GetString("repository"); | |
init => SetProperty("repository", value); | |
} | |
/// <summary> | |
/// Dockerfile | |
/// </summary> | |
[YamlIgnore] | |
public string? Dockerfile | |
{ | |
get => GetString("Dockerfile"); | |
init => SetProperty("Dockerfile", value); | |
} | |
/// <summary> | |
/// Build context | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildContext | |
{ | |
get => GetString("buildContext"); | |
init => SetProperty("buildContext", value); | |
} | |
/// <summary> | |
/// Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? Tags | |
{ | |
get => GetString("tags"); | |
init => SetProperty("tags", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGetInstaller@0</c>: | |
/// NuGet Installer | |
/// Installs or restores missing NuGet packages. Use NuGetAuthenticate@0 task for latest capabilities. | |
/// </summary> | |
public record NuGetInstaller_V0 : AzureDevOpsTask | |
{ | |
public NuGetInstaller_V0() : base("NuGetInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// Path to solution or packages.config | |
/// </summary> | |
[YamlIgnore] | |
public string? Solution | |
{ | |
get => GetString("solution"); | |
init => SetProperty("solution", value); | |
} | |
/// <summary> | |
/// Path to NuGet.config | |
/// </summary> | |
[YamlIgnore] | |
public string? NugetConfigPath | |
{ | |
get => GetString("nugetConfigPath"); | |
init => SetProperty("nugetConfigPath", value); | |
} | |
/// <summary> | |
/// Installation type | |
/// </summary> | |
[YamlIgnore] | |
public string? RestoreMode | |
{ | |
get => GetString("restoreMode"); | |
init => SetProperty("restoreMode", value); | |
} | |
/// <summary> | |
/// Disable local cache | |
/// </summary> | |
[YamlIgnore] | |
public bool NoCache | |
{ | |
get => GetBool("noCache", false); | |
init => SetProperty("noCache", value); | |
} | |
/// <summary> | |
/// NuGet arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetRestoreArgs | |
{ | |
get => GetString("nuGetRestoreArgs"); | |
init => SetProperty("nuGetRestoreArgs", value); | |
} | |
/// <summary> | |
/// Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? Verbosity | |
{ | |
get => GetString("verbosity"); | |
init => SetProperty("verbosity", value); | |
} | |
/// <summary> | |
/// NuGet Version | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetVersion | |
{ | |
get => GetString("nuGetVersion"); | |
init => SetProperty("nuGetVersion", value); | |
} | |
/// <summary> | |
/// Path to NuGet.exe | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetPath | |
{ | |
get => GetString("nuGetPath"); | |
init => SetProperty("nuGetPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGetRestore@1</c>: | |
/// NuGet Restore | |
/// Restores NuGet packages in preparation for a Visual Studio Build step. | |
/// </summary> | |
public record NuGetRestore_V1 : AzureDevOpsTask | |
{ | |
public NuGetRestore_V1() : base("NuGetRestore@1") | |
{ | |
} | |
/// <summary> | |
/// Path to solution, packages.config, or project.json | |
/// </summary> | |
[YamlIgnore] | |
public string? Solution | |
{ | |
get => GetString("solution"); | |
init => SetProperty("solution", value); | |
} | |
/// <summary> | |
/// Feeds to use | |
/// </summary> | |
[YamlIgnore] | |
public string? SelectOrConfig | |
{ | |
get => GetString("selectOrConfig"); | |
init => SetProperty("selectOrConfig", value); | |
} | |
/// <summary> | |
/// Use packages from this Azure Artifacts feed | |
/// </summary> | |
[YamlIgnore] | |
public string? Feed | |
{ | |
get => GetString("feed"); | |
init => SetProperty("feed", value); | |
} | |
/// <summary> | |
/// Use packages from NuGet.org | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeNuGetOrg | |
{ | |
get => GetBool("includeNuGetOrg", false); | |
init => SetProperty("includeNuGetOrg", value); | |
} | |
/// <summary> | |
/// Path to NuGet.config | |
/// </summary> | |
[YamlIgnore] | |
public string? NugetConfigPath | |
{ | |
get => GetString("nugetConfigPath"); | |
init => SetProperty("nugetConfigPath", value); | |
} | |
/// <summary> | |
/// Disable local cache | |
/// </summary> | |
[YamlIgnore] | |
public bool NoCache | |
{ | |
get => GetBool("noCache", false); | |
init => SetProperty("noCache", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? PackagesDirectory | |
{ | |
get => GetString("packagesDirectory"); | |
init => SetProperty("packagesDirectory", value); | |
} | |
/// <summary> | |
/// Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? Verbosity | |
{ | |
get => GetString("verbosity"); | |
init => SetProperty("verbosity", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGetCommand@2</c>: | |
/// NuGet | |
/// Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task. | |
/// </summary> | |
public record NuGetCommand_V2 : AzureDevOpsTask | |
{ | |
public NuGetCommand_V2() : base("NuGetCommand@2") | |
{ | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Path to solution, packages.config, or project.json | |
/// </summary> | |
[YamlIgnore] | |
public string? RestoreSolution | |
{ | |
get => GetString("restoreSolution"); | |
init => SetProperty("restoreSolution", value); | |
} | |
/// <summary> | |
/// Feeds to use | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedsToUse | |
{ | |
get => GetString("feedsToUse"); | |
init => SetProperty("feedsToUse", value); | |
} | |
/// <summary> | |
/// Use packages from this Azure Artifacts/TFS feed. Select from the dropdown or enter [project name/]feed name. | |
/// </summary> | |
[YamlIgnore] | |
public string? VstsFeed | |
{ | |
get => GetString("vstsFeed"); | |
init => SetProperty("vstsFeed", value); | |
} | |
/// <summary> | |
/// Use packages from NuGet.org | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeNuGetOrg | |
{ | |
get => GetBool("includeNuGetOrg", false); | |
init => SetProperty("includeNuGetOrg", value); | |
} | |
/// <summary> | |
/// Path to NuGet.config | |
/// </summary> | |
[YamlIgnore] | |
public string? NugetConfigPath | |
{ | |
get => GetString("nugetConfigPath"); | |
init => SetProperty("nugetConfigPath", value); | |
} | |
/// <summary> | |
/// Credentials for feeds outside this organization/collection | |
/// </summary> | |
[YamlIgnore] | |
public string? ExternalFeedCredentials | |
{ | |
get => GetString("externalFeedCredentials"); | |
init => SetProperty("externalFeedCredentials", value); | |
} | |
/// <summary> | |
/// Disable local cache | |
/// </summary> | |
[YamlIgnore] | |
public bool NoCache | |
{ | |
get => GetBool("noCache", false); | |
init => SetProperty("noCache", value); | |
} | |
/// <summary> | |
/// Disable parallel processing | |
/// </summary> | |
[YamlIgnore] | |
public bool DisableParallelProcessing | |
{ | |
get => GetBool("disableParallelProcessing", false); | |
init => SetProperty("disableParallelProcessing", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? RestoreDirectory | |
{ | |
get => GetString("restoreDirectory"); | |
init => SetProperty("restoreDirectory", value); | |
} | |
/// <summary> | |
/// Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? VerbosityRestore | |
{ | |
get => GetString("verbosityRestore"); | |
init => SetProperty("verbosityRestore", value); | |
} | |
/// <summary> | |
/// Path to NuGet package(s) to publish | |
/// </summary> | |
[YamlIgnore] | |
public string? PackagesToPush | |
{ | |
get => GetString("packagesToPush"); | |
init => SetProperty("packagesToPush", value); | |
} | |
/// <summary> | |
/// Target feed location | |
/// </summary> | |
[YamlIgnore] | |
public string? NuGetFeedType | |
{ | |
get => GetString("nuGetFeedType"); | |
init => SetProperty("nuGetFeedType", value); | |
} | |
/// <summary> | |
/// Target feed | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishVstsFeed | |
{ | |
get => GetString("publishVstsFeed"); | |
init => SetProperty("publishVstsFeed", value); | |
} | |
/// <summary> | |
/// Publish pipeline metadata | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishPackageMetadata | |
{ | |
get => GetBool("publishPackageMetadata", false); | |
init => SetProperty("publishPackageMetadata", value); | |
} | |
/// <summary> | |
/// Allow duplicates to be skipped | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowPackageConflicts | |
{ | |
get => GetBool("allowPackageConflicts", false); | |
init => SetProperty("allowPackageConflicts", value); | |
} | |
/// <summary> | |
/// NuGet server | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishFeedCredentials | |
{ | |
get => GetString("publishFeedCredentials"); | |
init => SetProperty("publishFeedCredentials", value); | |
} | |
/// <summary> | |
/// Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? VerbosityPush | |
{ | |
get => GetString("verbosityPush"); | |
init => SetProperty("verbosityPush", value); | |
} | |
/// <summary> | |
/// Path to csproj or nuspec file(s) to pack | |
/// </summary> | |
[YamlIgnore] | |
public string? PackagesToPack | |
{ | |
get => GetString("packagesToPack"); | |
init => SetProperty("packagesToPack", value); | |
} | |
/// <summary> | |
/// Configuration to package | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Package folder | |
/// </summary> | |
[YamlIgnore] | |
public string? PackDestination | |
{ | |
get => GetString("packDestination"); | |
init => SetProperty("packDestination", value); | |
} | |
/// <summary> | |
/// Automatic package versioning | |
/// </summary> | |
[YamlIgnore] | |
public string? VersioningScheme | |
{ | |
get => GetString("versioningScheme"); | |
init => SetProperty("versioningScheme", value); | |
} | |
/// <summary> | |
/// Include referenced projects | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeReferencedProjects | |
{ | |
get => GetBool("includeReferencedProjects", false); | |
init => SetProperty("includeReferencedProjects", value); | |
} | |
/// <summary> | |
/// Environment variable | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionEnvVar | |
{ | |
get => GetString("versionEnvVar"); | |
init => SetProperty("versionEnvVar", value); | |
} | |
/// <summary> | |
/// Major | |
/// </summary> | |
[YamlIgnore] | |
public string? MajorVersion | |
{ | |
get => GetString("majorVersion"); | |
init => SetProperty("majorVersion", value); | |
} | |
/// <summary> | |
/// Minor | |
/// </summary> | |
[YamlIgnore] | |
public string? MinorVersion | |
{ | |
get => GetString("minorVersion"); | |
init => SetProperty("minorVersion", value); | |
} | |
/// <summary> | |
/// Patch | |
/// </summary> | |
[YamlIgnore] | |
public string? PatchVersion | |
{ | |
get => GetString("patchVersion"); | |
init => SetProperty("patchVersion", value); | |
} | |
/// <summary> | |
/// Time zone | |
/// </summary> | |
[YamlIgnore] | |
public string? PackTimezone | |
{ | |
get => GetString("packTimezone"); | |
init => SetProperty("packTimezone", value); | |
} | |
/// <summary> | |
/// Create symbols package | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeSymbols | |
{ | |
get => GetBool("includeSymbols", false); | |
init => SetProperty("includeSymbols", value); | |
} | |
/// <summary> | |
/// Tool Package | |
/// </summary> | |
[YamlIgnore] | |
public bool ToolPackage | |
{ | |
get => GetBool("toolPackage", false); | |
init => SetProperty("toolPackage", value); | |
} | |
/// <summary> | |
/// Additional build properties | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildProperties | |
{ | |
get => GetString("buildProperties"); | |
init => SetProperty("buildProperties", value); | |
} | |
/// <summary> | |
/// Base path | |
/// </summary> | |
[YamlIgnore] | |
public string? BasePath | |
{ | |
get => GetString("basePath"); | |
init => SetProperty("basePath", value); | |
} | |
/// <summary> | |
/// Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? VerbosityPack | |
{ | |
get => GetString("verbosityPack"); | |
init => SetProperty("verbosityPack", value); | |
} | |
/// <summary> | |
/// Command and arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>Delay@1</c>: | |
/// Delay | |
/// Delay further execution of a workflow by a fixed time | |
/// </summary> | |
public record Delay_V1 : AzureDevOpsTask | |
{ | |
public Delay_V1() : base("Delay@1") | |
{ | |
} | |
/// <summary> | |
/// Delay Time (minutes) | |
/// </summary> | |
[YamlIgnore] | |
public string? DelayForMinutes | |
{ | |
get => GetString("delayForMinutes"); | |
init => SetProperty("delayForMinutes", value); | |
} | |
} | |
/// <summary> | |
/// <c>XamariniOS@2</c>: | |
/// Xamarin.iOS | |
/// Build an iOS app with Xamarin on macOS | |
/// </summary> | |
public record XamariniOS_V2 : AzureDevOpsTask | |
{ | |
public XamariniOS_V2() : base("XamariniOS@2") | |
{ | |
} | |
/// <summary> | |
/// Solution | |
/// </summary> | |
[YamlIgnore] | |
public string? SolutionFile | |
{ | |
get => GetString("solutionFile"); | |
init => SetProperty("solutionFile", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Clean | |
/// </summary> | |
[YamlIgnore] | |
public bool Clean | |
{ | |
get => GetBool("clean", false); | |
init => SetProperty("clean", value); | |
} | |
/// <summary> | |
/// Create app package | |
/// </summary> | |
[YamlIgnore] | |
public bool PackageApp | |
{ | |
get => GetBool("packageApp", false); | |
init => SetProperty("packageApp", value); | |
} | |
/// <summary> | |
/// Build for iOS Simulator | |
/// </summary> | |
[YamlIgnore] | |
public bool BuildForSimulator | |
{ | |
get => GetBool("buildForSimulator", false); | |
init => SetProperty("buildForSimulator", value); | |
} | |
/// <summary> | |
/// Run NuGet restore | |
/// </summary> | |
[YamlIgnore] | |
public bool RunNugetRestore | |
{ | |
get => GetBool("runNugetRestore", false); | |
init => SetProperty("runNugetRestore", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Build tool path | |
/// </summary> | |
[YamlIgnore] | |
public string? MdtoolFile | |
{ | |
get => GetString("mdtoolFile"); | |
init => SetProperty("mdtoolFile", value); | |
} | |
/// <summary> | |
/// Signing identity | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningIdentity | |
{ | |
get => GetString("signingIdentity"); | |
init => SetProperty("signingIdentity", value); | |
} | |
/// <summary> | |
/// Provisioning profile UUID | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningProvisioningProfileID | |
{ | |
get => GetString("signingProvisioningProfileID"); | |
init => SetProperty("signingProvisioningProfileID", value); | |
} | |
} | |
/// <summary> | |
/// <c>XamariniOS@1</c>: | |
/// Xamarin.iOS | |
/// Build an iOS app with Xamarin on macOS | |
/// </summary> | |
public record XamariniOS_V1 : AzureDevOpsTask | |
{ | |
public XamariniOS_V1() : base("XamariniOS@1") | |
{ | |
} | |
/// <summary> | |
/// Solution | |
/// </summary> | |
[YamlIgnore] | |
public string? SolutionFile | |
{ | |
get => GetString("solutionFile"); | |
init => SetProperty("solutionFile", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Clean | |
/// </summary> | |
[YamlIgnore] | |
public bool Clean | |
{ | |
get => GetBool("clean", false); | |
init => SetProperty("clean", value); | |
} | |
/// <summary> | |
/// Create app package | |
/// </summary> | |
[YamlIgnore] | |
public bool PackageApp | |
{ | |
get => GetBool("packageApp", false); | |
init => SetProperty("packageApp", value); | |
} | |
/// <summary> | |
/// Build for iOS Simulator | |
/// </summary> | |
[YamlIgnore] | |
public bool BuildForSimulator | |
{ | |
get => GetBool("buildForSimulator", false); | |
init => SetProperty("buildForSimulator", value); | |
} | |
/// <summary> | |
/// Run NuGet restore | |
/// </summary> | |
[YamlIgnore] | |
public bool RunNugetRestore | |
{ | |
get => GetBool("runNugetRestore", false); | |
init => SetProperty("runNugetRestore", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Build tool | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildToolOption | |
{ | |
get => GetString("buildToolOption"); | |
init => SetProperty("buildToolOption", value); | |
} | |
/// <summary> | |
/// Build tool path | |
/// </summary> | |
[YamlIgnore] | |
public string? MdtoolFile | |
{ | |
get => GetString("mdtoolFile"); | |
init => SetProperty("mdtoolFile", value); | |
} | |
/// <summary> | |
/// Override using | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningOption | |
{ | |
get => GetString("signingOption"); | |
init => SetProperty("signingOption", value); | |
} | |
/// <summary> | |
/// Signing identity | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningIdentity | |
{ | |
get => GetString("signingIdentity"); | |
init => SetProperty("signingIdentity", value); | |
} | |
/// <summary> | |
/// Unlock default keychain | |
/// </summary> | |
[YamlIgnore] | |
public bool SigningUnlockDefaultKeychain | |
{ | |
get => GetBool("signingUnlockDefaultKeychain", false); | |
init => SetProperty("signingUnlockDefaultKeychain", value); | |
} | |
/// <summary> | |
/// Default keychain password | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningDefaultKeychainPassword | |
{ | |
get => GetString("signingDefaultKeychainPassword"); | |
init => SetProperty("signingDefaultKeychainPassword", value); | |
} | |
/// <summary> | |
/// Provisioning profile UUID | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningProvisioningProfileID | |
{ | |
get => GetString("signingProvisioningProfileID"); | |
init => SetProperty("signingProvisioningProfileID", value); | |
} | |
/// <summary> | |
/// P12 certificate file | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningP12File | |
{ | |
get => GetString("signingP12File"); | |
init => SetProperty("signingP12File", value); | |
} | |
/// <summary> | |
/// P12 password | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningP12Password | |
{ | |
get => GetString("signingP12Password"); | |
init => SetProperty("signingP12Password", value); | |
} | |
/// <summary> | |
/// Provisioning profile file | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningProvisioningProfileFile | |
{ | |
get => GetString("signingProvisioningProfileFile"); | |
init => SetProperty("signingProvisioningProfileFile", value); | |
} | |
/// <summary> | |
/// Remove profile after build | |
/// </summary> | |
[YamlIgnore] | |
public bool SigningRemoveProfile | |
{ | |
get => GetBool("signingRemoveProfile", false); | |
init => SetProperty("signingRemoveProfile", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishTestResults@1</c>: | |
/// Publish test results | |
/// Publish test results to Azure Pipelines | |
/// </summary> | |
public record PublishTestResults_V1 : AzureDevOpsTask | |
{ | |
public PublishTestResults_V1() : base("PublishTestResults@1") | |
{ | |
} | |
/// <summary> | |
/// Test Result Format | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunner | |
{ | |
get => GetString("testRunner"); | |
init => SetProperty("testRunner", value); | |
} | |
/// <summary> | |
/// Test Results Files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Merge Test Results | |
/// </summary> | |
[YamlIgnore] | |
public bool MergeTestResults | |
{ | |
get => GetBool("mergeTestResults", false); | |
init => SetProperty("mergeTestResults", value); | |
} | |
/// <summary> | |
/// Test Run Title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Platform | |
/// </summary> | |
[YamlIgnore] | |
public string? Platform | |
{ | |
get => GetString("platform"); | |
init => SetProperty("platform", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Upload Test Attachments | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishRunAttachments | |
{ | |
get => GetBool("publishRunAttachments", false); | |
init => SetProperty("publishRunAttachments", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishTestResults@2</c>: | |
/// Publish Test Results | |
/// Publish test results to Azure Pipelines | |
/// </summary> | |
public record PublishTestResults_V2 : AzureDevOpsTask | |
{ | |
public PublishTestResults_V2() : base("PublishTestResults@2") | |
{ | |
} | |
/// <summary> | |
/// Test result format | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFormat | |
{ | |
get => GetString("testResultsFormat"); | |
init => SetProperty("testResultsFormat", value); | |
} | |
/// <summary> | |
/// Test results files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Search folder | |
/// </summary> | |
[YamlIgnore] | |
public string? SearchFolder | |
{ | |
get => GetString("searchFolder"); | |
init => SetProperty("searchFolder", value); | |
} | |
/// <summary> | |
/// Merge test results | |
/// </summary> | |
[YamlIgnore] | |
public bool MergeTestResults | |
{ | |
get => GetBool("mergeTestResults", false); | |
init => SetProperty("mergeTestResults", value); | |
} | |
/// <summary> | |
/// Fail if there are test failures | |
/// </summary> | |
[YamlIgnore] | |
public bool FailTaskOnFailedTests | |
{ | |
get => GetBool("failTaskOnFailedTests", false); | |
init => SetProperty("failTaskOnFailedTests", value); | |
} | |
/// <summary> | |
/// Fail if there is failure in publishing test results | |
/// </summary> | |
[YamlIgnore] | |
public bool FailTaskOnFailureToPublishResults | |
{ | |
get => GetBool("failTaskOnFailureToPublishResults", false); | |
init => SetProperty("failTaskOnFailureToPublishResults", value); | |
} | |
/// <summary> | |
/// Fail if no result files are found | |
/// </summary> | |
[YamlIgnore] | |
public bool FailTaskOnMissingResultsFile | |
{ | |
get => GetBool("failTaskOnMissingResultsFile", false); | |
init => SetProperty("failTaskOnMissingResultsFile", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Build Platform | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildPlatform | |
{ | |
get => GetString("buildPlatform"); | |
init => SetProperty("buildPlatform", value); | |
} | |
/// <summary> | |
/// Build Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildConfiguration | |
{ | |
get => GetString("buildConfiguration"); | |
init => SetProperty("buildConfiguration", value); | |
} | |
/// <summary> | |
/// Upload test results files | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishRunAttachments | |
{ | |
get => GetBool("publishRunAttachments", false); | |
init => SetProperty("publishRunAttachments", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFileCopy@1</c>: | |
/// Azure file copy | |
/// Copy files to Azure Blob Storage or virtual machines | |
/// </summary> | |
public record AzureFileCopy_V1 : AzureDevOpsTask | |
{ | |
public AzureFileCopy_V1(string? sourcepath, string? destination) : base("AzureFileCopy@1") | |
{ | |
SourcePath = sourcepath; | |
Destination = destination; | |
} | |
/// <summary> | |
/// Source | |
/// </summary> | |
[YamlIgnore] | |
public string? SourcePath | |
{ | |
get => GetString("SourcePath"); | |
init => SetProperty("SourcePath", value); | |
} | |
/// <summary> | |
/// Azure Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureConnectionType | |
{ | |
get => GetString("azureConnectionType"); | |
init => SetProperty("azureConnectionType", value); | |
} | |
/// <summary> | |
/// Azure Classic Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureClassicSubscription | |
{ | |
get => GetString("azureClassicSubscription"); | |
init => SetProperty("azureClassicSubscription", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Destination Type | |
/// </summary> | |
[YamlIgnore] | |
public string? Destination | |
{ | |
get => GetString("Destination"); | |
init => SetProperty("Destination", value); | |
} | |
/// <summary> | |
/// Classic Storage Account | |
/// </summary> | |
[YamlIgnore] | |
public string? ClassicStorage | |
{ | |
get => GetString("classicStorage"); | |
init => SetProperty("classicStorage", value); | |
} | |
/// <summary> | |
/// RM Storage Account | |
/// </summary> | |
[YamlIgnore] | |
public string? Storage | |
{ | |
get => GetString("storage"); | |
init => SetProperty("storage", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("ContainerName"); | |
init => SetProperty("ContainerName", value); | |
} | |
/// <summary> | |
/// Blob Prefix | |
/// </summary> | |
[YamlIgnore] | |
public string? BlobPrefix | |
{ | |
get => GetString("BlobPrefix"); | |
init => SetProperty("BlobPrefix", value); | |
} | |
/// <summary> | |
/// Cloud Service | |
/// </summary> | |
[YamlIgnore] | |
public string? CloudService | |
{ | |
get => GetString("cloudService"); | |
init => SetProperty("cloudService", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroup | |
{ | |
get => GetString("resourceGroup"); | |
init => SetProperty("resourceGroup", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminUserName | |
{ | |
get => GetString("vmsAdminUserName"); | |
init => SetProperty("vmsAdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminPassword | |
{ | |
get => GetString("vmsAdminPassword"); | |
init => SetProperty("vmsAdminPassword", value); | |
} | |
/// <summary> | |
/// Destination Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// Enable Copy Prerequisites | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCopyPrerequisites | |
{ | |
get => GetBool("enableCopyPrerequisites", false); | |
init => SetProperty("enableCopyPrerequisites", value); | |
} | |
/// <summary> | |
/// Copy in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool CopyFilesInParallel | |
{ | |
get => GetBool("CopyFilesInParallel", false); | |
init => SetProperty("CopyFilesInParallel", value); | |
} | |
/// <summary> | |
/// Clean Target | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetBeforeCopy | |
{ | |
get => GetBool("CleanTargetBeforeCopy", false); | |
init => SetProperty("CleanTargetBeforeCopy", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipCACheck | |
{ | |
get => GetBool("skipCACheck", false); | |
init => SetProperty("skipCACheck", value); | |
} | |
/// <summary> | |
/// Storage Container URI | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputStorageUri | |
{ | |
get => GetString("outputStorageUri"); | |
init => SetProperty("outputStorageUri", value); | |
} | |
/// <summary> | |
/// Storage Container SAS Token | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputStorageContainerSasToken | |
{ | |
get => GetString("outputStorageContainerSasToken"); | |
init => SetProperty("outputStorageContainerSasToken", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFileCopy@2</c>: | |
/// Azure file copy | |
/// Copy files to Azure Blob Storage or virtual machines | |
/// </summary> | |
public record AzureFileCopy_V2 : AzureDevOpsTask | |
{ | |
public AzureFileCopy_V2(string? sourcepath, string? destination) : base("AzureFileCopy@2") | |
{ | |
SourcePath = sourcepath; | |
Destination = destination; | |
} | |
/// <summary> | |
/// Source | |
/// </summary> | |
[YamlIgnore] | |
public string? SourcePath | |
{ | |
get => GetString("SourcePath"); | |
init => SetProperty("SourcePath", value); | |
} | |
/// <summary> | |
/// Azure Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureConnectionType | |
{ | |
get => GetString("azureConnectionType"); | |
init => SetProperty("azureConnectionType", value); | |
} | |
/// <summary> | |
/// Azure Classic Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureClassicSubscription | |
{ | |
get => GetString("azureClassicSubscription"); | |
init => SetProperty("azureClassicSubscription", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Destination Type | |
/// </summary> | |
[YamlIgnore] | |
public string? Destination | |
{ | |
get => GetString("Destination"); | |
init => SetProperty("Destination", value); | |
} | |
/// <summary> | |
/// Classic Storage Account | |
/// </summary> | |
[YamlIgnore] | |
public string? ClassicStorage | |
{ | |
get => GetString("classicStorage"); | |
init => SetProperty("classicStorage", value); | |
} | |
/// <summary> | |
/// RM Storage Account | |
/// </summary> | |
[YamlIgnore] | |
public string? Storage | |
{ | |
get => GetString("storage"); | |
init => SetProperty("storage", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("ContainerName"); | |
init => SetProperty("ContainerName", value); | |
} | |
/// <summary> | |
/// Blob Prefix | |
/// </summary> | |
[YamlIgnore] | |
public string? BlobPrefix | |
{ | |
get => GetString("BlobPrefix"); | |
init => SetProperty("BlobPrefix", value); | |
} | |
/// <summary> | |
/// Cloud Service | |
/// </summary> | |
[YamlIgnore] | |
public string? CloudService | |
{ | |
get => GetString("cloudService"); | |
init => SetProperty("cloudService", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroup | |
{ | |
get => GetString("resourceGroup"); | |
init => SetProperty("resourceGroup", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminUserName | |
{ | |
get => GetString("vmsAdminUserName"); | |
init => SetProperty("vmsAdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminPassword | |
{ | |
get => GetString("vmsAdminPassword"); | |
init => SetProperty("vmsAdminPassword", value); | |
} | |
/// <summary> | |
/// Destination Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for uploading files to blob) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForBlobCopy | |
{ | |
get => GetString("AdditionalArgumentsForBlobCopy"); | |
init => SetProperty("AdditionalArgumentsForBlobCopy", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for downloading files to VM) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForVMCopy | |
{ | |
get => GetString("AdditionalArgumentsForVMCopy"); | |
init => SetProperty("AdditionalArgumentsForVMCopy", value); | |
} | |
/// <summary> | |
/// Enable Copy Prerequisites | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCopyPrerequisites | |
{ | |
get => GetBool("enableCopyPrerequisites", false); | |
init => SetProperty("enableCopyPrerequisites", value); | |
} | |
/// <summary> | |
/// Copy in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool CopyFilesInParallel | |
{ | |
get => GetBool("CopyFilesInParallel", false); | |
init => SetProperty("CopyFilesInParallel", value); | |
} | |
/// <summary> | |
/// Clean Target | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetBeforeCopy | |
{ | |
get => GetBool("CleanTargetBeforeCopy", false); | |
init => SetProperty("CleanTargetBeforeCopy", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipCACheck | |
{ | |
get => GetBool("skipCACheck", false); | |
init => SetProperty("skipCACheck", value); | |
} | |
/// <summary> | |
/// Storage Container URI | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputStorageUri | |
{ | |
get => GetString("outputStorageUri"); | |
init => SetProperty("outputStorageUri", value); | |
} | |
/// <summary> | |
/// Storage Container SAS Token | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputStorageContainerSasToken | |
{ | |
get => GetString("outputStorageContainerSasToken"); | |
init => SetProperty("outputStorageContainerSasToken", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFileCopy@3</c>: | |
/// Azure file copy | |
/// Copy files to Azure Blob Storage or virtual machines | |
/// </summary> | |
public record AzureFileCopy_V3 : AzureDevOpsTask | |
{ | |
public AzureFileCopy_V3(string? sourcepath, string? azuresubscription, string? destination, string? storage) : base("AzureFileCopy@3") | |
{ | |
SourcePath = sourcepath; | |
AzureSubscription = azuresubscription; | |
Destination = destination; | |
Storage = storage; | |
} | |
/// <summary> | |
/// Source | |
/// </summary> | |
[YamlIgnore] | |
public string? SourcePath | |
{ | |
get => GetString("SourcePath"); | |
init => SetProperty("SourcePath", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Destination Type | |
/// </summary> | |
[YamlIgnore] | |
public string? Destination | |
{ | |
get => GetString("Destination"); | |
init => SetProperty("Destination", value); | |
} | |
/// <summary> | |
/// RM Storage Account | |
/// </summary> | |
[YamlIgnore] | |
public string? Storage | |
{ | |
get => GetString("storage"); | |
init => SetProperty("storage", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("ContainerName"); | |
init => SetProperty("ContainerName", value); | |
} | |
/// <summary> | |
/// Blob Prefix | |
/// </summary> | |
[YamlIgnore] | |
public string? BlobPrefix | |
{ | |
get => GetString("BlobPrefix"); | |
init => SetProperty("BlobPrefix", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroup | |
{ | |
get => GetString("resourceGroup"); | |
init => SetProperty("resourceGroup", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminUserName | |
{ | |
get => GetString("vmsAdminUserName"); | |
init => SetProperty("vmsAdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminPassword | |
{ | |
get => GetString("vmsAdminPassword"); | |
init => SetProperty("vmsAdminPassword", value); | |
} | |
/// <summary> | |
/// Destination Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for uploading files to blob) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForBlobCopy | |
{ | |
get => GetString("AdditionalArgumentsForBlobCopy"); | |
init => SetProperty("AdditionalArgumentsForBlobCopy", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for downloading files to VM) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForVMCopy | |
{ | |
get => GetString("AdditionalArgumentsForVMCopy"); | |
init => SetProperty("AdditionalArgumentsForVMCopy", value); | |
} | |
/// <summary> | |
/// Enable Copy Prerequisites | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCopyPrerequisites | |
{ | |
get => GetBool("enableCopyPrerequisites", false); | |
init => SetProperty("enableCopyPrerequisites", value); | |
} | |
/// <summary> | |
/// Copy in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool CopyFilesInParallel | |
{ | |
get => GetBool("CopyFilesInParallel", false); | |
init => SetProperty("CopyFilesInParallel", value); | |
} | |
/// <summary> | |
/// Clean Target | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetBeforeCopy | |
{ | |
get => GetBool("CleanTargetBeforeCopy", false); | |
init => SetProperty("CleanTargetBeforeCopy", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipCACheck | |
{ | |
get => GetBool("skipCACheck", false); | |
init => SetProperty("skipCACheck", value); | |
} | |
/// <summary> | |
/// Storage Container URI | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputStorageUri | |
{ | |
get => GetString("outputStorageUri"); | |
init => SetProperty("outputStorageUri", value); | |
} | |
/// <summary> | |
/// Storage Container SAS Token | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputStorageContainerSasToken | |
{ | |
get => GetString("outputStorageContainerSasToken"); | |
init => SetProperty("outputStorageContainerSasToken", value); | |
} | |
/// <summary> | |
/// SAS Token Expiration Period In Minutes | |
/// </summary> | |
[YamlIgnore] | |
public string? SasTokenTimeOutInMinutes | |
{ | |
get => GetString("sasTokenTimeOutInMinutes"); | |
init => SetProperty("sasTokenTimeOutInMinutes", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFileCopy@4</c>: | |
/// Azure file copy | |
/// Copy files to Azure Blob Storage or virtual machines | |
/// </summary> | |
public record AzureFileCopy_V4 : AzureDevOpsTask | |
{ | |
public AzureFileCopy_V4(string? sourcepath, string? azuresubscription, string? destination, string? storage) : base("AzureFileCopy@4") | |
{ | |
SourcePath = sourcepath; | |
AzureSubscription = azuresubscription; | |
Destination = destination; | |
Storage = storage; | |
} | |
/// <summary> | |
/// Source | |
/// </summary> | |
[YamlIgnore] | |
public string? SourcePath | |
{ | |
get => GetString("SourcePath"); | |
init => SetProperty("SourcePath", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Destination Type | |
/// </summary> | |
[YamlIgnore] | |
public string? Destination | |
{ | |
get => GetString("Destination"); | |
init => SetProperty("Destination", value); | |
} | |
/// <summary> | |
/// RM Storage Account | |
/// </summary> | |
[YamlIgnore] | |
public string? Storage | |
{ | |
get => GetString("storage"); | |
init => SetProperty("storage", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("ContainerName"); | |
init => SetProperty("ContainerName", value); | |
} | |
/// <summary> | |
/// Blob Prefix | |
/// </summary> | |
[YamlIgnore] | |
public string? BlobPrefix | |
{ | |
get => GetString("BlobPrefix"); | |
init => SetProperty("BlobPrefix", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroup | |
{ | |
get => GetString("resourceGroup"); | |
init => SetProperty("resourceGroup", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminUserName | |
{ | |
get => GetString("vmsAdminUserName"); | |
init => SetProperty("vmsAdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminPassword | |
{ | |
get => GetString("vmsAdminPassword"); | |
init => SetProperty("vmsAdminPassword", value); | |
} | |
/// <summary> | |
/// Destination Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for uploading files to blob) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForBlobCopy | |
{ | |
get => GetString("AdditionalArgumentsForBlobCopy"); | |
init => SetProperty("AdditionalArgumentsForBlobCopy", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for downloading files to VM) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForVMCopy | |
{ | |
get => GetString("AdditionalArgumentsForVMCopy"); | |
init => SetProperty("AdditionalArgumentsForVMCopy", value); | |
} | |
/// <summary> | |
/// SAS Token Expiration Period In Minutes | |
/// </summary> | |
[YamlIgnore] | |
public string? SasTokenTimeOutInMinutes | |
{ | |
get => GetString("sasTokenTimeOutInMinutes"); | |
init => SetProperty("sasTokenTimeOutInMinutes", value); | |
} | |
/// <summary> | |
/// Enable Copy Prerequisites | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCopyPrerequisites | |
{ | |
get => GetBool("enableCopyPrerequisites", false); | |
init => SetProperty("enableCopyPrerequisites", value); | |
} | |
/// <summary> | |
/// Copy in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool CopyFilesInParallel | |
{ | |
get => GetBool("CopyFilesInParallel", false); | |
init => SetProperty("CopyFilesInParallel", value); | |
} | |
/// <summary> | |
/// Clean Target | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetBeforeCopy | |
{ | |
get => GetBool("CleanTargetBeforeCopy", false); | |
init => SetProperty("CleanTargetBeforeCopy", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipCACheck | |
{ | |
get => GetBool("skipCACheck", false); | |
init => SetProperty("skipCACheck", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFileCopy@5</c>: | |
/// Azure file copy | |
/// Copy files to Azure Blob Storage or virtual machines | |
/// </summary> | |
public record AzureFileCopy_V5 : AzureDevOpsTask | |
{ | |
public AzureFileCopy_V5(string? sourcepath, string? azuresubscription, string? destination, string? storage) : base("AzureFileCopy@5") | |
{ | |
SourcePath = sourcepath; | |
AzureSubscription = azuresubscription; | |
Destination = destination; | |
Storage = storage; | |
} | |
/// <summary> | |
/// Source | |
/// </summary> | |
[YamlIgnore] | |
public string? SourcePath | |
{ | |
get => GetString("SourcePath"); | |
init => SetProperty("SourcePath", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Destination Type | |
/// </summary> | |
[YamlIgnore] | |
public string? Destination | |
{ | |
get => GetString("Destination"); | |
init => SetProperty("Destination", value); | |
} | |
/// <summary> | |
/// RM Storage Account | |
/// </summary> | |
[YamlIgnore] | |
public string? Storage | |
{ | |
get => GetString("storage"); | |
init => SetProperty("storage", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("ContainerName"); | |
init => SetProperty("ContainerName", value); | |
} | |
/// <summary> | |
/// Blob Prefix | |
/// </summary> | |
[YamlIgnore] | |
public string? BlobPrefix | |
{ | |
get => GetString("BlobPrefix"); | |
init => SetProperty("BlobPrefix", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroup | |
{ | |
get => GetString("resourceGroup"); | |
init => SetProperty("resourceGroup", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminUserName | |
{ | |
get => GetString("vmsAdminUserName"); | |
init => SetProperty("vmsAdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminPassword | |
{ | |
get => GetString("vmsAdminPassword"); | |
init => SetProperty("vmsAdminPassword", value); | |
} | |
/// <summary> | |
/// Destination Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for uploading files to blob) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForBlobCopy | |
{ | |
get => GetString("AdditionalArgumentsForBlobCopy"); | |
init => SetProperty("AdditionalArgumentsForBlobCopy", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for downloading files to VM) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForVMCopy | |
{ | |
get => GetString("AdditionalArgumentsForVMCopy"); | |
init => SetProperty("AdditionalArgumentsForVMCopy", value); | |
} | |
/// <summary> | |
/// SAS Token Expiration Period In Minutes | |
/// </summary> | |
[YamlIgnore] | |
public string? SasTokenTimeOutInMinutes | |
{ | |
get => GetString("sasTokenTimeOutInMinutes"); | |
init => SetProperty("sasTokenTimeOutInMinutes", value); | |
} | |
/// <summary> | |
/// Enable Copy Prerequisites | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCopyPrerequisites | |
{ | |
get => GetBool("enableCopyPrerequisites", false); | |
init => SetProperty("enableCopyPrerequisites", value); | |
} | |
/// <summary> | |
/// Copy in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool CopyFilesInParallel | |
{ | |
get => GetBool("CopyFilesInParallel", false); | |
init => SetProperty("CopyFilesInParallel", value); | |
} | |
/// <summary> | |
/// Clean Target | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetBeforeCopy | |
{ | |
get => GetBool("CleanTargetBeforeCopy", false); | |
init => SetProperty("CleanTargetBeforeCopy", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipCACheck | |
{ | |
get => GetBool("skipCACheck", false); | |
init => SetProperty("skipCACheck", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFileCopy@6</c>: | |
/// Azure file copy | |
/// Copy files to Azure Blob Storage or virtual machines | |
/// </summary> | |
public record AzureFileCopy_V6 : AzureDevOpsTask | |
{ | |
public AzureFileCopy_V6(string? sourcepath, string? azuresubscription, string? destination, string? storage) : base("AzureFileCopy@6") | |
{ | |
SourcePath = sourcepath; | |
AzureSubscription = azuresubscription; | |
Destination = destination; | |
Storage = storage; | |
} | |
/// <summary> | |
/// Source | |
/// </summary> | |
[YamlIgnore] | |
public string? SourcePath | |
{ | |
get => GetString("SourcePath"); | |
init => SetProperty("SourcePath", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Destination Type | |
/// </summary> | |
[YamlIgnore] | |
public string? Destination | |
{ | |
get => GetString("Destination"); | |
init => SetProperty("Destination", value); | |
} | |
/// <summary> | |
/// RM Storage Account | |
/// </summary> | |
[YamlIgnore] | |
public string? Storage | |
{ | |
get => GetString("storage"); | |
init => SetProperty("storage", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("ContainerName"); | |
init => SetProperty("ContainerName", value); | |
} | |
/// <summary> | |
/// Blob Prefix | |
/// </summary> | |
[YamlIgnore] | |
public string? BlobPrefix | |
{ | |
get => GetString("BlobPrefix"); | |
init => SetProperty("BlobPrefix", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroup | |
{ | |
get => GetString("resourceGroup"); | |
init => SetProperty("resourceGroup", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineNames | |
{ | |
get => GetString("MachineNames"); | |
init => SetProperty("MachineNames", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminUserName | |
{ | |
get => GetString("vmsAdminUserName"); | |
init => SetProperty("vmsAdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? VmsAdminPassword | |
{ | |
get => GetString("vmsAdminPassword"); | |
init => SetProperty("vmsAdminPassword", value); | |
} | |
/// <summary> | |
/// Destination Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for uploading files to blob) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForBlobCopy | |
{ | |
get => GetString("AdditionalArgumentsForBlobCopy"); | |
init => SetProperty("AdditionalArgumentsForBlobCopy", value); | |
} | |
/// <summary> | |
/// Optional Arguments (for downloading files to VM) | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArgumentsForVMCopy | |
{ | |
get => GetString("AdditionalArgumentsForVMCopy"); | |
init => SetProperty("AdditionalArgumentsForVMCopy", value); | |
} | |
/// <summary> | |
/// Enable Copy Prerequisites | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCopyPrerequisites | |
{ | |
get => GetBool("enableCopyPrerequisites", false); | |
init => SetProperty("enableCopyPrerequisites", value); | |
} | |
/// <summary> | |
/// Copy in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool CopyFilesInParallel | |
{ | |
get => GetBool("CopyFilesInParallel", false); | |
init => SetProperty("CopyFilesInParallel", value); | |
} | |
/// <summary> | |
/// Clean Target | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetBeforeCopy | |
{ | |
get => GetBool("CleanTargetBeforeCopy", false); | |
init => SetProperty("CleanTargetBeforeCopy", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipCACheck | |
{ | |
get => GetBool("skipCACheck", false); | |
init => SetProperty("skipCACheck", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishSymbols@2</c>: | |
/// Index sources and publish symbols | |
/// Index your source code and publish symbols to a file share or Azure Artifacts symbol server | |
/// </summary> | |
public record PublishSymbols_V2 : AzureDevOpsTask | |
{ | |
public PublishSymbols_V2() : base("PublishSymbols@2") | |
{ | |
} | |
/// <summary> | |
/// Azure Resource Manager connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("ConnectedServiceName"); | |
init => SetProperty("ConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Path to symbols folder | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsFolder | |
{ | |
get => GetString("SymbolsFolder"); | |
init => SetProperty("SymbolsFolder", value); | |
} | |
/// <summary> | |
/// Search pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? SearchPattern | |
{ | |
get => GetString("SearchPattern"); | |
init => SetProperty("SearchPattern", value); | |
} | |
/// <summary> | |
/// Index sources | |
/// </summary> | |
[YamlIgnore] | |
public bool IndexSources | |
{ | |
get => GetBool("IndexSources", false); | |
init => SetProperty("IndexSources", value); | |
} | |
/// <summary> | |
/// Publish symbols | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishSymbols | |
{ | |
get => GetBool("PublishSymbols", false); | |
init => SetProperty("PublishSymbols", value); | |
} | |
/// <summary> | |
/// Symbol server type | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolServerType | |
{ | |
get => GetString("SymbolServerType"); | |
init => SetProperty("SymbolServerType", value); | |
} | |
/// <summary> | |
/// Path to publish symbols | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsPath | |
{ | |
get => GetString("SymbolsPath"); | |
init => SetProperty("SymbolsPath", value); | |
} | |
/// <summary> | |
/// Compress symbols | |
/// </summary> | |
[YamlIgnore] | |
public bool CompressSymbols | |
{ | |
get => GetBool("CompressSymbols", false); | |
init => SetProperty("CompressSymbols", value); | |
} | |
/// <summary> | |
/// Symbol Expiration (in days) | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolExpirationInDays | |
{ | |
get => GetString("SymbolExpirationInDays"); | |
init => SetProperty("SymbolExpirationInDays", value); | |
} | |
/// <summary> | |
/// Symbol file formats to publish | |
/// </summary> | |
[YamlIgnore] | |
public string? IndexableFileFormats | |
{ | |
get => GetString("IndexableFileFormats"); | |
init => SetProperty("IndexableFileFormats", value); | |
} | |
/// <summary> | |
/// Verbose logging | |
/// </summary> | |
[YamlIgnore] | |
public bool DetailedLog | |
{ | |
get => GetBool("DetailedLog", false); | |
init => SetProperty("DetailedLog", value); | |
} | |
/// <summary> | |
/// Warn if not indexed | |
/// </summary> | |
[YamlIgnore] | |
public bool TreatNotIndexedAsWarning | |
{ | |
get => GetBool("TreatNotIndexedAsWarning", false); | |
init => SetProperty("TreatNotIndexedAsWarning", value); | |
} | |
/// <summary> | |
/// Use NetCore client tool | |
/// </summary> | |
[YamlIgnore] | |
public bool UseNetCoreClientTool | |
{ | |
get => GetBool("UseNetCoreClientTool", false); | |
init => SetProperty("UseNetCoreClientTool", value); | |
} | |
/// <summary> | |
/// Max wait time (min) | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsMaximumWaitTime | |
{ | |
get => GetString("SymbolsMaximumWaitTime"); | |
init => SetProperty("SymbolsMaximumWaitTime", value); | |
} | |
/// <summary> | |
/// Product | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsProduct | |
{ | |
get => GetString("SymbolsProduct"); | |
init => SetProperty("SymbolsProduct", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsVersion | |
{ | |
get => GetString("SymbolsVersion"); | |
init => SetProperty("SymbolsVersion", value); | |
} | |
/// <summary> | |
/// Artifact name | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsArtifactName | |
{ | |
get => GetString("SymbolsArtifactName"); | |
init => SetProperty("SymbolsArtifactName", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishSymbols@1</c>: | |
/// Index Sources & Publish Symbols | |
/// Index your source code and publish symbols to a file share | |
/// </summary> | |
public record PublishSymbols_V1 : AzureDevOpsTask | |
{ | |
public PublishSymbols_V1() : base("PublishSymbols@1") | |
{ | |
} | |
/// <summary> | |
/// Path to publish symbols | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsPath | |
{ | |
get => GetString("SymbolsPath"); | |
init => SetProperty("SymbolsPath", value); | |
} | |
/// <summary> | |
/// Search pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? SearchPattern | |
{ | |
get => GetString("SearchPattern"); | |
init => SetProperty("SearchPattern", value); | |
} | |
/// <summary> | |
/// Path to symbols folder | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsFolder | |
{ | |
get => GetString("SymbolsFolder"); | |
init => SetProperty("SymbolsFolder", value); | |
} | |
/// <summary> | |
/// Skip indexing | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipIndexing | |
{ | |
get => GetBool("SkipIndexing", false); | |
init => SetProperty("SkipIndexing", value); | |
} | |
/// <summary> | |
/// Warn if not indexed | |
/// </summary> | |
[YamlIgnore] | |
public bool TreatNotIndexedAsWarning | |
{ | |
get => GetBool("TreatNotIndexedAsWarning", false); | |
init => SetProperty("TreatNotIndexedAsWarning", value); | |
} | |
/// <summary> | |
/// Max wait time (min) | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsMaximumWaitTime | |
{ | |
get => GetString("SymbolsMaximumWaitTime"); | |
init => SetProperty("SymbolsMaximumWaitTime", value); | |
} | |
/// <summary> | |
/// Product | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsProduct | |
{ | |
get => GetString("SymbolsProduct"); | |
init => SetProperty("SymbolsProduct", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsVersion | |
{ | |
get => GetString("SymbolsVersion"); | |
init => SetProperty("SymbolsVersion", value); | |
} | |
/// <summary> | |
/// Artifact name | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsArtifactName | |
{ | |
get => GetString("SymbolsArtifactName"); | |
init => SetProperty("SymbolsArtifactName", value); | |
} | |
} | |
/// <summary> | |
/// <c>CopyFilesOverSSH@0</c>: | |
/// Copy files over SSH | |
/// Copy files or build artifacts to a remote machine over SSH | |
/// </summary> | |
public record CopyFilesOverSSH_V0 : AzureDevOpsTask | |
{ | |
public CopyFilesOverSSH_V0(string? sshendpoint) : base("CopyFilesOverSSH@0") | |
{ | |
SshEndpoint = sshendpoint; | |
} | |
/// <summary> | |
/// SSH service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? SshEndpoint | |
{ | |
get => GetString("sshEndpoint"); | |
init => SetProperty("sshEndpoint", value); | |
} | |
/// <summary> | |
/// Source folder | |
/// </summary> | |
[YamlIgnore] | |
public string? SourceFolder | |
{ | |
get => GetString("sourceFolder"); | |
init => SetProperty("sourceFolder", value); | |
} | |
/// <summary> | |
/// Contents | |
/// </summary> | |
[YamlIgnore] | |
public string? Contents | |
{ | |
get => GetString("contents"); | |
init => SetProperty("contents", value); | |
} | |
/// <summary> | |
/// Target folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetFolder | |
{ | |
get => GetString("targetFolder"); | |
init => SetProperty("targetFolder", value); | |
} | |
/// <summary> | |
/// Target machine running Windows | |
/// </summary> | |
[YamlIgnore] | |
public bool IsWindowsOnTarget | |
{ | |
get => GetBool("isWindowsOnTarget", false); | |
init => SetProperty("isWindowsOnTarget", value); | |
} | |
/// <summary> | |
/// Clean target folder | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetFolder | |
{ | |
get => GetBool("cleanTargetFolder", false); | |
init => SetProperty("cleanTargetFolder", value); | |
} | |
/// <summary> | |
/// Remove hidden files in target folder | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanHiddenFilesInTarget | |
{ | |
get => GetBool("cleanHiddenFilesInTarget", false); | |
init => SetProperty("cleanHiddenFilesInTarget", value); | |
} | |
/// <summary> | |
/// SSH handshake timeout | |
/// </summary> | |
[YamlIgnore] | |
public string? ReadyTimeout | |
{ | |
get => GetString("readyTimeout"); | |
init => SetProperty("readyTimeout", value); | |
} | |
/// <summary> | |
/// Overwrite | |
/// </summary> | |
[YamlIgnore] | |
public bool Overwrite | |
{ | |
get => GetBool("overwrite", false); | |
init => SetProperty("overwrite", value); | |
} | |
/// <summary> | |
/// Fail if no files found to copy | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnEmptySource | |
{ | |
get => GetBool("failOnEmptySource", false); | |
init => SetProperty("failOnEmptySource", value); | |
} | |
/// <summary> | |
/// Flatten folders | |
/// </summary> | |
[YamlIgnore] | |
public bool FlattenFolders | |
{ | |
get => GetBool("flattenFolders", false); | |
init => SetProperty("flattenFolders", value); | |
} | |
/// <summary> | |
/// Number of concurrent uploads when copying files | |
/// </summary> | |
[YamlIgnore] | |
public string? ConcurrentUploads | |
{ | |
get => GetString("concurrentUploads"); | |
init => SetProperty("concurrentUploads", value); | |
} | |
/// <summary> | |
/// Delay between queueing uploads (in milliseconds) | |
/// </summary> | |
[YamlIgnore] | |
public string? DelayBetweenUploads | |
{ | |
get => GetString("delayBetweenUploads"); | |
init => SetProperty("delayBetweenUploads", value); | |
} | |
} | |
/// <summary> | |
/// <c>Gradle@2</c>: | |
/// Gradle | |
/// Build using a Gradle wrapper script | |
/// </summary> | |
public record Gradle_V2 : AzureDevOpsTask | |
{ | |
public Gradle_V2() : base("Gradle@2") | |
{ | |
} | |
/// <summary> | |
/// Gradle wrapper | |
/// </summary> | |
[YamlIgnore] | |
public string? GradleWrapperFile | |
{ | |
get => GetString("gradleWrapperFile"); | |
init => SetProperty("gradleWrapperFile", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Options | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Tasks | |
/// </summary> | |
[YamlIgnore] | |
public string? Tasks | |
{ | |
get => GetString("tasks"); | |
init => SetProperty("tasks", value); | |
} | |
/// <summary> | |
/// Publish to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test results files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Code coverage tool | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageToolOption | |
{ | |
get => GetString("codeCoverageToolOption"); | |
init => SetProperty("codeCoverageToolOption", value); | |
} | |
/// <summary> | |
/// Class files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilesDirectories | |
{ | |
get => GetString("codeCoverageClassFilesDirectories"); | |
init => SetProperty("codeCoverageClassFilesDirectories", value); | |
} | |
/// <summary> | |
/// Class inclusion/exclusion filters | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilter | |
{ | |
get => GetString("codeCoverageClassFilter"); | |
init => SetProperty("codeCoverageClassFilter", value); | |
} | |
/// <summary> | |
/// Fail when code coverage results are missing | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageFailIfEmpty | |
{ | |
get => GetBool("codeCoverageFailIfEmpty", false); | |
init => SetProperty("codeCoverageFailIfEmpty", value); | |
} | |
/// <summary> | |
/// Gradle version >= 5.x | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageGradle5xOrHigher | |
{ | |
get => GetBool("codeCoverageGradle5xOrHigher", false); | |
init => SetProperty("codeCoverageGradle5xOrHigher", value); | |
} | |
/// <summary> | |
/// Set JAVA_HOME by | |
/// </summary> | |
[YamlIgnore] | |
public string? JavaHomeOption | |
{ | |
get => GetString("javaHomeOption"); | |
init => SetProperty("javaHomeOption", value); | |
} | |
/// <summary> | |
/// JDK version | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkVersionOption | |
{ | |
get => GetString("jdkVersionOption"); | |
init => SetProperty("jdkVersionOption", value); | |
} | |
/// <summary> | |
/// JDK path | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkDirectory | |
{ | |
get => GetString("jdkDirectory"); | |
init => SetProperty("jdkDirectory", value); | |
} | |
/// <summary> | |
/// JDK architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
/// <summary> | |
/// Set GRADLE_OPTS | |
/// </summary> | |
[YamlIgnore] | |
public string? GradleOptions | |
{ | |
get => GetString("gradleOptions"); | |
init => SetProperty("gradleOptions", value); | |
} | |
/// <summary> | |
/// Run SonarQube or SonarCloud Analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeRunAnalysis | |
{ | |
get => GetBool("sonarQubeRunAnalysis", false); | |
init => SetProperty("sonarQubeRunAnalysis", value); | |
} | |
/// <summary> | |
/// SonarQube scanner for Gradle version | |
/// </summary> | |
[YamlIgnore] | |
public string? SqGradlePluginVersionChoice | |
{ | |
get => GetString("sqGradlePluginVersionChoice"); | |
init => SetProperty("sqGradlePluginVersionChoice", value); | |
} | |
/// <summary> | |
/// SonarQube scanner for Gradle plugin version | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeGradlePluginVersion | |
{ | |
get => GetString("sonarQubeGradlePluginVersion"); | |
init => SetProperty("sonarQubeGradlePluginVersion", value); | |
} | |
/// <summary> | |
/// Run Checkstyle | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckStyleRunAnalysis | |
{ | |
get => GetBool("checkStyleRunAnalysis", false); | |
init => SetProperty("checkStyleRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run FindBugs | |
/// </summary> | |
[YamlIgnore] | |
public bool FindBugsRunAnalysis | |
{ | |
get => GetBool("findBugsRunAnalysis", false); | |
init => SetProperty("findBugsRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run PMD | |
/// </summary> | |
[YamlIgnore] | |
public bool PmdRunAnalysis | |
{ | |
get => GetBool("pmdRunAnalysis", false); | |
init => SetProperty("pmdRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run SpotBugs | |
/// </summary> | |
[YamlIgnore] | |
public bool SpotBugsAnalysis | |
{ | |
get => GetBool("spotBugsAnalysis", false); | |
init => SetProperty("spotBugsAnalysis", value); | |
} | |
/// <summary> | |
/// Spotbugs plugin version | |
/// </summary> | |
[YamlIgnore] | |
public string? SpotBugsGradlePluginVersionChoice | |
{ | |
get => GetString("spotBugsGradlePluginVersionChoice"); | |
init => SetProperty("spotBugsGradlePluginVersionChoice", value); | |
} | |
/// <summary> | |
/// Version number | |
/// </summary> | |
[YamlIgnore] | |
public string? SpotbugsGradlePluginVersion | |
{ | |
get => GetString("spotbugsGradlePluginVersion"); | |
init => SetProperty("spotbugsGradlePluginVersion", value); | |
} | |
} | |
/// <summary> | |
/// <c>Gradle@3</c>: | |
/// Gradle | |
/// Build using a Gradle wrapper script | |
/// </summary> | |
public record Gradle_V3 : AzureDevOpsTask | |
{ | |
public Gradle_V3() : base("Gradle@3") | |
{ | |
} | |
/// <summary> | |
/// Gradle wrapper | |
/// </summary> | |
[YamlIgnore] | |
public string? GradleWrapperFile | |
{ | |
get => GetString("gradleWrapperFile"); | |
init => SetProperty("gradleWrapperFile", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Options | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Tasks | |
/// </summary> | |
[YamlIgnore] | |
public string? Tasks | |
{ | |
get => GetString("tasks"); | |
init => SetProperty("tasks", value); | |
} | |
/// <summary> | |
/// Publish to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test results files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Code coverage tool | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageToolOption | |
{ | |
get => GetString("codeCoverageToolOption"); | |
init => SetProperty("codeCoverageToolOption", value); | |
} | |
/// <summary> | |
/// Class files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilesDirectories | |
{ | |
get => GetString("codeCoverageClassFilesDirectories"); | |
init => SetProperty("codeCoverageClassFilesDirectories", value); | |
} | |
/// <summary> | |
/// Class inclusion/exclusion filters | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilter | |
{ | |
get => GetString("codeCoverageClassFilter"); | |
init => SetProperty("codeCoverageClassFilter", value); | |
} | |
/// <summary> | |
/// Fail when code coverage results are missing | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageFailIfEmpty | |
{ | |
get => GetBool("codeCoverageFailIfEmpty", false); | |
init => SetProperty("codeCoverageFailIfEmpty", value); | |
} | |
/// <summary> | |
/// Gradle version >= 5.x | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageGradle5xOrHigher | |
{ | |
get => GetBool("codeCoverageGradle5xOrHigher", false); | |
init => SetProperty("codeCoverageGradle5xOrHigher", value); | |
} | |
/// <summary> | |
/// Set JAVA_HOME by | |
/// </summary> | |
[YamlIgnore] | |
public string? JavaHomeOption | |
{ | |
get => GetString("javaHomeOption"); | |
init => SetProperty("javaHomeOption", value); | |
} | |
/// <summary> | |
/// JDK version | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkVersionOption | |
{ | |
get => GetString("jdkVersionOption"); | |
init => SetProperty("jdkVersionOption", value); | |
} | |
/// <summary> | |
/// JDK path | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkDirectory | |
{ | |
get => GetString("jdkDirectory"); | |
init => SetProperty("jdkDirectory", value); | |
} | |
/// <summary> | |
/// JDK architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
/// <summary> | |
/// Set GRADLE_OPTS | |
/// </summary> | |
[YamlIgnore] | |
public string? GradleOptions | |
{ | |
get => GetString("gradleOptions"); | |
init => SetProperty("gradleOptions", value); | |
} | |
/// <summary> | |
/// Run SonarQube or SonarCloud Analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeRunAnalysis | |
{ | |
get => GetBool("sonarQubeRunAnalysis", false); | |
init => SetProperty("sonarQubeRunAnalysis", value); | |
} | |
/// <summary> | |
/// SonarQube scanner for Gradle version | |
/// </summary> | |
[YamlIgnore] | |
public string? SqGradlePluginVersionChoice | |
{ | |
get => GetString("sqGradlePluginVersionChoice"); | |
init => SetProperty("sqGradlePluginVersionChoice", value); | |
} | |
/// <summary> | |
/// SonarQube scanner for Gradle plugin version | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeGradlePluginVersion | |
{ | |
get => GetString("sonarQubeGradlePluginVersion"); | |
init => SetProperty("sonarQubeGradlePluginVersion", value); | |
} | |
/// <summary> | |
/// Run Checkstyle | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckStyleRunAnalysis | |
{ | |
get => GetBool("checkStyleRunAnalysis", false); | |
init => SetProperty("checkStyleRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run FindBugs | |
/// </summary> | |
[YamlIgnore] | |
public bool FindBugsRunAnalysis | |
{ | |
get => GetBool("findBugsRunAnalysis", false); | |
init => SetProperty("findBugsRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run PMD | |
/// </summary> | |
[YamlIgnore] | |
public bool PmdRunAnalysis | |
{ | |
get => GetBool("pmdRunAnalysis", false); | |
init => SetProperty("pmdRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run SpotBugs | |
/// </summary> | |
[YamlIgnore] | |
public bool SpotBugsAnalysis | |
{ | |
get => GetBool("spotBugsAnalysis", false); | |
init => SetProperty("spotBugsAnalysis", value); | |
} | |
/// <summary> | |
/// Spotbugs plugin version | |
/// </summary> | |
[YamlIgnore] | |
public string? SpotBugsGradlePluginVersionChoice | |
{ | |
get => GetString("spotBugsGradlePluginVersionChoice"); | |
init => SetProperty("spotBugsGradlePluginVersionChoice", value); | |
} | |
/// <summary> | |
/// Version number | |
/// </summary> | |
[YamlIgnore] | |
public string? SpotbugsGradlePluginVersion | |
{ | |
get => GetString("spotbugsGradlePluginVersion"); | |
init => SetProperty("spotbugsGradlePluginVersion", value); | |
} | |
} | |
/// <summary> | |
/// <c>Gradle@1</c>: | |
/// Gradle | |
/// Build using a Gradle wrapper script | |
/// </summary> | |
public record Gradle_V1 : AzureDevOpsTask | |
{ | |
public Gradle_V1() : base("Gradle@1") | |
{ | |
} | |
/// <summary> | |
/// Gradle Wrapper | |
/// </summary> | |
[YamlIgnore] | |
public string? GradleWrapperFile | |
{ | |
get => GetString("gradleWrapperFile"); | |
init => SetProperty("gradleWrapperFile", value); | |
} | |
/// <summary> | |
/// Options | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Tasks | |
/// </summary> | |
[YamlIgnore] | |
public string? Tasks | |
{ | |
get => GetString("tasks"); | |
init => SetProperty("tasks", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Publish to TFS/Team Services | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test Results Files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test Run Title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Code Coverage Tool | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageToolOption | |
{ | |
get => GetString("codeCoverageToolOption"); | |
init => SetProperty("codeCoverageToolOption", value); | |
} | |
/// <summary> | |
/// Class Files Directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilesDirectories | |
{ | |
get => GetString("codeCoverageClassFilesDirectories"); | |
init => SetProperty("codeCoverageClassFilesDirectories", value); | |
} | |
/// <summary> | |
/// Class Inclusion/Exclusion Filters | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilter | |
{ | |
get => GetString("codeCoverageClassFilter"); | |
init => SetProperty("codeCoverageClassFilter", value); | |
} | |
/// <summary> | |
/// Fail When Code Coverage Results Are Missing | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageFailIfEmpty | |
{ | |
get => GetBool("codeCoverageFailIfEmpty", false); | |
init => SetProperty("codeCoverageFailIfEmpty", value); | |
} | |
/// <summary> | |
/// Set JAVA_HOME by | |
/// </summary> | |
[YamlIgnore] | |
public string? JavaHomeOption | |
{ | |
get => GetString("javaHomeOption"); | |
init => SetProperty("javaHomeOption", value); | |
} | |
/// <summary> | |
/// JDK Version | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkVersionOption | |
{ | |
get => GetString("jdkVersionOption"); | |
init => SetProperty("jdkVersionOption", value); | |
} | |
/// <summary> | |
/// JDK Path | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkDirectory | |
{ | |
get => GetString("jdkDirectory"); | |
init => SetProperty("jdkDirectory", value); | |
} | |
/// <summary> | |
/// JDK Architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
/// <summary> | |
/// Set GRADLE_OPTS | |
/// </summary> | |
[YamlIgnore] | |
public string? GradleOptions | |
{ | |
get => GetString("gradleOptions"); | |
init => SetProperty("gradleOptions", value); | |
} | |
/// <summary> | |
/// Run SonarQube Analysis | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeRunAnalysis | |
{ | |
get => GetBool("sonarQubeRunAnalysis", false); | |
init => SetProperty("sonarQubeRunAnalysis", value); | |
} | |
/// <summary> | |
/// SonarQube Endpoint | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeServiceEndpoint | |
{ | |
get => GetString("sonarQubeServiceEndpoint"); | |
init => SetProperty("sonarQubeServiceEndpoint", value); | |
} | |
/// <summary> | |
/// SonarQube Project Name | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeProjectName | |
{ | |
get => GetString("sonarQubeProjectName"); | |
init => SetProperty("sonarQubeProjectName", value); | |
} | |
/// <summary> | |
/// SonarQube Project Key | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeProjectKey | |
{ | |
get => GetString("sonarQubeProjectKey"); | |
init => SetProperty("sonarQubeProjectKey", value); | |
} | |
/// <summary> | |
/// SonarQube Project Version | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeProjectVersion | |
{ | |
get => GetString("sonarQubeProjectVersion"); | |
init => SetProperty("sonarQubeProjectVersion", value); | |
} | |
/// <summary> | |
/// SonarQube Gradle Plugin Version | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeGradlePluginVersion | |
{ | |
get => GetString("sonarQubeGradlePluginVersion"); | |
init => SetProperty("sonarQubeGradlePluginVersion", value); | |
} | |
/// <summary> | |
/// The SonarQube server version is lower than 5.2 | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeSpecifyDB | |
{ | |
get => GetBool("sonarQubeSpecifyDB", false); | |
init => SetProperty("sonarQubeSpecifyDB", value); | |
} | |
/// <summary> | |
/// Db Connection String | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeDBUrl | |
{ | |
get => GetString("sonarQubeDBUrl"); | |
init => SetProperty("sonarQubeDBUrl", value); | |
} | |
/// <summary> | |
/// Db Username | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeDBUsername | |
{ | |
get => GetString("sonarQubeDBUsername"); | |
init => SetProperty("sonarQubeDBUsername", value); | |
} | |
/// <summary> | |
/// Db User Password | |
/// </summary> | |
[YamlIgnore] | |
public string? SonarQubeDBPassword | |
{ | |
get => GetString("sonarQubeDBPassword"); | |
init => SetProperty("sonarQubeDBPassword", value); | |
} | |
/// <summary> | |
/// Include full analysis report in the build summary (SQ 5.3+) | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeIncludeFullReport | |
{ | |
get => GetBool("sonarQubeIncludeFullReport", false); | |
init => SetProperty("sonarQubeIncludeFullReport", value); | |
} | |
/// <summary> | |
/// Fail the build on quality gate failure (SQ 5.3+) | |
/// </summary> | |
[YamlIgnore] | |
public bool SonarQubeFailWhenQualityGateFails | |
{ | |
get => GetBool("sonarQubeFailWhenQualityGateFails", false); | |
init => SetProperty("sonarQubeFailWhenQualityGateFails", value); | |
} | |
/// <summary> | |
/// Run Checkstyle | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckStyleRunAnalysis | |
{ | |
get => GetBool("checkStyleRunAnalysis", false); | |
init => SetProperty("checkStyleRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run FindBugs | |
/// </summary> | |
[YamlIgnore] | |
public bool FindBugsRunAnalysis | |
{ | |
get => GetBool("findBugsRunAnalysis", false); | |
init => SetProperty("findBugsRunAnalysis", value); | |
} | |
/// <summary> | |
/// Run PMD | |
/// </summary> | |
[YamlIgnore] | |
public bool PmdRunAnalysis | |
{ | |
get => GetBool("pmdRunAnalysis", false); | |
init => SetProperty("pmdRunAnalysis", value); | |
} | |
} | |
/// <summary> | |
/// <c>AppCenterDistribute@1</c>: | |
/// App Center distribute | |
/// Distribute app builds to testers and users via Visual Studio App Center | |
/// </summary> | |
public record AppCenterDistribute_V1 : AzureDevOpsTask | |
{ | |
public AppCenterDistribute_V1(string? serverendpoint, string? appslug, string? appfile) : base("AppCenterDistribute@1") | |
{ | |
ServerEndpoint = serverendpoint; | |
AppSlug = appslug; | |
AppFile = appfile; | |
} | |
/// <summary> | |
/// App Center service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// App slug | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSlug | |
{ | |
get => GetString("appSlug"); | |
init => SetProperty("appSlug", value); | |
} | |
/// <summary> | |
/// Binary file path | |
/// </summary> | |
[YamlIgnore] | |
public string? AppFile | |
{ | |
get => GetString("appFile"); | |
init => SetProperty("appFile", value); | |
} | |
/// <summary> | |
/// Symbols type | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsOption | |
{ | |
get => GetString("symbolsOption"); | |
init => SetProperty("symbolsOption", value); | |
} | |
/// <summary> | |
/// Symbols path | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsPath | |
{ | |
get => GetString("symbolsPath"); | |
init => SetProperty("symbolsPath", value); | |
} | |
/// <summary> | |
/// Symbols path (*.pdb) | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsPdbFiles | |
{ | |
get => GetString("symbolsPdbFiles"); | |
init => SetProperty("symbolsPdbFiles", value); | |
} | |
/// <summary> | |
/// dSYM path | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsDsymFiles | |
{ | |
get => GetString("symbolsDsymFiles"); | |
init => SetProperty("symbolsDsymFiles", value); | |
} | |
/// <summary> | |
/// Mapping file | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsMappingTxtFile | |
{ | |
get => GetString("symbolsMappingTxtFile"); | |
init => SetProperty("symbolsMappingTxtFile", value); | |
} | |
/// <summary> | |
/// Include all items in parent folder | |
/// </summary> | |
[YamlIgnore] | |
public bool SymbolsIncludeParentDirectory | |
{ | |
get => GetBool("symbolsIncludeParentDirectory", false); | |
init => SetProperty("symbolsIncludeParentDirectory", value); | |
} | |
/// <summary> | |
/// Create release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesOption | |
{ | |
get => GetString("releaseNotesOption"); | |
init => SetProperty("releaseNotesOption", value); | |
} | |
/// <summary> | |
/// Release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesInput | |
{ | |
get => GetString("releaseNotesInput"); | |
init => SetProperty("releaseNotesInput", value); | |
} | |
/// <summary> | |
/// Release notes file | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesFile | |
{ | |
get => GetString("releaseNotesFile"); | |
init => SetProperty("releaseNotesFile", value); | |
} | |
/// <summary> | |
/// Require users to update to this release | |
/// </summary> | |
[YamlIgnore] | |
public bool IsMandatory | |
{ | |
get => GetBool("isMandatory", false); | |
init => SetProperty("isMandatory", value); | |
} | |
/// <summary> | |
/// Destination ID | |
/// </summary> | |
[YamlIgnore] | |
public string? DistributionGroupId | |
{ | |
get => GetString("distributionGroupId"); | |
init => SetProperty("distributionGroupId", value); | |
} | |
} | |
/// <summary> | |
/// <c>AppCenterDistribute@2</c>: | |
/// App Center distribute | |
/// Distribute app builds to testers and users via Visual Studio App Center | |
/// </summary> | |
public record AppCenterDistribute_V2 : AzureDevOpsTask | |
{ | |
public AppCenterDistribute_V2(string? serverendpoint, string? appslug, string? appfile) : base("AppCenterDistribute@2") | |
{ | |
ServerEndpoint = serverendpoint; | |
AppSlug = appslug; | |
AppFile = appfile; | |
} | |
/// <summary> | |
/// App Center service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// App slug | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSlug | |
{ | |
get => GetString("appSlug"); | |
init => SetProperty("appSlug", value); | |
} | |
/// <summary> | |
/// Binary file path | |
/// </summary> | |
[YamlIgnore] | |
public string? AppFile | |
{ | |
get => GetString("appFile"); | |
init => SetProperty("appFile", value); | |
} | |
/// <summary> | |
/// Symbols type | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsOption | |
{ | |
get => GetString("symbolsOption"); | |
init => SetProperty("symbolsOption", value); | |
} | |
/// <summary> | |
/// Symbols path | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsPath | |
{ | |
get => GetString("symbolsPath"); | |
init => SetProperty("symbolsPath", value); | |
} | |
/// <summary> | |
/// Symbols path (*.pdb) | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsPdbFiles | |
{ | |
get => GetString("symbolsPdbFiles"); | |
init => SetProperty("symbolsPdbFiles", value); | |
} | |
/// <summary> | |
/// dSYM path | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsDsymFiles | |
{ | |
get => GetString("symbolsDsymFiles"); | |
init => SetProperty("symbolsDsymFiles", value); | |
} | |
/// <summary> | |
/// Mapping file | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsMappingTxtFile | |
{ | |
get => GetString("symbolsMappingTxtFile"); | |
init => SetProperty("symbolsMappingTxtFile", value); | |
} | |
/// <summary> | |
/// Include all items in parent folder | |
/// </summary> | |
[YamlIgnore] | |
public bool SymbolsIncludeParentDirectory | |
{ | |
get => GetBool("symbolsIncludeParentDirectory", false); | |
init => SetProperty("symbolsIncludeParentDirectory", value); | |
} | |
/// <summary> | |
/// Create release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesOption | |
{ | |
get => GetString("releaseNotesOption"); | |
init => SetProperty("releaseNotesOption", value); | |
} | |
/// <summary> | |
/// Release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesInput | |
{ | |
get => GetString("releaseNotesInput"); | |
init => SetProperty("releaseNotesInput", value); | |
} | |
/// <summary> | |
/// Release notes file | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesFile | |
{ | |
get => GetString("releaseNotesFile"); | |
init => SetProperty("releaseNotesFile", value); | |
} | |
/// <summary> | |
/// Require users to update to this release | |
/// </summary> | |
[YamlIgnore] | |
public bool IsMandatory | |
{ | |
get => GetBool("isMandatory", false); | |
init => SetProperty("isMandatory", value); | |
} | |
/// <summary> | |
/// Destination IDs | |
/// </summary> | |
[YamlIgnore] | |
public string? DistributionGroupId | |
{ | |
get => GetString("distributionGroupId"); | |
init => SetProperty("distributionGroupId", value); | |
} | |
} | |
/// <summary> | |
/// <c>AppCenterDistribute@3</c>: | |
/// App Center distribute | |
/// Distribute app builds to testers and users via Visual Studio App Center | |
/// </summary> | |
public record AppCenterDistribute_V3 : AzureDevOpsTask | |
{ | |
public AppCenterDistribute_V3(string? serverendpoint, string? appslug, string? appfile) : base("AppCenterDistribute@3") | |
{ | |
ServerEndpoint = serverendpoint; | |
AppSlug = appslug; | |
AppFile = appfile; | |
} | |
/// <summary> | |
/// App Center service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// App slug | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSlug | |
{ | |
get => GetString("appSlug"); | |
init => SetProperty("appSlug", value); | |
} | |
/// <summary> | |
/// Binary file path | |
/// </summary> | |
[YamlIgnore] | |
public string? AppFile | |
{ | |
get => GetString("appFile"); | |
init => SetProperty("appFile", value); | |
} | |
/// <summary> | |
/// Build version | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildVersion | |
{ | |
get => GetString("buildVersion"); | |
init => SetProperty("buildVersion", value); | |
} | |
/// <summary> | |
/// Symbols type | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsOption | |
{ | |
get => GetString("symbolsOption"); | |
init => SetProperty("symbolsOption", value); | |
} | |
/// <summary> | |
/// Symbols path | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsPath | |
{ | |
get => GetString("symbolsPath"); | |
init => SetProperty("symbolsPath", value); | |
} | |
/// <summary> | |
/// Symbols path (*.appxsym) | |
/// </summary> | |
[YamlIgnore] | |
public string? AppxsymPath | |
{ | |
get => GetString("appxsymPath"); | |
init => SetProperty("appxsymPath", value); | |
} | |
/// <summary> | |
/// dSYM path | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsDsymFiles | |
{ | |
get => GetString("symbolsDsymFiles"); | |
init => SetProperty("symbolsDsymFiles", value); | |
} | |
/// <summary> | |
/// Mapping file | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsMappingTxtFile | |
{ | |
get => GetString("symbolsMappingTxtFile"); | |
init => SetProperty("symbolsMappingTxtFile", value); | |
} | |
/// <summary> | |
/// Native Library File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? NativeLibrariesPath | |
{ | |
get => GetString("nativeLibrariesPath"); | |
init => SetProperty("nativeLibrariesPath", value); | |
} | |
/// <summary> | |
/// Include all items in parent folder | |
/// </summary> | |
[YamlIgnore] | |
public bool SymbolsIncludeParentDirectory | |
{ | |
get => GetBool("symbolsIncludeParentDirectory", false); | |
init => SetProperty("symbolsIncludeParentDirectory", value); | |
} | |
/// <summary> | |
/// Create release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesOption | |
{ | |
get => GetString("releaseNotesOption"); | |
init => SetProperty("releaseNotesOption", value); | |
} | |
/// <summary> | |
/// Release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesInput | |
{ | |
get => GetString("releaseNotesInput"); | |
init => SetProperty("releaseNotesInput", value); | |
} | |
/// <summary> | |
/// Release notes file | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesFile | |
{ | |
get => GetString("releaseNotesFile"); | |
init => SetProperty("releaseNotesFile", value); | |
} | |
/// <summary> | |
/// Require users to update to this release | |
/// </summary> | |
[YamlIgnore] | |
public bool IsMandatory | |
{ | |
get => GetBool("isMandatory", false); | |
init => SetProperty("isMandatory", value); | |
} | |
/// <summary> | |
/// Release destination | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationType | |
{ | |
get => GetString("destinationType"); | |
init => SetProperty("destinationType", value); | |
} | |
/// <summary> | |
/// Destination IDs | |
/// </summary> | |
[YamlIgnore] | |
public string? DistributionGroupId | |
{ | |
get => GetString("distributionGroupId"); | |
init => SetProperty("distributionGroupId", value); | |
} | |
/// <summary> | |
/// Destination ID | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationStoreId | |
{ | |
get => GetString("destinationStoreId"); | |
init => SetProperty("destinationStoreId", value); | |
} | |
/// <summary> | |
/// Do not notify testers. Release will still be available to install. | |
/// </summary> | |
[YamlIgnore] | |
public bool IsSilent | |
{ | |
get => GetBool("isSilent", false); | |
init => SetProperty("isSilent", value); | |
} | |
} | |
/// <summary> | |
/// <c>AppCenterDistribute@0</c>: | |
/// App Center Distribute | |
/// Distribute app builds to testers and users via App Center | |
/// </summary> | |
public record AppCenterDistribute_V0 : AzureDevOpsTask | |
{ | |
public AppCenterDistribute_V0(string? serverendpoint, string? appslug, string? appfile) : base("AppCenterDistribute@0") | |
{ | |
ServerEndpoint = serverendpoint; | |
AppSlug = appslug; | |
AppFile = appfile; | |
} | |
/// <summary> | |
/// App Center connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerEndpoint | |
{ | |
get => GetString("serverEndpoint"); | |
init => SetProperty("serverEndpoint", value); | |
} | |
/// <summary> | |
/// App slug | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSlug | |
{ | |
get => GetString("appSlug"); | |
init => SetProperty("appSlug", value); | |
} | |
/// <summary> | |
/// Binary file path | |
/// </summary> | |
[YamlIgnore] | |
public string? AppFile | |
{ | |
get => GetString("appFile"); | |
init => SetProperty("appFile", value); | |
} | |
/// <summary> | |
/// Symbols type | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsOption | |
{ | |
get => GetString("symbolsOption"); | |
init => SetProperty("symbolsOption", value); | |
} | |
/// <summary> | |
/// Symbols path | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsPath | |
{ | |
get => GetString("symbolsPath"); | |
init => SetProperty("symbolsPath", value); | |
} | |
/// <summary> | |
/// Symbols path (*.pdb) | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsPdbFiles | |
{ | |
get => GetString("symbolsPdbFiles"); | |
init => SetProperty("symbolsPdbFiles", value); | |
} | |
/// <summary> | |
/// dSYM path | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsDsymFiles | |
{ | |
get => GetString("symbolsDsymFiles"); | |
init => SetProperty("symbolsDsymFiles", value); | |
} | |
/// <summary> | |
/// Mapping file | |
/// </summary> | |
[YamlIgnore] | |
public string? SymbolsMappingTxtFile | |
{ | |
get => GetString("symbolsMappingTxtFile"); | |
init => SetProperty("symbolsMappingTxtFile", value); | |
} | |
/// <summary> | |
/// Include all items in parent folder | |
/// </summary> | |
[YamlIgnore] | |
public bool SymbolsIncludeParentDirectory | |
{ | |
get => GetBool("symbolsIncludeParentDirectory", false); | |
init => SetProperty("symbolsIncludeParentDirectory", value); | |
} | |
/// <summary> | |
/// Create release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesOption | |
{ | |
get => GetString("releaseNotesOption"); | |
init => SetProperty("releaseNotesOption", value); | |
} | |
/// <summary> | |
/// Release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesInput | |
{ | |
get => GetString("releaseNotesInput"); | |
init => SetProperty("releaseNotesInput", value); | |
} | |
/// <summary> | |
/// Release notes file | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesFile | |
{ | |
get => GetString("releaseNotesFile"); | |
init => SetProperty("releaseNotesFile", value); | |
} | |
/// <summary> | |
/// Distribution group ID | |
/// </summary> | |
[YamlIgnore] | |
public string? DistributionGroupId | |
{ | |
get => GetString("distributionGroupId"); | |
init => SetProperty("distributionGroupId", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGetToolInstaller@0</c>: | |
/// NuGet tool installer | |
/// Acquires a specific version of NuGet from the internet or the tools cache and adds it to the PATH. Use this task to change the version of NuGet used in the NuGet tasks. | |
/// </summary> | |
public record NuGetToolInstaller_V0 : AzureDevOpsTask | |
{ | |
public NuGetToolInstaller_V0() : base("NuGetToolInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// Version of NuGet.exe to install | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSpec | |
{ | |
get => GetString("versionSpec"); | |
init => SetProperty("versionSpec", value); | |
} | |
/// <summary> | |
/// Always download the latest matching version | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckLatest | |
{ | |
get => GetBool("checkLatest", false); | |
init => SetProperty("checkLatest", value); | |
} | |
} | |
/// <summary> | |
/// <c>NuGetToolInstaller@1</c>: | |
/// NuGet tool installer | |
/// Acquires a specific version of NuGet from the internet or the tools cache and adds it to the PATH. Use this task to change the version of NuGet used in the NuGet tasks. | |
/// </summary> | |
public record NuGetToolInstaller_V1 : AzureDevOpsTask | |
{ | |
public NuGetToolInstaller_V1() : base("NuGetToolInstaller@1") | |
{ | |
} | |
/// <summary> | |
/// Version of NuGet.exe to install | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSpec | |
{ | |
get => GetString("versionSpec"); | |
init => SetProperty("versionSpec", value); | |
} | |
/// <summary> | |
/// Always check for new versions | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckLatest | |
{ | |
get => GetBool("checkLatest", false); | |
init => SetProperty("checkLatest", value); | |
} | |
} | |
/// <summary> | |
/// <c>JenkinsDownloadArtifacts@1</c>: | |
/// Jenkins download artifacts | |
/// Download artifacts produced by a Jenkins job | |
/// </summary> | |
public record JenkinsDownloadArtifacts_V1 : AzureDevOpsTask | |
{ | |
public JenkinsDownloadArtifacts_V1(string? jenkinsserverconnection, string? jobname) : base("JenkinsDownloadArtifacts@1") | |
{ | |
JenkinsServerConnection = jenkinsserverconnection; | |
JobName = jobname; | |
} | |
/// <summary> | |
/// Jenkins service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? JenkinsServerConnection | |
{ | |
get => GetString("jenkinsServerConnection"); | |
init => SetProperty("jenkinsServerConnection", value); | |
} | |
/// <summary> | |
/// Job name | |
/// </summary> | |
[YamlIgnore] | |
public string? JobName | |
{ | |
get => GetString("jobName"); | |
init => SetProperty("jobName", value); | |
} | |
/// <summary> | |
/// Jenkins job type | |
/// </summary> | |
[YamlIgnore] | |
public string? JenkinsJobType | |
{ | |
get => GetString("jenkinsJobType"); | |
init => SetProperty("jenkinsJobType", value); | |
} | |
/// <summary> | |
/// Save to | |
/// </summary> | |
[YamlIgnore] | |
public string? SaveTo | |
{ | |
get => GetString("saveTo"); | |
init => SetProperty("saveTo", value); | |
} | |
/// <summary> | |
/// Download artifacts produced by | |
/// </summary> | |
[YamlIgnore] | |
public string? JenkinsBuild | |
{ | |
get => GetString("jenkinsBuild"); | |
init => SetProperty("jenkinsBuild", value); | |
} | |
/// <summary> | |
/// Jenkins build number | |
/// </summary> | |
[YamlIgnore] | |
public string? JenkinsBuildNumber | |
{ | |
get => GetString("jenkinsBuildNumber"); | |
init => SetProperty("jenkinsBuildNumber", value); | |
} | |
/// <summary> | |
/// Item Pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? ItemPattern | |
{ | |
get => GetString("itemPattern"); | |
init => SetProperty("itemPattern", value); | |
} | |
/// <summary> | |
/// Download Commits and WorkItems | |
/// </summary> | |
[YamlIgnore] | |
public bool DownloadCommitsAndWorkItems | |
{ | |
get => GetBool("downloadCommitsAndWorkItems", false); | |
init => SetProperty("downloadCommitsAndWorkItems", value); | |
} | |
/// <summary> | |
/// Download commits and work items from | |
/// </summary> | |
[YamlIgnore] | |
public string? StartJenkinsBuildNumber | |
{ | |
get => GetString("startJenkinsBuildNumber"); | |
init => SetProperty("startJenkinsBuildNumber", value); | |
} | |
/// <summary> | |
/// Commit and WorkItem FileName | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactDetailsFileNameSuffix | |
{ | |
get => GetString("artifactDetailsFileNameSuffix"); | |
init => SetProperty("artifactDetailsFileNameSuffix", value); | |
} | |
/// <summary> | |
/// Artifacts are propagated to Azure | |
/// </summary> | |
[YamlIgnore] | |
public bool PropagatedArtifacts | |
{ | |
get => GetBool("propagatedArtifacts", false); | |
init => SetProperty("propagatedArtifacts", value); | |
} | |
/// <summary> | |
/// Artifact Provider | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactProvider | |
{ | |
get => GetString("artifactProvider"); | |
init => SetProperty("artifactProvider", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameARM | |
{ | |
get => GetString("ConnectedServiceNameARM"); | |
init => SetProperty("ConnectedServiceNameARM", value); | |
} | |
/// <summary> | |
/// Storage Account Name | |
/// </summary> | |
[YamlIgnore] | |
public string? StorageAccountName | |
{ | |
get => GetString("storageAccountName"); | |
init => SetProperty("storageAccountName", value); | |
} | |
/// <summary> | |
/// Container Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerName | |
{ | |
get => GetString("containerName"); | |
init => SetProperty("containerName", value); | |
} | |
/// <summary> | |
/// Common Virtual Path | |
/// </summary> | |
[YamlIgnore] | |
public string? CommonVirtualPath | |
{ | |
get => GetString("commonVirtualPath"); | |
init => SetProperty("commonVirtualPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFunctionAppContainer@1</c>: | |
/// Azure Functions for container | |
/// Update a function app with a Docker container | |
/// </summary> | |
public record AzureFunctionAppContainer_V1 : AzureDevOpsTask | |
{ | |
public AzureFunctionAppContainer_V1(string? azuresubscription, string? appname, string? imagename) : base("AzureFunctionAppContainer@1") | |
{ | |
AzureSubscription = azuresubscription; | |
AppName = appname; | |
ImageName = imagename; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// App name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("appName"); | |
init => SetProperty("appName", value); | |
} | |
/// <summary> | |
/// Deploy to Slot or App Service Environment | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployToSlotOrASE | |
{ | |
get => GetBool("deployToSlotOrASE", false); | |
init => SetProperty("deployToSlotOrASE", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("slotName"); | |
init => SetProperty("slotName", value); | |
} | |
/// <summary> | |
/// Image name | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageName | |
{ | |
get => GetString("imageName"); | |
init => SetProperty("imageName", value); | |
} | |
/// <summary> | |
/// Startup command | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerCommand | |
{ | |
get => GetString("containerCommand"); | |
init => SetProperty("containerCommand", value); | |
} | |
/// <summary> | |
/// App settings | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSettings | |
{ | |
get => GetString("appSettings"); | |
init => SetProperty("appSettings", value); | |
} | |
/// <summary> | |
/// Configuration settings | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigurationStrings | |
{ | |
get => GetString("configurationStrings"); | |
init => SetProperty("configurationStrings", value); | |
} | |
} | |
/// <summary> | |
/// <c>DecryptFile@1</c>: | |
/// Decrypt file (OpenSSL) | |
/// Decrypt a file using OpenSSL | |
/// </summary> | |
public record DecryptFile_V1 : AzureDevOpsTask | |
{ | |
public DecryptFile_V1(string? infile, string? passphrase) : base("DecryptFile@1") | |
{ | |
InFile = infile; | |
Passphrase = passphrase; | |
} | |
/// <summary> | |
/// Cypher | |
/// </summary> | |
[YamlIgnore] | |
public string? Cipher | |
{ | |
get => GetString("cipher"); | |
init => SetProperty("cipher", value); | |
} | |
/// <summary> | |
/// Encrypted file | |
/// </summary> | |
[YamlIgnore] | |
public string? InFile | |
{ | |
get => GetString("inFile"); | |
init => SetProperty("inFile", value); | |
} | |
/// <summary> | |
/// Passphrase | |
/// </summary> | |
[YamlIgnore] | |
public string? Passphrase | |
{ | |
get => GetString("passphrase"); | |
init => SetProperty("passphrase", value); | |
} | |
/// <summary> | |
/// Decrypted file path | |
/// </summary> | |
[YamlIgnore] | |
public string? OutFile | |
{ | |
get => GetString("outFile"); | |
init => SetProperty("outFile", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
} | |
/// <summary> | |
/// <c>HelmDeploy@0</c>: | |
/// Package and deploy Helm charts | |
/// Deploy, configure, update a Kubernetes cluster in Azure Container Service by running helm commands | |
/// </summary> | |
public record HelmDeploy_V0 : AzureDevOpsTask | |
{ | |
public HelmDeploy_V0(string? azuresubscriptionforacr, string? azureresourcegroupforacr, string? azurecontainerregistry) : base("HelmDeploy@0") | |
{ | |
AzureSubscriptionForACR = azuresubscriptionforacr; | |
AzureResourceGroupForACR = azureresourcegroupforacr; | |
AzureContainerRegistry = azurecontainerregistry; | |
} | |
/// <summary> | |
/// Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionType | |
{ | |
get => GetString("connectionType"); | |
init => SetProperty("connectionType", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroup | |
{ | |
get => GetString("azureResourceGroup"); | |
init => SetProperty("azureResourceGroup", value); | |
} | |
/// <summary> | |
/// Kubernetes cluster | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesCluster | |
{ | |
get => GetString("kubernetesCluster"); | |
init => SetProperty("kubernetesCluster", value); | |
} | |
/// <summary> | |
/// Use cluster admin credentials | |
/// </summary> | |
[YamlIgnore] | |
public bool UseClusterAdmin | |
{ | |
get => GetBool("useClusterAdmin", false); | |
init => SetProperty("useClusterAdmin", value); | |
} | |
/// <summary> | |
/// Kubernetes Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesServiceConnection | |
{ | |
get => GetString("kubernetesServiceConnection"); | |
init => SetProperty("kubernetesServiceConnection", value); | |
} | |
/// <summary> | |
/// Namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? Namespace | |
{ | |
get => GetString("namespace"); | |
init => SetProperty("namespace", value); | |
} | |
/// <summary> | |
/// Azure subscription for Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscriptionForACR | |
{ | |
get => GetString("azureSubscriptionForACR"); | |
init => SetProperty("azureSubscriptionForACR", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroupForACR | |
{ | |
get => GetString("azureResourceGroupForACR"); | |
init => SetProperty("azureResourceGroupForACR", value); | |
} | |
/// <summary> | |
/// Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("azureContainerRegistry"); | |
init => SetProperty("azureContainerRegistry", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Chart Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartType | |
{ | |
get => GetString("chartType"); | |
init => SetProperty("chartType", value); | |
} | |
/// <summary> | |
/// Chart Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartName | |
{ | |
get => GetString("chartName"); | |
init => SetProperty("chartName", value); | |
} | |
/// <summary> | |
/// Chart Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartPath | |
{ | |
get => GetString("chartPath"); | |
init => SetProperty("chartPath", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartVersion | |
{ | |
get => GetString("chartVersion"); | |
init => SetProperty("chartVersion", value); | |
} | |
/// <summary> | |
/// Release Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseName | |
{ | |
get => GetString("releaseName"); | |
init => SetProperty("releaseName", value); | |
} | |
/// <summary> | |
/// Set Values | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideValues | |
{ | |
get => GetString("overrideValues"); | |
init => SetProperty("overrideValues", value); | |
} | |
/// <summary> | |
/// Value File | |
/// </summary> | |
[YamlIgnore] | |
public string? ValueFile | |
{ | |
get => GetString("valueFile"); | |
init => SetProperty("valueFile", value); | |
} | |
/// <summary> | |
/// Destination | |
/// </summary> | |
[YamlIgnore] | |
public string? Destination | |
{ | |
get => GetString("destination"); | |
init => SetProperty("destination", value); | |
} | |
/// <summary> | |
/// Use canary image version. | |
/// </summary> | |
[YamlIgnore] | |
public bool CanaryImage | |
{ | |
get => GetBool("canaryImage", false); | |
init => SetProperty("canaryImage", value); | |
} | |
/// <summary> | |
/// Upgrade Tiller | |
/// </summary> | |
[YamlIgnore] | |
public bool UpgradeTiller | |
{ | |
get => GetBool("upgradeTiller", false); | |
init => SetProperty("upgradeTiller", value); | |
} | |
/// <summary> | |
/// Update Dependency | |
/// </summary> | |
[YamlIgnore] | |
public bool UpdateDependency | |
{ | |
get => GetBool("updateDependency", false); | |
init => SetProperty("updateDependency", value); | |
} | |
/// <summary> | |
/// Save | |
/// </summary> | |
[YamlIgnore] | |
public bool Save | |
{ | |
get => GetBool("save", false); | |
init => SetProperty("save", value); | |
} | |
/// <summary> | |
/// Install if release not present. | |
/// </summary> | |
[YamlIgnore] | |
public bool Install | |
{ | |
get => GetBool("install", false); | |
init => SetProperty("install", value); | |
} | |
/// <summary> | |
/// Recreate Pods. | |
/// </summary> | |
[YamlIgnore] | |
public bool Recreate | |
{ | |
get => GetBool("recreate", false); | |
init => SetProperty("recreate", value); | |
} | |
/// <summary> | |
/// Reset Values. | |
/// </summary> | |
[YamlIgnore] | |
public bool ResetValues | |
{ | |
get => GetBool("resetValues", false); | |
init => SetProperty("resetValues", value); | |
} | |
/// <summary> | |
/// Force | |
/// </summary> | |
[YamlIgnore] | |
public bool Force | |
{ | |
get => GetBool("force", false); | |
init => SetProperty("force", value); | |
} | |
/// <summary> | |
/// Wait | |
/// </summary> | |
[YamlIgnore] | |
public bool WaitForExecution | |
{ | |
get => GetBool("waitForExecution", false); | |
init => SetProperty("waitForExecution", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Enable TLS | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableTls | |
{ | |
get => GetBool("enableTls", false); | |
init => SetProperty("enableTls", value); | |
} | |
/// <summary> | |
/// CA certificate | |
/// </summary> | |
[YamlIgnore] | |
public string? CaCert | |
{ | |
get => GetString("caCert"); | |
init => SetProperty("caCert", value); | |
} | |
/// <summary> | |
/// Certificate | |
/// </summary> | |
[YamlIgnore] | |
public string? Certificate | |
{ | |
get => GetString("certificate"); | |
init => SetProperty("certificate", value); | |
} | |
/// <summary> | |
/// Key | |
/// </summary> | |
[YamlIgnore] | |
public string? Privatekey | |
{ | |
get => GetString("privatekey"); | |
init => SetProperty("privatekey", value); | |
} | |
/// <summary> | |
/// Tiller namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? TillerNamespace | |
{ | |
get => GetString("tillerNamespace"); | |
init => SetProperty("tillerNamespace", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStderr | |
{ | |
get => GetBool("failOnStderr", false); | |
init => SetProperty("failOnStderr", value); | |
} | |
/// <summary> | |
/// Publish pipeline metadata | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishPipelineMetadata | |
{ | |
get => GetBool("publishPipelineMetadata", false); | |
init => SetProperty("publishPipelineMetadata", value); | |
} | |
/// <summary> | |
/// Chart Name For Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartNameForACR | |
{ | |
get => GetString("chartNameForACR"); | |
init => SetProperty("chartNameForACR", value); | |
} | |
/// <summary> | |
/// Chart Path for Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartPathForACR | |
{ | |
get => GetString("chartPathForACR"); | |
init => SetProperty("chartPathForACR", value); | |
} | |
} | |
/// <summary> | |
/// <c>HelmDeploy@1</c>: | |
/// Package and deploy Helm charts | |
/// Deploy, configure, update a Kubernetes cluster in Azure Container Service by running helm commands | |
/// </summary> | |
public record HelmDeploy_V1 : AzureDevOpsTask | |
{ | |
public HelmDeploy_V1(string? azuresubscriptionforacr, string? azureresourcegroupforacr, string? azurecontainerregistry) : base("HelmDeploy@1") | |
{ | |
AzureSubscriptionForACR = azuresubscriptionforacr; | |
AzureResourceGroupForACR = azureresourcegroupforacr; | |
AzureContainerRegistry = azurecontainerregistry; | |
} | |
/// <summary> | |
/// Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionType | |
{ | |
get => GetString("connectionType"); | |
init => SetProperty("connectionType", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroup | |
{ | |
get => GetString("azureResourceGroup"); | |
init => SetProperty("azureResourceGroup", value); | |
} | |
/// <summary> | |
/// Kubernetes cluster | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesCluster | |
{ | |
get => GetString("kubernetesCluster"); | |
init => SetProperty("kubernetesCluster", value); | |
} | |
/// <summary> | |
/// Use cluster admin credentials | |
/// </summary> | |
[YamlIgnore] | |
public bool UseClusterAdmin | |
{ | |
get => GetBool("useClusterAdmin", false); | |
init => SetProperty("useClusterAdmin", value); | |
} | |
/// <summary> | |
/// Kubernetes Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesServiceConnection | |
{ | |
get => GetString("kubernetesServiceConnection"); | |
init => SetProperty("kubernetesServiceConnection", value); | |
} | |
/// <summary> | |
/// Namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? Namespace | |
{ | |
get => GetString("namespace"); | |
init => SetProperty("namespace", value); | |
} | |
/// <summary> | |
/// Azure subscription for Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscriptionForACR | |
{ | |
get => GetString("azureSubscriptionForACR"); | |
init => SetProperty("azureSubscriptionForACR", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroupForACR | |
{ | |
get => GetString("azureResourceGroupForACR"); | |
init => SetProperty("azureResourceGroupForACR", value); | |
} | |
/// <summary> | |
/// Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("azureContainerRegistry"); | |
init => SetProperty("azureContainerRegistry", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Chart Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartType | |
{ | |
get => GetString("chartType"); | |
init => SetProperty("chartType", value); | |
} | |
/// <summary> | |
/// Chart Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartName | |
{ | |
get => GetString("chartName"); | |
init => SetProperty("chartName", value); | |
} | |
/// <summary> | |
/// Chart Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartPath | |
{ | |
get => GetString("chartPath"); | |
init => SetProperty("chartPath", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartVersion | |
{ | |
get => GetString("chartVersion"); | |
init => SetProperty("chartVersion", value); | |
} | |
/// <summary> | |
/// Release Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseName | |
{ | |
get => GetString("releaseName"); | |
init => SetProperty("releaseName", value); | |
} | |
/// <summary> | |
/// Set Values | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideValues | |
{ | |
get => GetString("overrideValues"); | |
init => SetProperty("overrideValues", value); | |
} | |
/// <summary> | |
/// Value File | |
/// </summary> | |
[YamlIgnore] | |
public string? ValueFile | |
{ | |
get => GetString("valueFile"); | |
init => SetProperty("valueFile", value); | |
} | |
/// <summary> | |
/// Destination | |
/// </summary> | |
[YamlIgnore] | |
public string? Destination | |
{ | |
get => GetString("destination"); | |
init => SetProperty("destination", value); | |
} | |
/// <summary> | |
/// Use canary image version. | |
/// </summary> | |
[YamlIgnore] | |
public bool CanaryImage | |
{ | |
get => GetBool("canaryImage", false); | |
init => SetProperty("canaryImage", value); | |
} | |
/// <summary> | |
/// Upgrade Tiller | |
/// </summary> | |
[YamlIgnore] | |
public bool UpgradeTiller | |
{ | |
get => GetBool("upgradeTiller", false); | |
init => SetProperty("upgradeTiller", value); | |
} | |
/// <summary> | |
/// Update Dependency | |
/// </summary> | |
[YamlIgnore] | |
public bool UpdateDependency | |
{ | |
get => GetBool("updateDependency", false); | |
init => SetProperty("updateDependency", value); | |
} | |
/// <summary> | |
/// Save | |
/// </summary> | |
[YamlIgnore] | |
public bool Save | |
{ | |
get => GetBool("save", false); | |
init => SetProperty("save", value); | |
} | |
/// <summary> | |
/// Install if release not present. | |
/// </summary> | |
[YamlIgnore] | |
public bool Install | |
{ | |
get => GetBool("install", false); | |
init => SetProperty("install", value); | |
} | |
/// <summary> | |
/// Recreate Pods. | |
/// </summary> | |
[YamlIgnore] | |
public bool Recreate | |
{ | |
get => GetBool("recreate", false); | |
init => SetProperty("recreate", value); | |
} | |
/// <summary> | |
/// Reset Values. | |
/// </summary> | |
[YamlIgnore] | |
public bool ResetValues | |
{ | |
get => GetBool("resetValues", false); | |
init => SetProperty("resetValues", value); | |
} | |
/// <summary> | |
/// Force | |
/// </summary> | |
[YamlIgnore] | |
public bool Force | |
{ | |
get => GetBool("force", false); | |
init => SetProperty("force", value); | |
} | |
/// <summary> | |
/// Wait | |
/// </summary> | |
[YamlIgnore] | |
public bool WaitForExecution | |
{ | |
get => GetBool("waitForExecution", false); | |
init => SetProperty("waitForExecution", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Enable TLS | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableTls | |
{ | |
get => GetBool("enableTls", false); | |
init => SetProperty("enableTls", value); | |
} | |
/// <summary> | |
/// CA certificate | |
/// </summary> | |
[YamlIgnore] | |
public string? CaCert | |
{ | |
get => GetString("caCert"); | |
init => SetProperty("caCert", value); | |
} | |
/// <summary> | |
/// Certificate | |
/// </summary> | |
[YamlIgnore] | |
public string? Certificate | |
{ | |
get => GetString("certificate"); | |
init => SetProperty("certificate", value); | |
} | |
/// <summary> | |
/// Key | |
/// </summary> | |
[YamlIgnore] | |
public string? Privatekey | |
{ | |
get => GetString("privatekey"); | |
init => SetProperty("privatekey", value); | |
} | |
/// <summary> | |
/// Tiller namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? TillerNamespace | |
{ | |
get => GetString("tillerNamespace"); | |
init => SetProperty("tillerNamespace", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStderr | |
{ | |
get => GetBool("failOnStderr", false); | |
init => SetProperty("failOnStderr", value); | |
} | |
/// <summary> | |
/// Publish pipeline metadata | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishPipelineMetadata | |
{ | |
get => GetBool("publishPipelineMetadata", false); | |
init => SetProperty("publishPipelineMetadata", value); | |
} | |
/// <summary> | |
/// Chart Name For Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartNameForACR | |
{ | |
get => GetString("chartNameForACR"); | |
init => SetProperty("chartNameForACR", value); | |
} | |
/// <summary> | |
/// Chart Path for Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? ChartPathForACR | |
{ | |
get => GetString("chartPathForACR"); | |
init => SetProperty("chartPathForACR", value); | |
} | |
} | |
/// <summary> | |
/// <c>InstallAppleCertificate@2</c>: | |
/// Install Apple certificate | |
/// Install an Apple certificate required to build on a macOS agent machine | |
/// </summary> | |
public record InstallAppleCertificate_V2 : AzureDevOpsTask | |
{ | |
public InstallAppleCertificate_V2(string? certsecurefile) : base("InstallAppleCertificate@2") | |
{ | |
CertSecureFile = certsecurefile; | |
} | |
/// <summary> | |
/// Certificate (P12) | |
/// </summary> | |
[YamlIgnore] | |
public string? CertSecureFile | |
{ | |
get => GetString("certSecureFile"); | |
init => SetProperty("certSecureFile", value); | |
} | |
/// <summary> | |
/// Certificate (P12) password | |
/// </summary> | |
[YamlIgnore] | |
public string? CertPwd | |
{ | |
get => GetString("certPwd"); | |
init => SetProperty("certPwd", value); | |
} | |
/// <summary> | |
/// Keychain | |
/// </summary> | |
[YamlIgnore] | |
public string? Keychain | |
{ | |
get => GetString("keychain"); | |
init => SetProperty("keychain", value); | |
} | |
/// <summary> | |
/// Keychain password | |
/// </summary> | |
[YamlIgnore] | |
public string? KeychainPassword | |
{ | |
get => GetString("keychainPassword"); | |
init => SetProperty("keychainPassword", value); | |
} | |
/// <summary> | |
/// Custom keychain path | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomKeychainPath | |
{ | |
get => GetString("customKeychainPath"); | |
init => SetProperty("customKeychainPath", value); | |
} | |
/// <summary> | |
/// Delete certificate from keychain | |
/// </summary> | |
[YamlIgnore] | |
public bool DeleteCert | |
{ | |
get => GetBool("deleteCert", false); | |
init => SetProperty("deleteCert", value); | |
} | |
/// <summary> | |
/// Delete custom keychain | |
/// </summary> | |
[YamlIgnore] | |
public bool DeleteCustomKeychain | |
{ | |
get => GetBool("deleteCustomKeychain", false); | |
init => SetProperty("deleteCustomKeychain", value); | |
} | |
/// <summary> | |
/// Certificate signing identity | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningIdentity | |
{ | |
get => GetString("signingIdentity"); | |
init => SetProperty("signingIdentity", value); | |
} | |
/// <summary> | |
/// Set up partition_id ACL for the imported private key | |
/// </summary> | |
[YamlIgnore] | |
public bool SetUpPartitionIdACLForPrivateKey | |
{ | |
get => GetBool("setUpPartitionIdACLForPrivateKey", false); | |
init => SetProperty("setUpPartitionIdACLForPrivateKey", value); | |
} | |
/// <summary> | |
/// OpenSSL arguments for PKCS12 | |
/// </summary> | |
[YamlIgnore] | |
public string? OpensslPkcsArgs | |
{ | |
get => GetString("opensslPkcsArgs"); | |
init => SetProperty("opensslPkcsArgs", value); | |
} | |
} | |
/// <summary> | |
/// <c>InstallAppleCertificate@1</c>: | |
/// Install Apple Certificate | |
/// Install an Apple certificate required to build on a macOS agent | |
/// </summary> | |
public record InstallAppleCertificate_V1 : AzureDevOpsTask | |
{ | |
public InstallAppleCertificate_V1(string? certsecurefile) : base("InstallAppleCertificate@1") | |
{ | |
CertSecureFile = certsecurefile; | |
} | |
/// <summary> | |
/// Certificate (P12) | |
/// </summary> | |
[YamlIgnore] | |
public string? CertSecureFile | |
{ | |
get => GetString("certSecureFile"); | |
init => SetProperty("certSecureFile", value); | |
} | |
/// <summary> | |
/// Certificate (P12) password | |
/// </summary> | |
[YamlIgnore] | |
public string? CertPwd | |
{ | |
get => GetString("certPwd"); | |
init => SetProperty("certPwd", value); | |
} | |
/// <summary> | |
/// Keychain | |
/// </summary> | |
[YamlIgnore] | |
public string? Keychain | |
{ | |
get => GetString("keychain"); | |
init => SetProperty("keychain", value); | |
} | |
/// <summary> | |
/// Keychain password | |
/// </summary> | |
[YamlIgnore] | |
public string? KeychainPassword | |
{ | |
get => GetString("keychainPassword"); | |
init => SetProperty("keychainPassword", value); | |
} | |
/// <summary> | |
/// Custom keychain path | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomKeychainPath | |
{ | |
get => GetString("customKeychainPath"); | |
init => SetProperty("customKeychainPath", value); | |
} | |
/// <summary> | |
/// Delete certificate from keychain | |
/// </summary> | |
[YamlIgnore] | |
public bool DeleteCert | |
{ | |
get => GetBool("deleteCert", false); | |
init => SetProperty("deleteCert", value); | |
} | |
/// <summary> | |
/// Delete custom keychain | |
/// </summary> | |
[YamlIgnore] | |
public bool DeleteCustomKeychain | |
{ | |
get => GetBool("deleteCustomKeychain", false); | |
init => SetProperty("deleteCustomKeychain", value); | |
} | |
/// <summary> | |
/// Certificate signing identity | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningIdentity | |
{ | |
get => GetString("signingIdentity"); | |
init => SetProperty("signingIdentity", value); | |
} | |
} | |
/// <summary> | |
/// <c>InstallAppleCertificate@0</c>: | |
/// Install Apple Certificate | |
/// Install an Apple certificate required to build on a macOS agent | |
/// </summary> | |
public record InstallAppleCertificate_V0 : AzureDevOpsTask | |
{ | |
public InstallAppleCertificate_V0(string? certsecurefile) : base("InstallAppleCertificate@0") | |
{ | |
CertSecureFile = certsecurefile; | |
} | |
/// <summary> | |
/// Certificate (P12) | |
/// </summary> | |
[YamlIgnore] | |
public string? CertSecureFile | |
{ | |
get => GetString("certSecureFile"); | |
init => SetProperty("certSecureFile", value); | |
} | |
/// <summary> | |
/// Certificate (P12) Password | |
/// </summary> | |
[YamlIgnore] | |
public string? CertPwd | |
{ | |
get => GetString("certPwd"); | |
init => SetProperty("certPwd", value); | |
} | |
/// <summary> | |
/// Keychain | |
/// </summary> | |
[YamlIgnore] | |
public string? Keychain | |
{ | |
get => GetString("keychain"); | |
init => SetProperty("keychain", value); | |
} | |
/// <summary> | |
/// Keychain Password | |
/// </summary> | |
[YamlIgnore] | |
public string? KeychainPassword | |
{ | |
get => GetString("keychainPassword"); | |
init => SetProperty("keychainPassword", value); | |
} | |
/// <summary> | |
/// Custom Keychain Path | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomKeychainPath | |
{ | |
get => GetString("customKeychainPath"); | |
init => SetProperty("customKeychainPath", value); | |
} | |
/// <summary> | |
/// Delete Certificate from Keychain | |
/// </summary> | |
[YamlIgnore] | |
public bool DeleteCert | |
{ | |
get => GetBool("deleteCert", false); | |
init => SetProperty("deleteCert", value); | |
} | |
/// <summary> | |
/// Delete Custom Keychain | |
/// </summary> | |
[YamlIgnore] | |
public bool DeleteCustomKeychain | |
{ | |
get => GetBool("deleteCustomKeychain", false); | |
init => SetProperty("deleteCustomKeychain", value); | |
} | |
/// <summary> | |
/// Certificate Signing Identity | |
/// </summary> | |
[YamlIgnore] | |
public string? SigningIdentity | |
{ | |
get => GetString("signingIdentity"); | |
init => SetProperty("signingIdentity", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFunction@1</c>: | |
/// Invoke Azure Function | |
/// Invoke an Azure Function | |
/// </summary> | |
public record AzureFunction_V1 : AzureDevOpsTask | |
{ | |
public AzureFunction_V1(string? function, string? key) : base("AzureFunction@1") | |
{ | |
Function = function; | |
Key = key; | |
} | |
/// <summary> | |
/// Azure function URL | |
/// </summary> | |
[YamlIgnore] | |
public string? Function | |
{ | |
get => GetString("function"); | |
init => SetProperty("function", value); | |
} | |
/// <summary> | |
/// Function key | |
/// </summary> | |
[YamlIgnore] | |
public string? Key | |
{ | |
get => GetString("key"); | |
init => SetProperty("key", value); | |
} | |
/// <summary> | |
/// Method | |
/// </summary> | |
[YamlIgnore] | |
public string? Method | |
{ | |
get => GetString("method"); | |
init => SetProperty("method", value); | |
} | |
/// <summary> | |
/// Headers | |
/// </summary> | |
[YamlIgnore] | |
public string? Headers | |
{ | |
get => GetString("headers"); | |
init => SetProperty("headers", value); | |
} | |
/// <summary> | |
/// Query parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? QueryParameters | |
{ | |
get => GetString("queryParameters"); | |
init => SetProperty("queryParameters", value); | |
} | |
/// <summary> | |
/// Body | |
/// </summary> | |
[YamlIgnore] | |
public string? Body | |
{ | |
get => GetString("body"); | |
init => SetProperty("body", value); | |
} | |
/// <summary> | |
/// Completion event | |
/// </summary> | |
[YamlIgnore] | |
public string? WaitForCompletion | |
{ | |
get => GetString("waitForCompletion"); | |
init => SetProperty("waitForCompletion", value); | |
} | |
/// <summary> | |
/// Success criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? SuccessCriteria | |
{ | |
get => GetString("successCriteria"); | |
init => SetProperty("successCriteria", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFunction@0</c>: | |
/// Invoke Azure Function | |
/// Invoke Azure function as a part of your process. | |
/// </summary> | |
public record AzureFunction_V0 : AzureDevOpsTask | |
{ | |
public AzureFunction_V0(string? function, string? key) : base("AzureFunction@0") | |
{ | |
Function = function; | |
Key = key; | |
} | |
/// <summary> | |
/// Azure function url | |
/// </summary> | |
[YamlIgnore] | |
public string? Function | |
{ | |
get => GetString("function"); | |
init => SetProperty("function", value); | |
} | |
/// <summary> | |
/// Function key | |
/// </summary> | |
[YamlIgnore] | |
public string? Key | |
{ | |
get => GetString("key"); | |
init => SetProperty("key", value); | |
} | |
/// <summary> | |
/// Method | |
/// </summary> | |
[YamlIgnore] | |
public string? Method | |
{ | |
get => GetString("method"); | |
init => SetProperty("method", value); | |
} | |
/// <summary> | |
/// Headers | |
/// </summary> | |
[YamlIgnore] | |
public string? Headers | |
{ | |
get => GetString("headers"); | |
init => SetProperty("headers", value); | |
} | |
/// <summary> | |
/// Query parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? QueryParameters | |
{ | |
get => GetString("queryParameters"); | |
init => SetProperty("queryParameters", value); | |
} | |
/// <summary> | |
/// Body | |
/// </summary> | |
[YamlIgnore] | |
public string? Body | |
{ | |
get => GetString("body"); | |
init => SetProperty("body", value); | |
} | |
/// <summary> | |
/// Complete based on | |
/// </summary> | |
[YamlIgnore] | |
public string? WaitForCompletion | |
{ | |
get => GetString("waitForCompletion"); | |
init => SetProperty("waitForCompletion", value); | |
} | |
/// <summary> | |
/// Success criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? SuccessCriteria | |
{ | |
get => GetString("successCriteria"); | |
init => SetProperty("successCriteria", value); | |
} | |
} | |
/// <summary> | |
/// <c>OpenPolicyAgentInstaller@0</c>: | |
/// Open Policy Agent Installer | |
/// Install Open Policy Agent on agent machine | |
/// </summary> | |
public record OpenPolicyAgentInstaller_V0 : AzureDevOpsTask | |
{ | |
public OpenPolicyAgentInstaller_V0() : base("OpenPolicyAgentInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// OPA Version Spec | |
/// </summary> | |
[YamlIgnore] | |
public string? OpaVersion | |
{ | |
get => GetString("opaVersion"); | |
init => SetProperty("opaVersion", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadGitHubRelease@0</c>: | |
/// Download GitHub Release | |
/// Downloads a GitHub Release from a repository | |
/// </summary> | |
public record DownloadGitHubRelease_V0 : AzureDevOpsTask | |
{ | |
public DownloadGitHubRelease_V0(string? connection, string? userrepository) : base("DownloadGitHubRelease@0") | |
{ | |
Connection = connection; | |
UserRepository = userrepository; | |
} | |
/// <summary> | |
/// GitHub Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? Connection | |
{ | |
get => GetString("connection"); | |
init => SetProperty("connection", value); | |
} | |
/// <summary> | |
/// Repository | |
/// </summary> | |
[YamlIgnore] | |
public string? UserRepository | |
{ | |
get => GetString("userRepository"); | |
init => SetProperty("userRepository", value); | |
} | |
/// <summary> | |
/// Default version | |
/// </summary> | |
[YamlIgnore] | |
public string? DefaultVersionType | |
{ | |
get => GetString("defaultVersionType"); | |
init => SetProperty("defaultVersionType", value); | |
} | |
/// <summary> | |
/// Release | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Item Pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? ItemPattern | |
{ | |
get => GetString("itemPattern"); | |
init => SetProperty("itemPattern", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? DownloadPath | |
{ | |
get => GetString("downloadPath"); | |
init => SetProperty("downloadPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>SSH@0</c>: | |
/// SSH | |
/// Run shell commands or a script on a remote machine using SSH | |
/// </summary> | |
public record SSH_V0 : AzureDevOpsTask | |
{ | |
public SSH_V0(string? sshendpoint) : base("SSH@0") | |
{ | |
SshEndpoint = sshendpoint; | |
} | |
/// <summary> | |
/// SSH service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? SshEndpoint | |
{ | |
get => GetString("sshEndpoint"); | |
init => SetProperty("sshEndpoint", value); | |
} | |
/// <summary> | |
/// Run | |
/// </summary> | |
[YamlIgnore] | |
public string? RunOptions | |
{ | |
get => GetString("runOptions"); | |
init => SetProperty("runOptions", value); | |
} | |
/// <summary> | |
/// Commands | |
/// </summary> | |
[YamlIgnore] | |
public string? Commands | |
{ | |
get => GetString("commands"); | |
init => SetProperty("commands", value); | |
} | |
/// <summary> | |
/// Shell script path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("scriptPath"); | |
init => SetProperty("scriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Inline | |
{ | |
get => GetString("inline"); | |
init => SetProperty("inline", value); | |
} | |
/// <summary> | |
/// Interpreter command | |
/// </summary> | |
[YamlIgnore] | |
public string? InterpreterCommand | |
{ | |
get => GetString("interpreterCommand"); | |
init => SetProperty("interpreterCommand", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Fail on STDERR | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStdErr | |
{ | |
get => GetBool("failOnStdErr", false); | |
init => SetProperty("failOnStdErr", value); | |
} | |
/// <summary> | |
/// Enable interactive session | |
/// </summary> | |
[YamlIgnore] | |
public bool InteractiveSession | |
{ | |
get => GetBool("interactiveSession", false); | |
init => SetProperty("interactiveSession", value); | |
} | |
/// <summary> | |
/// SSH handshake timeout | |
/// </summary> | |
[YamlIgnore] | |
public string? ReadyTimeout | |
{ | |
get => GetString("readyTimeout"); | |
init => SetProperty("readyTimeout", value); | |
} | |
/// <summary> | |
/// Use interactive-keyboard authentication | |
/// </summary> | |
[YamlIgnore] | |
public bool InteractiveKeyboardAuthentication | |
{ | |
get => GetBool("interactiveKeyboardAuthentication", false); | |
init => SetProperty("interactiveKeyboardAuthentication", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishPipelineArtifact@0</c>: | |
/// Publish pipeline artifact | |
/// Publish a local directory or file as a named artifact for the current pipeline | |
/// </summary> | |
public record PublishPipelineArtifact_V0 : AzureDevOpsTask | |
{ | |
public PublishPipelineArtifact_V0(string? targetpath) : base("PublishPipelineArtifact@0") | |
{ | |
TargetPath = targetpath; | |
} | |
/// <summary> | |
/// The name of this artifact | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactName | |
{ | |
get => GetString("artifactName"); | |
init => SetProperty("artifactName", value); | |
} | |
/// <summary> | |
/// Path to publish | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("targetPath"); | |
init => SetProperty("targetPath", value); | |
} | |
/// <summary> | |
/// Custom properties | |
/// </summary> | |
[YamlIgnore] | |
public string? Properties | |
{ | |
get => GetString("properties"); | |
init => SetProperty("properties", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishPipelineArtifact@1</c>: | |
/// Publish Pipeline Artifacts | |
/// Publish (upload) a file or directory as a named artifact for the current run | |
/// </summary> | |
public record PublishPipelineArtifact_V1 : AzureDevOpsTask | |
{ | |
public PublishPipelineArtifact_V1() : base("PublishPipelineArtifact@1") | |
{ | |
} | |
/// <summary> | |
/// File or directory path | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("targetPath"); | |
init => SetProperty("targetPath", value); | |
} | |
/// <summary> | |
/// Artifact name | |
/// </summary> | |
[YamlIgnore] | |
public string? Artifact | |
{ | |
get => GetString("artifact"); | |
init => SetProperty("artifact", value); | |
} | |
/// <summary> | |
/// Artifact publish location | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishLocation | |
{ | |
get => GetString("publishLocation"); | |
init => SetProperty("publishLocation", value); | |
} | |
/// <summary> | |
/// File share path | |
/// </summary> | |
[YamlIgnore] | |
public string? FileSharePath | |
{ | |
get => GetString("fileSharePath"); | |
init => SetProperty("fileSharePath", value); | |
} | |
/// <summary> | |
/// Parallel copy | |
/// </summary> | |
[YamlIgnore] | |
public bool Parallel | |
{ | |
get => GetBool("parallel", false); | |
init => SetProperty("parallel", value); | |
} | |
/// <summary> | |
/// Parallel count | |
/// </summary> | |
[YamlIgnore] | |
public int? ParallelCount | |
{ | |
get => GetInt("parallelCount"); | |
init => SetProperty("parallelCount", value); | |
} | |
/// <summary> | |
/// Custom properties | |
/// </summary> | |
[YamlIgnore] | |
public string? Properties | |
{ | |
get => GetString("properties"); | |
init => SetProperty("properties", value); | |
} | |
} | |
/// <summary> | |
/// <c>SonarQubePreBuild@1</c>: | |
/// SonarQube for MSBuild - Begin Analysis | |
/// [DEPRECATED] Fetch the Quality Profile from SonarQube to configure the analysis | |
/// </summary> | |
public record SonarQubePreBuild_V1 : AzureDevOpsTask | |
{ | |
public SonarQubePreBuild_V1(string? projectkey, string? projectname, string? connectedservicename) : base("SonarQubePreBuild@1") | |
{ | |
ProjectKey = projectkey; | |
ProjectName = projectname; | |
ConnectedServiceName = connectedservicename; | |
} | |
/// <summary> | |
/// Project Key | |
/// </summary> | |
[YamlIgnore] | |
public string? ProjectKey | |
{ | |
get => GetString("projectKey"); | |
init => SetProperty("projectKey", value); | |
} | |
/// <summary> | |
/// Project Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ProjectName | |
{ | |
get => GetString("projectName"); | |
init => SetProperty("projectName", value); | |
} | |
/// <summary> | |
/// Project Version | |
/// </summary> | |
[YamlIgnore] | |
public string? ProjectVersion | |
{ | |
get => GetString("projectVersion"); | |
init => SetProperty("projectVersion", value); | |
} | |
/// <summary> | |
/// SonarQube Endpoint | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("connectedServiceName"); | |
init => SetProperty("connectedServiceName", value); | |
} | |
/// <summary> | |
/// Db Connection String | |
/// </summary> | |
[YamlIgnore] | |
public string? DbUrl | |
{ | |
get => GetString("dbUrl"); | |
init => SetProperty("dbUrl", value); | |
} | |
/// <summary> | |
/// Db UserName | |
/// </summary> | |
[YamlIgnore] | |
public string? DbUsername | |
{ | |
get => GetString("dbUsername"); | |
init => SetProperty("dbUsername", value); | |
} | |
/// <summary> | |
/// Db User Password | |
/// </summary> | |
[YamlIgnore] | |
public string? DbPassword | |
{ | |
get => GetString("dbPassword"); | |
init => SetProperty("dbPassword", value); | |
} | |
/// <summary> | |
/// Additional Settings | |
/// </summary> | |
[YamlIgnore] | |
public string? CmdLineArgs | |
{ | |
get => GetString("cmdLineArgs"); | |
init => SetProperty("cmdLineArgs", value); | |
} | |
/// <summary> | |
/// Settings File | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigFile | |
{ | |
get => GetString("configFile"); | |
init => SetProperty("configFile", value); | |
} | |
/// <summary> | |
/// Include full analysis report in the build summary (SQ 5.3+) | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeFullReport | |
{ | |
get => GetBool("includeFullReport", false); | |
init => SetProperty("includeFullReport", value); | |
} | |
/// <summary> | |
/// Fail the build on quality gate failure (SQ 5.3+) | |
/// </summary> | |
[YamlIgnore] | |
public bool BreakBuild | |
{ | |
get => GetBool("breakBuild", false); | |
init => SetProperty("breakBuild", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadFileshareArtifacts@1</c>: | |
/// Download artifacts from file share | |
/// Download artifacts from a file share, like \\share\drop | |
/// </summary> | |
public record DownloadFileshareArtifacts_V1 : AzureDevOpsTask | |
{ | |
public DownloadFileshareArtifacts_V1(string? filesharepath, string? artifactname) : base("DownloadFileshareArtifacts@1") | |
{ | |
FilesharePath = filesharepath; | |
ArtifactName = artifactname; | |
} | |
/// <summary> | |
/// File share path | |
/// </summary> | |
[YamlIgnore] | |
public string? FilesharePath | |
{ | |
get => GetString("filesharePath"); | |
init => SetProperty("filesharePath", value); | |
} | |
/// <summary> | |
/// Artifact name | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactName | |
{ | |
get => GetString("artifactName"); | |
init => SetProperty("artifactName", value); | |
} | |
/// <summary> | |
/// Matching pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? ItemPattern | |
{ | |
get => GetString("itemPattern"); | |
init => SetProperty("itemPattern", value); | |
} | |
/// <summary> | |
/// Download path | |
/// </summary> | |
[YamlIgnore] | |
public string? DownloadPath | |
{ | |
get => GetString("downloadPath"); | |
init => SetProperty("downloadPath", value); | |
} | |
/// <summary> | |
/// Parallelization limit | |
/// </summary> | |
[YamlIgnore] | |
public string? ParallelizationLimit | |
{ | |
get => GetString("parallelizationLimit"); | |
init => SetProperty("parallelizationLimit", value); | |
} | |
} | |
/// <summary> | |
/// <c>Kubernetes@0</c>: | |
/// Kubectl | |
/// Deploy, configure, update a Kubernetes cluster in Azure Container Service by running kubectl commands | |
/// </summary> | |
public record Kubernetes_V0 : AzureDevOpsTask | |
{ | |
public Kubernetes_V0() : base("Kubernetes@0") | |
{ | |
} | |
/// <summary> | |
/// Kubernetes service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesServiceConnection | |
{ | |
get => GetString("kubernetesServiceConnection"); | |
init => SetProperty("kubernetesServiceConnection", value); | |
} | |
/// <summary> | |
/// Namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? Namespace | |
{ | |
get => GetString("namespace"); | |
init => SetProperty("namespace", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Use Configuration files | |
/// </summary> | |
[YamlIgnore] | |
public bool UseConfigurationFile | |
{ | |
get => GetBool("useConfigurationFile", false); | |
init => SetProperty("useConfigurationFile", value); | |
} | |
/// <summary> | |
/// Configuration file | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Type of secret | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretType | |
{ | |
get => GetString("secretType"); | |
init => SetProperty("secretType", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretArguments | |
{ | |
get => GetString("secretArguments"); | |
init => SetProperty("secretArguments", value); | |
} | |
/// <summary> | |
/// Container Registry type | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerRegistryType | |
{ | |
get => GetString("containerRegistryType"); | |
init => SetProperty("containerRegistryType", value); | |
} | |
/// <summary> | |
/// Docker Registry service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryConnection | |
{ | |
get => GetString("dockerRegistryConnection"); | |
init => SetProperty("dockerRegistryConnection", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("azureContainerRegistry"); | |
init => SetProperty("azureContainerRegistry", value); | |
} | |
/// <summary> | |
/// Secret name | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretName | |
{ | |
get => GetString("secretName"); | |
init => SetProperty("secretName", value); | |
} | |
/// <summary> | |
/// Force update secret | |
/// </summary> | |
[YamlIgnore] | |
public bool ForceUpdate | |
{ | |
get => GetBool("forceUpdate", false); | |
init => SetProperty("forceUpdate", value); | |
} | |
/// <summary> | |
/// ConfigMap name | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigMapName | |
{ | |
get => GetString("configMapName"); | |
init => SetProperty("configMapName", value); | |
} | |
/// <summary> | |
/// Force update configmap | |
/// </summary> | |
[YamlIgnore] | |
public bool ForceUpdateConfigMap | |
{ | |
get => GetBool("forceUpdateConfigMap", false); | |
init => SetProperty("forceUpdateConfigMap", value); | |
} | |
/// <summary> | |
/// Use file | |
/// </summary> | |
[YamlIgnore] | |
public bool UseConfigMapFile | |
{ | |
get => GetBool("useConfigMapFile", false); | |
init => SetProperty("useConfigMapFile", value); | |
} | |
/// <summary> | |
/// ConfigMap file | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigMapFile | |
{ | |
get => GetString("configMapFile"); | |
init => SetProperty("configMapFile", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigMapArguments | |
{ | |
get => GetString("configMapArguments"); | |
init => SetProperty("configMapArguments", value); | |
} | |
/// <summary> | |
/// Kubectl | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionOrLocation | |
{ | |
get => GetString("versionOrLocation"); | |
init => SetProperty("versionOrLocation", value); | |
} | |
/// <summary> | |
/// Version spec | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSpec | |
{ | |
get => GetString("versionSpec"); | |
init => SetProperty("versionSpec", value); | |
} | |
/// <summary> | |
/// Check for latest version | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckLatest | |
{ | |
get => GetBool("checkLatest", false); | |
init => SetProperty("checkLatest", value); | |
} | |
/// <summary> | |
/// Path to Kubectl | |
/// </summary> | |
[YamlIgnore] | |
public string? SpecifyLocation | |
{ | |
get => GetString("specifyLocation"); | |
init => SetProperty("specifyLocation", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Output format | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputFormat | |
{ | |
get => GetString("outputFormat"); | |
init => SetProperty("outputFormat", value); | |
} | |
/// <summary> | |
/// Output variable name | |
/// </summary> | |
[YamlIgnore] | |
public string? KubectlOutput | |
{ | |
get => GetString("kubectlOutput"); | |
init => SetProperty("kubectlOutput", value); | |
} | |
} | |
/// <summary> | |
/// <c>Kubernetes@1</c>: | |
/// Kubectl | |
/// Deploy, configure, update a Kubernetes cluster in Azure Container Service by running kubectl commands | |
/// </summary> | |
public record Kubernetes_V1 : AzureDevOpsTask | |
{ | |
public Kubernetes_V1() : base("Kubernetes@1") | |
{ | |
} | |
/// <summary> | |
/// Service connection type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionType | |
{ | |
get => GetString("connectionType"); | |
init => SetProperty("connectionType", value); | |
} | |
/// <summary> | |
/// Kubernetes service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesServiceEndpoint | |
{ | |
get => GetString("kubernetesServiceEndpoint"); | |
init => SetProperty("kubernetesServiceEndpoint", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscriptionEndpoint | |
{ | |
get => GetString("azureSubscriptionEndpoint"); | |
init => SetProperty("azureSubscriptionEndpoint", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroup | |
{ | |
get => GetString("azureResourceGroup"); | |
init => SetProperty("azureResourceGroup", value); | |
} | |
/// <summary> | |
/// Kubernetes cluster | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesCluster | |
{ | |
get => GetString("kubernetesCluster"); | |
init => SetProperty("kubernetesCluster", value); | |
} | |
/// <summary> | |
/// Use cluster admin credentials | |
/// </summary> | |
[YamlIgnore] | |
public bool UseClusterAdmin | |
{ | |
get => GetBool("useClusterAdmin", false); | |
init => SetProperty("useClusterAdmin", value); | |
} | |
/// <summary> | |
/// Namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? Namespace | |
{ | |
get => GetString("namespace"); | |
init => SetProperty("namespace", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Use configuration | |
/// </summary> | |
[YamlIgnore] | |
public bool UseConfigurationFile | |
{ | |
get => GetBool("useConfigurationFile", false); | |
init => SetProperty("useConfigurationFile", value); | |
} | |
/// <summary> | |
/// Configuration type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigurationType | |
{ | |
get => GetString("configurationType"); | |
init => SetProperty("configurationType", value); | |
} | |
/// <summary> | |
/// File path | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Inline configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Inline | |
{ | |
get => GetString("inline"); | |
init => SetProperty("inline", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Type of secret | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretType | |
{ | |
get => GetString("secretType"); | |
init => SetProperty("secretType", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretArguments | |
{ | |
get => GetString("secretArguments"); | |
init => SetProperty("secretArguments", value); | |
} | |
/// <summary> | |
/// Container registry type | |
/// </summary> | |
[YamlIgnore] | |
public string? ContainerRegistryType | |
{ | |
get => GetString("containerRegistryType"); | |
init => SetProperty("containerRegistryType", value); | |
} | |
/// <summary> | |
/// Docker registry service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryEndpoint | |
{ | |
get => GetString("dockerRegistryEndpoint"); | |
init => SetProperty("dockerRegistryEndpoint", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscriptionEndpointForSecrets | |
{ | |
get => GetString("azureSubscriptionEndpointForSecrets"); | |
init => SetProperty("azureSubscriptionEndpointForSecrets", value); | |
} | |
/// <summary> | |
/// Azure container registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("azureContainerRegistry"); | |
init => SetProperty("azureContainerRegistry", value); | |
} | |
/// <summary> | |
/// Secret name | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretName | |
{ | |
get => GetString("secretName"); | |
init => SetProperty("secretName", value); | |
} | |
/// <summary> | |
/// Force update secret | |
/// </summary> | |
[YamlIgnore] | |
public bool ForceUpdate | |
{ | |
get => GetBool("forceUpdate", false); | |
init => SetProperty("forceUpdate", value); | |
} | |
/// <summary> | |
/// ConfigMap name | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigMapName | |
{ | |
get => GetString("configMapName"); | |
init => SetProperty("configMapName", value); | |
} | |
/// <summary> | |
/// Force update configmap | |
/// </summary> | |
[YamlIgnore] | |
public bool ForceUpdateConfigMap | |
{ | |
get => GetBool("forceUpdateConfigMap", false); | |
init => SetProperty("forceUpdateConfigMap", value); | |
} | |
/// <summary> | |
/// Use file | |
/// </summary> | |
[YamlIgnore] | |
public bool UseConfigMapFile | |
{ | |
get => GetBool("useConfigMapFile", false); | |
init => SetProperty("useConfigMapFile", value); | |
} | |
/// <summary> | |
/// ConfigMap file | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigMapFile | |
{ | |
get => GetString("configMapFile"); | |
init => SetProperty("configMapFile", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigMapArguments | |
{ | |
get => GetString("configMapArguments"); | |
init => SetProperty("configMapArguments", value); | |
} | |
/// <summary> | |
/// Kubectl | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionOrLocation | |
{ | |
get => GetString("versionOrLocation"); | |
init => SetProperty("versionOrLocation", value); | |
} | |
/// <summary> | |
/// Version spec | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSpec | |
{ | |
get => GetString("versionSpec"); | |
init => SetProperty("versionSpec", value); | |
} | |
/// <summary> | |
/// Check for latest version | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckLatest | |
{ | |
get => GetBool("checkLatest", false); | |
init => SetProperty("checkLatest", value); | |
} | |
/// <summary> | |
/// Path to kubectl | |
/// </summary> | |
[YamlIgnore] | |
public string? SpecifyLocation | |
{ | |
get => GetString("specifyLocation"); | |
init => SetProperty("specifyLocation", value); | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Output format | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputFormat | |
{ | |
get => GetString("outputFormat"); | |
init => SetProperty("outputFormat", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureIoTEdge@2</c>: | |
/// Azure IoT Edge | |
/// Build and deploy an Azure IoT Edge image | |
/// </summary> | |
public record AzureIoTEdge_V2 : AzureDevOpsTask | |
{ | |
public AzureIoTEdge_V2() : base("AzureIoTEdge@2") | |
{ | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Deployment file | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentFilePath | |
{ | |
get => GetString("deploymentFilePath"); | |
init => SetProperty("deploymentFilePath", value); | |
} | |
/// <summary> | |
/// Azure subscription contains IoT Hub | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// IoT Hub name | |
/// </summary> | |
[YamlIgnore] | |
public string? Iothubname | |
{ | |
get => GetString("iothubname"); | |
init => SetProperty("iothubname", value); | |
} | |
/// <summary> | |
/// IoT Edge deployment ID | |
/// </summary> | |
[YamlIgnore] | |
public string? Deploymentid | |
{ | |
get => GetString("deploymentid"); | |
init => SetProperty("deploymentid", value); | |
} | |
/// <summary> | |
/// IoT Edge deployment priority | |
/// </summary> | |
[YamlIgnore] | |
public string? Priority | |
{ | |
get => GetString("priority"); | |
init => SetProperty("priority", value); | |
} | |
/// <summary> | |
/// Choose single/multiple device | |
/// </summary> | |
[YamlIgnore] | |
public string? DeviceOption | |
{ | |
get => GetString("deviceOption"); | |
init => SetProperty("deviceOption", value); | |
} | |
/// <summary> | |
/// IoT Edge device ID | |
/// </summary> | |
[YamlIgnore] | |
public string? DeviceId | |
{ | |
get => GetString("deviceId"); | |
init => SetProperty("deviceId", value); | |
} | |
/// <summary> | |
/// IoT Edge device target condition | |
/// </summary> | |
[YamlIgnore] | |
public string? Targetcondition | |
{ | |
get => GetString("targetcondition"); | |
init => SetProperty("targetcondition", value); | |
} | |
/// <summary> | |
/// Container registry type | |
/// </summary> | |
[YamlIgnore] | |
public string? Containerregistrytype | |
{ | |
get => GetString("containerregistrytype"); | |
init => SetProperty("containerregistrytype", value); | |
} | |
/// <summary> | |
/// Docker Registry Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryConnection | |
{ | |
get => GetString("dockerRegistryConnection"); | |
init => SetProperty("dockerRegistryConnection", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscriptionEndpoint | |
{ | |
get => GetString("azureSubscriptionEndpoint"); | |
init => SetProperty("azureSubscriptionEndpoint", value); | |
} | |
/// <summary> | |
/// Azure Container Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureContainerRegistry | |
{ | |
get => GetString("azureContainerRegistry"); | |
init => SetProperty("azureContainerRegistry", value); | |
} | |
/// <summary> | |
/// .template.json file | |
/// </summary> | |
[YamlIgnore] | |
public string? TemplateFilePath | |
{ | |
get => GetString("templateFilePath"); | |
init => SetProperty("templateFilePath", value); | |
} | |
/// <summary> | |
/// Default platform | |
/// </summary> | |
[YamlIgnore] | |
public string? DefaultPlatform | |
{ | |
get => GetString("defaultPlatform"); | |
init => SetProperty("defaultPlatform", value); | |
} | |
/// <summary> | |
/// Add registry credential to deployment manifest | |
/// </summary> | |
[YamlIgnore] | |
public string? FillRegistryCredential | |
{ | |
get => GetString("fillRegistryCredential"); | |
init => SetProperty("fillRegistryCredential", value); | |
} | |
/// <summary> | |
/// Output path | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentManifestOutputPath | |
{ | |
get => GetString("deploymentManifestOutputPath"); | |
init => SetProperty("deploymentManifestOutputPath", value); | |
} | |
/// <summary> | |
/// Validate the schema of generated deployment manifest | |
/// </summary> | |
[YamlIgnore] | |
public string? ValidateGeneratedDeploymentManifest | |
{ | |
get => GetString("validateGeneratedDeploymentManifest"); | |
init => SetProperty("validateGeneratedDeploymentManifest", value); | |
} | |
/// <summary> | |
/// Bypass module(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? BypassModules | |
{ | |
get => GetString("bypassModules"); | |
init => SetProperty("bypassModules", value); | |
} | |
} | |
/// <summary> | |
/// <c>ServiceFabricComposeDeploy@0</c>: | |
/// Service Fabric Compose deploy | |
/// Deploy a Docker Compose application to an Azure Service Fabric cluster | |
/// </summary> | |
public record ServiceFabricComposeDeploy_V0 : AzureDevOpsTask | |
{ | |
public ServiceFabricComposeDeploy_V0(string? clusterconnection) : base("ServiceFabricComposeDeploy@0") | |
{ | |
ClusterConnection = clusterconnection; | |
} | |
/// <summary> | |
/// Cluster Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ClusterConnection | |
{ | |
get => GetString("clusterConnection"); | |
init => SetProperty("clusterConnection", value); | |
} | |
/// <summary> | |
/// Compose File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ComposeFilePath | |
{ | |
get => GetString("composeFilePath"); | |
init => SetProperty("composeFilePath", value); | |
} | |
/// <summary> | |
/// Application Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationName | |
{ | |
get => GetString("applicationName"); | |
init => SetProperty("applicationName", value); | |
} | |
/// <summary> | |
/// Registry Credentials Source | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryCredentials | |
{ | |
get => GetString("registryCredentials"); | |
init => SetProperty("registryCredentials", value); | |
} | |
/// <summary> | |
/// Docker Registry Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryConnection | |
{ | |
get => GetString("dockerRegistryConnection"); | |
init => SetProperty("dockerRegistryConnection", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Registry User Name | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryUserName | |
{ | |
get => GetString("registryUserName"); | |
init => SetProperty("registryUserName", value); | |
} | |
/// <summary> | |
/// Registry Password | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryPassword | |
{ | |
get => GetString("registryPassword"); | |
init => SetProperty("registryPassword", value); | |
} | |
/// <summary> | |
/// Password Encrypted | |
/// </summary> | |
[YamlIgnore] | |
public bool PasswordEncrypted | |
{ | |
get => GetBool("passwordEncrypted", false); | |
init => SetProperty("passwordEncrypted", value); | |
} | |
/// <summary> | |
/// Upgrade | |
/// </summary> | |
[YamlIgnore] | |
public bool Upgrade | |
{ | |
get => GetBool("upgrade", false); | |
init => SetProperty("upgrade", value); | |
} | |
/// <summary> | |
/// Deploy Timeout (s) | |
/// </summary> | |
[YamlIgnore] | |
public string? DeployTimeoutSec | |
{ | |
get => GetString("deployTimeoutSec"); | |
init => SetProperty("deployTimeoutSec", value); | |
} | |
/// <summary> | |
/// Remove Timeout (s) | |
/// </summary> | |
[YamlIgnore] | |
public string? RemoveTimeoutSec | |
{ | |
get => GetString("removeTimeoutSec"); | |
init => SetProperty("removeTimeoutSec", value); | |
} | |
/// <summary> | |
/// Get Status Timeout (s) | |
/// </summary> | |
[YamlIgnore] | |
public string? GetStatusTimeoutSec | |
{ | |
get => GetString("getStatusTimeoutSec"); | |
init => SetProperty("getStatusTimeoutSec", value); | |
} | |
} | |
/// <summary> | |
/// <c>AndroidSigning@1</c>: | |
/// Android Signing | |
/// Sign and align Android APK files | |
/// </summary> | |
public record AndroidSigning_V1 : AzureDevOpsTask | |
{ | |
public AndroidSigning_V1(string? files) : base("AndroidSigning@1") | |
{ | |
Files = files; | |
} | |
/// <summary> | |
/// APK Files | |
/// </summary> | |
[YamlIgnore] | |
public string? Files | |
{ | |
get => GetString("files"); | |
init => SetProperty("files", value); | |
} | |
/// <summary> | |
/// Sign the APK | |
/// </summary> | |
[YamlIgnore] | |
public bool Jarsign | |
{ | |
get => GetBool("jarsign", false); | |
init => SetProperty("jarsign", value); | |
} | |
/// <summary> | |
/// Keystore File | |
/// </summary> | |
[YamlIgnore] | |
public string? KeystoreFile | |
{ | |
get => GetString("keystoreFile"); | |
init => SetProperty("keystoreFile", value); | |
} | |
/// <summary> | |
/// Keystore Password | |
/// </summary> | |
[YamlIgnore] | |
public string? KeystorePass | |
{ | |
get => GetString("keystorePass"); | |
init => SetProperty("keystorePass", value); | |
} | |
/// <summary> | |
/// Alias | |
/// </summary> | |
[YamlIgnore] | |
public string? KeystoreAlias | |
{ | |
get => GetString("keystoreAlias"); | |
init => SetProperty("keystoreAlias", value); | |
} | |
/// <summary> | |
/// Key Password | |
/// </summary> | |
[YamlIgnore] | |
public string? KeyPass | |
{ | |
get => GetString("keyPass"); | |
init => SetProperty("keyPass", value); | |
} | |
/// <summary> | |
/// Jarsigner Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? JarsignerArguments | |
{ | |
get => GetString("jarsignerArguments"); | |
init => SetProperty("jarsignerArguments", value); | |
} | |
/// <summary> | |
/// Zipalign | |
/// </summary> | |
[YamlIgnore] | |
public bool Zipalign | |
{ | |
get => GetBool("zipalign", false); | |
init => SetProperty("zipalign", value); | |
} | |
/// <summary> | |
/// Zipalign Location | |
/// </summary> | |
[YamlIgnore] | |
public string? ZipalignLocation | |
{ | |
get => GetString("zipalignLocation"); | |
init => SetProperty("zipalignLocation", value); | |
} | |
} | |
/// <summary> | |
/// <c>AndroidSigning@2</c>: | |
/// Android signing | |
/// Sign and align Android APK files | |
/// </summary> | |
public record AndroidSigning_V2 : AzureDevOpsTask | |
{ | |
public AndroidSigning_V2() : base("AndroidSigning@2") | |
{ | |
} | |
/// <summary> | |
/// APK files | |
/// </summary> | |
[YamlIgnore] | |
public string? ApkFiles | |
{ | |
get => GetString("apkFiles"); | |
init => SetProperty("apkFiles", value); | |
} | |
/// <summary> | |
/// Sign the APK | |
/// </summary> | |
[YamlIgnore] | |
public bool Jarsign | |
{ | |
get => GetBool("jarsign", false); | |
init => SetProperty("jarsign", value); | |
} | |
/// <summary> | |
/// Keystore file | |
/// </summary> | |
[YamlIgnore] | |
public string? JarsignerKeystoreFile | |
{ | |
get => GetString("jarsignerKeystoreFile"); | |
init => SetProperty("jarsignerKeystoreFile", value); | |
} | |
/// <summary> | |
/// Keystore password | |
/// </summary> | |
[YamlIgnore] | |
public string? JarsignerKeystorePassword | |
{ | |
get => GetString("jarsignerKeystorePassword"); | |
init => SetProperty("jarsignerKeystorePassword", value); | |
} | |
/// <summary> | |
/// Alias | |
/// </summary> | |
[YamlIgnore] | |
public string? JarsignerKeystoreAlias | |
{ | |
get => GetString("jarsignerKeystoreAlias"); | |
init => SetProperty("jarsignerKeystoreAlias", value); | |
} | |
/// <summary> | |
/// Key password | |
/// </summary> | |
[YamlIgnore] | |
public string? JarsignerKeyPassword | |
{ | |
get => GetString("jarsignerKeyPassword"); | |
init => SetProperty("jarsignerKeyPassword", value); | |
} | |
/// <summary> | |
/// Jarsigner arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? JarsignerArguments | |
{ | |
get => GetString("jarsignerArguments"); | |
init => SetProperty("jarsignerArguments", value); | |
} | |
/// <summary> | |
/// Zipalign | |
/// </summary> | |
[YamlIgnore] | |
public bool Zipalign | |
{ | |
get => GetBool("zipalign", false); | |
init => SetProperty("zipalign", value); | |
} | |
/// <summary> | |
/// Zipalign location | |
/// </summary> | |
[YamlIgnore] | |
public string? ZipalignFile | |
{ | |
get => GetString("zipalignFile"); | |
init => SetProperty("zipalignFile", value); | |
} | |
} | |
/// <summary> | |
/// <c>AndroidSigning@3</c>: | |
/// Android signing | |
/// Sign and align Android APK files | |
/// </summary> | |
public record AndroidSigning_V3 : AzureDevOpsTask | |
{ | |
public AndroidSigning_V3() : base("AndroidSigning@3") | |
{ | |
} | |
/// <summary> | |
/// APK files | |
/// </summary> | |
[YamlIgnore] | |
public string? ApkFiles | |
{ | |
get => GetString("apkFiles"); | |
init => SetProperty("apkFiles", value); | |
} | |
/// <summary> | |
/// Sign the APK | |
/// </summary> | |
[YamlIgnore] | |
public bool Apksign | |
{ | |
get => GetBool("apksign", false); | |
init => SetProperty("apksign", value); | |
} | |
/// <summary> | |
/// Keystore file | |
/// </summary> | |
[YamlIgnore] | |
public string? ApksignerKeystoreFile | |
{ | |
get => GetString("apksignerKeystoreFile"); | |
init => SetProperty("apksignerKeystoreFile", value); | |
} | |
/// <summary> | |
/// Keystore password | |
/// </summary> | |
[YamlIgnore] | |
public string? ApksignerKeystorePassword | |
{ | |
get => GetString("apksignerKeystorePassword"); | |
init => SetProperty("apksignerKeystorePassword", value); | |
} | |
/// <summary> | |
/// Alias | |
/// </summary> | |
[YamlIgnore] | |
public string? ApksignerKeystoreAlias | |
{ | |
get => GetString("apksignerKeystoreAlias"); | |
init => SetProperty("apksignerKeystoreAlias", value); | |
} | |
/// <summary> | |
/// Key password | |
/// </summary> | |
[YamlIgnore] | |
public string? ApksignerKeyPassword | |
{ | |
get => GetString("apksignerKeyPassword"); | |
init => SetProperty("apksignerKeyPassword", value); | |
} | |
/// <summary> | |
/// apksigner version | |
/// </summary> | |
[YamlIgnore] | |
public string? ApksignerVersion | |
{ | |
get => GetString("apksignerVersion"); | |
init => SetProperty("apksignerVersion", value); | |
} | |
/// <summary> | |
/// apksigner arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ApksignerArguments | |
{ | |
get => GetString("apksignerArguments"); | |
init => SetProperty("apksignerArguments", value); | |
} | |
/// <summary> | |
/// apksigner location | |
/// </summary> | |
[YamlIgnore] | |
public string? ApksignerFile | |
{ | |
get => GetString("apksignerFile"); | |
init => SetProperty("apksignerFile", value); | |
} | |
/// <summary> | |
/// Zipalign | |
/// </summary> | |
[YamlIgnore] | |
public bool Zipalign | |
{ | |
get => GetBool("zipalign", false); | |
init => SetProperty("zipalign", value); | |
} | |
/// <summary> | |
/// Zipalign version | |
/// </summary> | |
[YamlIgnore] | |
public string? ZipalignVersion | |
{ | |
get => GetString("zipalignVersion"); | |
init => SetProperty("zipalignVersion", value); | |
} | |
/// <summary> | |
/// Zipalign location | |
/// </summary> | |
[YamlIgnore] | |
public string? ZipalignFile | |
{ | |
get => GetString("zipalignFile"); | |
init => SetProperty("zipalignFile", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadPipelineArtifact@0</c>: | |
/// Download pipeline artifact | |
/// Downloads an artifact associated with a pipeline | |
/// </summary> | |
public record DownloadPipelineArtifact_V0 : AzureDevOpsTask | |
{ | |
public DownloadPipelineArtifact_V0(string? targetpath) : base("DownloadPipelineArtifact@0") | |
{ | |
TargetPath = targetpath; | |
} | |
/// <summary> | |
/// The specific pipeline to download from | |
/// </summary> | |
[YamlIgnore] | |
public string? PipelineId | |
{ | |
get => GetString("pipelineId"); | |
init => SetProperty("pipelineId", value); | |
} | |
/// <summary> | |
/// The name of artifact to download. | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactName | |
{ | |
get => GetString("artifactName"); | |
init => SetProperty("artifactName", value); | |
} | |
/// <summary> | |
/// Path to download to | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("targetPath"); | |
init => SetProperty("targetPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadPipelineArtifact@2</c>: | |
/// Download Pipeline Artifacts | |
/// Download build and pipeline artifacts | |
/// </summary> | |
public record DownloadPipelineArtifact_V2 : AzureDevOpsTask | |
{ | |
public DownloadPipelineArtifact_V2() : base("DownloadPipelineArtifact@2") | |
{ | |
} | |
/// <summary> | |
/// Download artifacts produced by | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildType | |
{ | |
get => GetString("buildType"); | |
init => SetProperty("buildType", value); | |
} | |
/// <summary> | |
/// Project | |
/// </summary> | |
[YamlIgnore] | |
public string? Project | |
{ | |
get => GetString("project"); | |
init => SetProperty("project", value); | |
} | |
/// <summary> | |
/// Build pipeline | |
/// </summary> | |
[YamlIgnore] | |
public string? Definition | |
{ | |
get => GetString("definition"); | |
init => SetProperty("definition", value); | |
} | |
/// <summary> | |
/// When appropriate, download artifacts from the triggering build. | |
/// </summary> | |
[YamlIgnore] | |
public bool SpecificBuildWithTriggering | |
{ | |
get => GetBool("specificBuildWithTriggering", false); | |
init => SetProperty("specificBuildWithTriggering", value); | |
} | |
/// <summary> | |
/// Build version to download | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildVersionToDownload | |
{ | |
get => GetString("buildVersionToDownload"); | |
init => SetProperty("buildVersionToDownload", value); | |
} | |
/// <summary> | |
/// Branch name | |
/// </summary> | |
[YamlIgnore] | |
public string? BranchName | |
{ | |
get => GetString("branchName"); | |
init => SetProperty("branchName", value); | |
} | |
/// <summary> | |
/// Build | |
/// </summary> | |
[YamlIgnore] | |
public string? PipelineId | |
{ | |
get => GetString("pipelineId"); | |
init => SetProperty("pipelineId", value); | |
} | |
/// <summary> | |
/// Build Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? Tags | |
{ | |
get => GetString("tags"); | |
init => SetProperty("tags", value); | |
} | |
/// <summary> | |
/// Download artifacts from partially succeeded builds. | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowPartiallySucceededBuilds | |
{ | |
get => GetBool("allowPartiallySucceededBuilds", false); | |
init => SetProperty("allowPartiallySucceededBuilds", value); | |
} | |
/// <summary> | |
/// Download artifacts from failed builds. | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowFailedBuilds | |
{ | |
get => GetBool("allowFailedBuilds", false); | |
init => SetProperty("allowFailedBuilds", value); | |
} | |
/// <summary> | |
/// Artifact name | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactName | |
{ | |
get => GetString("artifactName"); | |
init => SetProperty("artifactName", value); | |
} | |
/// <summary> | |
/// Matching patterns | |
/// </summary> | |
[YamlIgnore] | |
public string? ItemPattern | |
{ | |
get => GetString("itemPattern"); | |
init => SetProperty("itemPattern", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("targetPath"); | |
init => SetProperty("targetPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadPipelineArtifact@1</c>: | |
/// Download pipeline artifact | |
/// Download a named artifact from a pipeline to a local path | |
/// </summary> | |
public record DownloadPipelineArtifact_V1 : AzureDevOpsTask | |
{ | |
public DownloadPipelineArtifact_V1() : base("DownloadPipelineArtifact@1") | |
{ | |
} | |
/// <summary> | |
/// Download artifacts produced by | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildType | |
{ | |
get => GetString("buildType"); | |
init => SetProperty("buildType", value); | |
} | |
/// <summary> | |
/// Project | |
/// </summary> | |
[YamlIgnore] | |
public string? Project | |
{ | |
get => GetString("project"); | |
init => SetProperty("project", value); | |
} | |
/// <summary> | |
/// Build pipeline | |
/// </summary> | |
[YamlIgnore] | |
public string? Pipeline | |
{ | |
get => GetString("pipeline"); | |
init => SetProperty("pipeline", value); | |
} | |
/// <summary> | |
/// When appropriate, download artifacts from the triggering build. | |
/// </summary> | |
[YamlIgnore] | |
public bool SpecificBuildWithTriggering | |
{ | |
get => GetBool("specificBuildWithTriggering", false); | |
init => SetProperty("specificBuildWithTriggering", value); | |
} | |
/// <summary> | |
/// Build version to download | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildVersionToDownload | |
{ | |
get => GetString("buildVersionToDownload"); | |
init => SetProperty("buildVersionToDownload", value); | |
} | |
/// <summary> | |
/// Branch name | |
/// </summary> | |
[YamlIgnore] | |
public string? BranchName | |
{ | |
get => GetString("branchName"); | |
init => SetProperty("branchName", value); | |
} | |
/// <summary> | |
/// Build | |
/// </summary> | |
[YamlIgnore] | |
public string? PipelineId | |
{ | |
get => GetString("pipelineId"); | |
init => SetProperty("pipelineId", value); | |
} | |
/// <summary> | |
/// Build Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? Tags | |
{ | |
get => GetString("tags"); | |
init => SetProperty("tags", value); | |
} | |
/// <summary> | |
/// Artifact name | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactName | |
{ | |
get => GetString("artifactName"); | |
init => SetProperty("artifactName", value); | |
} | |
/// <summary> | |
/// Matching pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? ItemPattern | |
{ | |
get => GetString("itemPattern"); | |
init => SetProperty("itemPattern", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("targetPath"); | |
init => SetProperty("targetPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>UsePythonVersion@0</c>: | |
/// Use Python version | |
/// Use the specified version of Python from the tool cache, optionally adding it to the PATH | |
/// </summary> | |
public record UsePythonVersion_V0 : AzureDevOpsTask | |
{ | |
public UsePythonVersion_V0() : base("UsePythonVersion@0") | |
{ | |
} | |
/// <summary> | |
/// Version spec | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSpec | |
{ | |
get => GetString("versionSpec"); | |
init => SetProperty("versionSpec", value); | |
} | |
/// <summary> | |
/// Disable downloading releases from the GitHub registry | |
/// </summary> | |
[YamlIgnore] | |
public bool DisableDownloadFromRegistry | |
{ | |
get => GetBool("disableDownloadFromRegistry", false); | |
init => SetProperty("disableDownloadFromRegistry", value); | |
} | |
/// <summary> | |
/// Allow downloading unstable releases | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowUnstable | |
{ | |
get => GetBool("allowUnstable", false); | |
init => SetProperty("allowUnstable", value); | |
} | |
/// <summary> | |
/// GitHub token for GitHub Actions python registry | |
/// </summary> | |
[YamlIgnore] | |
public string? GithubToken | |
{ | |
get => GetString("githubToken"); | |
init => SetProperty("githubToken", value); | |
} | |
/// <summary> | |
/// Add to PATH | |
/// </summary> | |
[YamlIgnore] | |
public bool AddToPath | |
{ | |
get => GetBool("addToPath", false); | |
init => SetProperty("addToPath", value); | |
} | |
/// <summary> | |
/// Architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? Architecture | |
{ | |
get => GetString("architecture"); | |
init => SetProperty("architecture", value); | |
} | |
} | |
/// <summary> | |
/// <c>ServiceFabricPowerShell@1</c>: | |
/// Service Fabric PowerShell | |
/// Run a PowerShell script in the context of an Azure Service Fabric cluster connection | |
/// </summary> | |
public record ServiceFabricPowerShell_V1 : AzureDevOpsTask | |
{ | |
public ServiceFabricPowerShell_V1(string? clusterconnection) : base("ServiceFabricPowerShell@1") | |
{ | |
ClusterConnection = clusterconnection; | |
} | |
/// <summary> | |
/// Cluster Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ClusterConnection | |
{ | |
get => GetString("clusterConnection"); | |
init => SetProperty("clusterConnection", value); | |
} | |
/// <summary> | |
/// Script Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("ScriptType"); | |
init => SetProperty("ScriptType", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("ScriptPath"); | |
init => SetProperty("ScriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Inline | |
{ | |
get => GetString("Inline"); | |
init => SetProperty("Inline", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptArguments | |
{ | |
get => GetString("ScriptArguments"); | |
init => SetProperty("ScriptArguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>VSTest@1</c>: | |
/// Visual Studio Test | |
/// Run tests with Visual Studio test runner | |
/// </summary> | |
public record VSTest_V1 : AzureDevOpsTask | |
{ | |
public VSTest_V1() : base("VSTest@1") | |
{ | |
} | |
/// <summary> | |
/// Test Assembly | |
/// </summary> | |
[YamlIgnore] | |
public string? TestAssembly | |
{ | |
get => GetString("testAssembly"); | |
init => SetProperty("testAssembly", value); | |
} | |
/// <summary> | |
/// Test Filter criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFiltercriteria | |
{ | |
get => GetString("testFiltercriteria"); | |
init => SetProperty("testFiltercriteria", value); | |
} | |
/// <summary> | |
/// Run Settings File | |
/// </summary> | |
[YamlIgnore] | |
public string? RunSettingsFile | |
{ | |
get => GetString("runSettingsFile"); | |
init => SetProperty("runSettingsFile", value); | |
} | |
/// <summary> | |
/// Override TestRun Parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideTestrunParameters | |
{ | |
get => GetString("overrideTestrunParameters"); | |
init => SetProperty("overrideTestrunParameters", value); | |
} | |
/// <summary> | |
/// Code Coverage Enabled | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageEnabled | |
{ | |
get => GetBool("codeCoverageEnabled", false); | |
init => SetProperty("codeCoverageEnabled", value); | |
} | |
/// <summary> | |
/// Run In Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool RunInParallel | |
{ | |
get => GetBool("runInParallel", false); | |
init => SetProperty("runInParallel", value); | |
} | |
/// <summary> | |
/// VSTest | |
/// </summary> | |
[YamlIgnore] | |
public string? VstestLocationMethod | |
{ | |
get => GetString("vstestLocationMethod"); | |
init => SetProperty("vstestLocationMethod", value); | |
} | |
/// <summary> | |
/// VSTest version | |
/// </summary> | |
[YamlIgnore] | |
public string? VsTestVersion | |
{ | |
get => GetString("vsTestVersion"); | |
init => SetProperty("vsTestVersion", value); | |
} | |
/// <summary> | |
/// Path to vstest.console.exe | |
/// </summary> | |
[YamlIgnore] | |
public string? VstestLocation | |
{ | |
get => GetString("vstestLocation"); | |
init => SetProperty("vstestLocation", value); | |
} | |
/// <summary> | |
/// Path to Custom Test Adapters | |
/// </summary> | |
[YamlIgnore] | |
public string? PathtoCustomTestAdapters | |
{ | |
get => GetString("pathtoCustomTestAdapters"); | |
init => SetProperty("pathtoCustomTestAdapters", value); | |
} | |
/// <summary> | |
/// Other console options | |
/// </summary> | |
[YamlIgnore] | |
public string? OtherConsoleOptions | |
{ | |
get => GetString("otherConsoleOptions"); | |
init => SetProperty("otherConsoleOptions", value); | |
} | |
/// <summary> | |
/// Test Run Title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Platform | |
/// </summary> | |
[YamlIgnore] | |
public string? Platform | |
{ | |
get => GetString("platform"); | |
init => SetProperty("platform", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Upload Test Attachments | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishRunAttachments | |
{ | |
get => GetBool("publishRunAttachments", false); | |
init => SetProperty("publishRunAttachments", value); | |
} | |
} | |
/// <summary> | |
/// <c>VSTest@2</c>: | |
/// Visual Studio Test | |
/// Run unit and functional tests (Selenium, Appium, Coded UI test, etc.) using the Visual Studio Test (VsTest) runner. Test frameworks that have a Visual Studio test adapter such as MsTest, xUnit, NUnit, Chutzpah (for JavaScript tests using QUnit, Mocha and Jasmine), etc. can be run. Tests can be distributed on multiple agents using this task (version 2 and later). | |
/// </summary> | |
public record VSTest_V2 : AzureDevOpsTask | |
{ | |
public VSTest_V2() : base("VSTest@2") | |
{ | |
} | |
/// <summary> | |
/// Select tests using | |
/// </summary> | |
[YamlIgnore] | |
public string? TestSelector | |
{ | |
get => GetString("testSelector"); | |
init => SetProperty("testSelector", value); | |
} | |
/// <summary> | |
/// Test files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestAssemblyVer2 | |
{ | |
get => GetString("testAssemblyVer2"); | |
init => SetProperty("testAssemblyVer2", value); | |
} | |
/// <summary> | |
/// Test plan | |
/// </summary> | |
[YamlIgnore] | |
public string? TestPlan | |
{ | |
get => GetString("testPlan"); | |
init => SetProperty("testPlan", value); | |
} | |
/// <summary> | |
/// Test suite | |
/// </summary> | |
[YamlIgnore] | |
public string? TestSuite | |
{ | |
get => GetString("testSuite"); | |
init => SetProperty("testSuite", value); | |
} | |
/// <summary> | |
/// Test configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? TestConfiguration | |
{ | |
get => GetString("testConfiguration"); | |
init => SetProperty("testConfiguration", value); | |
} | |
/// <summary> | |
/// Test Run | |
/// </summary> | |
[YamlIgnore] | |
public string? TcmTestRun | |
{ | |
get => GetString("tcmTestRun"); | |
init => SetProperty("tcmTestRun", value); | |
} | |
/// <summary> | |
/// Search folder | |
/// </summary> | |
[YamlIgnore] | |
public string? SearchFolder | |
{ | |
get => GetString("searchFolder"); | |
init => SetProperty("searchFolder", value); | |
} | |
/// <summary> | |
/// Test results folder | |
/// </summary> | |
[YamlIgnore] | |
public string? ResultsFolder | |
{ | |
get => GetString("resultsFolder"); | |
init => SetProperty("resultsFolder", value); | |
} | |
/// <summary> | |
/// Test filter criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFiltercriteria | |
{ | |
get => GetString("testFiltercriteria"); | |
init => SetProperty("testFiltercriteria", value); | |
} | |
/// <summary> | |
/// Run only impacted tests | |
/// </summary> | |
[YamlIgnore] | |
public bool RunOnlyImpactedTests | |
{ | |
get => GetBool("runOnlyImpactedTests", false); | |
init => SetProperty("runOnlyImpactedTests", value); | |
} | |
/// <summary> | |
/// Number of builds after which all tests should be run | |
/// </summary> | |
[YamlIgnore] | |
public string? RunAllTestsAfterXBuilds | |
{ | |
get => GetString("runAllTestsAfterXBuilds"); | |
init => SetProperty("runAllTestsAfterXBuilds", value); | |
} | |
/// <summary> | |
/// Test mix contains UI tests | |
/// </summary> | |
[YamlIgnore] | |
public bool UiTests | |
{ | |
get => GetBool("uiTests", false); | |
init => SetProperty("uiTests", value); | |
} | |
/// <summary> | |
/// Select test platform using | |
/// </summary> | |
[YamlIgnore] | |
public string? VstestLocationMethod | |
{ | |
get => GetString("vstestLocationMethod"); | |
init => SetProperty("vstestLocationMethod", value); | |
} | |
/// <summary> | |
/// Test platform version | |
/// </summary> | |
[YamlIgnore] | |
public string? VsTestVersion | |
{ | |
get => GetString("vsTestVersion"); | |
init => SetProperty("vsTestVersion", value); | |
} | |
/// <summary> | |
/// Path to vstest.console.exe | |
/// </summary> | |
[YamlIgnore] | |
public string? VstestLocation | |
{ | |
get => GetString("vstestLocation"); | |
init => SetProperty("vstestLocation", value); | |
} | |
/// <summary> | |
/// Settings file | |
/// </summary> | |
[YamlIgnore] | |
public string? RunSettingsFile | |
{ | |
get => GetString("runSettingsFile"); | |
init => SetProperty("runSettingsFile", value); | |
} | |
/// <summary> | |
/// Override test run parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideTestrunParameters | |
{ | |
get => GetString("overrideTestrunParameters"); | |
init => SetProperty("overrideTestrunParameters", value); | |
} | |
/// <summary> | |
/// Path to custom test adapters | |
/// </summary> | |
[YamlIgnore] | |
public string? PathtoCustomTestAdapters | |
{ | |
get => GetString("pathtoCustomTestAdapters"); | |
init => SetProperty("pathtoCustomTestAdapters", value); | |
} | |
/// <summary> | |
/// Run tests in parallel on multi-core machines | |
/// </summary> | |
[YamlIgnore] | |
public bool RunInParallel | |
{ | |
get => GetBool("runInParallel", false); | |
init => SetProperty("runInParallel", value); | |
} | |
/// <summary> | |
/// Run tests in isolation | |
/// </summary> | |
[YamlIgnore] | |
public bool RunTestsInIsolation | |
{ | |
get => GetBool("runTestsInIsolation", false); | |
init => SetProperty("runTestsInIsolation", value); | |
} | |
/// <summary> | |
/// Code coverage enabled | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageEnabled | |
{ | |
get => GetBool("codeCoverageEnabled", false); | |
init => SetProperty("codeCoverageEnabled", value); | |
} | |
/// <summary> | |
/// Other console options | |
/// </summary> | |
[YamlIgnore] | |
public string? OtherConsoleOptions | |
{ | |
get => GetString("otherConsoleOptions"); | |
init => SetProperty("otherConsoleOptions", value); | |
} | |
/// <summary> | |
/// Batch tests | |
/// </summary> | |
[YamlIgnore] | |
public string? DistributionBatchType | |
{ | |
get => GetString("distributionBatchType"); | |
init => SetProperty("distributionBatchType", value); | |
} | |
/// <summary> | |
/// Batch options | |
/// </summary> | |
[YamlIgnore] | |
public string? BatchingBasedOnAgentsOption | |
{ | |
get => GetString("batchingBasedOnAgentsOption"); | |
init => SetProperty("batchingBasedOnAgentsOption", value); | |
} | |
/// <summary> | |
/// Number of tests per batch | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomBatchSizeValue | |
{ | |
get => GetString("customBatchSizeValue"); | |
init => SetProperty("customBatchSizeValue", value); | |
} | |
/// <summary> | |
/// Batch options | |
/// </summary> | |
[YamlIgnore] | |
public string? BatchingBasedOnExecutionTimeOption | |
{ | |
get => GetString("batchingBasedOnExecutionTimeOption"); | |
init => SetProperty("batchingBasedOnExecutionTimeOption", value); | |
} | |
/// <summary> | |
/// Running time (sec) per batch | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomRunTimePerBatchValue | |
{ | |
get => GetString("customRunTimePerBatchValue"); | |
init => SetProperty("customRunTimePerBatchValue", value); | |
} | |
/// <summary> | |
/// Replicate tests instead of distributing when multiple agents are used in the job | |
/// </summary> | |
[YamlIgnore] | |
public bool DontDistribute | |
{ | |
get => GetBool("dontDistribute", false); | |
init => SetProperty("dontDistribute", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Build platform | |
/// </summary> | |
[YamlIgnore] | |
public string? Platform | |
{ | |
get => GetString("platform"); | |
init => SetProperty("platform", value); | |
} | |
/// <summary> | |
/// Build configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Upload test attachments | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishRunAttachments | |
{ | |
get => GetBool("publishRunAttachments", false); | |
init => SetProperty("publishRunAttachments", value); | |
} | |
/// <summary> | |
/// Fail the task if a minimum number of tests are not run. | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnMinTestsNotRun | |
{ | |
get => GetBool("failOnMinTestsNotRun", false); | |
init => SetProperty("failOnMinTestsNotRun", value); | |
} | |
/// <summary> | |
/// Minimum # of tests | |
/// </summary> | |
[YamlIgnore] | |
public string? MinimumExpectedTests | |
{ | |
get => GetString("minimumExpectedTests"); | |
init => SetProperty("minimumExpectedTests", value); | |
} | |
/// <summary> | |
/// Collect advanced diagnostics in case of catastrophic failures | |
/// </summary> | |
[YamlIgnore] | |
public bool DiagnosticsEnabled | |
{ | |
get => GetBool("diagnosticsEnabled", false); | |
init => SetProperty("diagnosticsEnabled", value); | |
} | |
/// <summary> | |
/// Collect process dump and attach to test run report | |
/// </summary> | |
[YamlIgnore] | |
public string? CollectDumpOn | |
{ | |
get => GetString("collectDumpOn"); | |
init => SetProperty("collectDumpOn", value); | |
} | |
/// <summary> | |
/// Rerun failed tests | |
/// </summary> | |
[YamlIgnore] | |
public bool RerunFailedTests | |
{ | |
get => GetBool("rerunFailedTests", false); | |
init => SetProperty("rerunFailedTests", value); | |
} | |
/// <summary> | |
/// Do not rerun if test failures exceed specified threshold | |
/// </summary> | |
[YamlIgnore] | |
public string? RerunType | |
{ | |
get => GetString("rerunType"); | |
init => SetProperty("rerunType", value); | |
} | |
/// <summary> | |
/// % failure | |
/// </summary> | |
[YamlIgnore] | |
public string? RerunFailedThreshold | |
{ | |
get => GetString("rerunFailedThreshold"); | |
init => SetProperty("rerunFailedThreshold", value); | |
} | |
/// <summary> | |
/// # of failed tests | |
/// </summary> | |
[YamlIgnore] | |
public string? RerunFailedTestCasesMaxLimit | |
{ | |
get => GetString("rerunFailedTestCasesMaxLimit"); | |
init => SetProperty("rerunFailedTestCasesMaxLimit", value); | |
} | |
/// <summary> | |
/// Maximum # of attempts | |
/// </summary> | |
[YamlIgnore] | |
public string? RerunMaxAttempts | |
{ | |
get => GetString("rerunMaxAttempts"); | |
init => SetProperty("rerunMaxAttempts", value); | |
} | |
} | |
/// <summary> | |
/// <c>VSTest@3</c>: | |
/// Visual Studio Test | |
/// Run unit and functional tests (Selenium, Appium, Coded UI test, etc.) using the Visual Studio Test (VsTest) runner. Test frameworks that have a Visual Studio test adapter such as MsTest, xUnit, NUnit, Chutzpah (for JavaScript tests using QUnit, Mocha and Jasmine), etc. can be run. Tests can be distributed on multiple agents using this task (version 2 and later). | |
/// </summary> | |
public record VSTest_V3 : AzureDevOpsTask | |
{ | |
public VSTest_V3() : base("VSTest@3") | |
{ | |
} | |
/// <summary> | |
/// Azure Resource Manager connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Select tests using | |
/// </summary> | |
[YamlIgnore] | |
public string? TestSelector | |
{ | |
get => GetString("testSelector"); | |
init => SetProperty("testSelector", value); | |
} | |
/// <summary> | |
/// Test files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestAssemblyVer2 | |
{ | |
get => GetString("testAssemblyVer2"); | |
init => SetProperty("testAssemblyVer2", value); | |
} | |
/// <summary> | |
/// Test plan | |
/// </summary> | |
[YamlIgnore] | |
public string? TestPlan | |
{ | |
get => GetString("testPlan"); | |
init => SetProperty("testPlan", value); | |
} | |
/// <summary> | |
/// Test suite | |
/// </summary> | |
[YamlIgnore] | |
public string? TestSuite | |
{ | |
get => GetString("testSuite"); | |
init => SetProperty("testSuite", value); | |
} | |
/// <summary> | |
/// Test configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? TestConfiguration | |
{ | |
get => GetString("testConfiguration"); | |
init => SetProperty("testConfiguration", value); | |
} | |
/// <summary> | |
/// Test Run | |
/// </summary> | |
[YamlIgnore] | |
public string? TcmTestRun | |
{ | |
get => GetString("tcmTestRun"); | |
init => SetProperty("tcmTestRun", value); | |
} | |
/// <summary> | |
/// Search folder | |
/// </summary> | |
[YamlIgnore] | |
public string? SearchFolder | |
{ | |
get => GetString("searchFolder"); | |
init => SetProperty("searchFolder", value); | |
} | |
/// <summary> | |
/// Test results folder | |
/// </summary> | |
[YamlIgnore] | |
public string? ResultsFolder | |
{ | |
get => GetString("resultsFolder"); | |
init => SetProperty("resultsFolder", value); | |
} | |
/// <summary> | |
/// Test filter criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFiltercriteria | |
{ | |
get => GetString("testFiltercriteria"); | |
init => SetProperty("testFiltercriteria", value); | |
} | |
/// <summary> | |
/// Run only impacted tests | |
/// </summary> | |
[YamlIgnore] | |
public bool RunOnlyImpactedTests | |
{ | |
get => GetBool("runOnlyImpactedTests", false); | |
init => SetProperty("runOnlyImpactedTests", value); | |
} | |
/// <summary> | |
/// Number of builds after which all tests should be run | |
/// </summary> | |
[YamlIgnore] | |
public string? RunAllTestsAfterXBuilds | |
{ | |
get => GetString("runAllTestsAfterXBuilds"); | |
init => SetProperty("runAllTestsAfterXBuilds", value); | |
} | |
/// <summary> | |
/// Test mix contains UI tests | |
/// </summary> | |
[YamlIgnore] | |
public bool UiTests | |
{ | |
get => GetBool("uiTests", false); | |
init => SetProperty("uiTests", value); | |
} | |
/// <summary> | |
/// Select test platform using | |
/// </summary> | |
[YamlIgnore] | |
public string? VstestLocationMethod | |
{ | |
get => GetString("vstestLocationMethod"); | |
init => SetProperty("vstestLocationMethod", value); | |
} | |
/// <summary> | |
/// Test platform version | |
/// </summary> | |
[YamlIgnore] | |
public string? VsTestVersion | |
{ | |
get => GetString("vsTestVersion"); | |
init => SetProperty("vsTestVersion", value); | |
} | |
/// <summary> | |
/// Path to vstest.console.exe | |
/// </summary> | |
[YamlIgnore] | |
public string? VstestLocation | |
{ | |
get => GetString("vstestLocation"); | |
init => SetProperty("vstestLocation", value); | |
} | |
/// <summary> | |
/// Settings file | |
/// </summary> | |
[YamlIgnore] | |
public string? RunSettingsFile | |
{ | |
get => GetString("runSettingsFile"); | |
init => SetProperty("runSettingsFile", value); | |
} | |
/// <summary> | |
/// Override test run parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideTestrunParameters | |
{ | |
get => GetString("overrideTestrunParameters"); | |
init => SetProperty("overrideTestrunParameters", value); | |
} | |
/// <summary> | |
/// Path to custom test adapters | |
/// </summary> | |
[YamlIgnore] | |
public string? PathtoCustomTestAdapters | |
{ | |
get => GetString("pathtoCustomTestAdapters"); | |
init => SetProperty("pathtoCustomTestAdapters", value); | |
} | |
/// <summary> | |
/// Run tests in parallel on multi-core machines | |
/// </summary> | |
[YamlIgnore] | |
public bool RunInParallel | |
{ | |
get => GetBool("runInParallel", false); | |
init => SetProperty("runInParallel", value); | |
} | |
/// <summary> | |
/// Run tests in isolation | |
/// </summary> | |
[YamlIgnore] | |
public bool RunTestsInIsolation | |
{ | |
get => GetBool("runTestsInIsolation", false); | |
init => SetProperty("runTestsInIsolation", value); | |
} | |
/// <summary> | |
/// Code coverage enabled | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageEnabled | |
{ | |
get => GetBool("codeCoverageEnabled", false); | |
init => SetProperty("codeCoverageEnabled", value); | |
} | |
/// <summary> | |
/// Other console options | |
/// </summary> | |
[YamlIgnore] | |
public string? OtherConsoleOptions | |
{ | |
get => GetString("otherConsoleOptions"); | |
init => SetProperty("otherConsoleOptions", value); | |
} | |
/// <summary> | |
/// Batch tests | |
/// </summary> | |
[YamlIgnore] | |
public string? DistributionBatchType | |
{ | |
get => GetString("distributionBatchType"); | |
init => SetProperty("distributionBatchType", value); | |
} | |
/// <summary> | |
/// Batch options | |
/// </summary> | |
[YamlIgnore] | |
public string? BatchingBasedOnAgentsOption | |
{ | |
get => GetString("batchingBasedOnAgentsOption"); | |
init => SetProperty("batchingBasedOnAgentsOption", value); | |
} | |
/// <summary> | |
/// Number of tests per batch | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomBatchSizeValue | |
{ | |
get => GetString("customBatchSizeValue"); | |
init => SetProperty("customBatchSizeValue", value); | |
} | |
/// <summary> | |
/// Batch options | |
/// </summary> | |
[YamlIgnore] | |
public string? BatchingBasedOnExecutionTimeOption | |
{ | |
get => GetString("batchingBasedOnExecutionTimeOption"); | |
init => SetProperty("batchingBasedOnExecutionTimeOption", value); | |
} | |
/// <summary> | |
/// Running time (sec) per batch | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomRunTimePerBatchValue | |
{ | |
get => GetString("customRunTimePerBatchValue"); | |
init => SetProperty("customRunTimePerBatchValue", value); | |
} | |
/// <summary> | |
/// Replicate tests instead of distributing when multiple agents are used in the job | |
/// </summary> | |
[YamlIgnore] | |
public bool DontDistribute | |
{ | |
get => GetBool("dontDistribute", false); | |
init => SetProperty("dontDistribute", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Build platform | |
/// </summary> | |
[YamlIgnore] | |
public string? Platform | |
{ | |
get => GetString("platform"); | |
init => SetProperty("platform", value); | |
} | |
/// <summary> | |
/// Build configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Upload test attachments | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishRunAttachments | |
{ | |
get => GetBool("publishRunAttachments", false); | |
init => SetProperty("publishRunAttachments", value); | |
} | |
/// <summary> | |
/// Fail the task if a minimum number of tests are not run. | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnMinTestsNotRun | |
{ | |
get => GetBool("failOnMinTestsNotRun", false); | |
init => SetProperty("failOnMinTestsNotRun", value); | |
} | |
/// <summary> | |
/// Minimum # of tests | |
/// </summary> | |
[YamlIgnore] | |
public string? MinimumExpectedTests | |
{ | |
get => GetString("minimumExpectedTests"); | |
init => SetProperty("minimumExpectedTests", value); | |
} | |
/// <summary> | |
/// Collect advanced diagnostics in case of catastrophic failures | |
/// </summary> | |
[YamlIgnore] | |
public bool DiagnosticsEnabled | |
{ | |
get => GetBool("diagnosticsEnabled", false); | |
init => SetProperty("diagnosticsEnabled", value); | |
} | |
/// <summary> | |
/// Collect process dump and attach to test run report | |
/// </summary> | |
[YamlIgnore] | |
public string? CollectDumpOn | |
{ | |
get => GetString("collectDumpOn"); | |
init => SetProperty("collectDumpOn", value); | |
} | |
/// <summary> | |
/// Rerun failed tests | |
/// </summary> | |
[YamlIgnore] | |
public bool RerunFailedTests | |
{ | |
get => GetBool("rerunFailedTests", false); | |
init => SetProperty("rerunFailedTests", value); | |
} | |
/// <summary> | |
/// Do not rerun if test failures exceed specified threshold | |
/// </summary> | |
[YamlIgnore] | |
public string? RerunType | |
{ | |
get => GetString("rerunType"); | |
init => SetProperty("rerunType", value); | |
} | |
/// <summary> | |
/// % failure | |
/// </summary> | |
[YamlIgnore] | |
public string? RerunFailedThreshold | |
{ | |
get => GetString("rerunFailedThreshold"); | |
init => SetProperty("rerunFailedThreshold", value); | |
} | |
/// <summary> | |
/// # of failed tests | |
/// </summary> | |
[YamlIgnore] | |
public string? RerunFailedTestCasesMaxLimit | |
{ | |
get => GetString("rerunFailedTestCasesMaxLimit"); | |
init => SetProperty("rerunFailedTestCasesMaxLimit", value); | |
} | |
/// <summary> | |
/// Maximum # of attempts | |
/// </summary> | |
[YamlIgnore] | |
public string? RerunMaxAttempts | |
{ | |
get => GetString("rerunMaxAttempts"); | |
init => SetProperty("rerunMaxAttempts", value); | |
} | |
} | |
/// <summary> | |
/// <c>ManualValidation@0</c>: | |
/// Manual validation | |
/// Pause a pipeline run to wait for manual interaction. Works only with YAML pipelines. | |
/// </summary> | |
public record ManualValidation_V0 : AzureDevOpsTask | |
{ | |
public ManualValidation_V0(string? notifyusers) : base("ManualValidation@0") | |
{ | |
NotifyUsers = notifyusers; | |
} | |
/// <summary> | |
/// Notify users | |
/// </summary> | |
[YamlIgnore] | |
public string? NotifyUsers | |
{ | |
get => GetString("notifyUsers"); | |
init => SetProperty("notifyUsers", value); | |
} | |
/// <summary> | |
/// Instructions | |
/// </summary> | |
[YamlIgnore] | |
public string? Instructions | |
{ | |
get => GetString("instructions"); | |
init => SetProperty("instructions", value); | |
} | |
/// <summary> | |
/// On timeout | |
/// </summary> | |
[YamlIgnore] | |
public string? OnTimeout | |
{ | |
get => GetString("onTimeout"); | |
init => SetProperty("onTimeout", value); | |
} | |
} | |
/// <summary> | |
/// <c>ManualValidation@1</c>: | |
/// Manual validation | |
/// Pause a pipeline run to wait for manual interaction. Works only with YAML pipelines. | |
/// </summary> | |
public record ManualValidation_V1 : AzureDevOpsTask | |
{ | |
public ManualValidation_V1(string? notifyusers) : base("ManualValidation@1") | |
{ | |
NotifyUsers = notifyusers; | |
} | |
/// <summary> | |
/// Notify users | |
/// </summary> | |
[YamlIgnore] | |
public string? NotifyUsers | |
{ | |
get => GetString("notifyUsers"); | |
init => SetProperty("notifyUsers", value); | |
} | |
/// <summary> | |
/// Approvers | |
/// </summary> | |
[YamlIgnore] | |
public string? Approvers | |
{ | |
get => GetString("approvers"); | |
init => SetProperty("approvers", value); | |
} | |
/// <summary> | |
/// Instructions | |
/// </summary> | |
[YamlIgnore] | |
public string? Instructions | |
{ | |
get => GetString("instructions"); | |
init => SetProperty("instructions", value); | |
} | |
/// <summary> | |
/// On timeout | |
/// </summary> | |
[YamlIgnore] | |
public string? OnTimeout | |
{ | |
get => GetString("onTimeout"); | |
init => SetProperty("onTimeout", value); | |
} | |
} | |
/// <summary> | |
/// <c>Ant@1</c>: | |
/// Ant | |
/// Build with Apache Ant | |
/// </summary> | |
public record Ant_V1 : AzureDevOpsTask | |
{ | |
public Ant_V1() : base("Ant@1") | |
{ | |
} | |
/// <summary> | |
/// Ant build file | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildFile | |
{ | |
get => GetString("buildFile"); | |
init => SetProperty("buildFile", value); | |
} | |
/// <summary> | |
/// Options | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Target(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Targets | |
{ | |
get => GetString("targets"); | |
init => SetProperty("targets", value); | |
} | |
/// <summary> | |
/// Publish to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test results files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test run title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Code coverage tool | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageToolOptions | |
{ | |
get => GetString("codeCoverageToolOptions"); | |
init => SetProperty("codeCoverageToolOptions", value); | |
} | |
/// <summary> | |
/// Class files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilesDirectories | |
{ | |
get => GetString("codeCoverageClassFilesDirectories"); | |
init => SetProperty("codeCoverageClassFilesDirectories", value); | |
} | |
/// <summary> | |
/// Class inclusion/exclusion filters | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageClassFilter | |
{ | |
get => GetString("codeCoverageClassFilter"); | |
init => SetProperty("codeCoverageClassFilter", value); | |
} | |
/// <summary> | |
/// Source files directories | |
/// </summary> | |
[YamlIgnore] | |
public string? CodeCoverageSourceDirectories | |
{ | |
get => GetString("codeCoverageSourceDirectories"); | |
init => SetProperty("codeCoverageSourceDirectories", value); | |
} | |
/// <summary> | |
/// Fail when code coverage results are missing | |
/// </summary> | |
[YamlIgnore] | |
public bool CodeCoverageFailIfEmpty | |
{ | |
get => GetBool("codeCoverageFailIfEmpty", false); | |
init => SetProperty("codeCoverageFailIfEmpty", value); | |
} | |
/// <summary> | |
/// Set ANT_HOME path | |
/// </summary> | |
[YamlIgnore] | |
public string? AntHomeDirectory | |
{ | |
get => GetString("antHomeDirectory"); | |
init => SetProperty("antHomeDirectory", value); | |
} | |
/// <summary> | |
/// Set JAVA_HOME by | |
/// </summary> | |
[YamlIgnore] | |
public string? JavaHomeOption | |
{ | |
get => GetString("javaHomeOption"); | |
init => SetProperty("javaHomeOption", value); | |
} | |
/// <summary> | |
/// JDK version | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkVersionOption | |
{ | |
get => GetString("jdkVersionOption"); | |
init => SetProperty("jdkVersionOption", value); | |
} | |
/// <summary> | |
/// JDK path | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkUserInputDirectory | |
{ | |
get => GetString("jdkUserInputDirectory"); | |
init => SetProperty("jdkUserInputDirectory", value); | |
} | |
/// <summary> | |
/// JDK architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
} | |
/// <summary> | |
/// <c>DeployVisualStudioTestAgent@2</c>: | |
/// Visual Studio test agent deployment | |
/// Deprecated: Instead, use the 'Visual Studio Test' task to run unit and functional tests | |
/// </summary> | |
public record DeployVisualStudioTestAgent_V2 : AzureDevOpsTask | |
{ | |
public DeployVisualStudioTestAgent_V2(string? testmachines, string? adminusername, string? adminpassword, string? machineusername, string? machinepassword) : base("DeployVisualStudioTestAgent@2") | |
{ | |
TestMachines = testmachines; | |
AdminUserName = adminusername; | |
AdminPassword = adminpassword; | |
MachineUserName = machineusername; | |
MachinePassword = machinepassword; | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? TestMachines | |
{ | |
get => GetString("testMachines"); | |
init => SetProperty("testMachines", value); | |
} | |
/// <summary> | |
/// Admin login | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminUserName | |
{ | |
get => GetString("adminUserName"); | |
init => SetProperty("adminUserName", value); | |
} | |
/// <summary> | |
/// Admin password | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminPassword | |
{ | |
get => GetString("adminPassword"); | |
init => SetProperty("adminPassword", value); | |
} | |
/// <summary> | |
/// Protocol | |
/// </summary> | |
[YamlIgnore] | |
public string? WinRmProtocol | |
{ | |
get => GetString("winRmProtocol"); | |
init => SetProperty("winRmProtocol", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool TestCertificate | |
{ | |
get => GetBool("testCertificate", false); | |
init => SetProperty("testCertificate", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineUserName | |
{ | |
get => GetString("machineUserName"); | |
init => SetProperty("machineUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? MachinePassword | |
{ | |
get => GetString("machinePassword"); | |
init => SetProperty("machinePassword", value); | |
} | |
/// <summary> | |
/// Run UI tests | |
/// </summary> | |
[YamlIgnore] | |
public bool RunAsProcess | |
{ | |
get => GetBool("runAsProcess", false); | |
init => SetProperty("runAsProcess", value); | |
} | |
/// <summary> | |
/// Enable data collection only | |
/// </summary> | |
[YamlIgnore] | |
public bool IsDataCollectionOnly | |
{ | |
get => GetBool("isDataCollectionOnly", false); | |
init => SetProperty("isDataCollectionOnly", value); | |
} | |
/// <summary> | |
/// Test agent version | |
/// </summary> | |
[YamlIgnore] | |
public string? TestPlatform | |
{ | |
get => GetString("testPlatform"); | |
init => SetProperty("testPlatform", value); | |
} | |
/// <summary> | |
/// Test agent location | |
/// </summary> | |
[YamlIgnore] | |
public string? AgentLocation | |
{ | |
get => GetString("agentLocation"); | |
init => SetProperty("agentLocation", value); | |
} | |
/// <summary> | |
/// Update test agent | |
/// </summary> | |
[YamlIgnore] | |
public bool UpdateTestAgent | |
{ | |
get => GetBool("updateTestAgent", false); | |
init => SetProperty("updateTestAgent", value); | |
} | |
} | |
/// <summary> | |
/// <c>DeployVisualStudioTestAgent@1</c>: | |
/// Visual Studio Test Agent Deployment | |
/// Deploy and configure Test Agent to run tests on a set of machines | |
/// </summary> | |
public record DeployVisualStudioTestAgent_V1 : AzureDevOpsTask | |
{ | |
public DeployVisualStudioTestAgent_V1(string? testmachinegroup, string? machineusername, string? machinepassword) : base("DeployVisualStudioTestAgent@1") | |
{ | |
TestMachineGroup = testmachinegroup; | |
MachineUserName = machineusername; | |
MachinePassword = machinepassword; | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? TestMachineGroup | |
{ | |
get => GetString("testMachineGroup"); | |
init => SetProperty("testMachineGroup", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminUserName | |
{ | |
get => GetString("adminUserName"); | |
init => SetProperty("adminUserName", value); | |
} | |
/// <summary> | |
/// Admin Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminPassword | |
{ | |
get => GetString("adminPassword"); | |
init => SetProperty("adminPassword", value); | |
} | |
/// <summary> | |
/// Protocol | |
/// </summary> | |
[YamlIgnore] | |
public string? WinRmProtocol | |
{ | |
get => GetString("winRmProtocol"); | |
init => SetProperty("winRmProtocol", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool TestCertificate | |
{ | |
get => GetBool("testCertificate", false); | |
init => SetProperty("testCertificate", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("resourceFilteringMethod"); | |
init => SetProperty("resourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Filter Criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? TestMachines | |
{ | |
get => GetString("testMachines"); | |
init => SetProperty("testMachines", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineUserName | |
{ | |
get => GetString("machineUserName"); | |
init => SetProperty("machineUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? MachinePassword | |
{ | |
get => GetString("machinePassword"); | |
init => SetProperty("machinePassword", value); | |
} | |
/// <summary> | |
/// Interactive Process | |
/// </summary> | |
[YamlIgnore] | |
public bool RunAsProcess | |
{ | |
get => GetBool("runAsProcess", false); | |
init => SetProperty("runAsProcess", value); | |
} | |
/// <summary> | |
/// Test Agent Location | |
/// </summary> | |
[YamlIgnore] | |
public string? AgentLocation | |
{ | |
get => GetString("agentLocation"); | |
init => SetProperty("agentLocation", value); | |
} | |
/// <summary> | |
/// Update Test Agent | |
/// </summary> | |
[YamlIgnore] | |
public bool UpdateTestAgent | |
{ | |
get => GetBool("updateTestAgent", false); | |
init => SetProperty("updateTestAgent", value); | |
} | |
/// <summary> | |
/// Enable Data Collection Only | |
/// </summary> | |
[YamlIgnore] | |
public bool IsDataCollectionOnly | |
{ | |
get => GetBool("isDataCollectionOnly", false); | |
init => SetProperty("isDataCollectionOnly", value); | |
} | |
} | |
/// <summary> | |
/// <c>CondaEnvironment@0</c>: | |
/// Conda environment | |
/// Create and activate a Conda environment | |
/// </summary> | |
public record CondaEnvironment_V0 : AzureDevOpsTask | |
{ | |
public CondaEnvironment_V0(string? environmentname) : base("CondaEnvironment@0") | |
{ | |
EnvironmentName = environmentname; | |
} | |
/// <summary> | |
/// Environment name | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentName | |
{ | |
get => GetString("environmentName"); | |
init => SetProperty("environmentName", value); | |
} | |
/// <summary> | |
/// Package specs | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageSpecs | |
{ | |
get => GetString("packageSpecs"); | |
init => SetProperty("packageSpecs", value); | |
} | |
/// <summary> | |
/// Update to the latest Conda | |
/// </summary> | |
[YamlIgnore] | |
public bool UpdateConda | |
{ | |
get => GetBool("updateConda", false); | |
init => SetProperty("updateConda", value); | |
} | |
/// <summary> | |
/// Environment creation options | |
/// </summary> | |
[YamlIgnore] | |
public string? CreateOptions | |
{ | |
get => GetString("createOptions"); | |
init => SetProperty("createOptions", value); | |
} | |
/// <summary> | |
/// Clean the environment | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanEnvironment | |
{ | |
get => GetBool("cleanEnvironment", false); | |
init => SetProperty("cleanEnvironment", value); | |
} | |
} | |
/// <summary> | |
/// <c>CondaEnvironment@1</c>: | |
/// Conda environment | |
/// This task is deprecated. Use `conda` directly in script to work with Anaconda environments. | |
/// </summary> | |
public record CondaEnvironment_V1 : AzureDevOpsTask | |
{ | |
public CondaEnvironment_V1() : base("CondaEnvironment@1") | |
{ | |
} | |
/// <summary> | |
/// Create a custom environment | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateCustomEnvironment | |
{ | |
get => GetBool("createCustomEnvironment", false); | |
init => SetProperty("createCustomEnvironment", value); | |
} | |
/// <summary> | |
/// Environment name | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentName | |
{ | |
get => GetString("environmentName"); | |
init => SetProperty("environmentName", value); | |
} | |
/// <summary> | |
/// Package specs | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageSpecs | |
{ | |
get => GetString("packageSpecs"); | |
init => SetProperty("packageSpecs", value); | |
} | |
/// <summary> | |
/// Update to the latest Conda | |
/// </summary> | |
[YamlIgnore] | |
public bool UpdateConda | |
{ | |
get => GetBool("updateConda", false); | |
init => SetProperty("updateConda", value); | |
} | |
/// <summary> | |
/// Other options for `conda install` | |
/// </summary> | |
[YamlIgnore] | |
public string? InstallOptions | |
{ | |
get => GetString("installOptions"); | |
init => SetProperty("installOptions", value); | |
} | |
/// <summary> | |
/// Other options for `conda create` | |
/// </summary> | |
[YamlIgnore] | |
public string? CreateOptions | |
{ | |
get => GetString("createOptions"); | |
init => SetProperty("createOptions", value); | |
} | |
/// <summary> | |
/// Clean the environment | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanEnvironment | |
{ | |
get => GetBool("cleanEnvironment", false); | |
init => SetProperty("cleanEnvironment", value); | |
} | |
} | |
/// <summary> | |
/// <c>BatchScript@1</c>: | |
/// Batch script | |
/// Run a Windows command or batch script and optionally allow it to change the environment | |
/// </summary> | |
public record BatchScript_V1 : AzureDevOpsTask | |
{ | |
public BatchScript_V1(string? filename) : base("BatchScript@1") | |
{ | |
Filename = filename; | |
} | |
/// <summary> | |
/// Path | |
/// </summary> | |
[YamlIgnore] | |
public string? Filename | |
{ | |
get => GetString("filename"); | |
init => SetProperty("filename", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Modify Environment | |
/// </summary> | |
[YamlIgnore] | |
public bool ModifyEnvironment | |
{ | |
get => GetBool("modifyEnvironment", false); | |
init => SetProperty("modifyEnvironment", value); | |
} | |
/// <summary> | |
/// Working folder | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingFolder | |
{ | |
get => GetString("workingFolder"); | |
init => SetProperty("workingFolder", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("failOnStandardError", false); | |
init => SetProperty("failOnStandardError", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadGithubNpmPackage@1</c>: | |
/// Download Github Npm Package | |
/// Install npm packages from GitHub. | |
/// </summary> | |
public record DownloadGithubNpmPackage_V1 : AzureDevOpsTask | |
{ | |
public DownloadGithubNpmPackage_V1(string? packagename, string? version, string? externalregistrycredentials) : base("DownloadGithubNpmPackage@1") | |
{ | |
PackageName = packagename; | |
Version = version; | |
ExternalRegistryCredentials = externalregistrycredentials; | |
} | |
/// <summary> | |
/// Package Name | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageName | |
{ | |
get => GetString("packageName"); | |
init => SetProperty("packageName", value); | |
} | |
/// <summary> | |
/// Package Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Credentials for registry from GitHub | |
/// </summary> | |
[YamlIgnore] | |
public string? ExternalRegistryCredentials | |
{ | |
get => GetString("externalRegistryCredentials"); | |
init => SetProperty("externalRegistryCredentials", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? InstallDirectory | |
{ | |
get => GetString("installDirectory"); | |
init => SetProperty("installDirectory", value); | |
} | |
} | |
/// <summary> | |
/// <c>VSBuild@1</c>: | |
/// Visual Studio build | |
/// Build with MSBuild and set the Visual Studio version property | |
/// </summary> | |
public record VSBuild_V1 : AzureDevOpsTask | |
{ | |
public VSBuild_V1() : base("VSBuild@1") | |
{ | |
} | |
/// <summary> | |
/// Solution | |
/// </summary> | |
[YamlIgnore] | |
public string? Solution | |
{ | |
get => GetString("solution"); | |
init => SetProperty("solution", value); | |
} | |
/// <summary> | |
/// Visual Studio Version | |
/// </summary> | |
[YamlIgnore] | |
public string? VsVersion | |
{ | |
get => GetString("vsVersion"); | |
init => SetProperty("vsVersion", value); | |
} | |
/// <summary> | |
/// MSBuild Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildArgs | |
{ | |
get => GetString("msbuildArgs"); | |
init => SetProperty("msbuildArgs", value); | |
} | |
/// <summary> | |
/// Platform | |
/// </summary> | |
[YamlIgnore] | |
public string? Platform | |
{ | |
get => GetString("platform"); | |
init => SetProperty("platform", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Clean | |
/// </summary> | |
[YamlIgnore] | |
public bool Clean | |
{ | |
get => GetBool("clean", false); | |
init => SetProperty("clean", value); | |
} | |
/// <summary> | |
/// Build in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool MaximumCpuCount | |
{ | |
get => GetBool("maximumCpuCount", false); | |
init => SetProperty("maximumCpuCount", value); | |
} | |
/// <summary> | |
/// Restore NuGet Packages | |
/// </summary> | |
[YamlIgnore] | |
public bool RestoreNugetPackages | |
{ | |
get => GetBool("restoreNugetPackages", false); | |
init => SetProperty("restoreNugetPackages", value); | |
} | |
/// <summary> | |
/// MSBuild Architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildArchitecture | |
{ | |
get => GetString("msbuildArchitecture"); | |
init => SetProperty("msbuildArchitecture", value); | |
} | |
/// <summary> | |
/// Record Project Details | |
/// </summary> | |
[YamlIgnore] | |
public bool LogProjectEvents | |
{ | |
get => GetBool("logProjectEvents", false); | |
init => SetProperty("logProjectEvents", value); | |
} | |
/// <summary> | |
/// Create Log File | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateLogFile | |
{ | |
get => GetBool("createLogFile", false); | |
init => SetProperty("createLogFile", value); | |
} | |
/// <summary> | |
/// Log File Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? LogFileVerbosity | |
{ | |
get => GetString("logFileVerbosity"); | |
init => SetProperty("logFileVerbosity", value); | |
} | |
/// <summary> | |
/// Enable Default Logger | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableDefaultLogger | |
{ | |
get => GetBool("enableDefaultLogger", false); | |
init => SetProperty("enableDefaultLogger", value); | |
} | |
/// <summary> | |
/// Custom Version | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomVersion | |
{ | |
get => GetString("customVersion"); | |
init => SetProperty("customVersion", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureKeyVault@1</c>: | |
/// Azure Key Vault | |
/// Download Azure Key Vault secrets | |
/// </summary> | |
public record AzureKeyVault_V1 : AzureDevOpsTask | |
{ | |
public AzureKeyVault_V1(string? azuresubscription, string? keyvaultname) : base("AzureKeyVault@1") | |
{ | |
AzureSubscription = azuresubscription; | |
KeyVaultName = keyvaultname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Key vault | |
/// </summary> | |
[YamlIgnore] | |
public string? KeyVaultName | |
{ | |
get => GetString("KeyVaultName"); | |
init => SetProperty("KeyVaultName", value); | |
} | |
/// <summary> | |
/// Secrets filter | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretsFilter | |
{ | |
get => GetString("SecretsFilter"); | |
init => SetProperty("SecretsFilter", value); | |
} | |
/// <summary> | |
/// Make secrets available to whole job | |
/// </summary> | |
[YamlIgnore] | |
public bool RunAsPreJob | |
{ | |
get => GetBool("RunAsPreJob", false); | |
init => SetProperty("RunAsPreJob", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureKeyVault@2</c>: | |
/// Azure Key Vault | |
/// Download Azure Key Vault secrets | |
/// </summary> | |
public record AzureKeyVault_V2 : AzureDevOpsTask | |
{ | |
public AzureKeyVault_V2(string? azuresubscription, string? keyvaultname) : base("AzureKeyVault@2") | |
{ | |
AzureSubscription = azuresubscription; | |
KeyVaultName = keyvaultname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Key vault | |
/// </summary> | |
[YamlIgnore] | |
public string? KeyVaultName | |
{ | |
get => GetString("KeyVaultName"); | |
init => SetProperty("KeyVaultName", value); | |
} | |
/// <summary> | |
/// Secrets filter | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretsFilter | |
{ | |
get => GetString("SecretsFilter"); | |
init => SetProperty("SecretsFilter", value); | |
} | |
/// <summary> | |
/// Make secrets available to whole job | |
/// </summary> | |
[YamlIgnore] | |
public bool RunAsPreJob | |
{ | |
get => GetBool("RunAsPreJob", false); | |
init => SetProperty("RunAsPreJob", value); | |
} | |
} | |
/// <summary> | |
/// <c>DotNetCoreInstaller@0</c>: | |
/// .NET Core SDK/runtime installer | |
/// Acquire a specific version of the .NET Core SDK from the internet or local cache and add it to the PATH | |
/// </summary> | |
public record DotNetCoreInstaller_V0 : AzureDevOpsTask | |
{ | |
public DotNetCoreInstaller_V0() : base("DotNetCoreInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// Package to install | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageType | |
{ | |
get => GetString("packageType"); | |
init => SetProperty("packageType", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
} | |
/// <summary> | |
/// <c>DotNetCoreInstaller@1</c>: | |
/// .NET Core sdk/runtime installer | |
/// Acquire a specific version of the .NET Core SDK from the internet or local cache and add it to the PATH | |
/// </summary> | |
public record DotNetCoreInstaller_V1 : AzureDevOpsTask | |
{ | |
public DotNetCoreInstaller_V1() : base("DotNetCoreInstaller@1") | |
{ | |
} | |
/// <summary> | |
/// Package to install | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageType | |
{ | |
get => GetString("packageType"); | |
init => SetProperty("packageType", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Include Preview Versions | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludePreviewVersions | |
{ | |
get => GetBool("includePreviewVersions", false); | |
init => SetProperty("includePreviewVersions", value); | |
} | |
/// <summary> | |
/// Path To Install .Net Core | |
/// </summary> | |
[YamlIgnore] | |
public string? InstallationPath | |
{ | |
get => GetString("installationPath"); | |
init => SetProperty("installationPath", value); | |
} | |
/// <summary> | |
/// Perform Multi Level Lookup | |
/// </summary> | |
[YamlIgnore] | |
public bool PerformMultiLevelLookup | |
{ | |
get => GetBool("performMultiLevelLookup", false); | |
init => SetProperty("performMultiLevelLookup", value); | |
} | |
} | |
/// <summary> | |
/// <c>UseDotNet@2</c>: | |
/// Use .NET Core | |
/// Acquires a specific version of the .NET Core SDK from the internet or the local cache and adds it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks. Additionally provides proxy support. | |
/// </summary> | |
public record UseDotNet_V2 : AzureDevOpsTask | |
{ | |
public UseDotNet_V2() : base("UseDotNet@2") | |
{ | |
} | |
/// <summary> | |
/// Package to install | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageType | |
{ | |
get => GetString("packageType"); | |
init => SetProperty("packageType", value); | |
} | |
/// <summary> | |
/// Use global json | |
/// </summary> | |
[YamlIgnore] | |
public bool UseGlobalJson | |
{ | |
get => GetBool("useGlobalJson", false); | |
init => SetProperty("useGlobalJson", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Compatible Visual Studio version | |
/// </summary> | |
[YamlIgnore] | |
public string? VsVersion | |
{ | |
get => GetString("vsVersion"); | |
init => SetProperty("vsVersion", value); | |
} | |
/// <summary> | |
/// Include Preview Versions | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludePreviewVersions | |
{ | |
get => GetBool("includePreviewVersions", false); | |
init => SetProperty("includePreviewVersions", value); | |
} | |
/// <summary> | |
/// Path To Install .Net Core | |
/// </summary> | |
[YamlIgnore] | |
public string? InstallationPath | |
{ | |
get => GetString("installationPath"); | |
init => SetProperty("installationPath", value); | |
} | |
/// <summary> | |
/// Perform Multi Level Lookup | |
/// </summary> | |
[YamlIgnore] | |
public bool PerformMultiLevelLookup | |
{ | |
get => GetBool("performMultiLevelLookup", false); | |
init => SetProperty("performMultiLevelLookup", value); | |
} | |
/// <summary> | |
/// Set timeout for package download request | |
/// </summary> | |
[YamlIgnore] | |
public int? RequestTimeout | |
{ | |
get => GetInt("requestTimeout"); | |
init => SetProperty("requestTimeout", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureAppConfigurationImport@10</c>: | |
/// Azure App Configuration Import | |
/// Push key-values to an Azure App Configuration instance | |
/// </summary> | |
public record AzureAppConfigurationImport_V10 : AzureDevOpsTask | |
{ | |
public AzureAppConfigurationImport_V10(string? azuresubscription, string? appconfigurationendpoint, string? configurationfile) : base("AzureAppConfigurationImport@10") | |
{ | |
AzureSubscription = azuresubscription; | |
AppConfigurationEndpoint = appconfigurationendpoint; | |
ConfigurationFile = configurationfile; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// App Configuration Endpoint | |
/// </summary> | |
[YamlIgnore] | |
public string? AppConfigurationEndpoint | |
{ | |
get => GetString("AppConfigurationEndpoint"); | |
init => SetProperty("AppConfigurationEndpoint", value); | |
} | |
/// <summary> | |
/// Configuration File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigurationFile | |
{ | |
get => GetString("ConfigurationFile"); | |
init => SetProperty("ConfigurationFile", value); | |
} | |
/// <summary> | |
/// Use the file path extension to determine the file format | |
/// </summary> | |
[YamlIgnore] | |
public bool UseFilePathExtension | |
{ | |
get => GetBool("UseFilePathExtension", false); | |
init => SetProperty("UseFilePathExtension", value); | |
} | |
/// <summary> | |
/// File Format | |
/// </summary> | |
[YamlIgnore] | |
public string? FileFormat | |
{ | |
get => GetString("FileFormat"); | |
init => SetProperty("FileFormat", value); | |
} | |
/// <summary> | |
/// File Content Profile | |
/// </summary> | |
[YamlIgnore] | |
public string? FileContentProfile | |
{ | |
get => GetString("FileContentProfile"); | |
init => SetProperty("FileContentProfile", value); | |
} | |
/// <summary> | |
/// Separator | |
/// </summary> | |
[YamlIgnore] | |
public string? Separator | |
{ | |
get => GetString("Separator"); | |
init => SetProperty("Separator", value); | |
} | |
/// <summary> | |
/// Depth | |
/// </summary> | |
[YamlIgnore] | |
public string? Depth | |
{ | |
get => GetString("Depth"); | |
init => SetProperty("Depth", value); | |
} | |
/// <summary> | |
/// Prefix | |
/// </summary> | |
[YamlIgnore] | |
public string? Prefix | |
{ | |
get => GetString("Prefix"); | |
init => SetProperty("Prefix", value); | |
} | |
/// <summary> | |
/// Label | |
/// </summary> | |
[YamlIgnore] | |
public string? Label | |
{ | |
get => GetString("Label"); | |
init => SetProperty("Label", value); | |
} | |
/// <summary> | |
/// Content Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ContentType | |
{ | |
get => GetString("ContentType"); | |
init => SetProperty("ContentType", value); | |
} | |
/// <summary> | |
/// Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? Tags | |
{ | |
get => GetString("Tags"); | |
init => SetProperty("Tags", value); | |
} | |
/// <summary> | |
/// Exclude feature flags | |
/// </summary> | |
[YamlIgnore] | |
public bool ExcludeFeatureFlags | |
{ | |
get => GetBool("ExcludeFeatureFlags", false); | |
init => SetProperty("ExcludeFeatureFlags", value); | |
} | |
/// <summary> | |
/// Delete key-values that are not included in the configuration file | |
/// </summary> | |
[YamlIgnore] | |
public bool Strict | |
{ | |
get => GetBool("Strict", false); | |
init => SetProperty("Strict", value); | |
} | |
/// <summary> | |
/// Dry run | |
/// </summary> | |
[YamlIgnore] | |
public bool DryRun | |
{ | |
get => GetBool("DryRun", false); | |
init => SetProperty("DryRun", value); | |
} | |
/// <summary> | |
/// Import Mode | |
/// </summary> | |
[YamlIgnore] | |
public string? ImportMode | |
{ | |
get => GetString("ImportMode"); | |
init => SetProperty("ImportMode", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureAppServiceManage@0</c>: | |
/// Azure App Service manage | |
/// Start, stop, restart, slot swap, slot delete, install site extensions or enable continuous monitoring for an Azure App Service | |
/// </summary> | |
public record AzureAppServiceManage_V0 : AzureDevOpsTask | |
{ | |
public AzureAppServiceManage_V0(string? azuresubscription, string? webappname) : base("AzureAppServiceManage@0") | |
{ | |
AzureSubscription = azuresubscription; | |
WebAppName = webappname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("Action"); | |
init => SetProperty("Action", value); | |
} | |
/// <summary> | |
/// App Service name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebAppName | |
{ | |
get => GetString("WebAppName"); | |
init => SetProperty("WebAppName", value); | |
} | |
/// <summary> | |
/// Specify Slot or App Service Environment | |
/// </summary> | |
[YamlIgnore] | |
public bool SpecifySlotOrASE | |
{ | |
get => GetBool("SpecifySlotOrASE", false); | |
init => SetProperty("SpecifySlotOrASE", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Source Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SourceSlot | |
{ | |
get => GetString("SourceSlot"); | |
init => SetProperty("SourceSlot", value); | |
} | |
/// <summary> | |
/// Swap with Production | |
/// </summary> | |
[YamlIgnore] | |
public bool SwapWithProduction | |
{ | |
get => GetBool("SwapWithProduction", false); | |
init => SetProperty("SwapWithProduction", value); | |
} | |
/// <summary> | |
/// Target Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetSlot | |
{ | |
get => GetString("TargetSlot"); | |
init => SetProperty("TargetSlot", value); | |
} | |
/// <summary> | |
/// Preserve Vnet | |
/// </summary> | |
[YamlIgnore] | |
public bool PreserveVnet | |
{ | |
get => GetBool("PreserveVnet", false); | |
init => SetProperty("PreserveVnet", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? Slot | |
{ | |
get => GetString("Slot"); | |
init => SetProperty("Slot", value); | |
} | |
/// <summary> | |
/// Install Extensions | |
/// </summary> | |
[YamlIgnore] | |
public string? ExtensionsList | |
{ | |
get => GetString("ExtensionsList"); | |
init => SetProperty("ExtensionsList", value); | |
} | |
/// <summary> | |
/// Output variable | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputVariable | |
{ | |
get => GetString("OutputVariable"); | |
init => SetProperty("OutputVariable", value); | |
} | |
/// <summary> | |
/// Resource Group name for Application Insights | |
/// </summary> | |
[YamlIgnore] | |
public string? AppInsightsResourceGroupName | |
{ | |
get => GetString("AppInsightsResourceGroupName"); | |
init => SetProperty("AppInsightsResourceGroupName", value); | |
} | |
/// <summary> | |
/// Application Insights resource name | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationInsightsResourceName | |
{ | |
get => GetString("ApplicationInsightsResourceName"); | |
init => SetProperty("ApplicationInsightsResourceName", value); | |
} | |
/// <summary> | |
/// Application Insights web test name | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationInsightsWebTestName | |
{ | |
get => GetString("ApplicationInsightsWebTestName"); | |
init => SetProperty("ApplicationInsightsWebTestName", value); | |
} | |
} | |
/// <summary> | |
/// <c>KubeloginInstaller@0</c>: | |
/// Kubelogin tool installer | |
/// Helps to install kubelogin | |
/// </summary> | |
public record KubeloginInstaller_V0 : AzureDevOpsTask | |
{ | |
public KubeloginInstaller_V0() : base("KubeloginInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// kubelogin version | |
/// </summary> | |
[YamlIgnore] | |
public string? KubeloginVersion | |
{ | |
get => GetString("kubeloginVersion"); | |
init => SetProperty("kubeloginVersion", value); | |
} | |
} | |
/// <summary> | |
/// <c>FuncToolsInstaller@0</c>: | |
/// Install Azure Func Core Tools | |
/// Install Azure Func Core Tools | |
/// </summary> | |
public record FuncToolsInstaller_V0 : AzureDevOpsTask | |
{ | |
public FuncToolsInstaller_V0() : base("FuncToolsInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
} | |
/// <summary> | |
/// <c>FileTransform@1</c>: | |
/// File transform | |
/// Replace tokens with variable values in XML or JSON configuration files | |
/// </summary> | |
public record FileTransform_V1 : AzureDevOpsTask | |
{ | |
public FileTransform_V1() : base("FileTransform@1") | |
{ | |
} | |
/// <summary> | |
/// Package or folder | |
/// </summary> | |
[YamlIgnore] | |
public string? FolderPath | |
{ | |
get => GetString("folderPath"); | |
init => SetProperty("folderPath", value); | |
} | |
/// <summary> | |
/// XML transformation | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableXmlTransform | |
{ | |
get => GetBool("enableXmlTransform", false); | |
init => SetProperty("enableXmlTransform", value); | |
} | |
/// <summary> | |
/// Transformation rules | |
/// </summary> | |
[YamlIgnore] | |
public string? XmlTransformationRules | |
{ | |
get => GetString("xmlTransformationRules"); | |
init => SetProperty("xmlTransformationRules", value); | |
} | |
/// <summary> | |
/// File format | |
/// </summary> | |
[YamlIgnore] | |
public string? FileType | |
{ | |
get => GetString("fileType"); | |
init => SetProperty("fileType", value); | |
} | |
/// <summary> | |
/// Target files | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetFiles | |
{ | |
get => GetString("targetFiles"); | |
init => SetProperty("targetFiles", value); | |
} | |
} | |
/// <summary> | |
/// <c>FileTransform@2</c>: | |
/// File transform | |
/// Replace tokens with variable values in XML or JSON configuration files | |
/// </summary> | |
public record FileTransform_V2 : AzureDevOpsTask | |
{ | |
public FileTransform_V2() : base("FileTransform@2") | |
{ | |
} | |
/// <summary> | |
/// Package or folder | |
/// </summary> | |
[YamlIgnore] | |
public string? FolderPath | |
{ | |
get => GetString("folderPath"); | |
init => SetProperty("folderPath", value); | |
} | |
/// <summary> | |
/// XML Transformation rules | |
/// </summary> | |
[YamlIgnore] | |
public string? XmlTransformationRules | |
{ | |
get => GetString("xmlTransformationRules"); | |
init => SetProperty("xmlTransformationRules", value); | |
} | |
/// <summary> | |
/// JSON target files | |
/// </summary> | |
[YamlIgnore] | |
public string? JsonTargetFiles | |
{ | |
get => GetString("jsonTargetFiles"); | |
init => SetProperty("jsonTargetFiles", value); | |
} | |
/// <summary> | |
/// XML target files | |
/// </summary> | |
[YamlIgnore] | |
public string? XmlTargetFiles | |
{ | |
get => GetString("xmlTargetFiles"); | |
init => SetProperty("xmlTargetFiles", value); | |
} | |
} | |
/// <summary> | |
/// <c>ExtractFiles@1</c>: | |
/// Extract files | |
/// Extract a variety of archive and compression files such as .7z, .rar, .tar.gz, and .zip | |
/// </summary> | |
public record ExtractFiles_V1 : AzureDevOpsTask | |
{ | |
public ExtractFiles_V1(string? destinationfolder) : base("ExtractFiles@1") | |
{ | |
DestinationFolder = destinationfolder; | |
} | |
/// <summary> | |
/// Archive file patterns | |
/// </summary> | |
[YamlIgnore] | |
public string? ArchiveFilePatterns | |
{ | |
get => GetString("archiveFilePatterns"); | |
init => SetProperty("archiveFilePatterns", value); | |
} | |
/// <summary> | |
/// Destination folder | |
/// </summary> | |
[YamlIgnore] | |
public string? DestinationFolder | |
{ | |
get => GetString("destinationFolder"); | |
init => SetProperty("destinationFolder", value); | |
} | |
/// <summary> | |
/// Clean destination folder before extracting | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanDestinationFolder | |
{ | |
get => GetBool("cleanDestinationFolder", false); | |
init => SetProperty("cleanDestinationFolder", value); | |
} | |
/// <summary> | |
/// Overwrite existing files | |
/// </summary> | |
[YamlIgnore] | |
public bool OverwriteExistingFiles | |
{ | |
get => GetBool("overwriteExistingFiles", false); | |
init => SetProperty("overwriteExistingFiles", value); | |
} | |
/// <summary> | |
/// Path to 7z utility | |
/// </summary> | |
[YamlIgnore] | |
public string? PathToSevenZipTool | |
{ | |
get => GetString("pathToSevenZipTool"); | |
init => SetProperty("pathToSevenZipTool", value); | |
} | |
} | |
/// <summary> | |
/// <c>XamarinAndroid@1</c>: | |
/// Xamarin.Android | |
/// Build an Android app with Xamarin | |
/// </summary> | |
public record XamarinAndroid_V1 : AzureDevOpsTask | |
{ | |
public XamarinAndroid_V1() : base("XamarinAndroid@1") | |
{ | |
} | |
/// <summary> | |
/// Project | |
/// </summary> | |
[YamlIgnore] | |
public string? ProjectFile | |
{ | |
get => GetString("projectFile"); | |
init => SetProperty("projectFile", value); | |
} | |
/// <summary> | |
/// Target | |
/// </summary> | |
[YamlIgnore] | |
public string? Target | |
{ | |
get => GetString("target"); | |
init => SetProperty("target", value); | |
} | |
/// <summary> | |
/// Output directory | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputDirectory | |
{ | |
get => GetString("outputDirectory"); | |
init => SetProperty("outputDirectory", value); | |
} | |
/// <summary> | |
/// Configuration | |
/// </summary> | |
[YamlIgnore] | |
public string? Configuration | |
{ | |
get => GetString("configuration"); | |
init => SetProperty("configuration", value); | |
} | |
/// <summary> | |
/// Create app package | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateAppPackage | |
{ | |
get => GetBool("createAppPackage", false); | |
init => SetProperty("createAppPackage", value); | |
} | |
/// <summary> | |
/// Clean | |
/// </summary> | |
[YamlIgnore] | |
public bool Clean | |
{ | |
get => GetBool("clean", false); | |
init => SetProperty("clean", value); | |
} | |
/// <summary> | |
/// MSBuild | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildLocationOption | |
{ | |
get => GetString("msbuildLocationOption"); | |
init => SetProperty("msbuildLocationOption", value); | |
} | |
/// <summary> | |
/// MSBuild version | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildVersionOption | |
{ | |
get => GetString("msbuildVersionOption"); | |
init => SetProperty("msbuildVersionOption", value); | |
} | |
/// <summary> | |
/// MSBuild location | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildFile | |
{ | |
get => GetString("msbuildFile"); | |
init => SetProperty("msbuildFile", value); | |
} | |
/// <summary> | |
/// MSBuild architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildArchitectureOption | |
{ | |
get => GetString("msbuildArchitectureOption"); | |
init => SetProperty("msbuildArchitectureOption", value); | |
} | |
/// <summary> | |
/// Additional arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? MsbuildArguments | |
{ | |
get => GetString("msbuildArguments"); | |
init => SetProperty("msbuildArguments", value); | |
} | |
/// <summary> | |
/// Select JDK to use for the build | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkOption | |
{ | |
get => GetString("jdkOption"); | |
init => SetProperty("jdkOption", value); | |
} | |
/// <summary> | |
/// JDK version | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkVersionOption | |
{ | |
get => GetString("jdkVersionOption"); | |
init => SetProperty("jdkVersionOption", value); | |
} | |
/// <summary> | |
/// JDK path | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkDirectory | |
{ | |
get => GetString("jdkDirectory"); | |
init => SetProperty("jdkDirectory", value); | |
} | |
/// <summary> | |
/// JDK architecture | |
/// </summary> | |
[YamlIgnore] | |
public string? JdkArchitectureOption | |
{ | |
get => GetString("jdkArchitectureOption"); | |
init => SetProperty("jdkArchitectureOption", value); | |
} | |
} | |
/// <summary> | |
/// <c>CopyPublishBuildArtifacts@1</c>: | |
/// Copy and Publish Build Artifacts | |
/// [DEPRECATED] Use the Copy Files task and the Publish Build Artifacts task instead | |
/// </summary> | |
public record CopyPublishBuildArtifacts_V1 : AzureDevOpsTask | |
{ | |
public CopyPublishBuildArtifacts_V1(string? contents, string? artifactname, string? artifacttype) : base("CopyPublishBuildArtifacts@1") | |
{ | |
Contents = contents; | |
ArtifactName = artifactname; | |
ArtifactType = artifacttype; | |
} | |
/// <summary> | |
/// Copy Root | |
/// </summary> | |
[YamlIgnore] | |
public string? CopyRoot | |
{ | |
get => GetString("CopyRoot"); | |
init => SetProperty("CopyRoot", value); | |
} | |
/// <summary> | |
/// Contents | |
/// </summary> | |
[YamlIgnore] | |
public string? Contents | |
{ | |
get => GetString("Contents"); | |
init => SetProperty("Contents", value); | |
} | |
/// <summary> | |
/// Artifact Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactName | |
{ | |
get => GetString("ArtifactName"); | |
init => SetProperty("ArtifactName", value); | |
} | |
/// <summary> | |
/// Artifact Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactType | |
{ | |
get => GetString("ArtifactType"); | |
init => SetProperty("ArtifactType", value); | |
} | |
/// <summary> | |
/// Path | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadPackage@0</c>: | |
/// Download package | |
/// Download a package from a package management feed in Azure Artifacts | |
/// </summary> | |
public record DownloadPackage_V0 : AzureDevOpsTask | |
{ | |
public DownloadPackage_V0(string? feed, string? definition, string? version) : base("DownloadPackage@0") | |
{ | |
Feed = feed; | |
Definition = definition; | |
Version = version; | |
} | |
/// <summary> | |
/// Feed | |
/// </summary> | |
[YamlIgnore] | |
public string? Feed | |
{ | |
get => GetString("feed"); | |
init => SetProperty("feed", value); | |
} | |
/// <summary> | |
/// Package | |
/// </summary> | |
[YamlIgnore] | |
public string? Definition | |
{ | |
get => GetString("definition"); | |
init => SetProperty("definition", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? DownloadPath | |
{ | |
get => GetString("downloadPath"); | |
init => SetProperty("downloadPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadPackage@1</c>: | |
/// Download package | |
/// Download a package from a package management feed in Azure Artifacts | |
/// </summary> | |
public record DownloadPackage_V1 : AzureDevOpsTask | |
{ | |
public DownloadPackage_V1(string? feed, string? definition, string? version) : base("DownloadPackage@1") | |
{ | |
Feed = feed; | |
Definition = definition; | |
Version = version; | |
} | |
/// <summary> | |
/// Package Type | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageType | |
{ | |
get => GetString("packageType"); | |
init => SetProperty("packageType", value); | |
} | |
/// <summary> | |
/// Feed | |
/// </summary> | |
[YamlIgnore] | |
public string? Feed | |
{ | |
get => GetString("feed"); | |
init => SetProperty("feed", value); | |
} | |
/// <summary> | |
/// View | |
/// </summary> | |
[YamlIgnore] | |
public string? View | |
{ | |
get => GetString("view"); | |
init => SetProperty("view", value); | |
} | |
/// <summary> | |
/// Package | |
/// </summary> | |
[YamlIgnore] | |
public string? Definition | |
{ | |
get => GetString("definition"); | |
init => SetProperty("definition", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Files | |
/// </summary> | |
[YamlIgnore] | |
public string? Files | |
{ | |
get => GetString("files"); | |
init => SetProperty("files", value); | |
} | |
/// <summary> | |
/// Extract package contents | |
/// </summary> | |
[YamlIgnore] | |
public bool Extract | |
{ | |
get => GetBool("extract", false); | |
init => SetProperty("extract", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? DownloadPath | |
{ | |
get => GetString("downloadPath"); | |
init => SetProperty("downloadPath", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureResourceGroupDeployment@2</c>: | |
/// Azure resource group deployment | |
/// Deploy an Azure Resource Manager (ARM) template to a resource group and manage virtual machines | |
/// </summary> | |
public record AzureResourceGroupDeployment_V2 : AzureDevOpsTask | |
{ | |
public AzureResourceGroupDeployment_V2(string? azuresubscription, string? resourcegroupname) : base("AzureResourceGroupDeployment@2") | |
{ | |
AzureSubscription = azuresubscription; | |
ResourceGroupName = resourcegroupname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Location | |
/// </summary> | |
[YamlIgnore] | |
public string? Location | |
{ | |
get => GetString("location"); | |
init => SetProperty("location", value); | |
} | |
/// <summary> | |
/// Template location | |
/// </summary> | |
[YamlIgnore] | |
public string? TemplateLocation | |
{ | |
get => GetString("templateLocation"); | |
init => SetProperty("templateLocation", value); | |
} | |
/// <summary> | |
/// Template link | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmFileLink | |
{ | |
get => GetString("csmFileLink"); | |
init => SetProperty("csmFileLink", value); | |
} | |
/// <summary> | |
/// Template parameters link | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmParametersFileLink | |
{ | |
get => GetString("csmParametersFileLink"); | |
init => SetProperty("csmParametersFileLink", value); | |
} | |
/// <summary> | |
/// Template | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmFile | |
{ | |
get => GetString("csmFile"); | |
init => SetProperty("csmFile", value); | |
} | |
/// <summary> | |
/// Template parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmParametersFile | |
{ | |
get => GetString("csmParametersFile"); | |
init => SetProperty("csmParametersFile", value); | |
} | |
/// <summary> | |
/// Override template parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideParameters | |
{ | |
get => GetString("overrideParameters"); | |
init => SetProperty("overrideParameters", value); | |
} | |
/// <summary> | |
/// Deployment mode | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentMode | |
{ | |
get => GetString("deploymentMode"); | |
init => SetProperty("deploymentMode", value); | |
} | |
/// <summary> | |
/// Enable prerequisites | |
/// </summary> | |
[YamlIgnore] | |
public string? EnableDeploymentPrerequisites | |
{ | |
get => GetString("enableDeploymentPrerequisites"); | |
init => SetProperty("enableDeploymentPrerequisites", value); | |
} | |
/// <summary> | |
/// Azure Pipelines service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? TeamServicesConnection | |
{ | |
get => GetString("teamServicesConnection"); | |
init => SetProperty("teamServicesConnection", value); | |
} | |
/// <summary> | |
/// Team project | |
/// </summary> | |
[YamlIgnore] | |
public string? TeamProject | |
{ | |
get => GetString("teamProject"); | |
init => SetProperty("teamProject", value); | |
} | |
/// <summary> | |
/// Deployment Group | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentGroupName | |
{ | |
get => GetString("deploymentGroupName"); | |
init => SetProperty("deploymentGroupName", value); | |
} | |
/// <summary> | |
/// Copy Azure VM tags to agents | |
/// </summary> | |
[YamlIgnore] | |
public bool CopyAzureVMTags | |
{ | |
get => GetBool("copyAzureVMTags", false); | |
init => SetProperty("copyAzureVMTags", value); | |
} | |
/// <summary> | |
/// Run agent service as a user | |
/// </summary> | |
[YamlIgnore] | |
public bool RunAgentServiceAsUser | |
{ | |
get => GetBool("runAgentServiceAsUser", false); | |
init => SetProperty("runAgentServiceAsUser", value); | |
} | |
/// <summary> | |
/// User name | |
/// </summary> | |
[YamlIgnore] | |
public string? UserName | |
{ | |
get => GetString("userName"); | |
init => SetProperty("userName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
/// <summary> | |
/// VM details for WinRM | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputVariable | |
{ | |
get => GetString("outputVariable"); | |
init => SetProperty("outputVariable", value); | |
} | |
/// <summary> | |
/// Deployment name | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentName | |
{ | |
get => GetString("deploymentName"); | |
init => SetProperty("deploymentName", value); | |
} | |
/// <summary> | |
/// Deployment outputs | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentOutputs | |
{ | |
get => GetString("deploymentOutputs"); | |
init => SetProperty("deploymentOutputs", value); | |
} | |
/// <summary> | |
/// Access service principal details in override parameters | |
/// </summary> | |
[YamlIgnore] | |
public bool AddSpnToEnvironment | |
{ | |
get => GetBool("addSpnToEnvironment", false); | |
init => SetProperty("addSpnToEnvironment", value); | |
} | |
/// <summary> | |
/// Use individual output values without JSON.Stringify applied | |
/// </summary> | |
[YamlIgnore] | |
public bool UseWithoutJSON | |
{ | |
get => GetBool("useWithoutJSON", false); | |
init => SetProperty("useWithoutJSON", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureResourceManagerTemplateDeployment@3</c>: | |
/// ARM template deployment | |
/// Deploy an Azure Resource Manager (ARM) template to all the deployment scopes | |
/// </summary> | |
public record AzureResourceManagerTemplateDeployment_V3 : AzureDevOpsTask | |
{ | |
public AzureResourceManagerTemplateDeployment_V3(string? azureresourcemanagerconnection) : base("AzureResourceManagerTemplateDeployment@3") | |
{ | |
AzureResourceManagerConnection = azureresourcemanagerconnection; | |
} | |
/// <summary> | |
/// Deployment scope | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentScope | |
{ | |
get => GetString("deploymentScope"); | |
init => SetProperty("deploymentScope", value); | |
} | |
/// <summary> | |
/// Azure Resource Manager connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceManagerConnection | |
{ | |
get => GetString("azureResourceManagerConnection"); | |
init => SetProperty("azureResourceManagerConnection", value); | |
} | |
/// <summary> | |
/// Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? SubscriptionId | |
{ | |
get => GetString("subscriptionId"); | |
init => SetProperty("subscriptionId", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Location | |
/// </summary> | |
[YamlIgnore] | |
public string? Location | |
{ | |
get => GetString("location"); | |
init => SetProperty("location", value); | |
} | |
/// <summary> | |
/// Template location | |
/// </summary> | |
[YamlIgnore] | |
public string? TemplateLocation | |
{ | |
get => GetString("templateLocation"); | |
init => SetProperty("templateLocation", value); | |
} | |
/// <summary> | |
/// Template link | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmFileLink | |
{ | |
get => GetString("csmFileLink"); | |
init => SetProperty("csmFileLink", value); | |
} | |
/// <summary> | |
/// Template parameters link | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmParametersFileLink | |
{ | |
get => GetString("csmParametersFileLink"); | |
init => SetProperty("csmParametersFileLink", value); | |
} | |
/// <summary> | |
/// Template | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmFile | |
{ | |
get => GetString("csmFile"); | |
init => SetProperty("csmFile", value); | |
} | |
/// <summary> | |
/// Template parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmParametersFile | |
{ | |
get => GetString("csmParametersFile"); | |
init => SetProperty("csmParametersFile", value); | |
} | |
/// <summary> | |
/// Override template parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideParameters | |
{ | |
get => GetString("overrideParameters"); | |
init => SetProperty("overrideParameters", value); | |
} | |
/// <summary> | |
/// Deployment mode | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentMode | |
{ | |
get => GetString("deploymentMode"); | |
init => SetProperty("deploymentMode", value); | |
} | |
/// <summary> | |
/// Deployment name | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentName | |
{ | |
get => GetString("deploymentName"); | |
init => SetProperty("deploymentName", value); | |
} | |
/// <summary> | |
/// Deployment outputs | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentOutputs | |
{ | |
get => GetString("deploymentOutputs"); | |
init => SetProperty("deploymentOutputs", value); | |
} | |
/// <summary> | |
/// Access service principal details in override parameters | |
/// </summary> | |
[YamlIgnore] | |
public bool AddSpnToEnvironment | |
{ | |
get => GetBool("addSpnToEnvironment", false); | |
init => SetProperty("addSpnToEnvironment", value); | |
} | |
/// <summary> | |
/// Use individual output values without JSON.Stringify applied | |
/// </summary> | |
[YamlIgnore] | |
public bool UseWithoutJSON | |
{ | |
get => GetBool("useWithoutJSON", false); | |
init => SetProperty("useWithoutJSON", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureResourceGroupDeployment@1</c>: | |
/// Azure Resource Group Deployment | |
/// Deploy, start, stop, delete Azure Resource Groups | |
/// </summary> | |
public record AzureResourceGroupDeployment_V1 : AzureDevOpsTask | |
{ | |
public AzureResourceGroupDeployment_V1() : base("AzureResourceGroupDeployment@1") | |
{ | |
} | |
/// <summary> | |
/// Azure Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameSelector | |
{ | |
get => GetString("ConnectedServiceNameSelector"); | |
init => SetProperty("ConnectedServiceNameSelector", value); | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("ConnectedServiceName"); | |
init => SetProperty("ConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Azure Classic Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameClassic | |
{ | |
get => GetString("ConnectedServiceNameClassic"); | |
init => SetProperty("ConnectedServiceNameClassic", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? ActionClassic | |
{ | |
get => GetString("actionClassic"); | |
init => SetProperty("actionClassic", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Cloud Service | |
/// </summary> | |
[YamlIgnore] | |
public string? CloudService | |
{ | |
get => GetString("cloudService"); | |
init => SetProperty("cloudService", value); | |
} | |
/// <summary> | |
/// Location | |
/// </summary> | |
[YamlIgnore] | |
public string? Location | |
{ | |
get => GetString("location"); | |
init => SetProperty("location", value); | |
} | |
/// <summary> | |
/// Template | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmFile | |
{ | |
get => GetString("csmFile"); | |
init => SetProperty("csmFile", value); | |
} | |
/// <summary> | |
/// Template Parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? CsmParametersFile | |
{ | |
get => GetString("csmParametersFile"); | |
init => SetProperty("csmParametersFile", value); | |
} | |
/// <summary> | |
/// Override Template Parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideParameters | |
{ | |
get => GetString("overrideParameters"); | |
init => SetProperty("overrideParameters", value); | |
} | |
/// <summary> | |
/// Deployment Mode | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentMode | |
{ | |
get => GetString("deploymentMode"); | |
init => SetProperty("deploymentMode", value); | |
} | |
/// <summary> | |
/// Enable Deployment Prerequisites | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableDeploymentPrerequisitesForCreate | |
{ | |
get => GetBool("enableDeploymentPrerequisitesForCreate", false); | |
init => SetProperty("enableDeploymentPrerequisitesForCreate", value); | |
} | |
/// <summary> | |
/// Enable Deployment Prerequisites | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableDeploymentPrerequisitesForSelect | |
{ | |
get => GetBool("enableDeploymentPrerequisitesForSelect", false); | |
init => SetProperty("enableDeploymentPrerequisitesForSelect", value); | |
} | |
/// <summary> | |
/// Resource Group | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputVariable | |
{ | |
get => GetString("outputVariable"); | |
init => SetProperty("outputVariable", value); | |
} | |
} | |
/// <summary> | |
/// <c>InvokeRESTAPI@0</c>: | |
/// Invoke REST API | |
/// Invoke REST API as a part of your process. | |
/// </summary> | |
public record InvokeRESTAPI_V0 : AzureDevOpsTask | |
{ | |
public InvokeRESTAPI_V0(string? serviceconnection) : base("InvokeRESTAPI@0") | |
{ | |
ServiceConnection = serviceconnection; | |
} | |
/// <summary> | |
/// Generic endpoint | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceConnection | |
{ | |
get => GetString("serviceConnection"); | |
init => SetProperty("serviceConnection", value); | |
} | |
/// <summary> | |
/// Method | |
/// </summary> | |
[YamlIgnore] | |
public string? Method | |
{ | |
get => GetString("method"); | |
init => SetProperty("method", value); | |
} | |
/// <summary> | |
/// Headers | |
/// </summary> | |
[YamlIgnore] | |
public string? Headers | |
{ | |
get => GetString("headers"); | |
init => SetProperty("headers", value); | |
} | |
/// <summary> | |
/// Body | |
/// </summary> | |
[YamlIgnore] | |
public string? Body | |
{ | |
get => GetString("body"); | |
init => SetProperty("body", value); | |
} | |
/// <summary> | |
/// Url suffix string | |
/// </summary> | |
[YamlIgnore] | |
public string? UrlSuffix | |
{ | |
get => GetString("urlSuffix"); | |
init => SetProperty("urlSuffix", value); | |
} | |
/// <summary> | |
/// Complete based on | |
/// </summary> | |
[YamlIgnore] | |
public string? WaitForCompletion | |
{ | |
get => GetString("waitForCompletion"); | |
init => SetProperty("waitForCompletion", value); | |
} | |
/// <summary> | |
/// Success criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? SuccessCriteria | |
{ | |
get => GetString("successCriteria"); | |
init => SetProperty("successCriteria", value); | |
} | |
} | |
/// <summary> | |
/// <c>InvokeRESTAPI@1</c>: | |
/// Invoke REST API | |
/// Invoke a REST API as a part of your pipeline. | |
/// </summary> | |
public record InvokeRESTAPI_V1 : AzureDevOpsTask | |
{ | |
public InvokeRESTAPI_V1() : base("InvokeRESTAPI@1") | |
{ | |
} | |
/// <summary> | |
/// Connection type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionType | |
{ | |
get => GetString("connectionType"); | |
init => SetProperty("connectionType", value); | |
} | |
/// <summary> | |
/// Generic service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceConnection | |
{ | |
get => GetString("serviceConnection"); | |
init => SetProperty("serviceConnection", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureServiceConnection | |
{ | |
get => GetString("azureServiceConnection"); | |
init => SetProperty("azureServiceConnection", value); | |
} | |
/// <summary> | |
/// Method | |
/// </summary> | |
[YamlIgnore] | |
public string? Method | |
{ | |
get => GetString("method"); | |
init => SetProperty("method", value); | |
} | |
/// <summary> | |
/// Headers | |
/// </summary> | |
[YamlIgnore] | |
public string? Headers | |
{ | |
get => GetString("headers"); | |
init => SetProperty("headers", value); | |
} | |
/// <summary> | |
/// Body | |
/// </summary> | |
[YamlIgnore] | |
public string? Body | |
{ | |
get => GetString("body"); | |
init => SetProperty("body", value); | |
} | |
/// <summary> | |
/// URL suffix and parameters | |
/// </summary> | |
[YamlIgnore] | |
public string? UrlSuffix | |
{ | |
get => GetString("urlSuffix"); | |
init => SetProperty("urlSuffix", value); | |
} | |
/// <summary> | |
/// Completion event | |
/// </summary> | |
[YamlIgnore] | |
public string? WaitForCompletion | |
{ | |
get => GetString("waitForCompletion"); | |
init => SetProperty("waitForCompletion", value); | |
} | |
/// <summary> | |
/// Success criteria | |
/// </summary> | |
[YamlIgnore] | |
public string? SuccessCriteria | |
{ | |
get => GetString("successCriteria"); | |
init => SetProperty("successCriteria", value); | |
} | |
} | |
/// <summary> | |
/// <c>ArchiveFiles@2</c>: | |
/// Archive files | |
/// Compress files into .7z, .tar.gz, or .zip | |
/// </summary> | |
public record ArchiveFiles_V2 : AzureDevOpsTask | |
{ | |
public ArchiveFiles_V2() : base("ArchiveFiles@2") | |
{ | |
} | |
/// <summary> | |
/// Root folder or file to archive | |
/// </summary> | |
[YamlIgnore] | |
public string? RootFolderOrFile | |
{ | |
get => GetString("rootFolderOrFile"); | |
init => SetProperty("rootFolderOrFile", value); | |
} | |
/// <summary> | |
/// Prepend root folder name to archive paths | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeRootFolder | |
{ | |
get => GetBool("includeRootFolder", false); | |
init => SetProperty("includeRootFolder", value); | |
} | |
/// <summary> | |
/// Archive type | |
/// </summary> | |
[YamlIgnore] | |
public string? ArchiveType | |
{ | |
get => GetString("archiveType"); | |
init => SetProperty("archiveType", value); | |
} | |
/// <summary> | |
/// 7z compression | |
/// </summary> | |
[YamlIgnore] | |
public string? SevenZipCompression | |
{ | |
get => GetString("sevenZipCompression"); | |
init => SetProperty("sevenZipCompression", value); | |
} | |
/// <summary> | |
/// Tar compression | |
/// </summary> | |
[YamlIgnore] | |
public string? TarCompression | |
{ | |
get => GetString("tarCompression"); | |
init => SetProperty("tarCompression", value); | |
} | |
/// <summary> | |
/// Archive file to create | |
/// </summary> | |
[YamlIgnore] | |
public string? ArchiveFile | |
{ | |
get => GetString("archiveFile"); | |
init => SetProperty("archiveFile", value); | |
} | |
/// <summary> | |
/// Replace existing archive | |
/// </summary> | |
[YamlIgnore] | |
public bool ReplaceExistingArchive | |
{ | |
get => GetBool("replaceExistingArchive", false); | |
init => SetProperty("replaceExistingArchive", value); | |
} | |
/// <summary> | |
/// Force verbose output | |
/// </summary> | |
[YamlIgnore] | |
public bool Verbose | |
{ | |
get => GetBool("verbose", false); | |
init => SetProperty("verbose", value); | |
} | |
/// <summary> | |
/// Force quiet output | |
/// </summary> | |
[YamlIgnore] | |
public bool Quiet | |
{ | |
get => GetBool("quiet", false); | |
init => SetProperty("quiet", value); | |
} | |
} | |
/// <summary> | |
/// <c>ArchiveFiles@1</c>: | |
/// Archive Files | |
/// Archive files using compression formats such as .7z, .rar, .tar.gz, and .zip. | |
/// </summary> | |
public record ArchiveFiles_V1 : AzureDevOpsTask | |
{ | |
public ArchiveFiles_V1() : base("ArchiveFiles@1") | |
{ | |
} | |
/// <summary> | |
/// Root folder (or file) to archive | |
/// </summary> | |
[YamlIgnore] | |
public string? RootFolder | |
{ | |
get => GetString("rootFolder"); | |
init => SetProperty("rootFolder", value); | |
} | |
/// <summary> | |
/// Prefix root folder name to archive paths | |
/// </summary> | |
[YamlIgnore] | |
public bool IncludeRootFolder | |
{ | |
get => GetBool("includeRootFolder", false); | |
init => SetProperty("includeRootFolder", value); | |
} | |
/// <summary> | |
/// Archive type | |
/// </summary> | |
[YamlIgnore] | |
public string? ArchiveType | |
{ | |
get => GetString("archiveType"); | |
init => SetProperty("archiveType", value); | |
} | |
/// <summary> | |
/// Tar compression | |
/// </summary> | |
[YamlIgnore] | |
public string? TarCompression | |
{ | |
get => GetString("tarCompression"); | |
init => SetProperty("tarCompression", value); | |
} | |
/// <summary> | |
/// Archive file to create | |
/// </summary> | |
[YamlIgnore] | |
public string? ArchiveFile | |
{ | |
get => GetString("archiveFile"); | |
init => SetProperty("archiveFile", value); | |
} | |
/// <summary> | |
/// Replace existing archive | |
/// </summary> | |
[YamlIgnore] | |
public bool ReplaceExistingArchive | |
{ | |
get => GetBool("replaceExistingArchive", false); | |
init => SetProperty("replaceExistingArchive", value); | |
} | |
} | |
/// <summary> | |
/// <c>GitHubComment@0</c>: | |
/// GitHub Comment | |
/// Write a comment to your Github entity i.e. issue or a Pull Request (PR) | |
/// </summary> | |
public record GitHubComment_V0 : AzureDevOpsTask | |
{ | |
public GitHubComment_V0(string? githubconnection) : base("GitHubComment@0") | |
{ | |
GitHubConnection = githubconnection; | |
} | |
/// <summary> | |
/// GitHub connection (OAuth or PAT) | |
/// </summary> | |
[YamlIgnore] | |
public string? GitHubConnection | |
{ | |
get => GetString("gitHubConnection"); | |
init => SetProperty("gitHubConnection", value); | |
} | |
/// <summary> | |
/// Repository | |
/// </summary> | |
[YamlIgnore] | |
public string? RepositoryName | |
{ | |
get => GetString("repositoryName"); | |
init => SetProperty("repositoryName", value); | |
} | |
/// <summary> | |
/// ID of the github pr/issue | |
/// </summary> | |
[YamlIgnore] | |
public string? Id | |
{ | |
get => GetString("id"); | |
init => SetProperty("id", value); | |
} | |
/// <summary> | |
/// Comment | |
/// </summary> | |
[YamlIgnore] | |
public string? Comment | |
{ | |
get => GetString("comment"); | |
init => SetProperty("comment", value); | |
} | |
} | |
/// <summary> | |
/// <c>CopyFiles@2</c>: | |
/// Copy files | |
/// Copy files from a source folder to a target folder using patterns matching file paths (not folder paths) | |
/// </summary> | |
public record CopyFiles_V2 : AzureDevOpsTask | |
{ | |
public CopyFiles_V2(string? targetfolder) : base("CopyFiles@2") | |
{ | |
TargetFolder = targetfolder; | |
} | |
/// <summary> | |
/// Source Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? SourceFolder | |
{ | |
get => GetString("SourceFolder"); | |
init => SetProperty("SourceFolder", value); | |
} | |
/// <summary> | |
/// Contents | |
/// </summary> | |
[YamlIgnore] | |
public string? Contents | |
{ | |
get => GetString("Contents"); | |
init => SetProperty("Contents", value); | |
} | |
/// <summary> | |
/// Target Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetFolder | |
{ | |
get => GetString("TargetFolder"); | |
init => SetProperty("TargetFolder", value); | |
} | |
/// <summary> | |
/// Clean Target Folder | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetFolder | |
{ | |
get => GetBool("CleanTargetFolder", false); | |
init => SetProperty("CleanTargetFolder", value); | |
} | |
/// <summary> | |
/// Overwrite | |
/// </summary> | |
[YamlIgnore] | |
public bool OverWrite | |
{ | |
get => GetBool("OverWrite", false); | |
init => SetProperty("OverWrite", value); | |
} | |
/// <summary> | |
/// Flatten Folders | |
/// </summary> | |
[YamlIgnore] | |
public bool FlattenFolders | |
{ | |
get => GetBool("flattenFolders", false); | |
init => SetProperty("flattenFolders", value); | |
} | |
/// <summary> | |
/// Preserve Target Timestamp | |
/// </summary> | |
[YamlIgnore] | |
public bool PreserveTimestamp | |
{ | |
get => GetBool("preserveTimestamp", false); | |
init => SetProperty("preserveTimestamp", value); | |
} | |
/// <summary> | |
/// Retry count to copy the file | |
/// </summary> | |
[YamlIgnore] | |
public string? RetryCount | |
{ | |
get => GetString("retryCount"); | |
init => SetProperty("retryCount", value); | |
} | |
/// <summary> | |
/// Delay between two retries. | |
/// </summary> | |
[YamlIgnore] | |
public string? DelayBetweenRetries | |
{ | |
get => GetString("delayBetweenRetries"); | |
init => SetProperty("delayBetweenRetries", value); | |
} | |
/// <summary> | |
/// Ignore errors during creation of target folder. | |
/// </summary> | |
[YamlIgnore] | |
public bool IgnoreMakeDirErrors | |
{ | |
get => GetBool("ignoreMakeDirErrors", false); | |
init => SetProperty("ignoreMakeDirErrors", value); | |
} | |
} | |
/// <summary> | |
/// <c>CopyFiles@1</c>: | |
/// Copy Files | |
/// Copy files from source folder to target folder using minimatch patterns (The minimatch patterns will only match file paths, not folder paths) | |
/// </summary> | |
public record CopyFiles_V1 : AzureDevOpsTask | |
{ | |
public CopyFiles_V1(string? targetfolder) : base("CopyFiles@1") | |
{ | |
TargetFolder = targetfolder; | |
} | |
/// <summary> | |
/// Source Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? SourceFolder | |
{ | |
get => GetString("SourceFolder"); | |
init => SetProperty("SourceFolder", value); | |
} | |
/// <summary> | |
/// Contents | |
/// </summary> | |
[YamlIgnore] | |
public string? Contents | |
{ | |
get => GetString("Contents"); | |
init => SetProperty("Contents", value); | |
} | |
/// <summary> | |
/// Target Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetFolder | |
{ | |
get => GetString("TargetFolder"); | |
init => SetProperty("TargetFolder", value); | |
} | |
/// <summary> | |
/// Clean Target Folder | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanTargetFolder | |
{ | |
get => GetBool("CleanTargetFolder", false); | |
init => SetProperty("CleanTargetFolder", value); | |
} | |
/// <summary> | |
/// Overwrite | |
/// </summary> | |
[YamlIgnore] | |
public bool OverWrite | |
{ | |
get => GetBool("OverWrite", false); | |
init => SetProperty("OverWrite", value); | |
} | |
/// <summary> | |
/// Flatten Folders | |
/// </summary> | |
[YamlIgnore] | |
public bool FlattenFolders | |
{ | |
get => GetBool("flattenFolders", false); | |
init => SetProperty("flattenFolders", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureMysqlDeployment@1</c>: | |
/// Azure Database for MySQL deployment | |
/// Run your scripts and make changes to your Azure Database for MySQL | |
/// </summary> | |
public record AzureMysqlDeployment_V1 : AzureDevOpsTask | |
{ | |
public AzureMysqlDeployment_V1(string? azuresubscription, string? servername, string? sqlusername, string? sqlpassword) : base("AzureMysqlDeployment@1") | |
{ | |
AzureSubscription = azuresubscription; | |
ServerName = servername; | |
SqlUsername = sqlusername; | |
SqlPassword = sqlpassword; | |
} | |
/// <summary> | |
/// Azure Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Host Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerName | |
{ | |
get => GetString("ServerName"); | |
init => SetProperty("ServerName", value); | |
} | |
/// <summary> | |
/// Database Name | |
/// </summary> | |
[YamlIgnore] | |
public string? DatabaseName | |
{ | |
get => GetString("DatabaseName"); | |
init => SetProperty("DatabaseName", value); | |
} | |
/// <summary> | |
/// Server Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlUsername | |
{ | |
get => GetString("SqlUsername"); | |
init => SetProperty("SqlUsername", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlPassword | |
{ | |
get => GetString("SqlPassword"); | |
init => SetProperty("SqlPassword", value); | |
} | |
/// <summary> | |
/// Type | |
/// </summary> | |
[YamlIgnore] | |
public string? TaskNameSelector | |
{ | |
get => GetString("TaskNameSelector"); | |
init => SetProperty("TaskNameSelector", value); | |
} | |
/// <summary> | |
/// MySQL Script | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlFile | |
{ | |
get => GetString("SqlFile"); | |
init => SetProperty("SqlFile", value); | |
} | |
/// <summary> | |
/// Inline MySQL Script | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlInline | |
{ | |
get => GetString("SqlInline"); | |
init => SetProperty("SqlInline", value); | |
} | |
/// <summary> | |
/// Additional MySQL Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlAdditionalArguments | |
{ | |
get => GetString("SqlAdditionalArguments"); | |
init => SetProperty("SqlAdditionalArguments", value); | |
} | |
/// <summary> | |
/// Specify Firewall Rules Using | |
/// </summary> | |
[YamlIgnore] | |
public string? IpDetectionMethod | |
{ | |
get => GetString("IpDetectionMethod"); | |
init => SetProperty("IpDetectionMethod", value); | |
} | |
/// <summary> | |
/// Start IP Address | |
/// </summary> | |
[YamlIgnore] | |
public string? StartIpAddress | |
{ | |
get => GetString("StartIpAddress"); | |
init => SetProperty("StartIpAddress", value); | |
} | |
/// <summary> | |
/// End IP Address | |
/// </summary> | |
[YamlIgnore] | |
public string? EndIpAddress | |
{ | |
get => GetString("EndIpAddress"); | |
init => SetProperty("EndIpAddress", value); | |
} | |
/// <summary> | |
/// Delete Rule After Task Ends | |
/// </summary> | |
[YamlIgnore] | |
public bool DeleteFirewallRule | |
{ | |
get => GetBool("DeleteFirewallRule", false); | |
init => SetProperty("DeleteFirewallRule", value); | |
} | |
} | |
/// <summary> | |
/// <c>Npm@0</c>: | |
/// npm | |
/// Run an npm command. Use NpmAuthenticate@0 task for latest capabilities. | |
/// </summary> | |
public record Npm_V0 : AzureDevOpsTask | |
{ | |
public Npm_V0() : base("Npm@0") | |
{ | |
} | |
/// <summary> | |
/// working folder | |
/// </summary> | |
[YamlIgnore] | |
public string? Cwd | |
{ | |
get => GetString("cwd"); | |
init => SetProperty("cwd", value); | |
} | |
/// <summary> | |
/// npm command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>Npm@1</c>: | |
/// npm | |
/// Install and publish npm packages, or run an npm command. Supports npmjs.com and authenticated registries like Azure Artifacts. | |
/// </summary> | |
public record Npm_V1 : AzureDevOpsTask | |
{ | |
public Npm_V1() : base("Npm@1") | |
{ | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Working folder that contains package.json | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDir | |
{ | |
get => GetString("workingDir"); | |
init => SetProperty("workingDir", value); | |
} | |
/// <summary> | |
/// Verbose logging | |
/// </summary> | |
[YamlIgnore] | |
public bool Verbose | |
{ | |
get => GetBool("verbose", false); | |
init => SetProperty("verbose", value); | |
} | |
/// <summary> | |
/// Command and arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomCommand | |
{ | |
get => GetString("customCommand"); | |
init => SetProperty("customCommand", value); | |
} | |
/// <summary> | |
/// Registries to use | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomRegistry | |
{ | |
get => GetString("customRegistry"); | |
init => SetProperty("customRegistry", value); | |
} | |
/// <summary> | |
/// Use packages from this Azure Artifacts/TFS registry | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomFeed | |
{ | |
get => GetString("customFeed"); | |
init => SetProperty("customFeed", value); | |
} | |
/// <summary> | |
/// Credentials for registries outside this organization/collection | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomEndpoint | |
{ | |
get => GetString("customEndpoint"); | |
init => SetProperty("customEndpoint", value); | |
} | |
/// <summary> | |
/// Registry location | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishRegistry | |
{ | |
get => GetString("publishRegistry"); | |
init => SetProperty("publishRegistry", value); | |
} | |
/// <summary> | |
/// Target registry | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishFeed | |
{ | |
get => GetString("publishFeed"); | |
init => SetProperty("publishFeed", value); | |
} | |
/// <summary> | |
/// Publish pipeline metadata | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishPackageMetadata | |
{ | |
get => GetBool("publishPackageMetadata", false); | |
init => SetProperty("publishPackageMetadata", value); | |
} | |
/// <summary> | |
/// External Registry | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishEndpoint | |
{ | |
get => GetString("publishEndpoint"); | |
init => SetProperty("publishEndpoint", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureStaticWebApp@0</c>: | |
/// Deploy Azure Static Web App | |
/// [PREVIEW] Build and deploy an Azure Static Web App | |
/// </summary> | |
public record AzureStaticWebApp_V0 : AzureDevOpsTask | |
{ | |
public AzureStaticWebApp_V0() : base("AzureStaticWebApp@0") | |
{ | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// App location | |
/// </summary> | |
[YamlIgnore] | |
public string? AppLocation | |
{ | |
get => GetString("app_location"); | |
init => SetProperty("app_location", value); | |
} | |
/// <summary> | |
/// App build command | |
/// </summary> | |
[YamlIgnore] | |
public string? AppBuildCommand | |
{ | |
get => GetString("app_build_command"); | |
init => SetProperty("app_build_command", value); | |
} | |
/// <summary> | |
/// Output location | |
/// </summary> | |
[YamlIgnore] | |
public string? OutputLocation | |
{ | |
get => GetString("output_location"); | |
init => SetProperty("output_location", value); | |
} | |
/// <summary> | |
/// Api location | |
/// </summary> | |
[YamlIgnore] | |
public string? ApiLocation | |
{ | |
get => GetString("api_location"); | |
init => SetProperty("api_location", value); | |
} | |
/// <summary> | |
/// Api build command | |
/// </summary> | |
[YamlIgnore] | |
public string? ApiBuildCommand | |
{ | |
get => GetString("api_build_command"); | |
init => SetProperty("api_build_command", value); | |
} | |
/// <summary> | |
/// Routes location | |
/// </summary> | |
[YamlIgnore] | |
public string? RoutesLocation | |
{ | |
get => GetString("routes_location"); | |
init => SetProperty("routes_location", value); | |
} | |
/// <summary> | |
/// Config file location | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigFileLocation | |
{ | |
get => GetString("config_file_location"); | |
init => SetProperty("config_file_location", value); | |
} | |
/// <summary> | |
/// Skip app build | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipAppBuild | |
{ | |
get => GetBool("skip_app_build", false); | |
init => SetProperty("skip_app_build", value); | |
} | |
/// <summary> | |
/// Skip api build | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipApiBuild | |
{ | |
get => GetBool("skip_api_build", false); | |
init => SetProperty("skip_api_build", value); | |
} | |
/// <summary> | |
/// Set static export | |
/// </summary> | |
[YamlIgnore] | |
public bool IsStaticExport | |
{ | |
get => GetBool("is_static_export", false); | |
init => SetProperty("is_static_export", value); | |
} | |
/// <summary> | |
/// Verbose | |
/// </summary> | |
[YamlIgnore] | |
public bool Verbose | |
{ | |
get => GetBool("verbose", false); | |
init => SetProperty("verbose", value); | |
} | |
/// <summary> | |
/// Build timeout in minutes | |
/// </summary> | |
[YamlIgnore] | |
public int? BuildTimeoutInMinutes | |
{ | |
get => GetInt("build_timeout_in_minutes"); | |
init => SetProperty("build_timeout_in_minutes", value); | |
} | |
/// <summary> | |
/// Azure Static Web Apps api token | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureStaticWebAppsApiToken | |
{ | |
get => GetString("azure_static_web_apps_api_token"); | |
init => SetProperty("azure_static_web_apps_api_token", value); | |
} | |
/// <summary> | |
/// Deployment Environment | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentEnvironment | |
{ | |
get => GetString("deployment_environment"); | |
init => SetProperty("deployment_environment", value); | |
} | |
/// <summary> | |
/// Production Branch | |
/// </summary> | |
[YamlIgnore] | |
public string? ProductionBranch | |
{ | |
get => GetString("production_branch"); | |
init => SetProperty("production_branch", value); | |
} | |
/// <summary> | |
/// Data api location | |
/// </summary> | |
[YamlIgnore] | |
public string? DataApiLocation | |
{ | |
get => GetString("data_api_location"); | |
init => SetProperty("data_api_location", value); | |
} | |
} | |
/// <summary> | |
/// <c>NodeTool@0</c>: | |
/// Node.js tool installer | |
/// Finds or downloads and caches the specified version spec of Node.js and adds it to the PATH | |
/// </summary> | |
public record NodeTool_V0 : AzureDevOpsTask | |
{ | |
public NodeTool_V0() : base("NodeTool@0") | |
{ | |
} | |
/// <summary> | |
/// Source of version | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSource | |
{ | |
get => GetString("versionSource"); | |
init => SetProperty("versionSource", value); | |
} | |
/// <summary> | |
/// Version Spec | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSpec | |
{ | |
get => GetString("versionSpec"); | |
init => SetProperty("versionSpec", value); | |
} | |
/// <summary> | |
/// Path to the .nvmrc file | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionFilePath | |
{ | |
get => GetString("versionFilePath"); | |
init => SetProperty("versionFilePath", value); | |
} | |
/// <summary> | |
/// Check for Latest Version | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckLatest | |
{ | |
get => GetBool("checkLatest", false); | |
init => SetProperty("checkLatest", value); | |
} | |
/// <summary> | |
/// Use 32 bit version on x64 agents | |
/// </summary> | |
[YamlIgnore] | |
public bool Force32bit | |
{ | |
get => GetBool("force32bit", false); | |
init => SetProperty("force32bit", value); | |
} | |
/// <summary> | |
/// Set source for Node.js binaries | |
/// </summary> | |
[YamlIgnore] | |
public string? NodejsMirror | |
{ | |
get => GetString("nodejsMirror"); | |
init => SetProperty("nodejsMirror", value); | |
} | |
/// <summary> | |
/// Set retry count when nodes downloads failed | |
/// </summary> | |
[YamlIgnore] | |
public string? RetryCountOnDownloadFails | |
{ | |
get => GetString("retryCountOnDownloadFails"); | |
init => SetProperty("retryCountOnDownloadFails", value); | |
} | |
/// <summary> | |
/// Set delay between retries | |
/// </summary> | |
[YamlIgnore] | |
public string? DelayBetweenRetries | |
{ | |
get => GetString("delayBetweenRetries"); | |
init => SetProperty("delayBetweenRetries", value); | |
} | |
} | |
/// <summary> | |
/// <c>UseNode@1</c>: | |
/// Use Node.js ecosystem | |
/// Set up a Node.js environment and add it to the PATH, additionally providing proxy support | |
/// </summary> | |
public record UseNode_V1 : AzureDevOpsTask | |
{ | |
public UseNode_V1() : base("UseNode@1") | |
{ | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("version"); | |
init => SetProperty("version", value); | |
} | |
/// <summary> | |
/// Check for Latest Version | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckLatest | |
{ | |
get => GetBool("checkLatest", false); | |
init => SetProperty("checkLatest", value); | |
} | |
/// <summary> | |
/// Use 32 bit version on x64 agents | |
/// </summary> | |
[YamlIgnore] | |
public bool Force32bit | |
{ | |
get => GetBool("force32bit", false); | |
init => SetProperty("force32bit", value); | |
} | |
/// <summary> | |
/// Set retry count when nodes downloads failed | |
/// </summary> | |
[YamlIgnore] | |
public string? RetryCountOnDownloadFails | |
{ | |
get => GetString("retryCountOnDownloadFails"); | |
init => SetProperty("retryCountOnDownloadFails", value); | |
} | |
/// <summary> | |
/// Set delay between retries | |
/// </summary> | |
[YamlIgnore] | |
public string? DelayBetweenRetries | |
{ | |
get => GetString("delayBetweenRetries"); | |
init => SetProperty("delayBetweenRetries", value); | |
} | |
} | |
/// <summary> | |
/// <c>SqlServerDacpacDeployment@1</c>: | |
/// [Deprecated] SQL Server database deploy | |
/// Deploy a SQL Server database using DACPAC | |
/// </summary> | |
public record SqlServerDacpacDeployment_V1 : AzureDevOpsTask | |
{ | |
public SqlServerDacpacDeployment_V1(string? environmentname, string? dacpacfile) : base("SqlServerDacpacDeployment@1") | |
{ | |
EnvironmentName = environmentname; | |
DacpacFile = dacpacfile; | |
} | |
/// <summary> | |
/// Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentName | |
{ | |
get => GetString("EnvironmentName"); | |
init => SetProperty("EnvironmentName", value); | |
} | |
/// <summary> | |
/// Admin Login | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminUserName | |
{ | |
get => GetString("AdminUserName"); | |
init => SetProperty("AdminUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AdminPassword | |
{ | |
get => GetString("AdminPassword"); | |
init => SetProperty("AdminPassword", value); | |
} | |
/// <summary> | |
/// Protocol | |
/// </summary> | |
[YamlIgnore] | |
public string? Protocol | |
{ | |
get => GetString("Protocol"); | |
init => SetProperty("Protocol", value); | |
} | |
/// <summary> | |
/// Test Certificate | |
/// </summary> | |
[YamlIgnore] | |
public bool TestCertificate | |
{ | |
get => GetBool("TestCertificate", false); | |
init => SetProperty("TestCertificate", value); | |
} | |
/// <summary> | |
/// DACPAC File | |
/// </summary> | |
[YamlIgnore] | |
public string? DacpacFile | |
{ | |
get => GetString("DacpacFile"); | |
init => SetProperty("DacpacFile", value); | |
} | |
/// <summary> | |
/// Specify SQL Using | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetMethod | |
{ | |
get => GetString("TargetMethod"); | |
init => SetProperty("TargetMethod", value); | |
} | |
/// <summary> | |
/// Server Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ServerName | |
{ | |
get => GetString("ServerName"); | |
init => SetProperty("ServerName", value); | |
} | |
/// <summary> | |
/// Database Name | |
/// </summary> | |
[YamlIgnore] | |
public string? DatabaseName | |
{ | |
get => GetString("DatabaseName"); | |
init => SetProperty("DatabaseName", value); | |
} | |
/// <summary> | |
/// SQL Username | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlUsername | |
{ | |
get => GetString("SqlUsername"); | |
init => SetProperty("SqlUsername", value); | |
} | |
/// <summary> | |
/// SQL Password | |
/// </summary> | |
[YamlIgnore] | |
public string? SqlPassword | |
{ | |
get => GetString("SqlPassword"); | |
init => SetProperty("SqlPassword", value); | |
} | |
/// <summary> | |
/// Connection String | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionString | |
{ | |
get => GetString("ConnectionString"); | |
init => SetProperty("ConnectionString", value); | |
} | |
/// <summary> | |
/// Publish Profile | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishProfile | |
{ | |
get => GetString("PublishProfile"); | |
init => SetProperty("PublishProfile", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
/// <summary> | |
/// Deploy in Parallel | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployInParallel | |
{ | |
get => GetBool("DeployInParallel", false); | |
init => SetProperty("DeployInParallel", value); | |
} | |
/// <summary> | |
/// Select Machines By | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFilteringMethod | |
{ | |
get => GetString("ResourceFilteringMethod"); | |
init => SetProperty("ResourceFilteringMethod", value); | |
} | |
/// <summary> | |
/// Deploy to Machines | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineFilter | |
{ | |
get => GetString("MachineFilter"); | |
init => SetProperty("MachineFilter", value); | |
} | |
} | |
/// <summary> | |
/// <c>VisualStudioTestPlatformInstaller@1</c>: | |
/// Visual Studio test platform installer | |
/// Acquire the test platform from nuget.org or the tool cache. Satisfies the ‘vstest’ demand and can be used for running tests and collecting diagnostic data using the Visual Studio Test task. | |
/// </summary> | |
public record VisualStudioTestPlatformInstaller_V1 : AzureDevOpsTask | |
{ | |
public VisualStudioTestPlatformInstaller_V1() : base("VisualStudioTestPlatformInstaller@1") | |
{ | |
} | |
/// <summary> | |
/// Package Feed | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageFeedSelector | |
{ | |
get => GetString("packageFeedSelector"); | |
init => SetProperty("packageFeedSelector", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionSelector | |
{ | |
get => GetString("versionSelector"); | |
init => SetProperty("versionSelector", value); | |
} | |
/// <summary> | |
/// Test Platform Version | |
/// </summary> | |
[YamlIgnore] | |
public string? TestPlatformVersion | |
{ | |
get => GetString("testPlatformVersion"); | |
init => SetProperty("testPlatformVersion", value); | |
} | |
/// <summary> | |
/// Package Source | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomFeed | |
{ | |
get => GetString("customFeed"); | |
init => SetProperty("customFeed", value); | |
} | |
/// <summary> | |
/// User Name | |
/// </summary> | |
[YamlIgnore] | |
public string? Username | |
{ | |
get => GetString("username"); | |
init => SetProperty("username", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
/// <summary> | |
/// UNC Path | |
/// </summary> | |
[YamlIgnore] | |
public string? NetShare | |
{ | |
get => GetString("netShare"); | |
init => SetProperty("netShare", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishToAzureServiceBus@1</c>: | |
/// Publish To Azure Service Bus | |
/// Sends a message to Azure Service Bus using a service connection (no agent is required) | |
/// </summary> | |
public record PublishToAzureServiceBus_V1 : AzureDevOpsTask | |
{ | |
public PublishToAzureServiceBus_V1(string? azuresubscription) : base("PublishToAzureServiceBus@1") | |
{ | |
AzureSubscription = azuresubscription; | |
} | |
/// <summary> | |
/// Azure Service Bus service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Message body | |
/// </summary> | |
[YamlIgnore] | |
public string? MessageBody | |
{ | |
get => GetString("messageBody"); | |
init => SetProperty("messageBody", value); | |
} | |
/// <summary> | |
/// Session Id | |
/// </summary> | |
[YamlIgnore] | |
public string? SessionId | |
{ | |
get => GetString("sessionId"); | |
init => SetProperty("sessionId", value); | |
} | |
/// <summary> | |
/// Sign the Message | |
/// </summary> | |
[YamlIgnore] | |
public bool SignPayload | |
{ | |
get => GetBool("signPayload", false); | |
init => SetProperty("signPayload", value); | |
} | |
/// <summary> | |
/// Certificate Variable | |
/// </summary> | |
[YamlIgnore] | |
public string? CertificateString | |
{ | |
get => GetString("certificateString"); | |
init => SetProperty("certificateString", value); | |
} | |
/// <summary> | |
/// Signature Property Key | |
/// </summary> | |
[YamlIgnore] | |
public string? SignatureKey | |
{ | |
get => GetString("signatureKey"); | |
init => SetProperty("signatureKey", value); | |
} | |
/// <summary> | |
/// Wait for task completion | |
/// </summary> | |
[YamlIgnore] | |
public bool WaitForCompletion | |
{ | |
get => GetBool("waitForCompletion", false); | |
init => SetProperty("waitForCompletion", value); | |
} | |
/// <summary> | |
/// Use .NET data contract serializer | |
/// </summary> | |
[YamlIgnore] | |
public bool UseDataContractSerializer | |
{ | |
get => GetBool("useDataContractSerializer", false); | |
init => SetProperty("useDataContractSerializer", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishToAzureServiceBus@2</c>: | |
/// Publish To Azure Service Bus | |
/// Sends a message to Azure Service Bus using an Azure Resource Manager service connection (no agent is required) | |
/// </summary> | |
public record PublishToAzureServiceBus_V2 : AzureDevOpsTask | |
{ | |
public PublishToAzureServiceBus_V2(string? azuresubscription, string? servicebusqueuename, string? servicebusnamespace) : base("PublishToAzureServiceBus@2") | |
{ | |
AzureSubscription = azuresubscription; | |
ServiceBusQueueName = servicebusqueuename; | |
ServiceBusNamespace = servicebusnamespace; | |
} | |
/// <summary> | |
/// Azure Resource Manager service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Azure Service Bus Queue name | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceBusQueueName | |
{ | |
get => GetString("serviceBusQueueName"); | |
init => SetProperty("serviceBusQueueName", value); | |
} | |
/// <summary> | |
/// Azure Service Bus Namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceBusNamespace | |
{ | |
get => GetString("serviceBusNamespace"); | |
init => SetProperty("serviceBusNamespace", value); | |
} | |
/// <summary> | |
/// Message body | |
/// </summary> | |
[YamlIgnore] | |
public string? MessageBody | |
{ | |
get => GetString("messageBody"); | |
init => SetProperty("messageBody", value); | |
} | |
/// <summary> | |
/// Session Id | |
/// </summary> | |
[YamlIgnore] | |
public string? SessionId | |
{ | |
get => GetString("sessionId"); | |
init => SetProperty("sessionId", value); | |
} | |
/// <summary> | |
/// Sign the Message | |
/// </summary> | |
[YamlIgnore] | |
public bool SignPayload | |
{ | |
get => GetBool("signPayload", false); | |
init => SetProperty("signPayload", value); | |
} | |
/// <summary> | |
/// Certificate Variable | |
/// </summary> | |
[YamlIgnore] | |
public string? CertificateString | |
{ | |
get => GetString("certificateString"); | |
init => SetProperty("certificateString", value); | |
} | |
/// <summary> | |
/// Signature Property Key | |
/// </summary> | |
[YamlIgnore] | |
public string? SignatureKey | |
{ | |
get => GetString("signatureKey"); | |
init => SetProperty("signatureKey", value); | |
} | |
/// <summary> | |
/// Wait for task completion | |
/// </summary> | |
[YamlIgnore] | |
public bool WaitForCompletion | |
{ | |
get => GetBool("waitForCompletion", false); | |
init => SetProperty("waitForCompletion", value); | |
} | |
/// <summary> | |
/// Use .NET data contract serializer | |
/// </summary> | |
[YamlIgnore] | |
public bool UseDataContractSerializer | |
{ | |
get => GetBool("useDataContractSerializer", false); | |
init => SetProperty("useDataContractSerializer", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishToAzureServiceBus@0</c>: | |
/// Publish To Azure Service Bus | |
/// Sends a message to azure service bus using a service connection (no agent required). | |
/// </summary> | |
public record PublishToAzureServiceBus_V0 : AzureDevOpsTask | |
{ | |
public PublishToAzureServiceBus_V0(string? azuresubscription) : base("PublishToAzureServiceBus@0") | |
{ | |
AzureSubscription = azuresubscription; | |
} | |
/// <summary> | |
/// Azure service bus connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Message body | |
/// </summary> | |
[YamlIgnore] | |
public string? MessageBody | |
{ | |
get => GetString("messageBody"); | |
init => SetProperty("messageBody", value); | |
} | |
/// <summary> | |
/// Wait for task completion | |
/// </summary> | |
[YamlIgnore] | |
public bool WaitForCompletion | |
{ | |
get => GetBool("waitForCompletion", false); | |
init => SetProperty("waitForCompletion", value); | |
} | |
} | |
/// <summary> | |
/// <c>KubernetesManifest@0</c>: | |
/// Deploy to Kubernetes | |
/// Use Kubernetes manifest files to deploy to clusters or even bake the manifest files to be used for deployments using Helm charts | |
/// </summary> | |
public record KubernetesManifest_V0 : AzureDevOpsTask | |
{ | |
public KubernetesManifest_V0() : base("KubernetesManifest@0") | |
{ | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Kubernetes service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesServiceConnection | |
{ | |
get => GetString("kubernetesServiceConnection"); | |
init => SetProperty("kubernetesServiceConnection", value); | |
} | |
/// <summary> | |
/// Namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? Namespace | |
{ | |
get => GetString("namespace"); | |
init => SetProperty("namespace", value); | |
} | |
/// <summary> | |
/// Strategy | |
/// </summary> | |
[YamlIgnore] | |
public string? Strategy | |
{ | |
get => GetString("strategy"); | |
init => SetProperty("strategy", value); | |
} | |
/// <summary> | |
/// Traffic split method | |
/// </summary> | |
[YamlIgnore] | |
public string? TrafficSplitMethod | |
{ | |
get => GetString("trafficSplitMethod"); | |
init => SetProperty("trafficSplitMethod", value); | |
} | |
/// <summary> | |
/// Percentage | |
/// </summary> | |
[YamlIgnore] | |
public string? Percentage | |
{ | |
get => GetString("percentage"); | |
init => SetProperty("percentage", value); | |
} | |
/// <summary> | |
/// Baseline and canary replicas | |
/// </summary> | |
[YamlIgnore] | |
public string? BaselineAndCanaryReplicas | |
{ | |
get => GetString("baselineAndCanaryReplicas"); | |
init => SetProperty("baselineAndCanaryReplicas", value); | |
} | |
/// <summary> | |
/// Manifests | |
/// </summary> | |
[YamlIgnore] | |
public string? Manifests | |
{ | |
get => GetString("manifests"); | |
init => SetProperty("manifests", value); | |
} | |
/// <summary> | |
/// Containers | |
/// </summary> | |
[YamlIgnore] | |
public string? Containers | |
{ | |
get => GetString("containers"); | |
init => SetProperty("containers", value); | |
} | |
/// <summary> | |
/// ImagePullSecrets | |
/// </summary> | |
[YamlIgnore] | |
public string? ImagePullSecrets | |
{ | |
get => GetString("imagePullSecrets"); | |
init => SetProperty("imagePullSecrets", value); | |
} | |
/// <summary> | |
/// Render Engine | |
/// </summary> | |
[YamlIgnore] | |
public string? RenderType | |
{ | |
get => GetString("renderType"); | |
init => SetProperty("renderType", value); | |
} | |
/// <summary> | |
/// Path to docker compose file | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposeFile | |
{ | |
get => GetString("dockerComposeFile"); | |
init => SetProperty("dockerComposeFile", value); | |
} | |
/// <summary> | |
/// Helm Chart | |
/// </summary> | |
[YamlIgnore] | |
public string? HelmChart | |
{ | |
get => GetString("helmChart"); | |
init => SetProperty("helmChart", value); | |
} | |
/// <summary> | |
/// Helm Release Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseName | |
{ | |
get => GetString("releaseName"); | |
init => SetProperty("releaseName", value); | |
} | |
/// <summary> | |
/// Override Files | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideFiles | |
{ | |
get => GetString("overrideFiles"); | |
init => SetProperty("overrideFiles", value); | |
} | |
/// <summary> | |
/// Overrides | |
/// </summary> | |
[YamlIgnore] | |
public string? Overrides | |
{ | |
get => GetString("overrides"); | |
init => SetProperty("overrides", value); | |
} | |
/// <summary> | |
/// Kustomization Path | |
/// </summary> | |
[YamlIgnore] | |
public string? KustomizationPath | |
{ | |
get => GetString("kustomizationPath"); | |
init => SetProperty("kustomizationPath", value); | |
} | |
/// <summary> | |
/// Resource to patch | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceToPatch | |
{ | |
get => GetString("resourceToPatch"); | |
init => SetProperty("resourceToPatch", value); | |
} | |
/// <summary> | |
/// File path | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFileToPatch | |
{ | |
get => GetString("resourceFileToPatch"); | |
init => SetProperty("resourceFileToPatch", value); | |
} | |
/// <summary> | |
/// Kind | |
/// </summary> | |
[YamlIgnore] | |
public string? Kind | |
{ | |
get => GetString("kind"); | |
init => SetProperty("kind", value); | |
} | |
/// <summary> | |
/// Name | |
/// </summary> | |
[YamlIgnore] | |
public string? Name | |
{ | |
get => GetString("name"); | |
init => SetProperty("name", value); | |
} | |
/// <summary> | |
/// Replica count | |
/// </summary> | |
[YamlIgnore] | |
public string? Replicas | |
{ | |
get => GetString("replicas"); | |
init => SetProperty("replicas", value); | |
} | |
/// <summary> | |
/// Merge Strategy | |
/// </summary> | |
[YamlIgnore] | |
public string? MergeStrategy | |
{ | |
get => GetString("mergeStrategy"); | |
init => SetProperty("mergeStrategy", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Patch | |
/// </summary> | |
[YamlIgnore] | |
public string? Patch | |
{ | |
get => GetString("patch"); | |
init => SetProperty("patch", value); | |
} | |
/// <summary> | |
/// Type of secret | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretType | |
{ | |
get => GetString("secretType"); | |
init => SetProperty("secretType", value); | |
} | |
/// <summary> | |
/// Secret name | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretName | |
{ | |
get => GetString("secretName"); | |
init => SetProperty("secretName", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretArguments | |
{ | |
get => GetString("secretArguments"); | |
init => SetProperty("secretArguments", value); | |
} | |
/// <summary> | |
/// Docker registry service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryEndpoint | |
{ | |
get => GetString("dockerRegistryEndpoint"); | |
init => SetProperty("dockerRegistryEndpoint", value); | |
} | |
/// <summary> | |
/// Timeout for rollout status | |
/// </summary> | |
[YamlIgnore] | |
public string? RolloutStatusTimeout | |
{ | |
get => GetString("rolloutStatusTimeout"); | |
init => SetProperty("rolloutStatusTimeout", value); | |
} | |
} | |
/// <summary> | |
/// <c>KubernetesManifest@1</c>: | |
/// Deploy to Kubernetes | |
/// Use Kubernetes manifest files to deploy to clusters or even bake the manifest files to be used for deployments using Helm charts | |
/// </summary> | |
public record KubernetesManifest_V1 : AzureDevOpsTask | |
{ | |
public KubernetesManifest_V1() : base("KubernetesManifest@1") | |
{ | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Service connection type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionType | |
{ | |
get => GetString("connectionType"); | |
init => SetProperty("connectionType", value); | |
} | |
/// <summary> | |
/// Kubernetes service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesServiceConnection | |
{ | |
get => GetString("kubernetesServiceConnection"); | |
init => SetProperty("kubernetesServiceConnection", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscriptionConnection | |
{ | |
get => GetString("azureSubscriptionConnection"); | |
init => SetProperty("azureSubscriptionConnection", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroup | |
{ | |
get => GetString("azureResourceGroup"); | |
init => SetProperty("azureResourceGroup", value); | |
} | |
/// <summary> | |
/// Kubernetes cluster | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesCluster | |
{ | |
get => GetString("kubernetesCluster"); | |
init => SetProperty("kubernetesCluster", value); | |
} | |
/// <summary> | |
/// Use cluster admin credentials | |
/// </summary> | |
[YamlIgnore] | |
public bool UseClusterAdmin | |
{ | |
get => GetBool("useClusterAdmin", false); | |
init => SetProperty("useClusterAdmin", value); | |
} | |
/// <summary> | |
/// Namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? Namespace | |
{ | |
get => GetString("namespace"); | |
init => SetProperty("namespace", value); | |
} | |
/// <summary> | |
/// Strategy | |
/// </summary> | |
[YamlIgnore] | |
public string? Strategy | |
{ | |
get => GetString("strategy"); | |
init => SetProperty("strategy", value); | |
} | |
/// <summary> | |
/// Traffic split method | |
/// </summary> | |
[YamlIgnore] | |
public string? TrafficSplitMethod | |
{ | |
get => GetString("trafficSplitMethod"); | |
init => SetProperty("trafficSplitMethod", value); | |
} | |
/// <summary> | |
/// Percentage | |
/// </summary> | |
[YamlIgnore] | |
public string? Percentage | |
{ | |
get => GetString("percentage"); | |
init => SetProperty("percentage", value); | |
} | |
/// <summary> | |
/// Baseline and canary replicas | |
/// </summary> | |
[YamlIgnore] | |
public string? BaselineAndCanaryReplicas | |
{ | |
get => GetString("baselineAndCanaryReplicas"); | |
init => SetProperty("baselineAndCanaryReplicas", value); | |
} | |
/// <summary> | |
/// Manifests | |
/// </summary> | |
[YamlIgnore] | |
public string? Manifests | |
{ | |
get => GetString("manifests"); | |
init => SetProperty("manifests", value); | |
} | |
/// <summary> | |
/// Containers | |
/// </summary> | |
[YamlIgnore] | |
public string? Containers | |
{ | |
get => GetString("containers"); | |
init => SetProperty("containers", value); | |
} | |
/// <summary> | |
/// ImagePullSecrets | |
/// </summary> | |
[YamlIgnore] | |
public string? ImagePullSecrets | |
{ | |
get => GetString("imagePullSecrets"); | |
init => SetProperty("imagePullSecrets", value); | |
} | |
/// <summary> | |
/// Render Engine | |
/// </summary> | |
[YamlIgnore] | |
public string? RenderType | |
{ | |
get => GetString("renderType"); | |
init => SetProperty("renderType", value); | |
} | |
/// <summary> | |
/// Path to docker compose file | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerComposeFile | |
{ | |
get => GetString("dockerComposeFile"); | |
init => SetProperty("dockerComposeFile", value); | |
} | |
/// <summary> | |
/// Helm Chart | |
/// </summary> | |
[YamlIgnore] | |
public string? HelmChart | |
{ | |
get => GetString("helmChart"); | |
init => SetProperty("helmChart", value); | |
} | |
/// <summary> | |
/// Helm Release Name | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseName | |
{ | |
get => GetString("releaseName"); | |
init => SetProperty("releaseName", value); | |
} | |
/// <summary> | |
/// Override Files | |
/// </summary> | |
[YamlIgnore] | |
public string? OverrideFiles | |
{ | |
get => GetString("overrideFiles"); | |
init => SetProperty("overrideFiles", value); | |
} | |
/// <summary> | |
/// Overrides | |
/// </summary> | |
[YamlIgnore] | |
public string? Overrides | |
{ | |
get => GetString("overrides"); | |
init => SetProperty("overrides", value); | |
} | |
/// <summary> | |
/// Kustomization Path | |
/// </summary> | |
[YamlIgnore] | |
public string? KustomizationPath | |
{ | |
get => GetString("kustomizationPath"); | |
init => SetProperty("kustomizationPath", value); | |
} | |
/// <summary> | |
/// Resource to patch | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceToPatch | |
{ | |
get => GetString("resourceToPatch"); | |
init => SetProperty("resourceToPatch", value); | |
} | |
/// <summary> | |
/// File path | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceFileToPatch | |
{ | |
get => GetString("resourceFileToPatch"); | |
init => SetProperty("resourceFileToPatch", value); | |
} | |
/// <summary> | |
/// Kind | |
/// </summary> | |
[YamlIgnore] | |
public string? Kind | |
{ | |
get => GetString("kind"); | |
init => SetProperty("kind", value); | |
} | |
/// <summary> | |
/// Name | |
/// </summary> | |
[YamlIgnore] | |
public string? Name | |
{ | |
get => GetString("name"); | |
init => SetProperty("name", value); | |
} | |
/// <summary> | |
/// Replica count | |
/// </summary> | |
[YamlIgnore] | |
public string? Replicas | |
{ | |
get => GetString("replicas"); | |
init => SetProperty("replicas", value); | |
} | |
/// <summary> | |
/// Merge Strategy | |
/// </summary> | |
[YamlIgnore] | |
public string? MergeStrategy | |
{ | |
get => GetString("mergeStrategy"); | |
init => SetProperty("mergeStrategy", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Patch | |
/// </summary> | |
[YamlIgnore] | |
public string? Patch | |
{ | |
get => GetString("patch"); | |
init => SetProperty("patch", value); | |
} | |
/// <summary> | |
/// Type of secret | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretType | |
{ | |
get => GetString("secretType"); | |
init => SetProperty("secretType", value); | |
} | |
/// <summary> | |
/// Secret name | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretName | |
{ | |
get => GetString("secretName"); | |
init => SetProperty("secretName", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretArguments | |
{ | |
get => GetString("secretArguments"); | |
init => SetProperty("secretArguments", value); | |
} | |
/// <summary> | |
/// Docker registry service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryEndpoint | |
{ | |
get => GetString("dockerRegistryEndpoint"); | |
init => SetProperty("dockerRegistryEndpoint", value); | |
} | |
/// <summary> | |
/// Timeout for rollout status | |
/// </summary> | |
[YamlIgnore] | |
public string? RolloutStatusTimeout | |
{ | |
get => GetString("rolloutStatusTimeout"); | |
init => SetProperty("rolloutStatusTimeout", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadBuildArtifacts@0</c>: | |
/// Download build artifacts | |
/// Download files that were saved as artifacts of a completed build | |
/// </summary> | |
public record DownloadBuildArtifacts_V0 : AzureDevOpsTask | |
{ | |
public DownloadBuildArtifacts_V0() : base("DownloadBuildArtifacts@0") | |
{ | |
} | |
/// <summary> | |
/// Download artifacts produced by | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildType | |
{ | |
get => GetString("buildType"); | |
init => SetProperty("buildType", value); | |
} | |
/// <summary> | |
/// Project | |
/// </summary> | |
[YamlIgnore] | |
public string? Project | |
{ | |
get => GetString("project"); | |
init => SetProperty("project", value); | |
} | |
/// <summary> | |
/// Build pipeline | |
/// </summary> | |
[YamlIgnore] | |
public string? Pipeline | |
{ | |
get => GetString("pipeline"); | |
init => SetProperty("pipeline", value); | |
} | |
/// <summary> | |
/// When appropriate, download artifacts from the triggering build. | |
/// </summary> | |
[YamlIgnore] | |
public bool SpecificBuildWithTriggering | |
{ | |
get => GetBool("specificBuildWithTriggering", false); | |
init => SetProperty("specificBuildWithTriggering", value); | |
} | |
/// <summary> | |
/// Build version to download | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildVersionToDownload | |
{ | |
get => GetString("buildVersionToDownload"); | |
init => SetProperty("buildVersionToDownload", value); | |
} | |
/// <summary> | |
/// Download artifacts even from partially succeeded builds. | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowPartiallySucceededBuilds | |
{ | |
get => GetBool("allowPartiallySucceededBuilds", false); | |
init => SetProperty("allowPartiallySucceededBuilds", value); | |
} | |
/// <summary> | |
/// Branch name | |
/// </summary> | |
[YamlIgnore] | |
public string? BranchName | |
{ | |
get => GetString("branchName"); | |
init => SetProperty("branchName", value); | |
} | |
/// <summary> | |
/// Build | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildId | |
{ | |
get => GetString("buildId"); | |
init => SetProperty("buildId", value); | |
} | |
/// <summary> | |
/// Build Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? Tags | |
{ | |
get => GetString("tags"); | |
init => SetProperty("tags", value); | |
} | |
/// <summary> | |
/// Download type | |
/// </summary> | |
[YamlIgnore] | |
public string? DownloadType | |
{ | |
get => GetString("downloadType"); | |
init => SetProperty("downloadType", value); | |
} | |
/// <summary> | |
/// Artifact name | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactName | |
{ | |
get => GetString("artifactName"); | |
init => SetProperty("artifactName", value); | |
} | |
/// <summary> | |
/// Matching pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? ItemPattern | |
{ | |
get => GetString("itemPattern"); | |
init => SetProperty("itemPattern", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? DownloadPath | |
{ | |
get => GetString("downloadPath"); | |
init => SetProperty("downloadPath", value); | |
} | |
/// <summary> | |
/// Clean destination folder | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanDestinationFolder | |
{ | |
get => GetBool("cleanDestinationFolder", false); | |
init => SetProperty("cleanDestinationFolder", value); | |
} | |
/// <summary> | |
/// Parallelization limit | |
/// </summary> | |
[YamlIgnore] | |
public string? ParallelizationLimit | |
{ | |
get => GetString("parallelizationLimit"); | |
init => SetProperty("parallelizationLimit", value); | |
} | |
/// <summary> | |
/// Check downloaded files | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckDownloadedFiles | |
{ | |
get => GetBool("checkDownloadedFiles", false); | |
init => SetProperty("checkDownloadedFiles", value); | |
} | |
/// <summary> | |
/// Retry count | |
/// </summary> | |
[YamlIgnore] | |
public string? RetryDownloadCount | |
{ | |
get => GetString("retryDownloadCount"); | |
init => SetProperty("retryDownloadCount", value); | |
} | |
/// <summary> | |
/// Retry count for redirect download | |
/// </summary> | |
[YamlIgnore] | |
public string? RetryRedirectDownloadCount | |
{ | |
get => GetString("retryRedirectDownloadCount"); | |
init => SetProperty("retryRedirectDownloadCount", value); | |
} | |
/// <summary> | |
/// Extract all files that are stored inside tar archives | |
/// </summary> | |
[YamlIgnore] | |
public bool ExtractTars | |
{ | |
get => GetBool("extractTars", false); | |
init => SetProperty("extractTars", value); | |
} | |
} | |
/// <summary> | |
/// <c>DownloadBuildArtifacts@1</c>: | |
/// Download build artifacts | |
/// Download files that were saved as artifacts of a completed build | |
/// </summary> | |
public record DownloadBuildArtifacts_V1 : AzureDevOpsTask | |
{ | |
public DownloadBuildArtifacts_V1() : base("DownloadBuildArtifacts@1") | |
{ | |
} | |
/// <summary> | |
/// Download artifacts produced by | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildType | |
{ | |
get => GetString("buildType"); | |
init => SetProperty("buildType", value); | |
} | |
/// <summary> | |
/// Project | |
/// </summary> | |
[YamlIgnore] | |
public string? Project | |
{ | |
get => GetString("project"); | |
init => SetProperty("project", value); | |
} | |
/// <summary> | |
/// Build pipeline | |
/// </summary> | |
[YamlIgnore] | |
public string? Pipeline | |
{ | |
get => GetString("pipeline"); | |
init => SetProperty("pipeline", value); | |
} | |
/// <summary> | |
/// When appropriate, download artifacts from the triggering build. | |
/// </summary> | |
[YamlIgnore] | |
public bool SpecificBuildWithTriggering | |
{ | |
get => GetBool("specificBuildWithTriggering", false); | |
init => SetProperty("specificBuildWithTriggering", value); | |
} | |
/// <summary> | |
/// Build version to download | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildVersionToDownload | |
{ | |
get => GetString("buildVersionToDownload"); | |
init => SetProperty("buildVersionToDownload", value); | |
} | |
/// <summary> | |
/// Download artifacts even from partially succeeded builds. | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowPartiallySucceededBuilds | |
{ | |
get => GetBool("allowPartiallySucceededBuilds", false); | |
init => SetProperty("allowPartiallySucceededBuilds", value); | |
} | |
/// <summary> | |
/// Branch name | |
/// </summary> | |
[YamlIgnore] | |
public string? BranchName | |
{ | |
get => GetString("branchName"); | |
init => SetProperty("branchName", value); | |
} | |
/// <summary> | |
/// Build | |
/// </summary> | |
[YamlIgnore] | |
public string? BuildId | |
{ | |
get => GetString("buildId"); | |
init => SetProperty("buildId", value); | |
} | |
/// <summary> | |
/// Build Tags | |
/// </summary> | |
[YamlIgnore] | |
public string? Tags | |
{ | |
get => GetString("tags"); | |
init => SetProperty("tags", value); | |
} | |
/// <summary> | |
/// Download type | |
/// </summary> | |
[YamlIgnore] | |
public string? DownloadType | |
{ | |
get => GetString("downloadType"); | |
init => SetProperty("downloadType", value); | |
} | |
/// <summary> | |
/// Artifact name | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactName | |
{ | |
get => GetString("artifactName"); | |
init => SetProperty("artifactName", value); | |
} | |
/// <summary> | |
/// Matching pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? ItemPattern | |
{ | |
get => GetString("itemPattern"); | |
init => SetProperty("itemPattern", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? DownloadPath | |
{ | |
get => GetString("downloadPath"); | |
init => SetProperty("downloadPath", value); | |
} | |
/// <summary> | |
/// Clean destination folder | |
/// </summary> | |
[YamlIgnore] | |
public bool CleanDestinationFolder | |
{ | |
get => GetBool("cleanDestinationFolder", false); | |
init => SetProperty("cleanDestinationFolder", value); | |
} | |
/// <summary> | |
/// Parallelization limit | |
/// </summary> | |
[YamlIgnore] | |
public string? ParallelizationLimit | |
{ | |
get => GetString("parallelizationLimit"); | |
init => SetProperty("parallelizationLimit", value); | |
} | |
/// <summary> | |
/// Check downloaded files | |
/// </summary> | |
[YamlIgnore] | |
public bool CheckDownloadedFiles | |
{ | |
get => GetBool("checkDownloadedFiles", false); | |
init => SetProperty("checkDownloadedFiles", value); | |
} | |
/// <summary> | |
/// Retry count | |
/// </summary> | |
[YamlIgnore] | |
public string? RetryDownloadCount | |
{ | |
get => GetString("retryDownloadCount"); | |
init => SetProperty("retryDownloadCount", value); | |
} | |
/// <summary> | |
/// Extract all files that are stored inside tar archives | |
/// </summary> | |
[YamlIgnore] | |
public bool ExtractTars | |
{ | |
get => GetBool("extractTars", false); | |
init => SetProperty("extractTars", value); | |
} | |
} | |
/// <summary> | |
/// <c>CocoaPods@0</c>: | |
/// CocoaPods | |
/// Install CocoaPods dependencies for Swift and Objective-C Cocoa projects | |
/// </summary> | |
public record CocoaPods_V0 : AzureDevOpsTask | |
{ | |
public CocoaPods_V0() : base("CocoaPods@0") | |
{ | |
} | |
/// <summary> | |
/// Working directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Force repo update | |
/// </summary> | |
[YamlIgnore] | |
public bool ForceRepoUpdate | |
{ | |
get => GetBool("forceRepoUpdate", false); | |
init => SetProperty("forceRepoUpdate", value); | |
} | |
/// <summary> | |
/// Project directory | |
/// </summary> | |
[YamlIgnore] | |
public string? ProjectDirectory | |
{ | |
get => GetString("projectDirectory"); | |
init => SetProperty("projectDirectory", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureSpringCloud@0</c>: | |
/// Azure Spring Apps | |
/// Deploy applications to Azure Spring Apps and manage deployments. | |
/// </summary> | |
public record AzureSpringCloud_V0 : AzureDevOpsTask | |
{ | |
public AzureSpringCloud_V0(string? azuresubscription, string? azurespringcloud, string? appname) : base("AzureSpringCloud@0") | |
{ | |
AzureSubscription = azuresubscription; | |
AzureSpringCloud = azurespringcloud; | |
AppName = appname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("Action"); | |
init => SetProperty("Action", value); | |
} | |
/// <summary> | |
/// Azure Spring Apps Name | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSpringCloud | |
{ | |
get => GetString("AzureSpringCloud"); | |
init => SetProperty("AzureSpringCloud", value); | |
} | |
/// <summary> | |
/// App | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("AppName"); | |
init => SetProperty("AppName", value); | |
} | |
/// <summary> | |
/// Deployment Type | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentType | |
{ | |
get => GetString("DeploymentType"); | |
init => SetProperty("DeploymentType", value); | |
} | |
/// <summary> | |
/// Use Staging Deployment | |
/// </summary> | |
[YamlIgnore] | |
public bool UseStagingDeployment | |
{ | |
get => GetBool("UseStagingDeployment", false); | |
init => SetProperty("UseStagingDeployment", value); | |
} | |
/// <summary> | |
/// Create a new staging deployment if one does not exist. | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateNewDeployment | |
{ | |
get => GetBool("CreateNewDeployment", false); | |
init => SetProperty("CreateNewDeployment", value); | |
} | |
/// <summary> | |
/// Deployment | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentName | |
{ | |
get => GetString("DeploymentName"); | |
init => SetProperty("DeploymentName", value); | |
} | |
/// <summary> | |
/// Package or folder | |
/// </summary> | |
[YamlIgnore] | |
public string? Package | |
{ | |
get => GetString("Package"); | |
init => SetProperty("Package", value); | |
} | |
/// <summary> | |
/// Builder | |
/// </summary> | |
[YamlIgnore] | |
public string? Builder | |
{ | |
get => GetString("Builder"); | |
init => SetProperty("Builder", value); | |
} | |
/// <summary> | |
/// Registry Server | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryServer | |
{ | |
get => GetString("RegistryServer"); | |
init => SetProperty("RegistryServer", value); | |
} | |
/// <summary> | |
/// Registry Username | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryUsername | |
{ | |
get => GetString("RegistryUsername"); | |
init => SetProperty("RegistryUsername", value); | |
} | |
/// <summary> | |
/// Registry Password | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryPassword | |
{ | |
get => GetString("RegistryPassword"); | |
init => SetProperty("RegistryPassword", value); | |
} | |
/// <summary> | |
/// Image Name and Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageName | |
{ | |
get => GetString("ImageName"); | |
init => SetProperty("ImageName", value); | |
} | |
/// <summary> | |
/// Image Command | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageCommand | |
{ | |
get => GetString("ImageCommand"); | |
init => SetProperty("ImageCommand", value); | |
} | |
/// <summary> | |
/// Image Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageArgs | |
{ | |
get => GetString("ImageArgs"); | |
init => SetProperty("ImageArgs", value); | |
} | |
/// <summary> | |
/// Language Framework | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageLanguageFramework | |
{ | |
get => GetString("ImageLanguageFramework"); | |
init => SetProperty("ImageLanguageFramework", value); | |
} | |
/// <summary> | |
/// Environment Variables | |
/// </summary> | |
[YamlIgnore] | |
public string? EnvironmentVariables | |
{ | |
get => GetString("EnvironmentVariables"); | |
init => SetProperty("EnvironmentVariables", value); | |
} | |
/// <summary> | |
/// JVM Options | |
/// </summary> | |
[YamlIgnore] | |
public string? JvmOptions | |
{ | |
get => GetString("JvmOptions"); | |
init => SetProperty("JvmOptions", value); | |
} | |
/// <summary> | |
/// Runtime Version | |
/// </summary> | |
[YamlIgnore] | |
public string? RuntimeVersion | |
{ | |
get => GetString("RuntimeVersion"); | |
init => SetProperty("RuntimeVersion", value); | |
} | |
/// <summary> | |
/// Main Entry Path | |
/// </summary> | |
[YamlIgnore] | |
public string? DotNetCoreMainEntryPath | |
{ | |
get => GetString("DotNetCoreMainEntryPath"); | |
init => SetProperty("DotNetCoreMainEntryPath", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? Version | |
{ | |
get => GetString("Version"); | |
init => SetProperty("Version", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureWebApp@1</c>: | |
/// Azure Web App | |
/// Deploy an Azure Web App for Linux or Windows | |
/// </summary> | |
public record AzureWebApp_V1 : AzureDevOpsTask | |
{ | |
public AzureWebApp_V1(string? azuresubscription, string? apptype, string? appname) : base("AzureWebApp@1") | |
{ | |
AzureSubscription = azuresubscription; | |
AppType = apptype; | |
AppName = appname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// App type | |
/// </summary> | |
[YamlIgnore] | |
public string? AppType | |
{ | |
get => GetString("appType"); | |
init => SetProperty("appType", value); | |
} | |
/// <summary> | |
/// App name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("appName"); | |
init => SetProperty("appName", value); | |
} | |
/// <summary> | |
/// Deploy to Slot or App Service Environment | |
/// </summary> | |
[YamlIgnore] | |
public bool DeployToSlotOrASE | |
{ | |
get => GetBool("deployToSlotOrASE", false); | |
init => SetProperty("deployToSlotOrASE", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("slotName"); | |
init => SetProperty("slotName", value); | |
} | |
/// <summary> | |
/// Package or folder | |
/// </summary> | |
[YamlIgnore] | |
public string? Package | |
{ | |
get => GetString("package"); | |
init => SetProperty("package", value); | |
} | |
/// <summary> | |
/// Custom Deploy Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomDeployFolder | |
{ | |
get => GetString("customDeployFolder"); | |
init => SetProperty("customDeployFolder", value); | |
} | |
/// <summary> | |
/// Runtime stack | |
/// </summary> | |
[YamlIgnore] | |
public string? RuntimeStack | |
{ | |
get => GetString("runtimeStack"); | |
init => SetProperty("runtimeStack", value); | |
} | |
/// <summary> | |
/// Startup command | |
/// </summary> | |
[YamlIgnore] | |
public string? StartUpCommand | |
{ | |
get => GetString("startUpCommand"); | |
init => SetProperty("startUpCommand", value); | |
} | |
/// <summary> | |
/// Generate web.config parameters for Python, Node.js, Go and Java apps | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomWebConfig | |
{ | |
get => GetString("customWebConfig"); | |
init => SetProperty("customWebConfig", value); | |
} | |
/// <summary> | |
/// App settings | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSettings | |
{ | |
get => GetString("appSettings"); | |
init => SetProperty("appSettings", value); | |
} | |
/// <summary> | |
/// Configuration settings | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigurationStrings | |
{ | |
get => GetString("configurationStrings"); | |
init => SetProperty("configurationStrings", value); | |
} | |
/// <summary> | |
/// Deployment method | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentMethod | |
{ | |
get => GetString("deploymentMethod"); | |
init => SetProperty("deploymentMethod", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureCLI@2</c>: | |
/// Azure CLI | |
/// Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent. | |
/// </summary> | |
public record AzureCLI_V2 : AzureDevOpsTask | |
{ | |
public AzureCLI_V2(string? azuresubscription, string? scripttype) : base("AzureCLI@2") | |
{ | |
AzureSubscription = azuresubscription; | |
ScriptType = scripttype; | |
} | |
/// <summary> | |
/// Azure Resource Manager connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Script Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptType | |
{ | |
get => GetString("scriptType"); | |
init => SetProperty("scriptType", value); | |
} | |
/// <summary> | |
/// Script Location | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptLocation | |
{ | |
get => GetString("scriptLocation"); | |
init => SetProperty("scriptLocation", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("scriptPath"); | |
init => SetProperty("scriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? InlineScript | |
{ | |
get => GetString("inlineScript"); | |
init => SetProperty("inlineScript", value); | |
} | |
/// <summary> | |
/// Script Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// ErrorActionPreference | |
/// </summary> | |
[YamlIgnore] | |
public string? PowerShellErrorActionPreference | |
{ | |
get => GetString("powerShellErrorActionPreference"); | |
init => SetProperty("powerShellErrorActionPreference", value); | |
} | |
/// <summary> | |
/// Access service principal details in script | |
/// </summary> | |
[YamlIgnore] | |
public bool AddSpnToEnvironment | |
{ | |
get => GetBool("addSpnToEnvironment", false); | |
init => SetProperty("addSpnToEnvironment", value); | |
} | |
/// <summary> | |
/// Use global Azure CLI configuration | |
/// </summary> | |
[YamlIgnore] | |
public bool UseGlobalConfig | |
{ | |
get => GetBool("useGlobalConfig", false); | |
init => SetProperty("useGlobalConfig", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("failOnStandardError", false); | |
init => SetProperty("failOnStandardError", value); | |
} | |
/// <summary> | |
/// Ignore $LASTEXITCODE | |
/// </summary> | |
[YamlIgnore] | |
public bool PowerShellIgnoreLASTEXITCODE | |
{ | |
get => GetBool("powerShellIgnoreLASTEXITCODE", false); | |
init => SetProperty("powerShellIgnoreLASTEXITCODE", value); | |
} | |
/// <summary> | |
/// az login output visibility | |
/// </summary> | |
[YamlIgnore] | |
public bool VisibleAzLogin | |
{ | |
get => GetBool("visibleAzLogin", false); | |
init => SetProperty("visibleAzLogin", value); | |
} | |
/// <summary> | |
/// [Experimental] Keep Azure CLI session active | |
/// </summary> | |
[YamlIgnore] | |
public bool KeepAzSessionActive | |
{ | |
get => GetBool("keepAzSessionActive", false); | |
init => SetProperty("keepAzSessionActive", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureCLI@1</c>: | |
/// Azure CLI | |
/// Run Azure CLI commands against an Azure subscription in a Shell script when running on Linux agent or Batch script when running on Windows agent. | |
/// </summary> | |
public record AzureCLI_V1 : AzureDevOpsTask | |
{ | |
public AzureCLI_V1(string? azuresubscription) : base("AzureCLI@1") | |
{ | |
AzureSubscription = azuresubscription; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Script Location | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptLocation | |
{ | |
get => GetString("scriptLocation"); | |
init => SetProperty("scriptLocation", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("scriptPath"); | |
init => SetProperty("scriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? InlineScript | |
{ | |
get => GetString("inlineScript"); | |
init => SetProperty("inlineScript", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Access service principal details in script | |
/// </summary> | |
[YamlIgnore] | |
public bool AddSpnToEnvironment | |
{ | |
get => GetBool("addSpnToEnvironment", false); | |
init => SetProperty("addSpnToEnvironment", value); | |
} | |
/// <summary> | |
/// Use global Azure CLI configuration | |
/// </summary> | |
[YamlIgnore] | |
public bool UseGlobalConfig | |
{ | |
get => GetBool("useGlobalConfig", false); | |
init => SetProperty("useGlobalConfig", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("failOnStandardError", false); | |
init => SetProperty("failOnStandardError", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureCLI@0</c>: | |
/// Azure CLI Preview | |
/// Run a Shell or Batch script with Azure CLI commands against an azure subscription | |
/// </summary> | |
public record AzureCLI_V0 : AzureDevOpsTask | |
{ | |
public AzureCLI_V0() : base("AzureCLI@0") | |
{ | |
} | |
/// <summary> | |
/// Azure Connection Type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameSelector | |
{ | |
get => GetString("connectedServiceNameSelector"); | |
init => SetProperty("connectedServiceNameSelector", value); | |
} | |
/// <summary> | |
/// AzureRM Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceNameARM | |
{ | |
get => GetString("connectedServiceNameARM"); | |
init => SetProperty("connectedServiceNameARM", value); | |
} | |
/// <summary> | |
/// Azure Classic Subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("connectedServiceName"); | |
init => SetProperty("connectedServiceName", value); | |
} | |
/// <summary> | |
/// Script Location | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptLocation | |
{ | |
get => GetString("scriptLocation"); | |
init => SetProperty("scriptLocation", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("scriptPath"); | |
init => SetProperty("scriptPath", value); | |
} | |
/// <summary> | |
/// Inline Script | |
/// </summary> | |
[YamlIgnore] | |
public string? InlineScript | |
{ | |
get => GetString("inlineScript"); | |
init => SetProperty("inlineScript", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? Cwd | |
{ | |
get => GetString("cwd"); | |
init => SetProperty("cwd", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("failOnStandardError", false); | |
init => SetProperty("failOnStandardError", value); | |
} | |
} | |
/// <summary> | |
/// <c>GitHubRelease@0</c>: | |
/// GitHub Release | |
/// Create, edit, or delete a GitHub release | |
/// </summary> | |
public record GitHubRelease_V0 : AzureDevOpsTask | |
{ | |
public GitHubRelease_V0(string? githubconnection) : base("GitHubRelease@0") | |
{ | |
GitHubConnection = githubconnection; | |
} | |
/// <summary> | |
/// GitHub connection (OAuth or PAT) | |
/// </summary> | |
[YamlIgnore] | |
public string? GitHubConnection | |
{ | |
get => GetString("gitHubConnection"); | |
init => SetProperty("gitHubConnection", value); | |
} | |
/// <summary> | |
/// Repository | |
/// </summary> | |
[YamlIgnore] | |
public string? RepositoryName | |
{ | |
get => GetString("repositoryName"); | |
init => SetProperty("repositoryName", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Target | |
/// </summary> | |
[YamlIgnore] | |
public string? Target | |
{ | |
get => GetString("target"); | |
init => SetProperty("target", value); | |
} | |
/// <summary> | |
/// Tag source | |
/// </summary> | |
[YamlIgnore] | |
public string? TagSource | |
{ | |
get => GetString("tagSource"); | |
init => SetProperty("tagSource", value); | |
} | |
/// <summary> | |
/// Tag Pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? TagPattern | |
{ | |
get => GetString("tagPattern"); | |
init => SetProperty("tagPattern", value); | |
} | |
/// <summary> | |
/// Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? Tag | |
{ | |
get => GetString("tag"); | |
init => SetProperty("tag", value); | |
} | |
/// <summary> | |
/// Release title | |
/// </summary> | |
[YamlIgnore] | |
public string? Title | |
{ | |
get => GetString("title"); | |
init => SetProperty("title", value); | |
} | |
/// <summary> | |
/// Release notes source | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesSource | |
{ | |
get => GetString("releaseNotesSource"); | |
init => SetProperty("releaseNotesSource", value); | |
} | |
/// <summary> | |
/// Release notes file path | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesFile | |
{ | |
get => GetString("releaseNotesFile"); | |
init => SetProperty("releaseNotesFile", value); | |
} | |
/// <summary> | |
/// Release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotes | |
{ | |
get => GetString("releaseNotes"); | |
init => SetProperty("releaseNotes", value); | |
} | |
/// <summary> | |
/// Assets | |
/// </summary> | |
[YamlIgnore] | |
public string? Assets | |
{ | |
get => GetString("assets"); | |
init => SetProperty("assets", value); | |
} | |
/// <summary> | |
/// Asset upload mode | |
/// </summary> | |
[YamlIgnore] | |
public string? AssetUploadMode | |
{ | |
get => GetString("assetUploadMode"); | |
init => SetProperty("assetUploadMode", value); | |
} | |
/// <summary> | |
/// Draft release | |
/// </summary> | |
[YamlIgnore] | |
public bool IsDraft | |
{ | |
get => GetBool("isDraft", false); | |
init => SetProperty("isDraft", value); | |
} | |
/// <summary> | |
/// Pre-release | |
/// </summary> | |
[YamlIgnore] | |
public bool IsPreRelease | |
{ | |
get => GetBool("isPreRelease", false); | |
init => SetProperty("isPreRelease", value); | |
} | |
/// <summary> | |
/// Add changelog | |
/// </summary> | |
[YamlIgnore] | |
public bool AddChangeLog | |
{ | |
get => GetBool("addChangeLog", false); | |
init => SetProperty("addChangeLog", value); | |
} | |
/// <summary> | |
/// Compare to | |
/// </summary> | |
[YamlIgnore] | |
public string? ChangeLogCompareToRelease | |
{ | |
get => GetString("changeLogCompareToRelease"); | |
init => SetProperty("changeLogCompareToRelease", value); | |
} | |
/// <summary> | |
/// Release Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? ChangeLogCompareToReleaseTag | |
{ | |
get => GetString("changeLogCompareToReleaseTag"); | |
init => SetProperty("changeLogCompareToReleaseTag", value); | |
} | |
/// <summary> | |
/// Changelog type | |
/// </summary> | |
[YamlIgnore] | |
public string? ChangeLogType | |
{ | |
get => GetString("changeLogType"); | |
init => SetProperty("changeLogType", value); | |
} | |
/// <summary> | |
/// Categories | |
/// </summary> | |
[YamlIgnore] | |
public string? ChangeLogLabels | |
{ | |
get => GetString("changeLogLabels"); | |
init => SetProperty("changeLogLabels", value); | |
} | |
} | |
/// <summary> | |
/// <c>GitHubRelease@1</c>: | |
/// GitHub Release | |
/// Create, edit, or delete a GitHub release | |
/// </summary> | |
public record GitHubRelease_V1 : AzureDevOpsTask | |
{ | |
public GitHubRelease_V1(string? githubconnection) : base("GitHubRelease@1") | |
{ | |
GitHubConnection = githubconnection; | |
} | |
/// <summary> | |
/// GitHub connection (OAuth or PAT) | |
/// </summary> | |
[YamlIgnore] | |
public string? GitHubConnection | |
{ | |
get => GetString("gitHubConnection"); | |
init => SetProperty("gitHubConnection", value); | |
} | |
/// <summary> | |
/// Repository | |
/// </summary> | |
[YamlIgnore] | |
public string? RepositoryName | |
{ | |
get => GetString("repositoryName"); | |
init => SetProperty("repositoryName", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Target | |
/// </summary> | |
[YamlIgnore] | |
public string? Target | |
{ | |
get => GetString("target"); | |
init => SetProperty("target", value); | |
} | |
/// <summary> | |
/// Tag source | |
/// </summary> | |
[YamlIgnore] | |
public string? TagSource | |
{ | |
get => GetString("tagSource"); | |
init => SetProperty("tagSource", value); | |
} | |
/// <summary> | |
/// Tag Pattern | |
/// </summary> | |
[YamlIgnore] | |
public string? TagPattern | |
{ | |
get => GetString("tagPattern"); | |
init => SetProperty("tagPattern", value); | |
} | |
/// <summary> | |
/// Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? Tag | |
{ | |
get => GetString("tag"); | |
init => SetProperty("tag", value); | |
} | |
/// <summary> | |
/// Release title | |
/// </summary> | |
[YamlIgnore] | |
public string? Title | |
{ | |
get => GetString("title"); | |
init => SetProperty("title", value); | |
} | |
/// <summary> | |
/// Release notes source | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesSource | |
{ | |
get => GetString("releaseNotesSource"); | |
init => SetProperty("releaseNotesSource", value); | |
} | |
/// <summary> | |
/// Release notes file path | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesFilePath | |
{ | |
get => GetString("releaseNotesFilePath"); | |
init => SetProperty("releaseNotesFilePath", value); | |
} | |
/// <summary> | |
/// Release notes | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseNotesInline | |
{ | |
get => GetString("releaseNotesInline"); | |
init => SetProperty("releaseNotesInline", value); | |
} | |
/// <summary> | |
/// Assets | |
/// </summary> | |
[YamlIgnore] | |
public string? Assets | |
{ | |
get => GetString("assets"); | |
init => SetProperty("assets", value); | |
} | |
/// <summary> | |
/// Asset upload mode | |
/// </summary> | |
[YamlIgnore] | |
public string? AssetUploadMode | |
{ | |
get => GetString("assetUploadMode"); | |
init => SetProperty("assetUploadMode", value); | |
} | |
/// <summary> | |
/// Draft release | |
/// </summary> | |
[YamlIgnore] | |
public bool IsDraft | |
{ | |
get => GetBool("isDraft", false); | |
init => SetProperty("isDraft", value); | |
} | |
/// <summary> | |
/// Pre-release | |
/// </summary> | |
[YamlIgnore] | |
public bool IsPreRelease | |
{ | |
get => GetBool("isPreRelease", false); | |
init => SetProperty("isPreRelease", value); | |
} | |
/// <summary> | |
/// Add changelog | |
/// </summary> | |
[YamlIgnore] | |
public bool AddChangeLog | |
{ | |
get => GetBool("addChangeLog", false); | |
init => SetProperty("addChangeLog", value); | |
} | |
/// <summary> | |
/// Compare to | |
/// </summary> | |
[YamlIgnore] | |
public string? ChangeLogCompareToRelease | |
{ | |
get => GetString("changeLogCompareToRelease"); | |
init => SetProperty("changeLogCompareToRelease", value); | |
} | |
/// <summary> | |
/// Release Tag | |
/// </summary> | |
[YamlIgnore] | |
public string? ChangeLogCompareToReleaseTag | |
{ | |
get => GetString("changeLogCompareToReleaseTag"); | |
init => SetProperty("changeLogCompareToReleaseTag", value); | |
} | |
/// <summary> | |
/// Changelog type | |
/// </summary> | |
[YamlIgnore] | |
public string? ChangeLogType | |
{ | |
get => GetString("changeLogType"); | |
init => SetProperty("changeLogType", value); | |
} | |
/// <summary> | |
/// Categories | |
/// </summary> | |
[YamlIgnore] | |
public string? ChangeLogLabels | |
{ | |
get => GetString("changeLogLabels"); | |
init => SetProperty("changeLogLabels", value); | |
} | |
} | |
/// <summary> | |
/// <c>cURLUploader@1</c>: | |
/// cURL Upload Files | |
/// Use cURL to upload files with FTP, FTPS, SFTP, HTTP, and more. | |
/// </summary> | |
public record CURLUploader_V1 : AzureDevOpsTask | |
{ | |
public CURLUploader_V1(string? files, string? url) : base("cURLUploader@1") | |
{ | |
Files = files; | |
Url = url; | |
} | |
/// <summary> | |
/// Files | |
/// </summary> | |
[YamlIgnore] | |
public string? Files | |
{ | |
get => GetString("files"); | |
init => SetProperty("files", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? Username | |
{ | |
get => GetString("username"); | |
init => SetProperty("username", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
/// <summary> | |
/// URL | |
/// </summary> | |
[YamlIgnore] | |
public string? Url | |
{ | |
get => GetString("url"); | |
init => SetProperty("url", value); | |
} | |
/// <summary> | |
/// Optional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Redirect Standard Error to Standard Out | |
/// </summary> | |
[YamlIgnore] | |
public bool RedirectStderr | |
{ | |
get => GetBool("redirectStderr", false); | |
init => SetProperty("redirectStderr", value); | |
} | |
} | |
/// <summary> | |
/// <c>cURLUploader@2</c>: | |
/// cURL upload files | |
/// Use cURL's supported protocols to upload files | |
/// </summary> | |
public record CURLUploader_V2 : AzureDevOpsTask | |
{ | |
public CURLUploader_V2(string? files) : base("cURLUploader@2") | |
{ | |
Files = files; | |
} | |
/// <summary> | |
/// Files | |
/// </summary> | |
[YamlIgnore] | |
public string? Files | |
{ | |
get => GetString("files"); | |
init => SetProperty("files", value); | |
} | |
/// <summary> | |
/// Authentication Method | |
/// </summary> | |
[YamlIgnore] | |
public string? AuthType | |
{ | |
get => GetString("authType"); | |
init => SetProperty("authType", value); | |
} | |
/// <summary> | |
/// Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceEndpoint | |
{ | |
get => GetString("serviceEndpoint"); | |
init => SetProperty("serviceEndpoint", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? Username | |
{ | |
get => GetString("username"); | |
init => SetProperty("username", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? Password | |
{ | |
get => GetString("password"); | |
init => SetProperty("password", value); | |
} | |
/// <summary> | |
/// URL | |
/// </summary> | |
[YamlIgnore] | |
public string? Url | |
{ | |
get => GetString("url"); | |
init => SetProperty("url", value); | |
} | |
/// <summary> | |
/// Remote Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? RemotePath | |
{ | |
get => GetString("remotePath"); | |
init => SetProperty("remotePath", value); | |
} | |
/// <summary> | |
/// Optional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Options | |
{ | |
get => GetString("options"); | |
init => SetProperty("options", value); | |
} | |
/// <summary> | |
/// Redirect Standard Error to Standard Out | |
/// </summary> | |
[YamlIgnore] | |
public bool RedirectStderr | |
{ | |
get => GetBool("redirectStderr", false); | |
init => SetProperty("redirectStderr", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureAppServiceSettings@1</c>: | |
/// Azure App Service Settings | |
/// Update/Add App settings an Azure Web App for Linux or Windows | |
/// </summary> | |
public record AzureAppServiceSettings_V1 : AzureDevOpsTask | |
{ | |
public AzureAppServiceSettings_V1(string? azuresubscription, string? appname, string? resourcegroupname) : base("AzureAppServiceSettings@1") | |
{ | |
AzureSubscription = azuresubscription; | |
AppName = appname; | |
ResourceGroupName = resourcegroupname; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// App Service name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("appName"); | |
init => SetProperty("appName", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("slotName"); | |
init => SetProperty("slotName", value); | |
} | |
/// <summary> | |
/// App settings | |
/// </summary> | |
[YamlIgnore] | |
public string? AppSettings | |
{ | |
get => GetString("appSettings"); | |
init => SetProperty("appSettings", value); | |
} | |
/// <summary> | |
/// General settings | |
/// </summary> | |
[YamlIgnore] | |
public string? GeneralSettings | |
{ | |
get => GetString("generalSettings"); | |
init => SetProperty("generalSettings", value); | |
} | |
/// <summary> | |
/// Connection Strings | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionStrings | |
{ | |
get => GetString("connectionStrings"); | |
init => SetProperty("connectionStrings", value); | |
} | |
} | |
/// <summary> | |
/// <c>UniversalPackages@0</c>: | |
/// Universal packages | |
/// Download or publish Universal Packages | |
/// </summary> | |
public record UniversalPackages_V0 : AzureDevOpsTask | |
{ | |
public UniversalPackages_V0() : base("UniversalPackages@0") | |
{ | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? Command | |
{ | |
get => GetString("command"); | |
init => SetProperty("command", value); | |
} | |
/// <summary> | |
/// Destination directory | |
/// </summary> | |
[YamlIgnore] | |
public string? DownloadDirectory | |
{ | |
get => GetString("downloadDirectory"); | |
init => SetProperty("downloadDirectory", value); | |
} | |
/// <summary> | |
/// Feed location | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedsToUse | |
{ | |
get => GetString("feedsToUse"); | |
init => SetProperty("feedsToUse", value); | |
} | |
/// <summary> | |
/// organization/collection connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ExternalFeedCredentials | |
{ | |
get => GetString("externalFeedCredentials"); | |
init => SetProperty("externalFeedCredentials", value); | |
} | |
/// <summary> | |
/// Feed | |
/// </summary> | |
[YamlIgnore] | |
public string? VstsFeed | |
{ | |
get => GetString("vstsFeed"); | |
init => SetProperty("vstsFeed", value); | |
} | |
/// <summary> | |
/// Package name | |
/// </summary> | |
[YamlIgnore] | |
public string? VstsFeedPackage | |
{ | |
get => GetString("vstsFeedPackage"); | |
init => SetProperty("vstsFeedPackage", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? VstsPackageVersion | |
{ | |
get => GetString("vstsPackageVersion"); | |
init => SetProperty("vstsPackageVersion", value); | |
} | |
/// <summary> | |
/// Feed (or Project/Feed if the feed was created in a project) | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedDownloadExternal | |
{ | |
get => GetString("feedDownloadExternal"); | |
init => SetProperty("feedDownloadExternal", value); | |
} | |
/// <summary> | |
/// Package name | |
/// </summary> | |
[YamlIgnore] | |
public string? PackageDownloadExternal | |
{ | |
get => GetString("packageDownloadExternal"); | |
init => SetProperty("packageDownloadExternal", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionDownloadExternal | |
{ | |
get => GetString("versionDownloadExternal"); | |
init => SetProperty("versionDownloadExternal", value); | |
} | |
/// <summary> | |
/// Path to file(s) to publish | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishDirectory | |
{ | |
get => GetString("publishDirectory"); | |
init => SetProperty("publishDirectory", value); | |
} | |
/// <summary> | |
/// Feed location | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedsToUsePublish | |
{ | |
get => GetString("feedsToUsePublish"); | |
init => SetProperty("feedsToUsePublish", value); | |
} | |
/// <summary> | |
/// organization/collection connection | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishFeedCredentials | |
{ | |
get => GetString("publishFeedCredentials"); | |
init => SetProperty("publishFeedCredentials", value); | |
} | |
/// <summary> | |
/// Destination Feed | |
/// </summary> | |
[YamlIgnore] | |
public string? VstsFeedPublish | |
{ | |
get => GetString("vstsFeedPublish"); | |
init => SetProperty("vstsFeedPublish", value); | |
} | |
/// <summary> | |
/// Publish pipeline metadata | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishPackageMetadata | |
{ | |
get => GetBool("publishPackageMetadata", false); | |
init => SetProperty("publishPackageMetadata", value); | |
} | |
/// <summary> | |
/// Package name | |
/// </summary> | |
[YamlIgnore] | |
public string? VstsFeedPackagePublish | |
{ | |
get => GetString("vstsFeedPackagePublish"); | |
init => SetProperty("vstsFeedPackagePublish", value); | |
} | |
/// <summary> | |
/// Feed (or Project/Feed if the feed was created in a project) | |
/// </summary> | |
[YamlIgnore] | |
public string? FeedPublishExternal | |
{ | |
get => GetString("feedPublishExternal"); | |
init => SetProperty("feedPublishExternal", value); | |
} | |
/// <summary> | |
/// Package name | |
/// </summary> | |
[YamlIgnore] | |
public string? PackagePublishExternal | |
{ | |
get => GetString("packagePublishExternal"); | |
init => SetProperty("packagePublishExternal", value); | |
} | |
/// <summary> | |
/// Version | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionOption | |
{ | |
get => GetString("versionOption"); | |
init => SetProperty("versionOption", value); | |
} | |
/// <summary> | |
/// Custom version | |
/// </summary> | |
[YamlIgnore] | |
public string? VersionPublish | |
{ | |
get => GetString("versionPublish"); | |
init => SetProperty("versionPublish", value); | |
} | |
/// <summary> | |
/// Description | |
/// </summary> | |
[YamlIgnore] | |
public string? PackagePublishDescription | |
{ | |
get => GetString("packagePublishDescription"); | |
init => SetProperty("packagePublishDescription", value); | |
} | |
/// <summary> | |
/// Verbosity | |
/// </summary> | |
[YamlIgnore] | |
public string? Verbosity | |
{ | |
get => GetString("verbosity"); | |
init => SetProperty("verbosity", value); | |
} | |
/// <summary> | |
/// Package Output Variable | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishedPackageVar | |
{ | |
get => GetString("publishedPackageVar"); | |
init => SetProperty("publishedPackageVar", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzurePolicyCheckGate@0</c>: | |
/// Check Azure Policy compliance | |
/// Security and compliance assessment for Azure Policy | |
/// </summary> | |
public record AzurePolicyCheckGate_V0 : AzureDevOpsTask | |
{ | |
public AzurePolicyCheckGate_V0(string? azuresubscription) : base("AzurePolicyCheckGate@0") | |
{ | |
AzureSubscription = azuresubscription; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Resource name | |
/// </summary> | |
[YamlIgnore] | |
public string? Resources | |
{ | |
get => GetString("Resources"); | |
init => SetProperty("Resources", value); | |
} | |
/// <summary> | |
/// Retry duration | |
/// </summary> | |
[YamlIgnore] | |
public string? RetryDuration | |
{ | |
get => GetString("RetryDuration"); | |
init => SetProperty("RetryDuration", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFunctionOnKubernetes@0</c>: | |
/// Azure Function on Kubernetes | |
/// Deploy Azure function to Kubernetes cluster. | |
/// </summary> | |
public record AzureFunctionOnKubernetes_V0 : AzureDevOpsTask | |
{ | |
public AzureFunctionOnKubernetes_V0(string? dockerregistryserviceconnection, string? kubernetesserviceconnection, string? appname) : base("AzureFunctionOnKubernetes@0") | |
{ | |
DockerRegistryServiceConnection = dockerregistryserviceconnection; | |
KubernetesServiceConnection = kubernetesserviceconnection; | |
AppName = appname; | |
} | |
/// <summary> | |
/// Docker registry service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryServiceConnection | |
{ | |
get => GetString("dockerRegistryServiceConnection"); | |
init => SetProperty("dockerRegistryServiceConnection", value); | |
} | |
/// <summary> | |
/// Kubernetes service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesServiceConnection | |
{ | |
get => GetString("kubernetesServiceConnection"); | |
init => SetProperty("kubernetesServiceConnection", value); | |
} | |
/// <summary> | |
/// Kubernetes namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? Namespace | |
{ | |
get => GetString("namespace"); | |
init => SetProperty("namespace", value); | |
} | |
/// <summary> | |
/// Secret Name | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretName | |
{ | |
get => GetString("secretName"); | |
init => SetProperty("secretName", value); | |
} | |
/// <summary> | |
/// Docker Hub namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerHubNamespace | |
{ | |
get => GetString("dockerHubNamespace"); | |
init => SetProperty("dockerHubNamespace", value); | |
} | |
/// <summary> | |
/// Application Name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("appName"); | |
init => SetProperty("appName", value); | |
} | |
/// <summary> | |
/// Function root directory | |
/// </summary> | |
[YamlIgnore] | |
public string? FunctionRootDirectory | |
{ | |
get => GetString("functionRootDirectory"); | |
init => SetProperty("functionRootDirectory", value); | |
} | |
/// <summary> | |
/// Wait for stability | |
/// </summary> | |
[YamlIgnore] | |
public bool WaitForStability | |
{ | |
get => GetBool("waitForStability", false); | |
init => SetProperty("waitForStability", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureFunctionOnKubernetes@1</c>: | |
/// Azure Function on Kubernetes | |
/// Deploy Azure function to Kubernetes cluster. | |
/// </summary> | |
public record AzureFunctionOnKubernetes_V1 : AzureDevOpsTask | |
{ | |
public AzureFunctionOnKubernetes_V1(string? dockerregistryserviceconnection, string? appname) : base("AzureFunctionOnKubernetes@1") | |
{ | |
DockerRegistryServiceConnection = dockerregistryserviceconnection; | |
AppName = appname; | |
} | |
/// <summary> | |
/// Service connection type | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectionType | |
{ | |
get => GetString("connectionType"); | |
init => SetProperty("connectionType", value); | |
} | |
/// <summary> | |
/// Docker registry service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerRegistryServiceConnection | |
{ | |
get => GetString("dockerRegistryServiceConnection"); | |
init => SetProperty("dockerRegistryServiceConnection", value); | |
} | |
/// <summary> | |
/// Kubernetes service connection | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesServiceConnection | |
{ | |
get => GetString("kubernetesServiceConnection"); | |
init => SetProperty("kubernetesServiceConnection", value); | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscriptionConnection | |
{ | |
get => GetString("azureSubscriptionConnection"); | |
init => SetProperty("azureSubscriptionConnection", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureResourceGroup | |
{ | |
get => GetString("azureResourceGroup"); | |
init => SetProperty("azureResourceGroup", value); | |
} | |
/// <summary> | |
/// Kubernetes cluster | |
/// </summary> | |
[YamlIgnore] | |
public string? KubernetesCluster | |
{ | |
get => GetString("kubernetesCluster"); | |
init => SetProperty("kubernetesCluster", value); | |
} | |
/// <summary> | |
/// Kubernetes namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? Namespace | |
{ | |
get => GetString("namespace"); | |
init => SetProperty("namespace", value); | |
} | |
/// <summary> | |
/// Secret Name | |
/// </summary> | |
[YamlIgnore] | |
public string? SecretName | |
{ | |
get => GetString("secretName"); | |
init => SetProperty("secretName", value); | |
} | |
/// <summary> | |
/// Docker Hub namespace | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerHubNamespace | |
{ | |
get => GetString("dockerHubNamespace"); | |
init => SetProperty("dockerHubNamespace", value); | |
} | |
/// <summary> | |
/// Application Name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppName | |
{ | |
get => GetString("appName"); | |
init => SetProperty("appName", value); | |
} | |
/// <summary> | |
/// Function root directory | |
/// </summary> | |
[YamlIgnore] | |
public string? FunctionRootDirectory | |
{ | |
get => GetString("functionRootDirectory"); | |
init => SetProperty("functionRootDirectory", value); | |
} | |
/// <summary> | |
/// Wait for stability | |
/// </summary> | |
[YamlIgnore] | |
public bool WaitForStability | |
{ | |
get => GetBool("waitForStability", false); | |
init => SetProperty("waitForStability", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>ShellScript@2</c>: | |
/// Shell script | |
/// Run a shell script using Bash | |
/// </summary> | |
public record ShellScript_V2 : AzureDevOpsTask | |
{ | |
public ShellScript_V2(string? scriptpath) : base("ShellScript@2") | |
{ | |
ScriptPath = scriptpath; | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("scriptPath"); | |
init => SetProperty("scriptPath", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Specify Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public bool DisableAutoCwd | |
{ | |
get => GetBool("disableAutoCwd", false); | |
init => SetProperty("disableAutoCwd", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? Cwd | |
{ | |
get => GetString("cwd"); | |
init => SetProperty("cwd", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("failOnStandardError", false); | |
init => SetProperty("failOnStandardError", value); | |
} | |
} | |
/// <summary> | |
/// <c>Bash@3</c>: | |
/// Bash | |
/// Run a Bash script on macOS, Linux, or Windows | |
/// </summary> | |
public record Bash_V3 : AzureDevOpsTask | |
{ | |
public Bash_V3() : base("Bash@3") | |
{ | |
} | |
/// <summary> | |
/// Type | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetType | |
{ | |
get => GetString("targetType"); | |
init => SetProperty("targetType", value); | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? FilePath | |
{ | |
get => GetString("filePath"); | |
init => SetProperty("filePath", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Script | |
/// </summary> | |
[YamlIgnore] | |
public string? Script | |
{ | |
get => GetString("script"); | |
init => SetProperty("script", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStderr | |
{ | |
get => GetBool("failOnStderr", false); | |
init => SetProperty("failOnStderr", value); | |
} | |
/// <summary> | |
/// Set value for BASH_ENV environment variable | |
/// </summary> | |
[YamlIgnore] | |
public string? BashEnvValue | |
{ | |
get => GetString("bashEnvValue"); | |
init => SetProperty("bashEnvValue", value); | |
} | |
} | |
/// <summary> | |
/// <c>ShellScript@1</c>: | |
/// Shell Script | |
/// Run a shell script using bash | |
/// </summary> | |
public record ShellScript_V1 : AzureDevOpsTask | |
{ | |
public ShellScript_V1(string? scriptpath) : base("ShellScript@1") | |
{ | |
ScriptPath = scriptpath; | |
} | |
/// <summary> | |
/// Script Path | |
/// </summary> | |
[YamlIgnore] | |
public string? ScriptPath | |
{ | |
get => GetString("scriptPath"); | |
init => SetProperty("scriptPath", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Args | |
{ | |
get => GetString("args"); | |
init => SetProperty("args", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? Cwd | |
{ | |
get => GetString("cwd"); | |
init => SetProperty("cwd", value); | |
} | |
/// <summary> | |
/// Fail on Standard Error | |
/// </summary> | |
[YamlIgnore] | |
public bool FailOnStandardError | |
{ | |
get => GetBool("failOnStandardError", false); | |
init => SetProperty("failOnStandardError", value); | |
} | |
} | |
/// <summary> | |
/// <c>PublishBuildArtifacts@1</c>: | |
/// Publish build artifacts | |
/// Publish build artifacts to Azure Pipelines or a Windows file share | |
/// </summary> | |
public record PublishBuildArtifacts_V1 : AzureDevOpsTask | |
{ | |
public PublishBuildArtifacts_V1() : base("PublishBuildArtifacts@1") | |
{ | |
} | |
/// <summary> | |
/// Path to publish | |
/// </summary> | |
[YamlIgnore] | |
public string? PathtoPublish | |
{ | |
get => GetString("PathtoPublish"); | |
init => SetProperty("PathtoPublish", value); | |
} | |
/// <summary> | |
/// Artifact name | |
/// </summary> | |
[YamlIgnore] | |
public string? ArtifactName | |
{ | |
get => GetString("ArtifactName"); | |
init => SetProperty("ArtifactName", value); | |
} | |
/// <summary> | |
/// Artifact publish location | |
/// </summary> | |
[YamlIgnore] | |
public string? PublishLocation | |
{ | |
get => GetString("publishLocation"); | |
init => SetProperty("publishLocation", value); | |
} | |
/// <summary> | |
/// Max Artifact Size | |
/// </summary> | |
[YamlIgnore] | |
public int? MaxArtifactSize | |
{ | |
get => GetInt("MaxArtifactSize"); | |
init => SetProperty("MaxArtifactSize", value); | |
} | |
/// <summary> | |
/// File share path | |
/// </summary> | |
[YamlIgnore] | |
public string? TargetPath | |
{ | |
get => GetString("TargetPath"); | |
init => SetProperty("TargetPath", value); | |
} | |
/// <summary> | |
/// Parallel copy | |
/// </summary> | |
[YamlIgnore] | |
public bool Parallel | |
{ | |
get => GetBool("Parallel", false); | |
init => SetProperty("Parallel", value); | |
} | |
/// <summary> | |
/// Parallel count | |
/// </summary> | |
[YamlIgnore] | |
public int? ParallelCount | |
{ | |
get => GetInt("ParallelCount"); | |
init => SetProperty("ParallelCount", value); | |
} | |
/// <summary> | |
/// Tar the artifact before uploading | |
/// </summary> | |
[YamlIgnore] | |
public bool StoreAsTar | |
{ | |
get => GetBool("StoreAsTar", false); | |
init => SetProperty("StoreAsTar", value); | |
} | |
} | |
/// <summary> | |
/// <c>InstallSSHKey@0</c>: | |
/// Install SSH key | |
/// Install an SSH key prior to a build or deployment | |
/// </summary> | |
public record InstallSSHKey_V0 : AzureDevOpsTask | |
{ | |
public InstallSSHKey_V0(string? knownhostsentry, string? sshkeysecurefile) : base("InstallSSHKey@0") | |
{ | |
KnownHostsEntry = knownhostsentry; | |
SshKeySecureFile = sshkeysecurefile; | |
} | |
/// <summary> | |
/// Known Hosts Entry | |
/// </summary> | |
[YamlIgnore] | |
public string? KnownHostsEntry | |
{ | |
get => GetString("knownHostsEntry"); | |
init => SetProperty("knownHostsEntry", value); | |
} | |
/// <summary> | |
/// SSH Public Key | |
/// </summary> | |
[YamlIgnore] | |
public string? SshPublicKey | |
{ | |
get => GetString("sshPublicKey"); | |
init => SetProperty("sshPublicKey", value); | |
} | |
/// <summary> | |
/// SSH Passphrase | |
/// </summary> | |
[YamlIgnore] | |
public string? SshPassphrase | |
{ | |
get => GetString("sshPassphrase"); | |
init => SetProperty("sshPassphrase", value); | |
} | |
/// <summary> | |
/// SSH Key | |
/// </summary> | |
[YamlIgnore] | |
public string? SshKeySecureFile | |
{ | |
get => GetString("sshKeySecureFile"); | |
init => SetProperty("sshKeySecureFile", value); | |
} | |
/// <summary> | |
/// Add entry to SSH config | |
/// </summary> | |
[YamlIgnore] | |
public bool AddEntryToConfig | |
{ | |
get => GetBool("addEntryToConfig", false); | |
init => SetProperty("addEntryToConfig", value); | |
} | |
/// <summary> | |
/// Alias | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigHostAlias | |
{ | |
get => GetString("configHostAlias"); | |
init => SetProperty("configHostAlias", value); | |
} | |
/// <summary> | |
/// Host name | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigHostname | |
{ | |
get => GetString("configHostname"); | |
init => SetProperty("configHostname", value); | |
} | |
/// <summary> | |
/// User | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigUser | |
{ | |
get => GetString("configUser"); | |
init => SetProperty("configUser", value); | |
} | |
/// <summary> | |
/// Port | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigPort | |
{ | |
get => GetString("configPort"); | |
init => SetProperty("configPort", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureVmssDeployment@0</c>: | |
/// Azure VM scale set deployment | |
/// Deploy a virtual machine scale set image | |
/// </summary> | |
public record AzureVmssDeployment_V0 : AzureDevOpsTask | |
{ | |
public AzureVmssDeployment_V0(string? azuresubscription, string? vmssname, string? vmssostype, string? imageurl) : base("AzureVmssDeployment@0") | |
{ | |
AzureSubscription = azuresubscription; | |
VmssName = vmssname; | |
VmssOsType = vmssostype; | |
ImageUrl = imageurl; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Virtual Machine scale set name | |
/// </summary> | |
[YamlIgnore] | |
public string? VmssName | |
{ | |
get => GetString("vmssName"); | |
init => SetProperty("vmssName", value); | |
} | |
/// <summary> | |
/// OS type | |
/// </summary> | |
[YamlIgnore] | |
public string? VmssOsType | |
{ | |
get => GetString("vmssOsType"); | |
init => SetProperty("vmssOsType", value); | |
} | |
/// <summary> | |
/// Image URL | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageUrl | |
{ | |
get => GetString("imageUrl"); | |
init => SetProperty("imageUrl", value); | |
} | |
/// <summary> | |
/// Custom script directory | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomScriptsDirectory | |
{ | |
get => GetString("customScriptsDirectory"); | |
init => SetProperty("customScriptsDirectory", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomScript | |
{ | |
get => GetString("customScript"); | |
init => SetProperty("customScript", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomScriptArguments | |
{ | |
get => GetString("customScriptArguments"); | |
init => SetProperty("customScriptArguments", value); | |
} | |
/// <summary> | |
/// Azure storage account where custom scripts will be uploaded | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomScriptsStorageAccount | |
{ | |
get => GetString("customScriptsStorageAccount"); | |
init => SetProperty("customScriptsStorageAccount", value); | |
} | |
/// <summary> | |
/// Skip Archiving custom scripts | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipArchivingCustomScripts | |
{ | |
get => GetBool("skipArchivingCustomScripts", false); | |
init => SetProperty("skipArchivingCustomScripts", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureVmssDeployment@1</c>: | |
/// Azure VM scale set deployment | |
/// Deploy a virtual machine scale set image | |
/// </summary> | |
public record AzureVmssDeployment_V1 : AzureDevOpsTask | |
{ | |
public AzureVmssDeployment_V1(string? azuresubscription, string? vmssname, string? vmssostype, string? imageurl) : base("AzureVmssDeployment@1") | |
{ | |
AzureSubscription = azuresubscription; | |
VmssName = vmssname; | |
VmssOsType = vmssostype; | |
ImageUrl = imageurl; | |
} | |
/// <summary> | |
/// Azure subscription | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureSubscription | |
{ | |
get => GetString("azureSubscription"); | |
init => SetProperty("azureSubscription", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? Action | |
{ | |
get => GetString("action"); | |
init => SetProperty("action", value); | |
} | |
/// <summary> | |
/// Virtual Machine scale set name | |
/// </summary> | |
[YamlIgnore] | |
public string? VmssName | |
{ | |
get => GetString("vmssName"); | |
init => SetProperty("vmssName", value); | |
} | |
/// <summary> | |
/// OS type | |
/// </summary> | |
[YamlIgnore] | |
public string? VmssOsType | |
{ | |
get => GetString("vmssOsType"); | |
init => SetProperty("vmssOsType", value); | |
} | |
/// <summary> | |
/// Image URL | |
/// </summary> | |
[YamlIgnore] | |
public string? ImageUrl | |
{ | |
get => GetString("imageUrl"); | |
init => SetProperty("imageUrl", value); | |
} | |
/// <summary> | |
/// Custom script directory | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomScriptsDirectory | |
{ | |
get => GetString("customScriptsDirectory"); | |
init => SetProperty("customScriptsDirectory", value); | |
} | |
/// <summary> | |
/// Command | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomScript | |
{ | |
get => GetString("customScript"); | |
init => SetProperty("customScript", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomScriptArguments | |
{ | |
get => GetString("customScriptArguments"); | |
init => SetProperty("customScriptArguments", value); | |
} | |
/// <summary> | |
/// Azure storage account where custom scripts will be uploaded | |
/// </summary> | |
[YamlIgnore] | |
public string? CustomScriptsStorageAccount | |
{ | |
get => GetString("customScriptsStorageAccount"); | |
init => SetProperty("customScriptsStorageAccount", value); | |
} | |
/// <summary> | |
/// Skip Archiving custom scripts | |
/// </summary> | |
[YamlIgnore] | |
public bool SkipArchivingCustomScripts | |
{ | |
get => GetBool("skipArchivingCustomScripts", false); | |
init => SetProperty("skipArchivingCustomScripts", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureWebPowerShellDeployment@1</c>: | |
/// Azure App Service: Classic (Deprecated) | |
/// Create or update Azure App Service using Azure PowerShell | |
/// </summary> | |
public record AzureWebPowerShellDeployment_V1 : AzureDevOpsTask | |
{ | |
public AzureWebPowerShellDeployment_V1(string? connectedservicename, string? websitelocation, string? websitename, string? package) : base("AzureWebPowerShellDeployment@1") | |
{ | |
ConnectedServiceName = connectedservicename; | |
WebSiteLocation = websitelocation; | |
WebSiteName = websitename; | |
Package = package; | |
} | |
/// <summary> | |
/// Azure Subscription (Classic) | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("ConnectedServiceName"); | |
init => SetProperty("ConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Web App Location | |
/// </summary> | |
[YamlIgnore] | |
public string? WebSiteLocation | |
{ | |
get => GetString("WebSiteLocation"); | |
init => SetProperty("WebSiteLocation", value); | |
} | |
/// <summary> | |
/// Web App Name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebSiteName | |
{ | |
get => GetString("WebSiteName"); | |
init => SetProperty("WebSiteName", value); | |
} | |
/// <summary> | |
/// Slot | |
/// </summary> | |
[YamlIgnore] | |
public string? Slot | |
{ | |
get => GetString("Slot"); | |
init => SetProperty("Slot", value); | |
} | |
/// <summary> | |
/// Web Deploy Package | |
/// </summary> | |
[YamlIgnore] | |
public string? Package | |
{ | |
get => GetString("Package"); | |
init => SetProperty("Package", value); | |
} | |
/// <summary> | |
/// Set DoNotDelete flag | |
/// </summary> | |
[YamlIgnore] | |
public bool DoNotDelete | |
{ | |
get => GetBool("doNotDelete", false); | |
init => SetProperty("doNotDelete", value); | |
} | |
/// <summary> | |
/// Additional Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? AdditionalArguments | |
{ | |
get => GetString("AdditionalArguments"); | |
init => SetProperty("AdditionalArguments", value); | |
} | |
} | |
/// <summary> | |
/// <c>CondaAuthenticate@0</c>: | |
/// Conda authenticate (for task runners) | |
/// Authentication task for the conda client | |
/// </summary> | |
public record CondaAuthenticate_V0 : AzureDevOpsTask | |
{ | |
public CondaAuthenticate_V0() : base("CondaAuthenticate@0") | |
{ | |
} | |
/// <summary> | |
/// 'Azure DevOps' Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureDevOpsServiceConnection | |
{ | |
get => GetString("azureDevOpsServiceConnection"); | |
init => SetProperty("azureDevOpsServiceConnection", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureCloudPowerShellDeployment@1</c>: | |
/// Azure Cloud Service deployment | |
/// Deploy an Azure Cloud Service | |
/// </summary> | |
public record AzureCloudPowerShellDeployment_V1 : AzureDevOpsTask | |
{ | |
public AzureCloudPowerShellDeployment_V1(string? azureclassicsubscription, string? servicename, string? servicelocation, string? cspkg, string? cscfg) : base("AzureCloudPowerShellDeployment@1") | |
{ | |
AzureClassicSubscription = azureclassicsubscription; | |
ServiceName = servicename; | |
ServiceLocation = servicelocation; | |
CsPkg = cspkg; | |
CsCfg = cscfg; | |
} | |
/// <summary> | |
/// Azure subscription (Classic) | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureClassicSubscription | |
{ | |
get => GetString("azureClassicSubscription"); | |
init => SetProperty("azureClassicSubscription", value); | |
} | |
/// <summary> | |
/// Enable ARM storage support | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableAdvancedStorageOptions | |
{ | |
get => GetBool("EnableAdvancedStorageOptions", false); | |
init => SetProperty("EnableAdvancedStorageOptions", value); | |
} | |
/// <summary> | |
/// Storage account (Classic) | |
/// </summary> | |
[YamlIgnore] | |
public string? StorageAccount | |
{ | |
get => GetString("StorageAccount"); | |
init => SetProperty("StorageAccount", value); | |
} | |
/// <summary> | |
/// Azure subscription (ARM) | |
/// </summary> | |
[YamlIgnore] | |
public string? ARMConnectedServiceName | |
{ | |
get => GetString("ARMConnectedServiceName"); | |
init => SetProperty("ARMConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Storage account (ARM) | |
/// </summary> | |
[YamlIgnore] | |
public string? ARMStorageAccount | |
{ | |
get => GetString("ARMStorageAccount"); | |
init => SetProperty("ARMStorageAccount", value); | |
} | |
/// <summary> | |
/// Service name | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceName | |
{ | |
get => GetString("ServiceName"); | |
init => SetProperty("ServiceName", value); | |
} | |
/// <summary> | |
/// Service location | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceLocation | |
{ | |
get => GetString("ServiceLocation"); | |
init => SetProperty("ServiceLocation", value); | |
} | |
/// <summary> | |
/// CsPkg | |
/// </summary> | |
[YamlIgnore] | |
public string? CsPkg | |
{ | |
get => GetString("CsPkg"); | |
init => SetProperty("CsPkg", value); | |
} | |
/// <summary> | |
/// CsCfg | |
/// </summary> | |
[YamlIgnore] | |
public string? CsCfg | |
{ | |
get => GetString("CsCfg"); | |
init => SetProperty("CsCfg", value); | |
} | |
/// <summary> | |
/// Environment (Slot) | |
/// </summary> | |
[YamlIgnore] | |
public string? SlotName | |
{ | |
get => GetString("slotName"); | |
init => SetProperty("slotName", value); | |
} | |
/// <summary> | |
/// Deployment label | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentLabel | |
{ | |
get => GetString("DeploymentLabel"); | |
init => SetProperty("DeploymentLabel", value); | |
} | |
/// <summary> | |
/// Append current date and time | |
/// </summary> | |
[YamlIgnore] | |
public bool AppendDateTimeToLabel | |
{ | |
get => GetBool("AppendDateTimeToLabel", false); | |
init => SetProperty("AppendDateTimeToLabel", value); | |
} | |
/// <summary> | |
/// Allow upgrade | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowUpgrade | |
{ | |
get => GetBool("AllowUpgrade", false); | |
init => SetProperty("AllowUpgrade", value); | |
} | |
/// <summary> | |
/// Simultaneous upgrade | |
/// </summary> | |
[YamlIgnore] | |
public bool SimultaneousUpgrade | |
{ | |
get => GetBool("SimultaneousUpgrade", false); | |
init => SetProperty("SimultaneousUpgrade", value); | |
} | |
/// <summary> | |
/// Force upgrade | |
/// </summary> | |
[YamlIgnore] | |
public bool ForceUpgrade | |
{ | |
get => GetBool("ForceUpgrade", false); | |
init => SetProperty("ForceUpgrade", value); | |
} | |
/// <summary> | |
/// Verify role instance status | |
/// </summary> | |
[YamlIgnore] | |
public bool VerifyRoleInstanceStatus | |
{ | |
get => GetBool("VerifyRoleInstanceStatus", false); | |
init => SetProperty("VerifyRoleInstanceStatus", value); | |
} | |
/// <summary> | |
/// Diagnostic storage account keys | |
/// </summary> | |
[YamlIgnore] | |
public string? DiagnosticStorageAccountKeys | |
{ | |
get => GetString("DiagnosticStorageAccountKeys"); | |
init => SetProperty("DiagnosticStorageAccountKeys", value); | |
} | |
/// <summary> | |
/// Custom certificates to import | |
/// </summary> | |
[YamlIgnore] | |
public string? NewServiceCustomCertificates | |
{ | |
get => GetString("NewServiceCustomCertificates"); | |
init => SetProperty("NewServiceCustomCertificates", value); | |
} | |
/// <summary> | |
/// Additional arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? NewServiceAdditionalArguments | |
{ | |
get => GetString("NewServiceAdditionalArguments"); | |
init => SetProperty("NewServiceAdditionalArguments", value); | |
} | |
/// <summary> | |
/// Affinity group | |
/// </summary> | |
[YamlIgnore] | |
public string? NewServiceAffinityGroup | |
{ | |
get => GetString("NewServiceAffinityGroup"); | |
init => SetProperty("NewServiceAffinityGroup", value); | |
} | |
} | |
/// <summary> | |
/// <c>AzureCloudPowerShellDeployment@2</c>: | |
/// Azure Cloud Service deployment | |
/// Deploy an Azure Cloud Service | |
/// </summary> | |
public record AzureCloudPowerShellDeployment_V2 : AzureDevOpsTask | |
{ | |
public AzureCloudPowerShellDeployment_V2(string? armconnectedservicename, string? resourcegroupname, string? armstorageaccount, string? servicename, string? servicelocation, string? cscfg, string? csdef, string? cspkg) : base("AzureCloudPowerShellDeployment@2") | |
{ | |
ARMConnectedServiceName = armconnectedservicename; | |
ResourceGroupName = resourcegroupname; | |
ARMStorageAccount = armstorageaccount; | |
ServiceName = servicename; | |
ServiceLocation = servicelocation; | |
CsCfg = cscfg; | |
CsDef = csdef; | |
CsPkg = cspkg; | |
} | |
/// <summary> | |
/// Azure subscription (ARM) | |
/// </summary> | |
[YamlIgnore] | |
public string? ARMConnectedServiceName | |
{ | |
get => GetString("ARMConnectedServiceName"); | |
init => SetProperty("ARMConnectedServiceName", value); | |
} | |
/// <summary> | |
/// Resource group | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("ResourceGroupName"); | |
init => SetProperty("ResourceGroupName", value); | |
} | |
/// <summary> | |
/// Storage account (ARM) | |
/// </summary> | |
[YamlIgnore] | |
public string? ARMStorageAccount | |
{ | |
get => GetString("ARMStorageAccount"); | |
init => SetProperty("ARMStorageAccount", value); | |
} | |
/// <summary> | |
/// Service name | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceName | |
{ | |
get => GetString("ServiceName"); | |
init => SetProperty("ServiceName", value); | |
} | |
/// <summary> | |
/// Service location | |
/// </summary> | |
[YamlIgnore] | |
public string? ServiceLocation | |
{ | |
get => GetString("ServiceLocation"); | |
init => SetProperty("ServiceLocation", value); | |
} | |
/// <summary> | |
/// CsCfg | |
/// </summary> | |
[YamlIgnore] | |
public string? CsCfg | |
{ | |
get => GetString("CsCfg"); | |
init => SetProperty("CsCfg", value); | |
} | |
/// <summary> | |
/// CsDef | |
/// </summary> | |
[YamlIgnore] | |
public string? CsDef | |
{ | |
get => GetString("CsDef"); | |
init => SetProperty("CsDef", value); | |
} | |
/// <summary> | |
/// CsPkg | |
/// </summary> | |
[YamlIgnore] | |
public string? CsPkg | |
{ | |
get => GetString("CsPkg"); | |
init => SetProperty("CsPkg", value); | |
} | |
/// <summary> | |
/// Azure KeyVault | |
/// </summary> | |
[YamlIgnore] | |
public string? KeyVault | |
{ | |
get => GetString("KeyVault"); | |
init => SetProperty("KeyVault", value); | |
} | |
/// <summary> | |
/// Deployment label | |
/// </summary> | |
[YamlIgnore] | |
public string? DeploymentLabel | |
{ | |
get => GetString("DeploymentLabel"); | |
init => SetProperty("DeploymentLabel", value); | |
} | |
/// <summary> | |
/// Append current date and time | |
/// </summary> | |
[YamlIgnore] | |
public bool AppendDateTimeToLabel | |
{ | |
get => GetBool("AppendDateTimeToLabel", false); | |
init => SetProperty("AppendDateTimeToLabel", value); | |
} | |
/// <summary> | |
/// Update mode for the cloud service | |
/// </summary> | |
[YamlIgnore] | |
public string? UpgradeMode | |
{ | |
get => GetString("UpgradeMode"); | |
init => SetProperty("UpgradeMode", value); | |
} | |
/// <summary> | |
/// Allow upgrade | |
/// </summary> | |
[YamlIgnore] | |
public bool AllowUpgrade | |
{ | |
get => GetBool("AllowUpgrade", false); | |
init => SetProperty("AllowUpgrade", value); | |
} | |
/// <summary> | |
/// Verify role instance status | |
/// </summary> | |
[YamlIgnore] | |
public bool VerifyRoleInstanceStatus | |
{ | |
get => GetBool("VerifyRoleInstanceStatus", false); | |
init => SetProperty("VerifyRoleInstanceStatus", value); | |
} | |
/// <summary> | |
/// Diagnostic storage account keys | |
/// </summary> | |
[YamlIgnore] | |
public string? DiagnosticStorageAccountKeys | |
{ | |
get => GetString("DiagnosticStorageAccountKeys"); | |
init => SetProperty("DiagnosticStorageAccountKeys", value); | |
} | |
} | |
/// <summary> | |
/// <c>CargoAuthenticate@0</c>: | |
/// Cargo authenticate (for task runners) | |
/// Authentication task for the cargo client used for installing Cargo crates distribution | |
/// </summary> | |
public record CargoAuthenticate_V0 : AzureDevOpsTask | |
{ | |
public CargoAuthenticate_V0(string? configfile) : base("CargoAuthenticate@0") | |
{ | |
ConfigFile = configfile; | |
} | |
/// <summary> | |
/// 'Azure DevOps' Service Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? AzureDevOpsServiceConnection | |
{ | |
get => GetString("azureDevOpsServiceConnection"); | |
init => SetProperty("azureDevOpsServiceConnection", value); | |
} | |
/// <summary> | |
/// Registry names from config.toml | |
/// </summary> | |
[YamlIgnore] | |
public string? RegistryNames | |
{ | |
get => GetString("registryNames"); | |
init => SetProperty("registryNames", value); | |
} | |
/// <summary> | |
/// config.toml file to authenticate | |
/// </summary> | |
[YamlIgnore] | |
public string? ConfigFile | |
{ | |
get => GetString("configFile"); | |
init => SetProperty("configFile", value); | |
} | |
/// <summary> | |
/// Credentials for registries outside this organization/collection | |
/// </summary> | |
[YamlIgnore] | |
public string? CargoServiceConnections | |
{ | |
get => GetString("cargoServiceConnections"); | |
init => SetProperty("cargoServiceConnections", value); | |
} | |
} | |
/// <summary> | |
/// <c>DeleteFiles@1</c>: | |
/// Delete files | |
/// Delete folders, or files matching a pattern | |
/// </summary> | |
public record DeleteFiles_V1 : AzureDevOpsTask | |
{ | |
public DeleteFiles_V1() : base("DeleteFiles@1") | |
{ | |
} | |
/// <summary> | |
/// Source Folder | |
/// </summary> | |
[YamlIgnore] | |
public string? SourceFolder | |
{ | |
get => GetString("SourceFolder"); | |
init => SetProperty("SourceFolder", value); | |
} | |
/// <summary> | |
/// Contents | |
/// </summary> | |
[YamlIgnore] | |
public string? Contents | |
{ | |
get => GetString("Contents"); | |
init => SetProperty("Contents", value); | |
} | |
/// <summary> | |
/// Remove SourceFolder | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveSourceFolder | |
{ | |
get => GetBool("RemoveSourceFolder", false); | |
init => SetProperty("RemoveSourceFolder", value); | |
} | |
/// <summary> | |
/// Remove files starting with a dot | |
/// </summary> | |
[YamlIgnore] | |
public bool RemoveDotFiles | |
{ | |
get => GetBool("RemoveDotFiles", false); | |
init => SetProperty("RemoveDotFiles", value); | |
} | |
} | |
/// <summary> | |
/// <c>gulp@0</c>: | |
/// gulp | |
/// Run the gulp Node.js streaming task-based build system | |
/// </summary> | |
public record Gulp_V0 : AzureDevOpsTask | |
{ | |
public Gulp_V0() : base("gulp@0") | |
{ | |
} | |
/// <summary> | |
/// gulp File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? GulpFile | |
{ | |
get => GetString("gulpFile"); | |
init => SetProperty("gulpFile", value); | |
} | |
/// <summary> | |
/// gulp Task(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Targets | |
{ | |
get => GetString("targets"); | |
init => SetProperty("targets", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// gulp.js location | |
/// </summary> | |
[YamlIgnore] | |
public string? Gulpjs | |
{ | |
get => GetString("gulpjs"); | |
init => SetProperty("gulpjs", value); | |
} | |
/// <summary> | |
/// Publish to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test Results Files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test Run Title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Enable code Coverage | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCodeCoverage | |
{ | |
get => GetBool("enableCodeCoverage", false); | |
init => SetProperty("enableCodeCoverage", value); | |
} | |
/// <summary> | |
/// Test Framework | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFramework | |
{ | |
get => GetString("testFramework"); | |
init => SetProperty("testFramework", value); | |
} | |
/// <summary> | |
/// Source Files | |
/// </summary> | |
[YamlIgnore] | |
public string? SrcFiles | |
{ | |
get => GetString("srcFiles"); | |
init => SetProperty("srcFiles", value); | |
} | |
/// <summary> | |
/// Test Script Files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFiles | |
{ | |
get => GetString("testFiles"); | |
init => SetProperty("testFiles", value); | |
} | |
} | |
/// <summary> | |
/// <c>gulp@1</c>: | |
/// gulp | |
/// Run the gulp Node.js streaming task-based build system | |
/// </summary> | |
public record Gulp_V1 : AzureDevOpsTask | |
{ | |
public Gulp_V1() : base("gulp@1") | |
{ | |
} | |
/// <summary> | |
/// gulp File Path | |
/// </summary> | |
[YamlIgnore] | |
public string? GulpFile | |
{ | |
get => GetString("gulpFile"); | |
init => SetProperty("gulpFile", value); | |
} | |
/// <summary> | |
/// gulp Task(s) | |
/// </summary> | |
[YamlIgnore] | |
public string? Targets | |
{ | |
get => GetString("targets"); | |
init => SetProperty("targets", value); | |
} | |
/// <summary> | |
/// Arguments | |
/// </summary> | |
[YamlIgnore] | |
public string? Arguments | |
{ | |
get => GetString("arguments"); | |
init => SetProperty("arguments", value); | |
} | |
/// <summary> | |
/// Working Directory | |
/// </summary> | |
[YamlIgnore] | |
public string? WorkingDirectory | |
{ | |
get => GetString("workingDirectory"); | |
init => SetProperty("workingDirectory", value); | |
} | |
/// <summary> | |
/// gulp.js location | |
/// </summary> | |
[YamlIgnore] | |
public string? Gulpjs | |
{ | |
get => GetString("gulpjs"); | |
init => SetProperty("gulpjs", value); | |
} | |
/// <summary> | |
/// Publish to Azure Pipelines | |
/// </summary> | |
[YamlIgnore] | |
public bool PublishJUnitResults | |
{ | |
get => GetBool("publishJUnitResults", false); | |
init => SetProperty("publishJUnitResults", value); | |
} | |
/// <summary> | |
/// Test Results Files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestResultsFiles | |
{ | |
get => GetString("testResultsFiles"); | |
init => SetProperty("testResultsFiles", value); | |
} | |
/// <summary> | |
/// Test Run Title | |
/// </summary> | |
[YamlIgnore] | |
public string? TestRunTitle | |
{ | |
get => GetString("testRunTitle"); | |
init => SetProperty("testRunTitle", value); | |
} | |
/// <summary> | |
/// Enable code Coverage | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableCodeCoverage | |
{ | |
get => GetBool("enableCodeCoverage", false); | |
init => SetProperty("enableCodeCoverage", value); | |
} | |
/// <summary> | |
/// Test Framework | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFramework | |
{ | |
get => GetString("testFramework"); | |
init => SetProperty("testFramework", value); | |
} | |
/// <summary> | |
/// Source Files | |
/// </summary> | |
[YamlIgnore] | |
public string? SrcFiles | |
{ | |
get => GetString("srcFiles"); | |
init => SetProperty("srcFiles", value); | |
} | |
/// <summary> | |
/// Test Script Files | |
/// </summary> | |
[YamlIgnore] | |
public string? TestFiles | |
{ | |
get => GetString("testFiles"); | |
init => SetProperty("testFiles", value); | |
} | |
} | |
/// <summary> | |
/// <c>QuickPerfTest@1</c>: | |
/// Cloud-based web performance test | |
/// Run a quick web performance test in the cloud with Azure Pipelines | |
/// </summary> | |
public record QuickPerfTest_V1 : AzureDevOpsTask | |
{ | |
public QuickPerfTest_V1(string? websiteurl, string? testname) : base("QuickPerfTest@1") | |
{ | |
WebsiteUrl = websiteurl; | |
TestName = testname; | |
} | |
/// <summary> | |
/// Azure Pipelines Connection | |
/// </summary> | |
[YamlIgnore] | |
public string? ConnectedServiceName | |
{ | |
get => GetString("connectedServiceName"); | |
init => SetProperty("connectedServiceName", value); | |
} | |
/// <summary> | |
/// Website URL | |
/// </summary> | |
[YamlIgnore] | |
public string? WebsiteUrl | |
{ | |
get => GetString("websiteUrl"); | |
init => SetProperty("websiteUrl", value); | |
} | |
/// <summary> | |
/// Test Name | |
/// </summary> | |
[YamlIgnore] | |
public string? TestName | |
{ | |
get => GetString("testName"); | |
init => SetProperty("testName", value); | |
} | |
/// <summary> | |
/// User Load | |
/// </summary> | |
[YamlIgnore] | |
public string? VuLoad | |
{ | |
get => GetString("vuLoad"); | |
init => SetProperty("vuLoad", value); | |
} | |
/// <summary> | |
/// Run Duration (sec) | |
/// </summary> | |
[YamlIgnore] | |
public string? RunDuration | |
{ | |
get => GetString("runDuration"); | |
init => SetProperty("runDuration", value); | |
} | |
/// <summary> | |
/// Load Location | |
/// </summary> | |
[YamlIgnore] | |
public string? GeoLocation | |
{ | |
get => GetString("geoLocation"); | |
init => SetProperty("geoLocation", value); | |
} | |
/// <summary> | |
/// Run load test using | |
/// </summary> | |
[YamlIgnore] | |
public string? MachineType | |
{ | |
get => GetString("machineType"); | |
init => SetProperty("machineType", value); | |
} | |
/// <summary> | |
/// Resource group rig | |
/// </summary> | |
[YamlIgnore] | |
public string? ResourceGroupName | |
{ | |
get => GetString("resourceGroupName"); | |
init => SetProperty("resourceGroupName", value); | |
} | |
/// <summary> | |
/// No. of agents to use | |
/// </summary> | |
[YamlIgnore] | |
public int? NumOfSelfProvisionedAgents | |
{ | |
get => GetInt("numOfSelfProvisionedAgents"); | |
init => SetProperty("numOfSelfProvisionedAgents", value); | |
} | |
/// <summary> | |
/// Fail test if Avg.Response Time(ms) exceeds | |
/// </summary> | |
[YamlIgnore] | |
public string? AvgResponseTimeThreshold | |
{ | |
get => GetString("avgResponseTimeThreshold"); | |
init => SetProperty("avgResponseTimeThreshold", value); | |
} | |
} | |
/// <summary> | |
/// <c>IISWebAppManagementOnMachineGroup@0</c>: | |
/// IIS web app manage | |
/// Create or update websites, web apps, virtual directories, or application pools | |
/// </summary> | |
public record IISWebAppManagementOnMachineGroup_V0 : AzureDevOpsTask | |
{ | |
public IISWebAppManagementOnMachineGroup_V0(string? websitename, string? bindings, string? apppoolnameforwebsite, string? parentwebsitenameforvd, string? virtualpathforvd, string? parentwebsitenameforapplication, string? virtualpathforapplication, string? apppoolnameforapplication, string? apppoolname) : base("IISWebAppManagementOnMachineGroup@0") | |
{ | |
WebsiteName = websitename; | |
Bindings = bindings; | |
AppPoolNameForWebsite = apppoolnameforwebsite; | |
ParentWebsiteNameForVD = parentwebsitenameforvd; | |
VirtualPathForVD = virtualpathforvd; | |
ParentWebsiteNameForApplication = parentwebsitenameforapplication; | |
VirtualPathForApplication = virtualpathforapplication; | |
AppPoolNameForApplication = apppoolnameforapplication; | |
AppPoolName = apppoolname; | |
} | |
/// <summary> | |
/// Enable IIS | |
/// </summary> | |
[YamlIgnore] | |
public bool EnableIIS | |
{ | |
get => GetBool("EnableIIS", false); | |
init => SetProperty("EnableIIS", value); | |
} | |
/// <summary> | |
/// Configuration type | |
/// </summary> | |
[YamlIgnore] | |
public string? IISDeploymentType | |
{ | |
get => GetString("IISDeploymentType"); | |
init => SetProperty("IISDeploymentType", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? ActionIISWebsite | |
{ | |
get => GetString("ActionIISWebsite"); | |
init => SetProperty("ActionIISWebsite", value); | |
} | |
/// <summary> | |
/// Action | |
/// </summary> | |
[YamlIgnore] | |
public string? ActionIISApplicationPool | |
{ | |
get => GetString("ActionIISApplicationPool"); | |
init => SetProperty("ActionIISApplicationPool", value); | |
} | |
/// <summary> | |
/// Website name | |
/// </summary> | |
[YamlIgnore] | |
public string? StartStopWebsiteName | |
{ | |
get => GetString("StartStopWebsiteName"); | |
init => SetProperty("StartStopWebsiteName", value); | |
} | |
/// <summary> | |
/// Website name | |
/// </summary> | |
[YamlIgnore] | |
public string? WebsiteName | |
{ | |
get => GetString("WebsiteName"); | |
init => SetProperty("WebsiteName", value); | |
} | |
/// <summary> | |
/// Physical path | |
/// </summary> | |
[YamlIgnore] | |
public string? WebsitePhysicalPath | |
{ | |
get => GetString("WebsitePhysicalPath"); | |
init => SetProperty("WebsitePhysicalPath", value); | |
} | |
/// <summary> | |
/// Physical path authentication | |
/// </summary> | |
[YamlIgnore] | |
public string? WebsitePhysicalPathAuth | |
{ | |
get => GetString("WebsitePhysicalPathAuth"); | |
init => SetProperty("WebsitePhysicalPathAuth", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? WebsiteAuthUserName | |
{ | |
get => GetString("WebsiteAuthUserName"); | |
init => SetProperty("WebsiteAuthUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? WebsiteAuthUserPassword | |
{ | |
get => GetString("WebsiteAuthUserPassword"); | |
init => SetProperty("WebsiteAuthUserPassword", value); | |
} | |
/// <summary> | |
/// Add binding | |
/// </summary> | |
[YamlIgnore] | |
public bool AddBinding | |
{ | |
get => GetBool("AddBinding", false); | |
init => SetProperty("AddBinding", value); | |
} | |
/// <summary> | |
/// Protocol | |
/// </summary> | |
[YamlIgnore] | |
public string? Protocol | |
{ | |
get => GetString("Protocol"); | |
init => SetProperty("Protocol", value); | |
} | |
/// <summary> | |
/// IP address | |
/// </summary> | |
[YamlIgnore] | |
public string? IPAddress | |
{ | |
get => GetString("IPAddress"); | |
init => SetProperty("IPAddress", value); | |
} | |
/// <summary> | |
/// Port | |
/// </summary> | |
[YamlIgnore] | |
public string? Port | |
{ | |
get => GetString("Port"); | |
init => SetProperty("Port", value); | |
} | |
/// <summary> | |
/// Server Name Indication required | |
/// </summary> | |
[YamlIgnore] | |
public bool ServerNameIndication | |
{ | |
get => GetBool("ServerNameIndication", false); | |
init => SetProperty("ServerNameIndication", value); | |
} | |
/// <summary> | |
/// Host name | |
/// </summary> | |
[YamlIgnore] | |
public string? HostNameWithOutSNI | |
{ | |
get => GetString("HostNameWithOutSNI"); | |
init => SetProperty("HostNameWithOutSNI", value); | |
} | |
/// <summary> | |
/// Host name | |
/// </summary> | |
[YamlIgnore] | |
public string? HostNameWithHttp | |
{ | |
get => GetString("HostNameWithHttp"); | |
init => SetProperty("HostNameWithHttp", value); | |
} | |
/// <summary> | |
/// Host name | |
/// </summary> | |
[YamlIgnore] | |
public string? HostNameWithSNI | |
{ | |
get => GetString("HostNameWithSNI"); | |
init => SetProperty("HostNameWithSNI", value); | |
} | |
/// <summary> | |
/// SSL certificate thumbprint | |
/// </summary> | |
[YamlIgnore] | |
public string? SSLCertThumbPrint | |
{ | |
get => GetString("SSLCertThumbPrint"); | |
init => SetProperty("SSLCertThumbPrint", value); | |
} | |
/// <summary> | |
/// Add bindings | |
/// </summary> | |
[YamlIgnore] | |
public string? Bindings | |
{ | |
get => GetString("Bindings"); | |
init => SetProperty("Bindings", value); | |
} | |
/// <summary> | |
/// Create or update app pool | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateOrUpdateAppPoolForWebsite | |
{ | |
get => GetBool("CreateOrUpdateAppPoolForWebsite", false); | |
init => SetProperty("CreateOrUpdateAppPoolForWebsite", value); | |
} | |
/// <summary> | |
/// Configure authentication | |
/// </summary> | |
[YamlIgnore] | |
public bool ConfigureAuthenticationForWebsite | |
{ | |
get => GetBool("ConfigureAuthenticationForWebsite", false); | |
init => SetProperty("ConfigureAuthenticationForWebsite", value); | |
} | |
/// <summary> | |
/// Name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolNameForWebsite | |
{ | |
get => GetString("AppPoolNameForWebsite"); | |
init => SetProperty("AppPoolNameForWebsite", value); | |
} | |
/// <summary> | |
/// .NET version | |
/// </summary> | |
[YamlIgnore] | |
public string? DotNetVersionForWebsite | |
{ | |
get => GetString("DotNetVersionForWebsite"); | |
init => SetProperty("DotNetVersionForWebsite", value); | |
} | |
/// <summary> | |
/// Managed pipeline mode | |
/// </summary> | |
[YamlIgnore] | |
public string? PipeLineModeForWebsite | |
{ | |
get => GetString("PipeLineModeForWebsite"); | |
init => SetProperty("PipeLineModeForWebsite", value); | |
} | |
/// <summary> | |
/// Identity | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolIdentityForWebsite | |
{ | |
get => GetString("AppPoolIdentityForWebsite"); | |
init => SetProperty("AppPoolIdentityForWebsite", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolUsernameForWebsite | |
{ | |
get => GetString("AppPoolUsernameForWebsite"); | |
init => SetProperty("AppPoolUsernameForWebsite", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolPasswordForWebsite | |
{ | |
get => GetString("AppPoolPasswordForWebsite"); | |
init => SetProperty("AppPoolPasswordForWebsite", value); | |
} | |
/// <summary> | |
/// Anonymous authentication | |
/// </summary> | |
[YamlIgnore] | |
public bool AnonymousAuthenticationForWebsite | |
{ | |
get => GetBool("AnonymousAuthenticationForWebsite", false); | |
init => SetProperty("AnonymousAuthenticationForWebsite", value); | |
} | |
/// <summary> | |
/// Basic authentication | |
/// </summary> | |
[YamlIgnore] | |
public bool BasicAuthenticationForWebsite | |
{ | |
get => GetBool("BasicAuthenticationForWebsite", false); | |
init => SetProperty("BasicAuthenticationForWebsite", value); | |
} | |
/// <summary> | |
/// Windows authentication | |
/// </summary> | |
[YamlIgnore] | |
public bool WindowsAuthenticationForWebsite | |
{ | |
get => GetBool("WindowsAuthenticationForWebsite", false); | |
init => SetProperty("WindowsAuthenticationForWebsite", value); | |
} | |
/// <summary> | |
/// Parent website name | |
/// </summary> | |
[YamlIgnore] | |
public string? ParentWebsiteNameForVD | |
{ | |
get => GetString("ParentWebsiteNameForVD"); | |
init => SetProperty("ParentWebsiteNameForVD", value); | |
} | |
/// <summary> | |
/// Virtual path | |
/// </summary> | |
[YamlIgnore] | |
public string? VirtualPathForVD | |
{ | |
get => GetString("VirtualPathForVD"); | |
init => SetProperty("VirtualPathForVD", value); | |
} | |
/// <summary> | |
/// Physical path | |
/// </summary> | |
[YamlIgnore] | |
public string? PhysicalPathForVD | |
{ | |
get => GetString("PhysicalPathForVD"); | |
init => SetProperty("PhysicalPathForVD", value); | |
} | |
/// <summary> | |
/// Physical path authentication | |
/// </summary> | |
[YamlIgnore] | |
public string? VDPhysicalPathAuth | |
{ | |
get => GetString("VDPhysicalPathAuth"); | |
init => SetProperty("VDPhysicalPathAuth", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? VDAuthUserName | |
{ | |
get => GetString("VDAuthUserName"); | |
init => SetProperty("VDAuthUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? VDAuthUserPassword | |
{ | |
get => GetString("VDAuthUserPassword"); | |
init => SetProperty("VDAuthUserPassword", value); | |
} | |
/// <summary> | |
/// Parent website name | |
/// </summary> | |
[YamlIgnore] | |
public string? ParentWebsiteNameForApplication | |
{ | |
get => GetString("ParentWebsiteNameForApplication"); | |
init => SetProperty("ParentWebsiteNameForApplication", value); | |
} | |
/// <summary> | |
/// Virtual path | |
/// </summary> | |
[YamlIgnore] | |
public string? VirtualPathForApplication | |
{ | |
get => GetString("VirtualPathForApplication"); | |
init => SetProperty("VirtualPathForApplication", value); | |
} | |
/// <summary> | |
/// Physical path | |
/// </summary> | |
[YamlIgnore] | |
public string? PhysicalPathForApplication | |
{ | |
get => GetString("PhysicalPathForApplication"); | |
init => SetProperty("PhysicalPathForApplication", value); | |
} | |
/// <summary> | |
/// Physical path authentication | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationPhysicalPathAuth | |
{ | |
get => GetString("ApplicationPhysicalPathAuth"); | |
init => SetProperty("ApplicationPhysicalPathAuth", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationAuthUserName | |
{ | |
get => GetString("ApplicationAuthUserName"); | |
init => SetProperty("ApplicationAuthUserName", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? ApplicationAuthUserPassword | |
{ | |
get => GetString("ApplicationAuthUserPassword"); | |
init => SetProperty("ApplicationAuthUserPassword", value); | |
} | |
/// <summary> | |
/// Create or update app pool | |
/// </summary> | |
[YamlIgnore] | |
public bool CreateOrUpdateAppPoolForApplication | |
{ | |
get => GetBool("CreateOrUpdateAppPoolForApplication", false); | |
init => SetProperty("CreateOrUpdateAppPoolForApplication", value); | |
} | |
/// <summary> | |
/// Name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolNameForApplication | |
{ | |
get => GetString("AppPoolNameForApplication"); | |
init => SetProperty("AppPoolNameForApplication", value); | |
} | |
/// <summary> | |
/// .NET version | |
/// </summary> | |
[YamlIgnore] | |
public string? DotNetVersionForApplication | |
{ | |
get => GetString("DotNetVersionForApplication"); | |
init => SetProperty("DotNetVersionForApplication", value); | |
} | |
/// <summary> | |
/// Managed pipeline mode | |
/// </summary> | |
[YamlIgnore] | |
public string? PipeLineModeForApplication | |
{ | |
get => GetString("PipeLineModeForApplication"); | |
init => SetProperty("PipeLineModeForApplication", value); | |
} | |
/// <summary> | |
/// Identity | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolIdentityForApplication | |
{ | |
get => GetString("AppPoolIdentityForApplication"); | |
init => SetProperty("AppPoolIdentityForApplication", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolUsernameForApplication | |
{ | |
get => GetString("AppPoolUsernameForApplication"); | |
init => SetProperty("AppPoolUsernameForApplication", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolPasswordForApplication | |
{ | |
get => GetString("AppPoolPasswordForApplication"); | |
init => SetProperty("AppPoolPasswordForApplication", value); | |
} | |
/// <summary> | |
/// Name | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolName | |
{ | |
get => GetString("AppPoolName"); | |
init => SetProperty("AppPoolName", value); | |
} | |
/// <summary> | |
/// .NET version | |
/// </summary> | |
[YamlIgnore] | |
public string? DotNetVersion | |
{ | |
get => GetString("DotNetVersion"); | |
init => SetProperty("DotNetVersion", value); | |
} | |
/// <summary> | |
/// Managed pipeline mode | |
/// </summary> | |
[YamlIgnore] | |
public string? PipeLineMode | |
{ | |
get => GetString("PipeLineMode"); | |
init => SetProperty("PipeLineMode", value); | |
} | |
/// <summary> | |
/// Identity | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolIdentity | |
{ | |
get => GetString("AppPoolIdentity"); | |
init => SetProperty("AppPoolIdentity", value); | |
} | |
/// <summary> | |
/// Username | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolUsername | |
{ | |
get => GetString("AppPoolUsername"); | |
init => SetProperty("AppPoolUsername", value); | |
} | |
/// <summary> | |
/// Password | |
/// </summary> | |
[YamlIgnore] | |
public string? AppPoolPassword | |
{ | |
get => GetString("AppPoolPassword"); | |
init => SetProperty("AppPoolPassword", value); | |
} | |
/// <summary> | |
/// Application pool name | |
/// </summary> | |
[YamlIgnore] | |
public string? StartStopRecycleAppPoolName | |
{ | |
get => GetString("StartStopRecycleAppPoolName"); | |
init => SetProperty("StartStopRecycleAppPoolName", value); | |
} | |
/// <summary> | |
/// Additional appcmd.exe commands | |
/// </summary> | |
[YamlIgnore] | |
public string? AppCmdCommands | |
{ | |
get => GetString("AppCmdCommands"); | |
init => SetProperty("AppCmdCommands", value); | |
} | |
} | |
/// <summary> | |
/// <c>DockerInstaller@0</c>: | |
/// Docker CLI installer | |
/// Install Docker CLI on agent machine. | |
/// </summary> | |
public record DockerInstaller_V0 : AzureDevOpsTask | |
{ | |
public DockerInstaller_V0() : base("DockerInstaller@0") | |
{ | |
} | |
/// <summary> | |
/// Docker Version | |
/// </summary> | |
[YamlIgnore] | |
public string? DockerVersion | |
{ | |
get => GetString("dockerVersion"); | |
init => SetProperty("dockerVersion", value); | |
} | |
/// <summary> | |
/// Release type | |
/// </summary> | |
[YamlIgnore] | |
public string? ReleaseType | |
{ | |
get => GetString("releaseType"); | |
init => SetProperty("releaseType", value); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.CodeDom.Compiler; | |
using System.Text; | |
using System.Text.Json; | |
using Json.Schema; | |
var rawSchemaJson = await File.ReadAllTextAsync("yamlschema.json"); | |
var jsonSchema = JsonSerializer.Deserialize<JsonSchema>(rawSchemaJson) ?? throw new InvalidOperationException("Failed to deserialize schema"); | |
var definitions = jsonSchema.GetDefinitions() ?? throw new InvalidOperationException("Failed to get definitions"); | |
var taskDefinition = definitions["task"]!; | |
var tasks = taskDefinition.GetAnyOf() ?? throw new InvalidOperationException("Failed to get anyOf"); | |
var fileWriter = new StreamWriter("output.cs"); | |
var codeWriter = new IndentedTextWriter(fileWriter, " "); | |
codeWriter.WriteLine("using Sharpliner;"); | |
codeWriter.WriteLine("using Sharpliner.AzureDevOps;"); | |
codeWriter.WriteLine("using YamlDotNet.Serialization;"); | |
codeWriter.WriteLine("namespace Sharpliner.AzureDevOps.Tasks.Generated;"); | |
var tasksIds = new HashSet<string>(); | |
foreach (var task in tasks) | |
{ | |
var properties = task.GetProperties() ?? throw new InvalidOperationException("Failed to get properties"); | |
var rawTaskName = properties["task"].GetPatternValue()!; | |
if (!tasksIds.Add(rawTaskName)) | |
{ | |
continue; | |
} | |
var taskId = ToPascalCase(rawTaskName); | |
var prettyTaskName = rawTaskName.TrimStart('^').TrimEnd('$').Replace("\\", string.Empty); | |
codeWriter.WriteLine(); | |
codeWriter.WriteLine("/// <summary>"); | |
codeWriter.WriteLine($"/// <c>{prettyTaskName}</c>: "); | |
foreach (var line in properties["task"].GetDescription()!.Split('\n', StringSplitOptions.RemoveEmptyEntries)) | |
{ | |
codeWriter.WriteLine($"/// {line}"); | |
} | |
codeWriter.WriteLine("/// </summary>"); | |
codeWriter.WriteLine($"public record {taskId} : AzureDevOpsTask"); | |
codeWriter.WriteLine("{"); | |
codeWriter.Indent++; | |
if (properties.TryGetValue("inputs", out var inputs)) | |
{ | |
var requiredInputs = inputs.GetRequired() ?? throw new InvalidOperationException("Failed to get required properties"); | |
codeWriter.Write($"public {taskId}("); | |
var arguments = string.Join(", ", requiredInputs.Select(x => | |
{ | |
var value = inputs.GetProperties()![x]; | |
var csharpType = ToCsharpType(value); | |
return $"{csharpType} {ToCamelCase(x)}"; | |
})); | |
codeWriter.Write(arguments); | |
codeWriter.WriteLine($") : base(\"{prettyTaskName}\")"); | |
codeWriter.WriteLine("{"); | |
codeWriter.Indent++; | |
foreach (var requiredInput in requiredInputs) | |
{ | |
codeWriter.WriteLine($"{ToPascalCase(requiredInput)} = {ToCamelCase(requiredInput)};"); | |
} | |
codeWriter.Indent--; | |
codeWriter.WriteLine("}"); | |
foreach (var (key, value) in inputs.GetProperties()!) | |
{ | |
var csharpType = ToCsharpType(value); | |
var getMethodInvocation = csharpType switch | |
{ | |
"string?" => $"GetString(\"{key}\");", | |
"int?" => $"GetInt(\"{key}\");", | |
"bool" => $"GetBool(\"{key}\", false);", | |
_ => $"throw new NotImplementedException(\"No implementation for {csharpType} type\");" | |
}; | |
codeWriter.WriteLine("/// <summary>"); | |
codeWriter.WriteLine($"/// {value.GetDescription()}"); | |
codeWriter.WriteLine("/// </summary>"); | |
codeWriter.WriteLine("[YamlIgnore]"); | |
codeWriter.WriteLine($"public {csharpType} {ToPascalCase(key)}"); | |
codeWriter.WriteLine("{"); | |
codeWriter.Indent++; | |
codeWriter.WriteLine($"get => {getMethodInvocation}"); | |
codeWriter.WriteLine($"init => SetProperty(\"{key}\", value);"); | |
codeWriter.Indent--; | |
codeWriter.WriteLine("}"); | |
} | |
} | |
codeWriter.Indent--; | |
codeWriter.WriteLine("}"); | |
} | |
await fileWriter.DisposeAsync(); | |
string ToPascalCase(string input) | |
{ | |
var builder = new StringBuilder(); | |
bool isNextCharUpper = true; | |
bool isFirstChar = true; | |
for (int i = 0; i < input.Length; i++) | |
{ | |
if (input[i] is '^' or '$' or '\\') | |
{ | |
continue; | |
} | |
else if (input[i] is ' ' or '.' | |
or '-' or '_' | |
or '(' or ')' | |
or '[' or ']' | |
) | |
{ | |
isNextCharUpper = true; | |
continue; | |
} | |
else if (input[i] is '@') | |
{ | |
builder.Append("_V"); | |
} | |
else | |
{ | |
if (isFirstChar && char.IsDigit(input[i])) | |
{ | |
builder.Append('_'); | |
isFirstChar = false; | |
} | |
builder.Append(isNextCharUpper ? char.ToUpper(input[i]) : input[i]); | |
isNextCharUpper = false; | |
isFirstChar = false; | |
} | |
} | |
return builder.ToString(); | |
} | |
string ToCamelCase(string input) | |
{ | |
switch (input) | |
{ | |
case "namespace": | |
return "@namespace"; | |
case "break": | |
return "@break"; | |
case "continue": | |
return "@continue"; | |
default: | |
break; | |
} | |
var builder = new StringBuilder(); | |
bool isNextCharUpper = false; | |
bool isFirstChar = true; | |
for (int i = 0; i < input.Length; i++) | |
{ | |
if (input[i] is ' ' or '.' | |
or '-' or '_' | |
or '(' or ')' | |
or '[' or ']' | |
) | |
{ | |
isNextCharUpper = true; | |
continue; | |
} | |
else | |
{ | |
if (isFirstChar && char.IsDigit(input[i])) | |
{ | |
builder.Append('_'); | |
isFirstChar = false; | |
} | |
builder.Append(isNextCharUpper ? char.ToUpper(input[i]) : char.ToLower(input[i])); | |
isNextCharUpper = false; | |
isFirstChar = false; | |
} | |
} | |
return builder.ToString(); | |
} | |
string ToCsharpType(JsonSchema property) | |
{ | |
switch (property.GetJsonType()) | |
{ | |
case SchemaValueType.String: | |
return "string?"; | |
case SchemaValueType.Integer: | |
return "int?"; | |
case SchemaValueType.Boolean: | |
return "bool"; | |
default: | |
break; | |
} | |
if (property.GetEnum() is { } enumValues) | |
{ | |
return "string?"; // TODO: Generate enum? | |
} | |
return "System.Object"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net8.0</TargetFramework> | |
<ImplicitUsings>enable</ImplicitUsings> | |
<Nullable>enable</Nullable> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="JsonSchema.Net" Version="7.2.3" /> | |
<PackageReference Include="Sharpliner" Version="1.5.21" /> | |
</ItemGroup> | |
<ItemGroup> | |
<None Update="yamlschema.json"> | |
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
</None> | |
</ItemGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment