LoadTestRunClient.GetTestProfileRunsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetTestProfileRunsAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, RequestContext)
- Source:
- LoadTestRunClient.cs
[Protocol Method] List test profile runs.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
- Please try the simpler GetTestProfileRunsAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, CancellationToken) convenience overload with strongly typed models first.
public virtual Azure.AsyncPageable<BinaryData> GetTestProfileRunsAsync(DateTimeOffset? minStartDateTime, DateTimeOffset? maxStartDateTime, DateTimeOffset? minEndDateTime, DateTimeOffset? maxEndDateTime, DateTimeOffset? createdDateStartTime, DateTimeOffset? createdDateEndTime, System.Collections.Generic.IEnumerable<string> testProfileRunIds, System.Collections.Generic.IEnumerable<string> testProfileIds, System.Collections.Generic.IEnumerable<string> statuses, Azure.RequestContext context);
abstract member GetTestProfileRunsAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * seq<string> * seq<string> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
override this.GetTestProfileRunsAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * seq<string> * seq<string> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetTestProfileRunsAsync (minStartDateTime As Nullable(Of DateTimeOffset), maxStartDateTime As Nullable(Of DateTimeOffset), minEndDateTime As Nullable(Of DateTimeOffset), maxEndDateTime As Nullable(Of DateTimeOffset), createdDateStartTime As Nullable(Of DateTimeOffset), createdDateEndTime As Nullable(Of DateTimeOffset), testProfileRunIds As IEnumerable(Of String), testProfileIds As IEnumerable(Of String), statuses As IEnumerable(Of String), context As RequestContext) As AsyncPageable(Of BinaryData)
Parameters
- minStartDateTime
- Nullable<DateTimeOffset>
Minimum Start DateTime(RFC 3339 literal format) of the test profile runs to filter on.
- maxStartDateTime
- Nullable<DateTimeOffset>
Maximum Start DateTime(RFC 3339 literal format) of the test profile runs to filter on.
- minEndDateTime
- Nullable<DateTimeOffset>
Minimum End DateTime(RFC 3339 literal format) of the test profile runs to filter on.
- maxEndDateTime
- Nullable<DateTimeOffset>
Maximum End DateTime(RFC 3339 literal format) of the test profile runs to filter on.
- createdDateStartTime
- Nullable<DateTimeOffset>
Start DateTime(RFC 3339 literal format) of the created time range to filter test profile runs.
- createdDateEndTime
- Nullable<DateTimeOffset>
End DateTime(RFC 3339 literal format) of the created time range to filter test profile runs.
- testProfileRunIds
- IEnumerable<String>
Comma separated list of IDs of the test profile runs to filter.
- testProfileIds
- IEnumerable<String>
Comma separated IDs of the test profiles which should be associated with the test profile runs to fetch.
- statuses
- IEnumerable<String>
Comma separated list of Statuses of the test profile runs to filter.
- context
- RequestContext
The request context, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The AsyncPageable<T> from the service containing a list of BinaryData objects. Details of the body schema for each item in the collection are in the Remarks section below.
Exceptions
Service returned a non-success status code.
Applies to
GetTestProfileRunsAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, CancellationToken)
- Source:
- LoadTestRunClient.cs
List test profile runs.
public virtual Azure.AsyncPageable<Azure.Developer.LoadTesting.TestProfileRun> GetTestProfileRunsAsync(DateTimeOffset? minStartDateTime = default, DateTimeOffset? maxStartDateTime = default, DateTimeOffset? minEndDateTime = default, DateTimeOffset? maxEndDateTime = default, DateTimeOffset? createdDateStartTime = default, DateTimeOffset? createdDateEndTime = default, System.Collections.Generic.IEnumerable<string> testProfileRunIds = default, System.Collections.Generic.IEnumerable<string> testProfileIds = default, System.Collections.Generic.IEnumerable<string> statuses = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTestProfileRunsAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * seq<string> * seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Developer.LoadTesting.TestProfileRun>
override this.GetTestProfileRunsAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * seq<string> * seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Developer.LoadTesting.TestProfileRun>
Public Overridable Function GetTestProfileRunsAsync (Optional minStartDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional maxStartDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional minEndDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional maxEndDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional createdDateStartTime As Nullable(Of DateTimeOffset) = Nothing, Optional createdDateEndTime As Nullable(Of DateTimeOffset) = Nothing, Optional testProfileRunIds As IEnumerable(Of String) = Nothing, Optional testProfileIds As IEnumerable(Of String) = Nothing, Optional statuses As IEnumerable(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TestProfileRun)
Parameters
- minStartDateTime
- Nullable<DateTimeOffset>
Minimum Start DateTime(RFC 3339 literal format) of the test profile runs to filter on.
- maxStartDateTime
- Nullable<DateTimeOffset>
Maximum Start DateTime(RFC 3339 literal format) of the test profile runs to filter on.
- minEndDateTime
- Nullable<DateTimeOffset>
Minimum End DateTime(RFC 3339 literal format) of the test profile runs to filter on.
- maxEndDateTime
- Nullable<DateTimeOffset>
Maximum End DateTime(RFC 3339 literal format) of the test profile runs to filter on.
- createdDateStartTime
- Nullable<DateTimeOffset>
Start DateTime(RFC 3339 literal format) of the created time range to filter test profile runs.
- createdDateEndTime
- Nullable<DateTimeOffset>
End DateTime(RFC 3339 literal format) of the created time range to filter test profile runs.
- testProfileRunIds
- IEnumerable<String>
Comma separated list of IDs of the test profile runs to filter.
- testProfileIds
- IEnumerable<String>
Comma separated IDs of the test profiles which should be associated with the test profile runs to fetch.
- statuses
- IEnumerable<String>
Comma separated list of Statuses of the test profile runs to filter.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Remarks
Get all test profile runs for the given filters.