Condividi tramite


LoadTestAdministrationClient.GetNotificationRulesAsync Method

Definition

Overloads

Name Description
GetNotificationRulesAsync(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.
GetNotificationRulesAsync(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, CancellationToken)

Resource list operation template.

GetNotificationRulesAsync(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, RequestContext)

Source:
LoadTestAdministrationClient.cs

[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> GetNotificationRulesAsync(string testIds, string scopes, DateTimeOffset? lastModifiedStartTime, DateTimeOffset? lastModifiedEndTime, int? maxpagesize, Azure.RequestContext context);
abstract member GetNotificationRulesAsync : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
override this.GetNotificationRulesAsync : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetNotificationRulesAsync (testIds As String, scopes 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 notification rules associated with the provided test ids.

scopes
String

Search based on notification rules for the provided scopes.

lastModifiedStartTime
Nullable<DateTimeOffset>

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

lastModifiedEndTime
Nullable<DateTimeOffset>

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

maxpagesize
Nullable<Int32>

Number of results in response. Default page size is 50.

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

GetNotificationRulesAsync(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, CancellationToken)

Source:
LoadTestAdministrationClient.cs

Resource list operation template.

public virtual Azure.AsyncPageable<Azure.Developer.LoadTesting.NotificationRule> GetNotificationRulesAsync(string testIds = default, string scopes = default, DateTimeOffset? lastModifiedStartTime = default, DateTimeOffset? lastModifiedEndTime = default, int? maxpagesize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNotificationRulesAsync : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Developer.LoadTesting.NotificationRule>
override this.GetNotificationRulesAsync : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Developer.LoadTesting.NotificationRule>
Public Overridable Function GetNotificationRulesAsync (Optional testIds As String = Nothing, Optional scopes As String = 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 NotificationRule)

Parameters

testIds
String

Search based on notification rules associated with the provided test ids.

scopes
String

Search based on notification rules for the provided scopes.

lastModifiedStartTime
Nullable<DateTimeOffset>

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

lastModifiedEndTime
Nullable<DateTimeOffset>

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

maxpagesize
Nullable<Int32>

Number of results in response. Default page size is 50.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

Service returned a non-success status code.

Applies to