49 lines
1.6 KiB
C#
49 lines
1.6 KiB
C#
using xApi.Models;
|
|
|
|
namespace xApi.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Implementing Azure Services Interfaces ...
|
|
/// </summary>
|
|
public interface IAzureServices
|
|
{
|
|
/// <summary>
|
|
/// Retrieve Connection Info ...
|
|
/// </summary>
|
|
/// <param name="cancellationToken"></param>
|
|
/// <returns></returns>
|
|
/// <exception cref="InvalidOperationException"></exception>
|
|
Task<AzureConnectionDataDto> GetConnectionDataAsync(
|
|
CancellationToken cancellationToken = default
|
|
);
|
|
|
|
/// <summary>
|
|
/// Retrieve Connection Info ...
|
|
/// </summary>
|
|
/// <param name="cancellationToken"></param>
|
|
/// <returns></returns>
|
|
/// <exception cref="InvalidOperationException"></exception>
|
|
Task<AzureListDto<AzureProjectDto>> GetProjectsAsync(
|
|
CancellationToken cancellationToken = default
|
|
);
|
|
|
|
/// <summary>
|
|
/// Retrieve a List of Azure Repositories ...
|
|
/// </summary>
|
|
/// <param name="cancellationToken"></param>
|
|
/// <returns></returns>
|
|
/// <exception cref="InvalidOperationException"></exception>
|
|
Task<AzureListDto<AzureRepositoryDto>> GetRepositoriesAsync(
|
|
CancellationToken cancellationToken = default
|
|
);
|
|
|
|
Task<string> GetWorkItemTypesAsync(
|
|
CancellationToken cancellationToken = default
|
|
);
|
|
|
|
// AzureListDto<AzureRepositoryDto>
|
|
// Task<string> GetWorkItemsAsync(
|
|
// CancellationToken cancellationToken = default
|
|
// );
|
|
}
|
|
} |