C# 클래스 NuGet.TeamCity.AgentAuthorizer.TeamCityClient

파일 보기 프로젝트 열기: NuGet/Entropy 1 사용 예제들

공개 메소드들

메소드 설명
AddAgentToAgentPoolAsync ( int agentPoolId, int agentId ) : System.Threading.Tasks.Task
GetAgentPoolAgentsAsync ( int agentPoolId ) : Task>
GetAgentPoolsAsync ( ) : Task>
GetAgentsAsync ( ) : Task>
SetAgentAuthorizationAsync ( int agentId, bool authorized ) : System.Threading.Tasks.Task
SetAgentEnabledAsync ( int agentId, bool enabled ) : System.Threading.Tasks.Task
TeamCityClient ( Uri serverUrl ) : System

비공개 메소드들

메소드 설명
DeserializeResponseAsAgents ( JToken json ) : IReadOnlyList
SendAsync ( HttpMethod method, string endpoint, bool acceptJson = true, HttpContent content = null ) : Task

메소드 상세

AddAgentToAgentPoolAsync() 공개 메소드

public AddAgentToAgentPoolAsync ( int agentPoolId, int agentId ) : System.Threading.Tasks.Task
agentPoolId int
agentId int
리턴 System.Threading.Tasks.Task

GetAgentPoolAgentsAsync() 공개 메소드

public GetAgentPoolAgentsAsync ( int agentPoolId ) : Task>
agentPoolId int
리턴 Task>

GetAgentPoolsAsync() 공개 메소드

public GetAgentPoolsAsync ( ) : Task>
리턴 Task>

GetAgentsAsync() 공개 메소드

public GetAgentsAsync ( ) : Task>
리턴 Task>

SetAgentAuthorizationAsync() 공개 메소드

public SetAgentAuthorizationAsync ( int agentId, bool authorized ) : System.Threading.Tasks.Task
agentId int
authorized bool
리턴 System.Threading.Tasks.Task

SetAgentEnabledAsync() 공개 메소드

public SetAgentEnabledAsync ( int agentId, bool enabled ) : System.Threading.Tasks.Task
agentId int
enabled bool
리턴 System.Threading.Tasks.Task

TeamCityClient() 공개 메소드

public TeamCityClient ( Uri serverUrl ) : System
serverUrl System.Uri
리턴 System