/// <summary> /// Deletes the specified deployment associated with the Cognitive Services /// account. /// </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='accountName'> /// The name of Cognitive Services account. /// </param> /// <param name='deploymentName'> /// The name of the deployment associated with the Cognitive Services Account /// </param> public static void Delete(this IDeploymentsOperations operations, string resourceGroupName, string accountName, string deploymentName) { operations.DeleteAsync(resourceGroupName, accountName, deploymentName).GetAwaiter().GetResult(); }