Exemple #1
0
 /// <summary>
 /// Retrieves a digital twin.
 /// Status codes:
 /// 200 (OK): Success.
 /// 404 (Not Found): There is no digital twin with the provided id.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// The id of the digital twin. The id is unique within the service and case
 /// sensitive.
 /// </param>
 public static object GetById(this IDigitalTwinsOperations operations, string id)
 {
     return(operations.GetByIdAsync(id).GetAwaiter().GetResult());
 }