/// <summary> /// Checks that the Kusto Pool child resource name is valid and is not already /// in use. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='kustoPoolName'> /// The name of the Kusto pool. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='resourceName'> /// The name of the Kusto Pool child resource. /// </param> public static CheckNameResult CheckNameAvailability(this IKustoPoolChildResourceOperations operations, string workspaceName, string kustoPoolName, string resourceGroupName, DatabaseCheckNameRequest resourceName) { return(operations.CheckNameAvailabilityAsync(workspaceName, kustoPoolName, resourceGroupName, resourceName).GetAwaiter().GetResult()); }