Exemple #1
0
 /// <summary>
 /// Gets information about the given detector for a given Batch account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the Batch account.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Batch account.
 /// </param>
 /// <param name='detectorId'>
 /// The name of the detector.
 /// </param>
 public static DetectorResponse GetDetector(this IBatchAccountOperations operations, string resourceGroupName, string accountName, string detectorId)
 {
     return(operations.GetDetectorAsync(resourceGroupName, accountName, detectorId).GetAwaiter().GetResult());
 }