Edit

Share via


BuildHttpClientCompatBase.GetDefinitionsAsync Method

Definition

Overloads

GetDefinitionsAsync(String, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, Object, CancellationToken)

[Preview API] Gets a list of definitions.

GetDefinitionsAsync(String, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

GetDefinitionsAsync(String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, Object, CancellationToken)

[Preview API] Gets a list of definitions.

GetDefinitionsAsync(Guid, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

GetDefinitionsAsync(Guid, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, Object, CancellationToken)

[Preview API] Gets a list of definitions.

GetDefinitionsAsync(String, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

GetDefinitionsAsync(Guid, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

GetDefinitionsAsync(String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

GetDefinitionsAsync(String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

GetDefinitionsAsync(String, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, Object, CancellationToken)

[Preview API] Gets a list of definitions.

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>> GetDefinitionsAsync (string project, string name = null, string repositoryId = null, string repositoryType = null, Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> queryOrder = null, Nullable<int> top = null, string continuationToken = null, Nullable<DateTime> minMetricsTime = null, System.Collections.Generic.IEnumerable<int> definitionIds = null, string path = null, Nullable<DateTime> builtAfter = null, Nullable<DateTime> notBuiltAfter = null, Nullable<bool> includeAllProperties = null, Nullable<bool> includeLatestBuilds = null, Nullable<Guid> taskIdFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDefinitionsAsync : string * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * Nullable<Guid> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>
override this.GetDefinitionsAsync : string * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * Nullable<Guid> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>

Parameters

project
String

Project ID or project name

name
String

If specified, filters to definitions whose names match this pattern.

repositoryId
String

A repository ID. If specified, filters to definitions that use this repository.

repositoryType
String

If specified, filters to definitions that have a repository of this type.

queryOrder
Nullable<DefinitionQueryOrder>

Indicates the order in which definitions should be returned.

top
Nullable<Int32>

The maximum number of definitions to return.

continuationToken
String

A continuation token, returned by a previous call to this method, that can be used to return the next set of definitions.

minMetricsTime
Nullable<DateTime>

If specified, indicates the date from which metrics should be included.

definitionIds
IEnumerable<Int32>

A comma-delimited list that specifies the IDs of definitions to retrieve.

path
String

If specified, filters to definitions under this folder.

builtAfter
Nullable<DateTime>

If specified, filters to definitions that have builds after this date.

notBuiltAfter
Nullable<DateTime>

If specified, filters to definitions that do not have builds after this date.

includeAllProperties
Nullable<Boolean>

Indicates whether the full definitions should be returned. By default, shallow representations of the definitions are returned.

includeLatestBuilds
Nullable<Boolean>

Indicates whether to return the latest and latest completed builds for this definition.

taskIdFilter
Nullable<Guid>

If specified, filters to definitions that use the specified task.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDefinitionsAsync(String, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>> GetDefinitionsAsync (string project, string name = null, string repositoryId = null, string repositoryType = null, Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> queryOrder = null, Nullable<int> top = null, string continuationToken = null, Nullable<DateTime> minMetricsTime = null, System.Collections.Generic.IEnumerable<int> definitionIds = null, string path = null, Nullable<DateTime> builtAfter = null, Nullable<DateTime> notBuiltAfter = null, Nullable<bool> includeAllProperties = null, Nullable<bool> includeLatestBuilds = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDefinitionsAsync : string * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>
override this.GetDefinitionsAsync : string * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>

Parameters

project
String

Project ID or project name

name
String
repositoryId
String
repositoryType
String
continuationToken
String
minMetricsTime
Nullable<DateTime>
definitionIds
IEnumerable<Int32>
path
String
builtAfter
Nullable<DateTime>
notBuiltAfter
Nullable<DateTime>
includeAllProperties
Nullable<Boolean>
includeLatestBuilds
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDefinitionsAsync(String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, Object, CancellationToken)

[Preview API] Gets a list of definitions.

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>> GetDefinitionsAsync (string name = null, string repositoryId = null, string repositoryType = null, Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> queryOrder = null, Nullable<int> top = null, string continuationToken = null, Nullable<DateTime> minMetricsTime = null, System.Collections.Generic.IEnumerable<int> definitionIds = null, string path = null, Nullable<DateTime> builtAfter = null, Nullable<DateTime> notBuiltAfter = null, Nullable<bool> includeAllProperties = null, Nullable<bool> includeLatestBuilds = null, Nullable<Guid> taskIdFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDefinitionsAsync : string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * Nullable<Guid> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>
override this.GetDefinitionsAsync : string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * Nullable<Guid> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>

Parameters

name
String

If specified, filters to definitions whose names match this pattern.

repositoryId
String

A repository ID. If specified, filters to definitions that use this repository.

repositoryType
String

If specified, filters to definitions that have a repository of this type.

queryOrder
Nullable<DefinitionQueryOrder>

Indicates the order in which definitions should be returned.

top
Nullable<Int32>

The maximum number of definitions to return.

continuationToken
String

A continuation token, returned by a previous call to this method, that can be used to return the next set of definitions.

minMetricsTime
Nullable<DateTime>

If specified, indicates the date from which metrics should be included.

definitionIds
IEnumerable<Int32>

A comma-delimited list that specifies the IDs of definitions to retrieve.

path
String

If specified, filters to definitions under this folder.

builtAfter
Nullable<DateTime>

If specified, filters to definitions that have builds after this date.

notBuiltAfter
Nullable<DateTime>

If specified, filters to definitions that do not have builds after this date.

includeAllProperties
Nullable<Boolean>

Indicates whether the full definitions should be returned. By default, shallow representations of the definitions are returned.

includeLatestBuilds
Nullable<Boolean>

Indicates whether to return the latest and latest completed builds for this definition.

taskIdFilter
Nullable<Guid>

If specified, filters to definitions that use the specified task.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDefinitionsAsync(Guid, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>> GetDefinitionsAsync (Guid project, string name = null, string repositoryId = null, string repositoryType = null, Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> queryOrder = null, Nullable<int> top = null, string continuationToken = null, Nullable<DateTime> minMetricsTime = null, System.Collections.Generic.IEnumerable<int> definitionIds = null, string path = null, Nullable<DateTime> builtAfter = null, Nullable<DateTime> notBuiltAfter = null, Nullable<bool> includeAllProperties = null, Nullable<bool> includeLatestBuilds = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDefinitionsAsync : Guid * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>
override this.GetDefinitionsAsync : Guid * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>

Parameters

project
Guid

Project ID

name
String
repositoryId
String
repositoryType
String
continuationToken
String
minMetricsTime
Nullable<DateTime>
definitionIds
IEnumerable<Int32>
path
String
builtAfter
Nullable<DateTime>
notBuiltAfter
Nullable<DateTime>
includeAllProperties
Nullable<Boolean>
includeLatestBuilds
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDefinitionsAsync(Guid, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, Object, CancellationToken)

[Preview API] Gets a list of definitions.

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>> GetDefinitionsAsync (Guid project, string name = null, string repositoryId = null, string repositoryType = null, Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> queryOrder = null, Nullable<int> top = null, string continuationToken = null, Nullable<DateTime> minMetricsTime = null, System.Collections.Generic.IEnumerable<int> definitionIds = null, string path = null, Nullable<DateTime> builtAfter = null, Nullable<DateTime> notBuiltAfter = null, Nullable<bool> includeAllProperties = null, Nullable<bool> includeLatestBuilds = null, Nullable<Guid> taskIdFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDefinitionsAsync : Guid * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * Nullable<Guid> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>
override this.GetDefinitionsAsync : Guid * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * Nullable<Guid> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>

Parameters

project
Guid

Project ID

name
String

If specified, filters to definitions whose names match this pattern.

repositoryId
String

A repository ID. If specified, filters to definitions that use this repository.

repositoryType
String

If specified, filters to definitions that have a repository of this type.

queryOrder
Nullable<DefinitionQueryOrder>

Indicates the order in which definitions should be returned.

top
Nullable<Int32>

The maximum number of definitions to return.

continuationToken
String

A continuation token, returned by a previous call to this method, that can be used to return the next set of definitions.

minMetricsTime
Nullable<DateTime>

If specified, indicates the date from which metrics should be included.

definitionIds
IEnumerable<Int32>

A comma-delimited list that specifies the IDs of definitions to retrieve.

path
String

If specified, filters to definitions under this folder.

builtAfter
Nullable<DateTime>

If specified, filters to definitions that have builds after this date.

notBuiltAfter
Nullable<DateTime>

If specified, filters to definitions that do not have builds after this date.

includeAllProperties
Nullable<Boolean>

Indicates whether the full definitions should be returned. By default, shallow representations of the definitions are returned.

includeLatestBuilds
Nullable<Boolean>

Indicates whether to return the latest and latest completed builds for this definition.

taskIdFilter
Nullable<Guid>

If specified, filters to definitions that use the specified task.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDefinitionsAsync(String, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>> GetDefinitionsAsync (string project, string name = null, string repositoryId = null, string repositoryType = null, Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> queryOrder = null, Nullable<int> top = null, string continuationToken = null, Nullable<DateTime> minMetricsTime = null, System.Collections.Generic.IEnumerable<int> definitionIds = null, string path = null, Nullable<DateTime> builtAfter = null, Nullable<DateTime> notBuiltAfter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDefinitionsAsync : string * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>
override this.GetDefinitionsAsync : string * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>

Parameters

project
String

Project ID or project name

name
String
repositoryId
String
repositoryType
String
continuationToken
String
minMetricsTime
Nullable<DateTime>
definitionIds
IEnumerable<Int32>
path
String
builtAfter
Nullable<DateTime>
notBuiltAfter
Nullable<DateTime>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDefinitionsAsync(Guid, String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>> GetDefinitionsAsync (Guid project, string name = null, string repositoryId = null, string repositoryType = null, Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> queryOrder = null, Nullable<int> top = null, string continuationToken = null, Nullable<DateTime> minMetricsTime = null, System.Collections.Generic.IEnumerable<int> definitionIds = null, string path = null, Nullable<DateTime> builtAfter = null, Nullable<DateTime> notBuiltAfter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDefinitionsAsync : Guid * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>
override this.GetDefinitionsAsync : Guid * string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>

Parameters

project
Guid

Project ID

name
String
repositoryId
String
repositoryType
String
continuationToken
String
minMetricsTime
Nullable<DateTime>
definitionIds
IEnumerable<Int32>
path
String
builtAfter
Nullable<DateTime>
notBuiltAfter
Nullable<DateTime>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDefinitionsAsync(String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>> GetDefinitionsAsync (string name = null, string repositoryId = null, string repositoryType = null, Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> queryOrder = null, Nullable<int> top = null, string continuationToken = null, Nullable<DateTime> minMetricsTime = null, System.Collections.Generic.IEnumerable<int> definitionIds = null, string path = null, Nullable<DateTime> builtAfter = null, Nullable<DateTime> notBuiltAfter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDefinitionsAsync : string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>
override this.GetDefinitionsAsync : string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>

Parameters

name
String
repositoryId
String
repositoryType
String
continuationToken
String
minMetricsTime
Nullable<DateTime>
definitionIds
IEnumerable<Int32>
path
String
builtAfter
Nullable<DateTime>
notBuiltAfter
Nullable<DateTime>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDefinitionsAsync(String, String, String, Nullable<DefinitionQueryOrder>, Nullable<Int32>, String, Nullable<DateTime>, IEnumerable<Int32>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Gets definitions, optionally filtered by name

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>> GetDefinitionsAsync (string name = null, string repositoryId = null, string repositoryType = null, Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> queryOrder = null, Nullable<int> top = null, string continuationToken = null, Nullable<DateTime> minMetricsTime = null, System.Collections.Generic.IEnumerable<int> definitionIds = null, string path = null, Nullable<DateTime> builtAfter = null, Nullable<DateTime> notBuiltAfter = null, Nullable<bool> includeAllProperties = null, Nullable<bool> includeLatestBuilds = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDefinitionsAsync : string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>
override this.GetDefinitionsAsync : string * string * string * Nullable<Microsoft.TeamFoundation.Build.WebApi.DefinitionQueryOrder> * Nullable<int> * string * Nullable<DateTime> * seq<int> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference>>

Parameters

name
String
repositoryId
String
repositoryType
String
continuationToken
String
minMetricsTime
Nullable<DateTime>
definitionIds
IEnumerable<Int32>
path
String
builtAfter
Nullable<DateTime>
notBuiltAfter
Nullable<DateTime>
includeAllProperties
Nullable<Boolean>
includeLatestBuilds
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to