The Azure DevOps resource provider for Pulumi lets you manage Azure DevOps resources in your cloud programs. To use this package, please install the Pulumi CLI first.
Currently the provider is not distributed via the Pulumi infrastructure, thus you've to build and install it locally.
Please refer to the corresponding document for accomplish this.
To use from JavaScript or TypeScript in Node.js, install using either npm
:
$ npm install @pulumi/azuredevops
or yarn
:
$ yarn add @pulumi/azuredevops
To use from Python, install using pip
:
$ pip install pulumi_azuredevops
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/pulumi/pulumi-azuredevops/sdk/go/...
In the Pulumi yaml stack file (e.g. Pulimi.dev.yaml) you have to configigure the following configuration points:
config:
azuredevops:orgServiceUrl: https://dev.azure.com/MyAzDOrg (required)
azuredevops:personalAccessToken: mytokentoMyAzDOrg (required)
For detailed reference documentation, please visit the API docs.