-
Notifications
You must be signed in to change notification settings - Fork 10
/
InputValidationItem.yml
87 lines (87 loc) · 2.75 KB
/
InputValidationItem.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
### YamlMime:TSType
name: InputValidationItem
uid: azure-devops-extension-api.InputValidationItem
package: azure-devops-extension-api
summary: ''
fullName: InputValidationItem
remarks: ''
isDeprecated: false
type: interface
properties:
- name: context
uid: azure-devops-extension-api.InputValidationItem.context
package: azure-devops-extension-api
summary: Provides binding context for the expression to evaluate
fullName: context
remarks: ''
isDeprecated: false
syntax:
content: 'context: InputBindingContext'
return:
description: ''
type: <xref uid="azure-devops-extension-api.InputBindingContext" />
inheritedProperties:
- name: isValid
uid: azure-devops-extension-api.InputValidationItem.isValid
package: azure-devops-extension-api
summary: Tells whether the current input is valid or not
fullName: isValid
remarks: ''
isDeprecated: false
syntax:
content: 'isValid: boolean'
return:
description: ''
type: boolean
inheritanceDescription: >-
<b>Inherited From</b>
[ValidationItem.isValid](xref:azure-devops-extension-api.ValidationItem.isValid)
- name: reason
uid: azure-devops-extension-api.InputValidationItem.reason
package: azure-devops-extension-api
summary: Reason for input validation failure
fullName: reason
remarks: ''
isDeprecated: false
syntax:
content: 'reason: string'
return:
description: ''
type: string
inheritanceDescription: >-
<b>Inherited From</b>
[ValidationItem.reason](xref:azure-devops-extension-api.ValidationItem.reason)
- name: type
uid: azure-devops-extension-api.InputValidationItem.type
package: azure-devops-extension-api
summary: Type of validation item
fullName: type
remarks: ''
isDeprecated: false
syntax:
content: 'type: string'
return:
description: ''
type: string
inheritanceDescription: >-
<b>Inherited From</b>
[ValidationItem.type](xref:azure-devops-extension-api.ValidationItem.type)
- name: value
uid: azure-devops-extension-api.InputValidationItem.value
package: azure-devops-extension-api
summary: >-
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')
fullName: value
remarks: ''
isDeprecated: false
syntax:
content: 'value: string'
return:
description: ''
type: string
inheritanceDescription: >-
<b>Inherited From</b>
[ValidationItem.value](xref:azure-devops-extension-api.ValidationItem.value)
extends: <xref uid="azure-devops-extension-api.ValidationItem" />