public static DeployProxyResult DeployProxy(
     this ICakeContext ctx,
     string orgName,
     string envName,
     string apiName,
     string revisionNumber,
     DeployProxySettings settings = null)
 {
     return(Run(() => ApigeeProxyManagementService.DeployProxyAsync(ctx, orgName, envName, apiName, revisionNumber, settings).Result));
 }
        public static DeployProxyResult DeployProxy(this ICakeContext ctx, string orgName, string envName, ImportProxyResult importResult, DeployProxySettings settings = null)
        {
            ctx.Log.Information("Deploy api " + importResult.Name);

            return(DeployProxy(
                       ctx,
                       orgName,
                       envName,
                       importResult.Name,
                       importResult.Revision,
                       settings));
        }