public Deployment Validate(Deployment deployment) { if (deployment == null) throw new ArgumentNullException("deployment", "deployment is null."); return RetrieveDeployment(Post(deployment), "validate"); }
public string GenerateDeploymentTask(Deployment deployment) { if (deployment == null) throw new ArgumentNullException("deployment", "deployment is null."); return ExecuteHttp<string, StringHttpContent, string, StringHttpContent>(Post(deployment), BuildCommand("")); }
public Deployment AutoPrepareDeployeds(Deployment deployment) { if (deployment == null) throw new ArgumentNullException("deployment", "deployment is null."); return RetrieveDeployment(Post(deployment), "prepare/deployeds"); }
private static PostHttpResponseProvider Post(Deployment deployment) { return new PostHttpResponseProvider(new UDMInputHttpContent<Deployment>(deployment)); }