你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LoadTestAdministrationClient.GetTestProfilesAsync Method

Definition

Overloads

GetTestProfilesAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<String>, IEnumerable<String>, RequestContext)

Source:
LoadTestAdministrationClient.cs

[Protocol Method] List test profiles.

public virtual Azure.AsyncPageable<BinaryData> GetTestProfilesAsync(DateTimeOffset? lastModifiedStartTime, DateTimeOffset? lastModifiedEndTime, System.Collections.Generic.IEnumerable<string> testProfileIds, System.Collections.Generic.IEnumerable<string> testIds, Azure.RequestContext context);
abstract member GetTestProfilesAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * seq<string> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
override this.GetTestProfilesAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * seq<string> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetTestProfilesAsync (lastModifiedStartTime As Nullable(Of DateTimeOffset), lastModifiedEndTime As Nullable(Of DateTimeOffset), testProfileIds As IEnumerable(Of String), testIds As IEnumerable(Of String), context As RequestContext) As AsyncPageable(Of BinaryData)

Parameters

lastModifiedStartTime
Nullable<DateTimeOffset>

Start DateTime(RFC 3339 literal format) of the last updated time range to filter test profiles.

lastModifiedEndTime
Nullable<DateTimeOffset>

End DateTime(RFC 3339 literal format) of the last updated time range to filter test profiles.

testProfileIds
IEnumerable<String>

Comma separated list of IDs of the test profiles to filter.

testIds
IEnumerable<String>

Comma separated list IDs of the tests which should be associated with the test profiles to fetch.

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

GetTestProfilesAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<String>, IEnumerable<String>, CancellationToken)

Source:
LoadTestAdministrationClient.cs

List test profiles.

public virtual Azure.AsyncPageable<Azure.Developer.LoadTesting.TestProfile> GetTestProfilesAsync(DateTimeOffset? lastModifiedStartTime = default, DateTimeOffset? lastModifiedEndTime = default, System.Collections.Generic.IEnumerable<string> testProfileIds = default, System.Collections.Generic.IEnumerable<string> testIds = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTestProfilesAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Developer.LoadTesting.TestProfile>
override this.GetTestProfilesAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Developer.LoadTesting.TestProfile>
Public Overridable Function GetTestProfilesAsync (Optional lastModifiedStartTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedEndTime As Nullable(Of DateTimeOffset) = Nothing, Optional testProfileIds As IEnumerable(Of String) = Nothing, Optional testIds As IEnumerable(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TestProfile)

Parameters

lastModifiedStartTime
Nullable<DateTimeOffset>

Start DateTime(RFC 3339 literal format) of the last updated time range to filter test profiles.

lastModifiedEndTime
Nullable<DateTimeOffset>

End DateTime(RFC 3339 literal format) of the last updated time range to filter test profiles.

testProfileIds
IEnumerable<String>

Comma separated list of IDs of the test profiles to filter.

testIds
IEnumerable<String>

Comma separated list IDs of the tests which should be associated with the test profiles to fetch.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Remarks

Get all test profiles for the given filters.

Applies to