Sdílet prostřednictvím


AlertOperationsExtensions.DeleteRuleAsync Method (IAlertOperations, String, String)

 

Namespace:   Microsoft.Azure.Management.Insights
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

Syntax

public static Task<OperationResponse> DeleteRuleAsync(
    this IAlertOperations operations,
    string resourceGroupName,
    string ruleName
)
public:
[ExtensionAttribute]
static Task<OperationResponse^>^ DeleteRuleAsync(
    IAlertOperations^ operations,
    String^ resourceGroupName,
    String^ ruleName
)
static member DeleteRuleAsync : 
        operations:IAlertOperations *
        resourceGroupName:string *
        ruleName:string -> Task<OperationResponse>
<ExtensionAttribute>
Public Shared Function DeleteRuleAsync (
    operations As IAlertOperations,
    resourceGroupName As String,
    ruleName As String
) As Task(Of OperationResponse)

Parameters

  • resourceGroupName
    Type: System.String

    Required. The name of the resource group.

  • ruleName
    Type: System.String

    Required. The name of the rule to delete.

Return Value

Type: System.Threading.Tasks.Task<OperationResponse>

A standard service response including an HTTP status code and request ID.

See Also

AlertOperationsExtensions Class
Microsoft.Azure.Management.Insights Namespace

Return to top