Pipelines - Get Pipeline Operations

지정된 배포 파이프라인에서 수행된 최대 20개의 최신 배포 작업 목록을 반환합니다.

필수 범위

Pipeline.ReadWrite.All 또는 Pipeline.Read.All

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

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
pipelineId
path True

string

uuid

배포 파이프라인 ID

응답

Name 형식 Description
200 OK

PipelineOperations

정상

예제

Get pipeline operations example

Sample Request

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

Sample Response

{
  "value": [
    {
      "id": "1065e6a3-a020-4c0c-ada7-92b5fe99eec5",
      "type": "Deploy",
      "status": "Succeeded",
      "lastUpdatedTime": "2020-12-13T09:26:43.153",
      "executionStartTime": "2020-12-13T09:25:43.153Z",
      "executionEndTime": "2020-12-13T09:26:43.153Z",
      "sourceStageOrder": 0,
      "targetStageOrder": 1,
      "note": {
        "content": "Sample note",
        "isTruncated": false
      },
      "preDeploymentDiffInformation": {
        "newArtifactsCount": 0,
        "differentArtifactsCount": 0,
        "noDifferenceArtifactsCount": 1
      },
      "performedBy": {
        "userPrincipalName": "john@contoso.com",
        "principalType": "User"
      }
    }
  ]
}

정의

Name Description
DeploymentError

배포 단계에 대한 오류 세부 정보

DeploymentExecutionPlan

배포 실행 계획

DeploymentExecutionStep

배포 실행 단계

DeploymentExecutionStepPreDeploymentDiffState

배포 전 대상 단계의 항목과 다르거나 동일한 새 항목입니다.

DeploymentSourceAndTarget

원본 및 대상 항목

DeploymentStepType

배포 단계의 유형

PipelineOperation

Power BI 배포 파이프라인 작업

PipelineOperationNote

배포를 설명하는 참고 사항입니다.

PipelineOperations

Power BI 배포 파이프라인 작업 컬렉션에 대한 OData 응답 래퍼

PipelineOperationStatus

파이프라인 작업 상태

PipelineOperationType

작업 유형

PipelineOperationUser

파이프라인 작업을 수행한 사용자 또는 서비스 주체입니다.

PreDeploymentDiffInformation

배포 전에 배포된 신규, 다른 항목 및 동일한 항목의 양입니다.

PrincipalType

보안 주체 유형

DeploymentError

배포 단계에 대한 오류 세부 정보

Name 형식 Description
errorCode

string

오류 코드

errorDetails

string

추가 오류 세부 정보

DeploymentExecutionPlan

배포 실행 계획

Name 형식 Description
steps

DeploymentExecutionStep[]

실행 계획 단계의 컬렉션

DeploymentExecutionStep

배포 실행 단계

Name 형식 Description
error

DeploymentError

오류 세부 정보입니다. 파이프라인 작업이 실패한 경우에만 적용됩니다.

index

integer

단계 인덱스

preDeploymentDiffState

DeploymentExecutionStepPreDeploymentDiffState

배포 전 대상 단계의 항목과 다르거나 동일한 새 항목입니다.

sourceAndTarget

DeploymentSourceAndTarget

단계의 원본 및 대상 항목

status

PipelineOperationStatus

파이프라인 작업의 상태

type

DeploymentStepType

배포 단계의 유형

DeploymentExecutionStepPreDeploymentDiffState

배포 전 대상 단계의 항목과 다르거나 동일한 새 항목입니다.

Name 형식 Description
Different

string

배포 전에는 원본 단계의 항목이 대상 단계의 항목과 동일하지 않았습니다.

New

string

대상 단계에 없는 배포된 새 항목입니다.

NoDifference

string

배포하기 전에 원본 단계의 항목은 대상 단계의 항목과 동일했습니다.

DeploymentSourceAndTarget

원본 및 대상 항목

Name 형식 Description
source

string

원본 단계에서 배포된 Power BI 항목의 ID

sourceDisplayName

string

원본 단계에서 배포된 Power BI 항목의 표시 이름

target

string

대상 단계에서 덮어쓸 Power BI 항목의 ID입니다. Power BI 항목을 덮어쓸 때만 적용됩니다.

