LoadTestAdministrationClient.GetTriggersAsync 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
| Name | Description |
|---|---|
| GetTriggersAsync(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, RequestContext) |
[Protocol Method] Resource list operation template.
|
| GetTriggersAsync(String, Nullable<TriggerState>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, CancellationToken) |
Resource list operation template. |
GetTriggersAsync(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, RequestContext)
[Protocol Method] Resource list operation template.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.AsyncPageable<BinaryData> GetTriggersAsync(string testIds, string states, DateTimeOffset? lastModifiedStartTime, DateTimeOffset? lastModifiedEndTime, int? maxpagesize, Azure.RequestContext context);
abstract member GetTriggersAsync : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
override this.GetTriggersAsync : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetTriggersAsync (testIds As String, states As String, lastModifiedStartTime As Nullable(Of DateTimeOffset), lastModifiedEndTime As Nullable(Of DateTimeOffset), maxpagesize As Nullable(Of Integer), context As RequestContext) As AsyncPageable(Of BinaryData)
Parameters
- testIds
- String
Search based on triggers associated with the provided test ids.
- states
- String
Filter triggers based on a comma separated list of states.
- lastModifiedStartTime
- Nullable<DateTimeOffset>
Start DateTime(RFC 3339 literal format) of the last updated time range to filter triggers.
- lastModifiedEndTime
- Nullable<DateTimeOffset>
End DateTime(RFC 3339 literal format) of the last updated time range to filter triggers.
- context
- RequestContext
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
Service returned a non-success status code.
Applies to
GetTriggersAsync(String, Nullable<TriggerState>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, CancellationToken)
Resource list operation template.
public virtual Azure.AsyncPageable<Azure.Developer.LoadTesting.LoadTestingTrigger> GetTriggersAsync(string testIds = default, Azure.Developer.LoadTesting.TriggerState? states = default, DateTimeOffset? lastModifiedStartTime = default, DateTimeOffset? lastModifiedEndTime = default, int? maxpagesize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTriggersAsync : string * Nullable<Azure.Developer.LoadTesting.TriggerState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Developer.LoadTesting.LoadTestingTrigger>
override this.GetTriggersAsync : string * Nullable<Azure.Developer.LoadTesting.TriggerState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Developer.LoadTesting.LoadTestingTrigger>
Public Overridable Function GetTriggersAsync (Optional testIds As String = Nothing, Optional states As Nullable(Of TriggerState) = Nothing, Optional lastModifiedStartTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedEndTime As Nullable(Of DateTimeOffset) = Nothing, Optional maxpagesize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LoadTestingTrigger)
Parameters
- testIds
- String
Search based on triggers associated with the provided test ids.
- states
- Nullable<TriggerState>
Filter triggers based on a comma separated list of states.
- lastModifiedStartTime
- Nullable<DateTimeOffset>
Start DateTime(RFC 3339 literal format) of the last updated time range to filter triggers.
- lastModifiedEndTime
- Nullable<DateTimeOffset>
End DateTime(RFC 3339 literal format) of the last updated time range to filter triggers.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.