Azure管道运行状态排队



我是Azure环境的新手。我已经使用.NET Core编写了一些使用Azure Data Factory启动Azure Pipeline的代码。从我的本地尝试时,管道状态的状态总是成功。我在Azure环境中部署了代码。尝试从Azure Server始终启动管线时,状态已排队。排队的状态是什么,我对此有什么关系。有人可以帮忙吗?我需要更改Azure中的任何设置,以便管道运行成功

            AuthenticationContext context = new AuthenticationContext("https://login.windows.net/" + tenantID);
            ClientCredential cc = new ClientCredential(applicationId, authenticationKey);
            AuthenticationResult result = context.AcquireTokenAsync("https://management.azure.com/", cc).Result;
            ServiceClientCredentials cred = new TokenCredentials(result.AccessToken);
            var client = new Microsoft.Azure.Management.DataFactory.DataFactoryManagementClient(cred) { SubscriptionId = subscriptionId };
            CreateRunResponse runResponse = client.Pipelines.CreateRunWithHttpMessagesAsync(resourceGroup, dataFactoryName, pipelineName).Result.Body;
            string RunId = runResponse.RunId;
            PipelineRun pipelineRun;
            while (true)
            {
                pipelineRun = client.PipelineRuns.Get(resourceGroup, dataFactoryName, runResponse.RunId);
                if (pipelineRun.Status == "InProgress")
                    System.Threading.Thread.Sleep(15000);
                else
                    break;
            }

您应该尝试研究IR的诊断日志,它确实具有有价值的信息,应该有所帮助。

导航到IR->诊断日志或打开事件查看器 ->应用程序和服务日志 ->

相关内容

  • 没有找到相关文章

最新更新