共用方式為


Pipelines - Get Pipeline Stages

傳回指定部署管線的階段。

必要範圍

Pipeline.ReadWrite.All 或 Pipeline.Read.All

GET https://api.powerbi.com/v1.0/myorg/pipelines/{pipelineId}/stages

URI 參數

名稱 位於 必要 類型 Description
pipelineId
path True

string

uuid

部署管線識別碼

回應

名稱 類型 Description
200 OK

PipelineStages

確定

範例

Get the stages of a deployment pipeline example

Sample Request

GET https://api.powerbi.com/v1.0/myorg/pipelines/a5ded933-57b7-41f4-b072-ed4c1f9d5824/stages

Sample Response

{
  "value": [
    {
      "order": 0,
      "workspaceId": "4de5bcc4-2c88-4efe-b827-4ee7b289b496",
      "workspaceName": "Workspace-Development"
    },
    {
      "order": 1,
      "workspaceId": "44b499cf-1eeb-45e2-9ada-63b6ec9d516e"
    },
    {
      "order": 2
    }
  ]
}

定義

名稱 Description
PipelineStage

Power BI 部署管線階段

PipelineStages

Power BI 部署管線階段集合的 OData 回應包裝函式。

PipelineStage

Power BI 部署管線階段

名稱 類型 Description
order

integer

階段順序,從零開始。

workspaceId

string

指派的工作區識別碼。 僅適用于有指派的工作區時。

workspaceName

string

指派的工作區名稱。 只有在有指派的工作區且使用者有權存取工作區時,才適用。

PipelineStages

Power BI 部署管線階段集合的 OData 回應包裝函式。

名稱 類型 Description
odata.context

string

OData 內容

value

PipelineStage[]

部署管線階段的集合