次の方法で共有


IRuleOperations.GetAsync(String, CancellationToken) メソッド

定義

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleGetResponse> GetAsync(string ruleId, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleGetResponse>
Public Function GetAsync (ruleId As String, cancellationToken As CancellationToken) As Task(Of RuleGetResponse)

パラメーター

ruleId
String

取得するルールの ID。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

ルールの取得操作の応答。

適用対象