예제 #1
0
 /// <summary>
 /// Check if a DigitalTwinsInstance name is available.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// Location of DigitalTwinsInstance.
 /// </param>
 /// <param name='name'>
 /// Resource name.
 /// </param>
 public static CheckNameResult CheckNameAvailability(this IDigitalTwinsOperations operations, string location, string name)
 {
     return(operations.CheckNameAvailabilityAsync(location, name).GetAwaiter().GetResult());
 }