Optional
options: IRequestOptionsStatic
Readonly
RESOURCE_Project ID or project name
Adds a tag to a releaseId
Project ID or project name
Adds tag to a release
Project ID or project name
Optional
apiVersion: stringCreates a definition environment template
Definition environment template to create
Project ID or project name
Project ID or project name
Optional
identityId: stringCreate a release.
Metadata to create a release.
Project ID or project name
Create a release definition
release definition object to create.
Project ID or project name
Optional
apiVersion: stringDelete a definition environment template
Project ID or project name
Id of the definition environment template
Deletes a tag from a definition
Project ID or project name
Deletes a definition folder for given folder name and path and all it's existing definitions.
Project ID or project name
Path of the folder to delete.
Soft delete a release
Project ID or project name
Id of the release.
Optional
comment: stringComment for deleting a release.
Delete a release definition.
Project ID or project name
Id of the release definition.
Optional
comment: stringComment for deleting a release definition.
Optional
forceDelete: boolean'true' to automatically cancel any in-progress release deployments and proceed with release definition deletion . Default is 'false'.
Deletes a tag from a release
Project ID or project name
Returns the artifact details that automation agent requires
Project ID or project name
Get an approval.
Project ID or project name
Id of the approval.
Optional
includeHistory: boolean'true' to include history of the approval. Default is 'false'.
Get approval history.
Project ID or project name
Id of the approval.
Get a list of approvals
Project ID or project name
Optional
assignedToFilter: stringApprovals assigned to this user.
Optional
statusFilter: ApprovalStatusApprovals with this status. Default is 'pending'.
Optional
releaseIdsFilter: number[]Approvals for release id(s) mentioned in the filter. Multiple releases can be mentioned by separating them with ',' e.g. releaseIdsFilter=1,2,3,4.
Optional
typeFilter: ApprovalTypeApproval with this type.
Optional
top: numberNumber of approvals to get. Default is 50.
Optional
continuationToken: numberGets the approvals after the continuation token provided.
Optional
queryOrder: ReleaseQueryOrderGets the results in the defined order of created approvals. Default is 'descending'.
Optional
includeMyGroupApprovals: boolean'true' to include my group approvals. Default is 'false'.
Project ID or project name
Project ID or project name
Project ID or project name
Optional
project: stringProject ID or project name
Project ID or project name
Optional
taskGroupId: stringOptional
propertyFilters: string[]Gets a definition environment template
Project ID or project name
Id of the definition environment template
Get release definition for a given definitionId and revision
Project ID or project name
Id of the definition.
Id of the revision.
Gets the tags for a definition
Project ID or project name
Gets a badge that indicates the status of the most recent deployment for an environment.
The ID of the Project.
The ID of the Release Definition.
The ID of the Environment.
Optional
branchName: stringThe name of the branch.
Get a list of deployments
Project ID or project name
Optional
definitionId: numberList the deployments for a given definition id.
Optional
definitionEnvironmentId: numberList the deployments for a given definition environment id.
Optional
createdBy: stringList the deployments for which deployments are created as identity specified.
Optional
minModifiedTime: DateList the deployments with LastModified time >= minModifiedTime.
Optional
maxModifiedTime: DateList the deployments with LastModified time <= maxModifiedTime.
Optional
deploymentStatus: DeploymentStatusList the deployments with given deployment status. Defult is 'All'.
Optional
operationStatus: DeploymentOperationStatusList the deployments with given operation status. Default is 'All'.
Optional
latestAttemptsOnly: boolean'true' to include deployments with latest attempt only. Default is 'false'.
Optional
queryOrder: ReleaseQueryOrderList the deployments with given query order. Default is 'Descending'.
Optional
top: numberList the deployments with given top. Default top is '50' and Max top is '100'.
Optional
continuationToken: numberList the deployments with deployment id >= continuationToken.
Optional
createdFor: stringList the deployments for which deployments are requested as identity specified.
Optional
minStartedTime: DateList the deployments with StartedOn time >= minStartedTime.
Optional
maxStartedTime: DateList the deployments with StartedOn time <= maxStartedTime.
Optional
sourceBranch: stringList the deployments that are deployed from given branch name.
Project ID or project name
Project ID or project name
Optional
identityId: stringOptional
flightName: stringGets folders.
Project ID or project name
Optional
path: stringPath of the folder.
Optional
queryOrder: FolderPathQueryOrderGets the results in the defined order. Default is 'None'.
Gets gate logs
Project ID or project name
Id of the release.
Id of release environment.
Id of the gate.
ReleaseTask Id for the log.
Project ID or project name
Project ID or project name
Optional
sourceId: stringGets logs
Project ID or project name
Id of the release.
Id of release environment.
ReleaseTask Id for the log.
Optional
attemptId: numberId of the attempt.
Get logs for a release Id.
Project ID or project name
Id of the release.
Get manual intervention for a given release and manual intervention id.
Project ID or project name
Id of the release.
Id of the manual intervention.
List all manual interventions for a given release.
Project ID or project name
Id of the release.
Project ID or project name
Optional
minMetricsTime: DateGets Org pipeline release settings
Gets pipeline release settings
Project ID or project name
Get a Release
Project ID or project name
Id of the release.
Optional
approvalFilters: ApprovalFiltersA filter which would allow fetching approval steps selectively based on whether it is automated, or manual. This would also decide whether we should fetch pre and post approval snapshots. Assumes All by default
Optional
propertyFilters: string[]A comma-delimited list of extended properties to be retrieved. If set, the returned Release will contain values for the specified property Ids (if they exist). If not set, properties will not be included.
Optional
expand: SingleReleaseExpandsA property that should be expanded in the release.
Optional
topGateRecords: numberNumber of release gate records to get. Default is 5.
Project ID or project name
Optional
baseReleaseId: numberOptional
top: numberOptional
artifactAlias: stringGet a release definition.
Project ID or project name
Id of the release definition.
Optional
propertyFilters: string[]A comma-delimited list of extended properties to be retrieved. If set, the returned Release Definition will contain values for the specified property Ids (if they exist). If not set, properties will not be included.
Get revision history for a release definition
Project ID or project name
Id of the definition.
Get release definition of a given revision.
Project ID or project name
Id of the release definition.
Revision number of the release definition.
Get a list of release definitions.
Project ID or project name
Optional
searchText: stringGet release definitions with names containing searchText.
Optional
expand: ReleaseDefinitionExpandsThe properties that should be expanded in the list of Release definitions.
Optional
artifactType: stringRelease definitions with given artifactType will be returned. Values can be Build, Jenkins, GitHub, Nuget, Team Build (external), ExternalTFSBuild, Git, TFVC, ExternalTfsXamlBuild.
Optional
artifactSourceId: stringRelease definitions with given artifactSourceId will be returned. e.g. For build it would be {projectGuid}:{BuildDefinitionId}, for Jenkins it would be {JenkinsConnectionId}:{JenkinsDefinitionId}, for TfsOnPrem it would be {TfsOnPremConnectionId}:{ProjectName}:{TfsOnPremDefinitionId}. For third-party artifacts e.g. TeamCity, BitBucket you may refer 'uniqueSourceIdentifier' inside vss-extension.json at https://github.com/Microsoft/vsts-rm-extensions/blob/master/Extensions.
Optional
top: numberNumber of release definitions to get.
Optional
continuationToken: stringGets the release definitions after the continuation token provided.
Optional
queryOrder: ReleaseDefinitionQueryOrderGets the results in the defined order. Default is 'IdAscending'.
Optional
path: stringGets the release definitions under the specified path.
Optional
isExactNameMatch: boolean'true'to gets the release definitions with exact match as specified in searchText. Default is 'false'.
Optional
tagFilter: string[]A comma-delimited list of tags. Only release definitions with these tags will be returned.
Optional
propertyFilters: string[]A comma-delimited list of extended properties to be retrieved. If set, the returned Release Definitions will contain values for the specified property Ids (if they exist). If not set, properties will not be included. Note that this will not filter out any Release Definition from results irrespective of whether it has property set or not.
Optional
definitionIdFilter: string[]A comma-delimited list of release definitions to retrieve.
Optional
isDeleted: boolean'true' to get release definitions that has been deleted. Default is 'false'
Optional
searchTextContainsFolderName: boolean'true' to get the release definitions under the folder with name as specified in searchText. Default is 'false'.
Get release summary of a given definition Id.
Project ID or project name
Id of the definition to get release summary.
Count of releases to be included in summary.
Optional
includeArtifact: booleanInclude artifact details.Default is 'false'.
Optional
definitionEnvironmentIdsFilter: number[]Get a release environment.
Project ID or project name
Id of the release.
Id of the release environment.
Optional
expand: ReleaseEnvironmentExpandsA property that should be expanded in the environment.
Project ID or project name
Get release for a given revision number.
Project ID or project name
Id of the release.
Definition snapshot revision number.
Get a list of releases
Optional
project: stringProject ID or project name
Optional
definitionId: numberReleases from this release definition Id.
Optional
definitionEnvironmentId: numberOptional
searchText: stringReleases with names containing searchText.
Optional
createdBy: stringReleases created by this user.
Optional
statusFilter: ReleaseStatusReleases that have this status.
Optional
environmentStatusFilter: numberOptional
minCreatedTime: DateReleases that were created after this time.
Optional
maxCreatedTime: DateReleases that were created before this time.
Optional
queryOrder: ReleaseQueryOrderGets the results in the defined order of created date for releases. Default is descending.
Optional
top: numberNumber of releases to get. Default is 50.
Optional
continuationToken: numberGets the releases after the continuation token provided.
Optional
expand: ReleaseExpandsThe property that should be expanded in the list of releases.
Optional
artifactTypeId: stringReleases with given artifactTypeId will be returned. Values can be Build, Jenkins, GitHub, Nuget, Team Build (external), ExternalTFSBuild, Git, TFVC, ExternalTfsXamlBuild.
Optional
sourceId: stringUnique identifier of the artifact used. e.g. For build it would be {projectGuid}:{BuildDefinitionId}, for Jenkins it would be {JenkinsConnectionId}:{JenkinsDefinitionId}, for TfsOnPrem it would be {TfsOnPremConnectionId}:{ProjectName}:{TfsOnPremDefinitionId}. For third-party artifacts e.g. TeamCity, BitBucket you may refer 'uniqueSourceIdentifier' inside vss-extension.json https://github.com/Microsoft/vsts-rm-extensions/blob/master/Extensions.
Optional
artifactVersionId: stringReleases with given artifactVersionId will be returned. E.g. in case of Build artifactType, it is buildId.
Optional
sourceBranchFilter: stringReleases with given sourceBranchFilter will be returned.
Optional
isDeleted: booleanGets the soft deleted releases, if true.
Optional
tagFilter: string[]A comma-delimited list of tags. Only releases with these tags will be returned.
Optional
propertyFilters: string[]A comma-delimited list of extended properties to be retrieved. If set, the returned Releases will contain values for the specified property Ids (if they exist). If not set, properties will not be included. Note that this will not filter out any Release from results irrespective of whether it has property set or not.
Optional
releaseIdFilter: number[]A comma-delimited list of releases Ids. Only releases with these Ids will be returned.
Optional
path: stringReleases under this folder path will be returned
Gets the release settings
Project ID or project name
Gets the tags for a release
Project ID or project name
Get a release task attachment.
Project ID or project name
Id of the release.
Id of the release environment.
Attempt number of deployment.
Plan Id of the deploy phase.
Timeline Id of the task.
Record Id of attachment.
Type of the attachment.
Name of the attachment.
Get the release task attachments.
Project ID or project name
Id of the release.
Id of the release environment.
Attempt number of deployment.
Plan Id of the deploy phase.
Type of the attachment.
Project ID or project name
Optional
baseReleaseId: numberOptional
top: numberOptional
artifactAlias: stringProject ID or project name
Project ID or project name
Project ID or project name
Get a task attachment.
Project ID or project name
Id of the release.
Id of the release environment.
Attempt number of deployment.
Timeline Id of the task.
Record Id of attachment.
Type of the attachment.
Name of the attachment.
Get the task attachments.
Project ID or project name
Id of the release.
Id of the release environment.
Attempt number of deployment.
Timeline Id of the task.
Type of the attachment.
Gets the task log of a release as a plain text file.
Project ID or project name
Id of the release.
Id of release environment.
Release deploy phase Id.
ReleaseTask Id for the log.
Optional
startLine: numberStarting line number for logs
Optional
endLine: numberEnding line number for logs
Gets the task log of a release as a plain text file.
Project ID or project name
Id of the release.
Id of release environment.
ReleaseTask Id for the log.
Optional
startLine: numberStarting line number for logs
Optional
endLine: numberEnding line number for logs
Project ID or project name
Optional
attemptId: numberProject ID or project name
Project ID or project name
Gets a list of definition environment templates
Project ID or project name
Optional
isDeleted: boolean'true' to get definition environment templates that have been deleted. Default is 'false'
Project ID or project name
Undelete a soft deleted release.
Project ID or project name
Id of release to be undeleted.
Any comment for undeleting.
Undelete a release definition.
Object for undelete release definition.
Project ID or project name
Id of the release definition to be undeleted
Undelete a release definition environment template.
Project ID or project name
Id of the definition environment template to be undeleted
Updates the gate for a deployment.
Metadata to patch the Release Gates.
Project ID or project name
Gate step Id.
Update manual intervention.
Meta data to update manual intervention.
Project ID or project name
Id of the release.
Id of the manual intervention.
Updates Org pipeline release settings
Updates pipeline release settings
Project ID or project name
Update status of an approval
ReleaseApproval object having status, approver and comments.
Project ID or project name
Id of the approval.
Project ID or project name
Update a release definition.
Release definition object to update.
Project ID or project name
Update the status of a release environment
Environment update meta data.
Project ID or project name
Id of the release.
Id of release environment.
Update few properties of a release.
Properties of release to update.
Project ID or project name
Id of the release to update.
Updates the release settings
Project ID or project name
Adds a tag to a definition