azdev-automation
Version:
Azure DevOps automation framework enables access control automation of projects, pipelines and repositories configuration in Azure DevOps Services
13 lines (12 loc) • 634 B
TypeScript
export interface IAzDevClient {
get<T>(path: string, type?: AzDevApiType): Promise<T>;
post<T>(path: string, apiVersion?: string, body?: any, type?: AzDevApiType): Promise<T>;
postNoRetry<T>(path: string, apiVersion?: string, body?: any, type?: AzDevApiType): Promise<T>;
patch<T>(path: string, apiVersion?: string, body?: any, type?: AzDevApiType): Promise<T>;
put<T>(path: string, apiVersion?: string, body?: any, type?: AzDevApiType): Promise<T>;
delete<T>(path: string, apiVersion?: string, type?: AzDevApiType): Promise<T>;
}
export declare enum AzDevApiType {
Core = "dev",
Graph = "vssps.dev"
}