예제 #1
0
 /// <summary>
 /// Retrieves all incoming relationship for a digital twin.
 /// Status codes:
 /// 200 (OK): Success.
 /// 400 (Bad Request): The request is invalid.
 /// 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 IPage <IncomingRelationship> ListIncomingRelationships(this IDigitalTwinsOperations operations, string id)
 {
     return(operations.ListIncomingRelationshipsAsync(id).GetAwaiter().GetResult());
 }