Condividi tramite


LoadTestAdministrationClient.GetNotificationRules Method

Definition

Overloads

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

Resource list operation template.

GetNotificationRules(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.Pageable<BinaryData> GetNotificationRules(string testIds, string scopes, DateTimeOffset? lastModifiedStartTime, DateTimeOffset? lastModifiedEndTime, int? maxpagesize, Azure.RequestContext context);
abstract member GetNotificationRules : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.RequestContext -> Azure.Pageable<BinaryData>
override this.GetNotificationRules : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.RequestContext -> Azure.Pageable<BinaryData>
Public Overridable Function GetNotificationRules (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 Pageable(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

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

Source:
LoadTestAdministrationClient.cs

Resource list operation template.

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