Deployment Pipelines - Create Deployment Pipeline
Creates a new deployment pipeline.
Permissions
Service Principals must have permission granted by Fabric administrator. For more information see: Service principals can create workspaces, connections, and deployment pipelines.
Required Delegated Scopes
Pipeline.ReadWrite.All
Microsoft Entra supported identities
This API supports the Microsoft identities listed in this section.
Identity | Support |
---|---|
User | Yes |
Service principal and Managed identities | Yes |
Interface
POST https://api.fabric.microsoft.com/v1/deploymentPipelines
Request Body
Name | Required | Type | Description |
---|---|---|---|
displayName | True |
string maxLength: 256 |
The display name for the deployment pipeline. |
stages | True |
The collection of deployment pipeline stages. |
|
description |
string maxLength: 1024 |
The description for the deployment pipeline. |
Responses
Name | Type | Description |
---|---|---|
201 Created |
Successfuly created. |
|
Other Status Codes |
Common error codes:
|
Examples
Create a deployment pipeline example
Sample request
POST https://api.fabric.microsoft.com/v1/deploymentPipelines
{
"displayName": "My Deployment Pipeline Name",
"description": "My deployment pipeline description",
"stages": [
{
"displayName": "Development",
"description": "Development stage description",
"isPublic": false
},
{
"displayName": "Test",
"description": "Test stage description",
"isPublic": false
},
{
"displayName": "Production",
"description": "Production stage description",
"isPublic": true
}
]
}
Sample response
{
"id": "a5ded933-57b7-41f4-b072-ed4c1f9d5824",
"displayName": "My Deployment Pipeline Name",
"description": "My deployment pipeline description",
"stages": [
{
"id": "2e6f0272-e809-410a-be63-50e1d97ba75a",
"order": 0,
"displayName": "Development",
"description": "Development stage description",
"isPublic": false
},
{
"id": "d2056166-041c-4a56-8d37-ea90038bc0d6",
"order": 1,
"displayName": "Test",
"description": "Test stage description",
"isPublic": false
},
{
"id": "4c3eb03b-fbbb-4605-9b1a-6fba1003679e",
"order": 2,
"displayName": "Production",
"description": "Production stage description",
"isPublic": true
}
]
}
Definitions
Name | Description |
---|---|
Create |
A request to create a new deployment pipeline. |
Deployment |
A Fabric deployment pipeline. |
Deployment |
A Fabric deployment pipeline stage. |
Deployment |
A Fabric deployment pipeline stage. |
Error |
The error related resource details object. |
Error |
The error response. |
Error |
The error response details. |
CreateDeploymentPipelineRequest
A request to create a new deployment pipeline.
Name | Type | Description |
---|---|---|
description |
string maxLength: 1024 |
The description for the deployment pipeline. |
displayName |
string maxLength: 256 |
The display name for the deployment pipeline. |
stages |
The collection of deployment pipeline stages. |
DeploymentPipelineExtendedInfo
A Fabric deployment pipeline.
Name | Type | Description |
---|---|---|
description |
string |
The deployment pipeline description. |
displayName |
string |
The deployment pipeline display name. |
id |
string (uuid) |
The deployment pipeline ID. |
stages |
The collection of deployment pipeline stages. |
DeploymentPipelineStage
A Fabric deployment pipeline stage.
Name | Type | Description |
---|---|---|
description |
string |
The deployment pipeline stage description. |
displayName |
string |
The deployment pipeline stage display name. |
id |
string (uuid) |
The deployment pipeline stage ID. |
isPublic |
boolean |
Indicates whether the deployment pipeline stage is public. True - the stage is public, False - the stage isn't public. |
order |
integer |
The stage order, starting from zero. |
workspaceId |
string (uuid) |
The assigned workspace ID. Only applicable when there's an assigned workspace. |
workspaceName |
string |
The assigned workspace name. Only applicable when there's an assigned workspace and the user has access to the workspace. |
DeploymentPipelineStageRequest
A Fabric deployment pipeline stage.
Name | Type | Description |
---|---|---|
description |
string maxLength: 1024 |
The deployment pipeline stage description. |
displayName |
string maxLength: 256 |
The deployment pipeline stage display name. |
isPublic |
boolean |
Whether the deployment pipeline stage is public. |
ErrorRelatedResource
The error related resource details object.
Name | Type | Description |
---|---|---|
resourceId |
string |
The resource ID that's involved in the error. |
resourceType |
string |
The type of the resource that's involved in the error. |
ErrorResponse
The error response.
Name | Type | Description |
---|---|---|
errorCode |
string |
A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users. |
message |
string |
A human readable representation of the error. |
moreDetails |
List of additional error details. |
|
relatedResource |
The error related resource details. |
|
requestId |
string |
ID of the request associated with the error. |
ErrorResponseDetails
The error response details.
Name | Type | Description |
---|---|---|
errorCode |
string |
A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users. |
message |
string |
A human readable representation of the error. |
relatedResource |
The error related resource details. |