Condividi tramite


LoadTestAdministrationClient.DeleteNotificationRule Method

Definition

Overloads

Name Description
DeleteNotificationRule(String, RequestContext)

[Protocol Method] Resource delete operation template.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteNotificationRule(String, CancellationToken)

Resource delete operation template.

DeleteNotificationRule(String, RequestContext)

Source:
LoadTestAdministrationClient.cs

[Protocol Method] Resource delete operation template.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response DeleteNotificationRule(string notificationRuleId, Azure.RequestContext context);
abstract member DeleteNotificationRule : string * Azure.RequestContext -> Azure.Response
override this.DeleteNotificationRule : string * Azure.RequestContext -> Azure.Response
Public Overridable Function DeleteNotificationRule (notificationRuleId As String, context As RequestContext) As Response

Parameters

notificationRuleId
String

The unique identifier of the notification rule.

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

notificationRuleId is null.

notificationRuleId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

DeleteNotificationRule(String, CancellationToken)

Source:
LoadTestAdministrationClient.cs

Resource delete operation template.

public virtual Azure.Response DeleteNotificationRule(string notificationRuleId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteNotificationRule : string * System.Threading.CancellationToken -> Azure.Response
override this.DeleteNotificationRule : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteNotificationRule (notificationRuleId As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

notificationRuleId
String

The unique identifier of the notification rule.

cancellationToken
CancellationToken

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

Returns

Exceptions

notificationRuleId is null.

notificationRuleId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to