Dela via


IEventHubAuthorizationRules.DeleteByNameAsync Method

Definition

Deletes an authorization rule of an event hub in a namespace under a resource group.

public System.Threading.Tasks.Task DeleteByNameAsync (string resourceGroupName, string namespaceName, string eventHubName, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteByNameAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteByNameAsync (resourceGroupName As String, namespaceName As String, eventHubName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

resourceGroupName
String

Namespace resource group name.

namespaceName
String

Event hub parent namespace name.

eventHubName
String

Event hub name.

name
String

Authorization rule name.

cancellationToken
CancellationToken

Returns

Applies to