Deployment Pipelines - List Deployment Pipelines

返回用户可以访问的部署管道列表。

所需的委派范围

Pipeline.Read.All 或 Pipeline.ReadWrite.All

Microsoft Entra 支持的标识

此 API 支持本节中列出的Microsoft 标识

身份 支持
用户 是的
服务主体托管标识 是的

接口

GET https://api.fabric.microsoft.com/v1/deploymentPipelines
GET https://api.fabric.microsoft.com/v1/deploymentPipelines?continuationToken={continuationToken}

URI 参数

名称 必需 类型 说明
continuationToken
query

string

用于检索下一页结果的令牌。

响应

名称 类型 说明
200 OK

DeploymentPipelines

请求成功完成。

Other Status Codes

ErrorResponse

常见错误代码:

  • UnknownError - 发生错误。

示例

List deployment pipelines example
List deployment pipelines with continuation example

List deployment pipelines example

示例请求

GET https://api.fabric.microsoft.com/v1/deploymentPipelines

示例响应

{
  "value": [
    {
      "id": "a5ded933-57b7-41f4-b072-ed4c1f9d5824",
      "displayName": "Marketing Deployment Pipeline",
      "description": "Fabric deployment pipeline to manage marketing reports."
    },
    {
      "id": "f2d70dc6-8f3e-4f2c-b00e-e2d336d7d711",
      "displayName": "Finance Deployment Pipeline",
      "description": "Fabric deployment pipeline to manage finance reports."
    }
  ]
}

List deployment pipelines with continuation example

示例请求

GET https://api.fabric.microsoft.com/v1/deploymentPipelines

示例响应

{
  "value": [
    {
      "id": "a5ded933-57b7-41f4-b072-ed4c1f9d5824",
      "displayName": "Marketing Deployment Pipeline",
      "description": "Fabric deployment pipeline to manage marketing reports."
    },
    {
      "id": "f2d70dc6-8f3e-4f2c-b00e-e2d336d7d711",
      "displayName": "Finance Deployment Pipeline",
      "description": "Fabric deployment pipeline to manage finance reports."
    }
  ],
  "continuationToken": "LDEsMTAwMDAwLDA%3D",
  "continuationUri": "https://api.fabric.microsoft.com/v1/deploymentPipelines?continuationToken=LDEsMTAwMDAwLDA%3D"
}

定义

名称 说明
DeploymentPipeline

Fabric 部署管道。

DeploymentPipelines

Fabric 部署管道的集合。

ErrorRelatedResource

与错误相关的资源详细信息对象。

ErrorResponse

错误响应。

ErrorResponseDetails

错误响应详细信息。

DeploymentPipeline

Fabric 部署管道。

名称 类型 说明
description

string

部署管道说明。

displayName

string

部署管道显示名称。

id

string (uuid)

部署管道 ID。

DeploymentPipelines

Fabric 部署管道的集合。

名称 类型 说明
continuationToken

string

下一个结果集批处理的令牌。 如果没有更多记录,则会从响应中删除该记录。

continuationUri

string

下一个结果集批处理的 URI。 如果没有更多记录,则会从响应中删除该记录。

value

DeploymentPipeline[]

部署管道的集合。

ErrorRelatedResource

与错误相关的资源详细信息对象。

名称 类型 说明
resourceId

string

错误中涉及的资源 ID。

resourceType

string

错误中涉及的资源的类型。

ErrorResponse

错误响应。

名称 类型 说明
errorCode

string

提供有关错误条件的信息的特定标识符,允许服务与其用户之间的标准化通信。

message

string

错误的人工可读表示形式。

moreDetails

ErrorResponseDetails[]

其他错误详细信息的列表。

relatedResource

ErrorRelatedResource

与错误相关的资源详细信息。

requestId

string

与错误关联的请求的 ID。

ErrorResponseDetails

错误响应详细信息。

名称 类型 说明
errorCode

string

提供有关错误条件的信息的特定标识符,允许服务与其用户之间的标准化通信。

message

string

错误的人工可读表示形式。

relatedResource

ErrorRelatedResource

与错误相关的资源详细信息。