Share via


AlertOperationsExtensions.DeleteRule Method (IAlertOperations, String, String)

 

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

Syntax

public static OperationResponse DeleteRule(
    this IAlertOperations operations,
    string resourceGroupName,
    string ruleName
)
public:
[ExtensionAttribute]
static OperationResponse^ DeleteRule(
    IAlertOperations^ operations,
    String^ resourceGroupName,
    String^ ruleName
)
static member DeleteRule : 
        operations:IAlertOperations *
        resourceGroupName:string *
        ruleName:string -> OperationResponse
<ExtensionAttribute>
Public Shared Function DeleteRule (
    operations As IAlertOperations,
    resourceGroupName As String,
    ruleName As String
) As 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: Microsoft.WindowsAzure.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