targetDisplayName

string

대상 단계에서 덮어쓸 Power BI 항목의 이름입니다. Power BI 항목을 덮어쓸 때만 적용됩니다.

type

string

대상 단계에서 덮어쓸 Power BI 항목의 형식입니다. Power BI 항목을 덮어쓸 때만 적용됩니다.

DeploymentStepType

배포 단계의 유형

Name 형식 Description
DashboardDeployment

string

단일 대시보드를 배포하는 단계

DataflowDeployment

string

단일 데이터 흐름을 배포하기 위한 단계

DatamartDeployment

string

단일 데이터 마트를 배포하기 위한 단계

DatasetDeployment

string

단일 데이터 세트를 배포하는 단계

ReportDeployment

string

단일 보고서를 배포하는 단계

PipelineOperation

Power BI 배포 파이프라인 작업

Name 형식 Description
executionEndTime

string

작업이 종료된 날짜 및 시간입니다.

executionPlan

DeploymentExecutionPlan

배포 실행 계획입니다. 단일 파이프라인 작업에만 적용됩니다.

executionStartTime

string

작업이 시작된 날짜 및 시간

id

string

작업 ID

lastUpdatedTime

string

작업이 마지막으로 업데이트된 날짜 및 시간

note

PipelineOperationNote

작업에 대한 설명을 나타내는 메모입니다.

performedBy

PipelineOperationUser

파이프라인 작업을 수행한 사용자 또는 서비스 주체입니다.

preDeploymentDiffInformation

PreDeploymentDiffInformation

배포 전 대상 단계의 항목과 동일하거나 다른 새 원본 스테이지에 배포된 항목의 양입니다.

sourceStageOrder

integer

원본 파이프라인 배포 단계의 숫자 식별자입니다. 개발(0), 테스트(1), 프로덕션(2).

status

PipelineOperationStatus

파이프라인 작업 상태

targetStageOrder

integer

대상 파이프라인 배포 단계의 숫자 식별자입니다. 개발(0), 테스트(1), 프로덕션(2).

type

PipelineOperationType

작업 유형

PipelineOperationNote

배포를 설명하는 참고 사항입니다.

Name 형식 Description
content

string

배포를 설명하는 텍스트입니다.

isTruncated

boolean

메모가 불완전한지 나타냅니다. True이면 메모의 일부만 반환됩니다. False이면 메모가 완료됩니다.

PipelineOperations

Power BI 배포 파이프라인 작업 컬렉션에 대한 OData 응답 래퍼

Name 형식 Description
odata.context

string

OData 컨텍스트

value

PipelineOperation[]

배포 파이프라인 작업의 컬렉션

PipelineOperationStatus

파이프라인 작업 상태

Name 형식 Description
Executing

string

작업 실행

Failed

string

작업 실패

NotStarted

string

작업이 시작되지 않음

Succeeded

string

작업이 성공했습니다.

PipelineOperationType

작업 유형

Name 형식 Description
Deploy

string

단계 간에 콘텐츠 배포

PipelineOperationUser

파이프라인 작업을 수행한 사용자 또는 서비스 주체입니다.

Name 형식 Description
principalObjectID

string

배포를 수행한 서비스 주체의 ID입니다.

principalType

PrincipalType

배포를 수행한 사용자 유형입니다.

userPrincipalName

string

배포를 수행한 사용자의 UPN입니다.

PreDeploymentDiffInformation

배포 전에 배포된 신규, 다른 항목 및 동일한 항목의 양입니다.

Name 형식 Description
differentArtifactsCount

integer

배포 전 원본 단계와 대상 단계 간에 차이가 있는 배포된 항목의 수입니다.

newArtifactsCount

integer

대상 단계에 배포된 새 항목의 수입니다.

noDifferenceArtifactsCount

integer

배포 전 원본 및 대상 단계에서 동일한 배포된 항목의 수입니다.

PrincipalType

보안 주체 유형

Name 형식 Description
App

string

서비스 주체 유형

Group

string

그룹 보안 주체 유형

None

string

보안 주체 유형이 없습니다. 전체 조직 수준 액세스에 사용합니다.

User

string

사용자 계정 유형