ValidationItem interface
Properties
is |
Tells whether the current input is valid or not |
reason | Reason for input validation failure |
type | Type of validation item |
value | Value to validate. The conditional expression to validate for the input for "expression" type Eg:eq(variables['Build.SourceBranch'], 'refs/heads/master');eq(value, 'refs/heads/master') |
Property Details
isValid
Tells whether the current input is valid or not
isValid: boolean
Property Value
boolean
reason
Reason for input validation failure
reason: string
Property Value
string
type
Type of validation item
type: string
Property Value
string
value
Value to validate. The conditional expression to validate for the input for "expression" type Eg:eq(variables['Build.SourceBranch'], 'refs/heads/master');eq(value, 'refs/heads/master')
value: string
Property Value
string
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for