/// <summary> /// Delete a monitor resource. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='monitorName'> /// Monitor resource name /// </param> public static MonitorsDeleteHeaders Delete(this IMonitorsOperations operations, string resourceGroupName, string monitorName) { return(operations.DeleteAsync(resourceGroupName, monitorName).GetAwaiter().GetResult()); }
/// <summary> /// Delete a monitor resource. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='monitorName'> /// Monitor resource name /// </param> public static void Delete(this IMonitorsOperations operations, string resourceGroupName, string monitorName) { operations.DeleteAsync(resourceGroupName, monitorName).GetAwaiter().GetResult(); }