Reference
Injects BuildHttpClient instance into your Function.
Binds to a BuildDefinitionProxy by its ID. Input only.
Build Definition ID (an integer number) to bind to.
Represents a BuildDefinition instance.
Represents the Build object.
Triggers a Function when a Build status is changed.
Comma-separated list of Agent Pool IDs. When specified, only Builds running in those Agent Pools will be observed.
Comma-separated list of Build Definition IDs. When specified, only Builds from those Build Definitions will be observed.
When specified, only builds with that particular Build Number will be observed. E.g. "20221102.5".
Comma-separated list of reasons for build to be triggered. When specified, only builds caused by those reasons will be observed. E.g. "Manual,PullRequest,Schedule".
When specified, the Function will only be triggered when Build Status changes FROM this value. E.g. "NotStarted".
When specified, only builds from that repository will be observed. E.g. "14BAE3DC-067A-4A07-8BA9-1223646C9F44". TODO: needs to be used together with RepositoryType, so doesn't work yet. Replace with RepositoryName.
When specified, only builds triggered by that particular person will be observed. E.g. "john@doe.com".
When specified, the Function will only be triggered when Build Status changes TO this value. List of allowed values: . E.g. "Completed".
Injects GitHttpClient instance into your Function.
Binds to a ProjectProxy by its name. Input only.
Injects ProjectHttpClient instance into your Function.
Represents the TeamProject object.
Represents the GitPullRequest object.
Triggered when a Pull Request changes its Status. Currently retries every 1 minute FOREVER. Make sure to handle your exceptions.
When specified, the Function will only be triggered when Pull Request Status changes FROM this value. Allowed values: PullRequestStatusEnum. E.g. "Draft".
When specified, only Pull Requests in this Repository will be observed.
When specified, only Pull Requests from this Source Branch will be observed.
When specified, only Pull Requests into this Target Branch will be observed.
When specified, the Function will only be triggered when Pull Request Status changes TO this value. Allowed values: PullRequestStatusEnum. E.g. "Completed".
Possible Pull Request statuses.
Injects ReleaseHttpClient instance into your Function.
Triggered when a new Release is created. Currently retries every 1 minute FOREVER. Make sure to handle your exceptions.
When specified, only Releases triggered by this user will be observed. E.g. "john@doe.com".
When specified, only Releases from this Release Definition will be observed.
When specified, only Releases from this folder will be observed.
Output-only binding for ReleaseEnvironmentProxy object.
Represents the ReleaseEnvironment (aka Release Stage) object
References to all other Environments (Stages) of this Release. Navigate to them by their name.
Reference to parent Release
Result Values of this Release Environment (Stage). To output a result value, create a shell (bash, cmd, etc.) task, that has "AzFunc4DevOps" in its name and prints "<AzFunc4DevOps.MyResult>my-value</AzFunc4DevOps.MyResult>" to stdout. Then "MyResult"="my-value" will appear in this map.
When returned from a Function, changes the state of given Release Environment (aka Release Stage)
ID of this Release Environment (Stage)
ID of the Release this Environment (Stage) belongs to.
Output-only binding for object. Used mostly for triggering Release Environments (Stages) and setting their Variables.
Triggered when a Release Environment (Stage) changes its Status. Currently retries every 1 minute FOREVER. Make sure to handle your exceptions.
When specified, only Releases created by this user will be observed. E.g. "john@doe.com".
When specified, the Function will only be triggered when Release Environment Status changes FROM this value. Allowed values: EnvironmentStatus. E.g. "NotStarted".
When specified, only Releases from this Release Definition will be observed.
When specified, only this particular Release Environment (Stage) will be observed.
When specified, only Release Environments (Stages) with this particular name will be observed. E.g. "Stage 1".
When specified, only Releases from this Folder will be observed.
When specified, the Function will only be triggered when Release Environment Status changes TO this value. Allowed values: EnvironmentStatus. E.g. "Succeeded".
Represents the Release object
Represents a Test Case Step File Attachment
Binds to a TestCaseProxy (a Work Item with Type = "Test Case"). Input/Output.
Combines Test Case ID and a list of Test Configuration Ids ('Windows', 'Linux' etc.) assigned to it.
(Optional) IDs of Test Configurations assigned to this Test Case.
Work Item ID of this Test Case.
Represents the 'Test Case' work item.
List of Steps in this Test Case
Injects TestPlanHttpClient instance into your Function.
Represents a Test Case Step
List of attachments (screenshots, images, documents etc.), that belong to this Test Step.
Arbitrary description.
Expected result of this step. E.g. "Browser windows opens".
ID of this Test Step.
If this is a shared step, here comes its ID.
Test Step Type. Allowed values: TestStepType
Action text. E.g. "Open browser window".
Binds to a TestPlanProxy (a collection of Test Cases). Input/Output.
ID of Test Plan to bind to. Integer number. Required.
Binds to a TestSuiteProxy (a collection of Test Cases). Input/Output.
(Optional) ID of a particular Test Suite. If not specified, binds to parent Test Plan's Root (aka default) Test Suite.
ID of parent Test Plan. Integer number. Required.
Represents the 'Test Plan' object.
Snapshot of this object, in JSON form. Used for change detection.
Represents the 'Test Suite' object.
Snapshot of this object, in JSON form. Used for change detection.
List of Test Cases in this Test Suite.
Injects VssConnection instance into your Function.
Injects WorkHttpClient instance into your Function.
Binds to a WorkItemProxy (a generic Work Item instance). Input/Output.
ID of a Work Item to bind to. Should only be used for Input bindings.
Represents a change in a Work Item. Used as a Function's parameter type for WorkItemChangedTriggerAttribute.
The new state of a Work Item.
The previous state of a Work Item.
Triggers a Function when a Work Item is changed. Changes are detected by watching Work Item's revision numbers. Function's parameter should be of WorkItemChange type. Currently retries every 1 minute FOREVER. Make sure to handle your exceptions. Use WiqlQueryWhereClause property to restrict the kind of Work Items to be triggered for.
Name of specific Field to watch for changes in. E.g. "System.Title". When specified, the Function will only be triggered when that Field's value changes.
Should be used together with FieldName. When specified, the Function will only be triggered when that Field's value changes FROM this value to some other value.
Should be used together with FieldName. When specified, the Function will only be triggered when that Field's value changes TO this value.
WIQL WHERE filter. E.g. "[Work Item Type] = 'User Story'". When specified, the Function will only be triggered for items, that satisfy that filter.
Injects WorkHttpClient instance into your Function.
Triggered when a new Work Item is created. Currently retries every 1 minute FOREVER. Make sure to handle your exceptions. Use WiqlQueryWhereClause property to restrict the kind of Work Items to be triggered for.
WIQL WHERE filter. E.g. "[Work Item Type] = 'User Story'". When specified, the Function will only be triggered for items, that satisfy that filter.
Represents a generic Work Item.
System.AreaId field.
System.AreaPath field.
System.AuthorizedDate field.
System.ChangedBy field.
System.ChangedDate field.
Microsoft.VSTS.Scheduling.CompletedWork field.
System.CreatedBy field.
System.CreatedDate field.
System.Description field.
Microsoft.VSTS.Scheduling.Effort field.
System.IterationId field.
System.IterationPath field.
Microsoft.VSTS.Scheduling.OriginalEstimate field.
Snapshot of this object, in JSON form. Used for change detection.
System.Parent field.
Microsoft.VSTS.Common.Priority field.
System.Reason field.
Microsoft.VSTS.Scheduling.RemainingWork field.
System.RevisedDate field.
Microsoft.VSTS.Common.Severity field.
System.State field.
System.TeamProject field.
System.Title field.
System.WorkItemType field.
Binds to an IEnumerable of WorkItemProxy. Use WiqlQueryWhereClause property to specify a WIQL query for items to be returned.
WIQL WHERE filter for Work Items to be returned. E.g. "[Work Item Type] = 'User Story'".