Condividi tramite


LoadTestAdministrationClient.CreateOrUpdateNotificationRule Method

Definition

[Protocol Method] Create or update operation template.

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

Parameters

notificationRuleId
String

The unique identifier of the notification rule.

content
RequestContent

The content to send as the body of the request.

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 or content is null.

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

Service returned a non-success status code.

Applies to