共用方式為


RuleOperationsExtensions.DeleteAsync(IRuleOperations, String) Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations operations, string ruleId);
static member DeleteAsync : Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IRuleOperations, ruleId As String) As Task(Of AzureOperationResponse)

Parameters

operations
IRuleOperations

Reference to the Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations.

ruleId
String

Required. The id of the rule to delete.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to