This class is used to create a pipeline connection within the team project provided. If the team project does not exist, it will be created.

interface CreatePipelineConnectionInputs {
    project?: TeamProject;
    providerData?: { [key: string]: string };
    providerId: string;
    redirectUrl?: string;
    requestSource?: string;
}

Properties

project?: TeamProject

The team project settings for an existing team project or for a new team project.

providerData?: { [key: string]: string }

This dictionary contains information that is specific to the provider. This data is opaque to the rest of the Pipelines infrastructure and does NOT contribute to the resources Token. The format of the string and its contents depend on the implementation of the provider.

providerId: string

The external source provider id for which the connection is being made.

redirectUrl?: string

If provided, this will be the URL returned with the PipelineConnection. This will override any other redirect URL that would have been generated for the connection.

requestSource?: string

Where the request to create the pipeline originated (such as 'GitHub Marketplace' or 'Azure DevOps')