Pipelines - Assign Workspace

指定したワークスペースを、指定したデプロイ パイプライン ステージに割り当てます。

必要なスコープ

Pipeline.ReadWrite.All と Workspace.ReadWrite.All

制限事項

  • 指定したデプロイ パイプライン ステージがまだ割り当てられません。
  • 指定したワークスペースの管理者である必要があります。
  • 指定したワークスペースは、他のデプロイ パイプラインには割り当てられません。
  • アクティブなデプロイ操作がある場合、この操作は失敗します。

POST https://api.powerbi.com/v1.0/myorg/pipelines/{pipelineId}/stages/{stageOrder}/assignWorkspace

URI パラメーター

名前 / 必須 説明
pipelineId
path True

string

uuid

デプロイ パイプライン ID

stageOrder
path True

integer

int32

デプロイ パイプラインステージの順序。 開発 (0)、テスト (1)、運用 (2)。

要求本文

名前 必須 説明
workspaceId True

string

ワークスペース ID。

応答

名前 説明
200 OK

OK

Assign a workspace to a deployment pipeline example

Sample Request

POST https://api.powerbi.com/v1.0/myorg/pipelines/a5ded933-57b7-41f4-b072-ed4c1f9d5824/stages/0/assignWorkspace
{
  "workspaceId": "4de5bcc4-2c88-4efe-b827-4ee7b289b496"
}

Sample Response

定義

AssignWorkspaceRequest

ワークスペースをデプロイ パイプライン ステージに割り当てる要求

名前 説明
workspaceId

string

ワークスペース ID。