/// <summary> /// Delete a DigitalTwinsInstance. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the DigitalTwinsInstance. /// </param> /// <param name='resourceName'> /// The name of the DigitalTwinsInstance. /// </param> public static DigitalTwinsDescription BeginDelete(this IDigitalTwinsOperations operations, string resourceGroupName, string resourceName) { return(operations.BeginDeleteAsync(resourceGroupName, resourceName).GetAwaiter().GetResult()); }