Share via


RuleOperationsExtensions.GetAsync Method (IRuleOperations, String)

 

Namespace:   Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly:  Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)

Syntax

public static Task<RuleGetResponse> GetAsync(
    this IRuleOperations operations,
    string ruleId
)
public:
[ExtensionAttribute]
static Task<RuleGetResponse^>^ GetAsync(
    IRuleOperations^ operations,
    String^ ruleId
)
static member GetAsync : 
        operations:IRuleOperations *
        ruleId:string -> Task<RuleGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As IRuleOperations,
    ruleId As String
) As Task(Of RuleGetResponse)

Parameters

  • ruleId
    Type: System.String

    Required. The id of the rule to retrieve.

Return Value

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

The Get Rule operation response.

See Also

RuleOperationsExtensions Class
Microsoft.WindowsAzure.Management.Monitoring.Alerts Namespace

Return to top