< Back

Get-AzDoReleaseDefinition

Sat Jan 18, 2020 7:38 pm

NAME Get-AzDoReleaseDefinition



SYNOPSIS

This commend provides accesss Release Defintiions from Azure DevOps





SYNTAX

Get-AzDoReleaseDefinition [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] [-ReleaseDefinitionName

<String>] [-ExpandFields <String>] [<CommonParameters>]



Get-AzDoReleaseDefinition [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] [-ReleaseDefinitionId

<Int32>] [-ExpandFields <String>] [<CommonParameters>]





DESCRIPTION

The command will retrieve a full release definition (if it exists)





PARAMETERS

-AzDoConnection <AzDoConnectObject>

Common Parameters



Required? false

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-ApiVersion <String>

Allows for specifying a specific version of the api to use (default is 5.0)



Required? false

Position? named

Default value $global:AzDoApiVersion

Accept pipeline input? false

Accept wildcard characters? false



-ReleaseDefinitionName <String>

The name of the release definition to retrieve (use on this OR the id parameter)



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ReleaseDefinitionId <Int32>

The id of the release definition to retrieve (use on this OR the name parameter)



Required? false

Position? named

Default value 0

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ExpandFields <String>

A common seperated list of fields to expand



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



Get-AzDoReleaseDefinition -ProjectUrl https://dev.azure.com/<organizztion>/<project> -ReleaseDefinitionName

<release defintiion name> -PAT <personal access token>















RELATED LINKS

https://github.com/ravensorb/Posh-AzureDevOps