LoadTestAdministrationClient.DeleteNotificationRuleAsync 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 |
|---|---|
| DeleteNotificationRuleAsync(String, RequestContext) |
[Protocol Method] Resource delete operation template.
|
| DeleteNotificationRuleAsync(String, CancellationToken) |
Resource delete operation template. |
DeleteNotificationRuleAsync(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.
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteNotificationRuleAsync(string notificationRuleId, Azure.RequestContext context);
abstract member DeleteNotificationRuleAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteNotificationRuleAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteNotificationRuleAsync (notificationRuleId As String, context As RequestContext) As Task(Of 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
DeleteNotificationRuleAsync(String, CancellationToken)
Resource delete operation template.
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteNotificationRuleAsync(string notificationRuleId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteNotificationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteNotificationRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteNotificationRuleAsync (notificationRuleId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.