pub struct AzureDevOps { /* private fields */ }Expand description
The main entry point for interacting with Azure DevOps.
Create an instance using AzureDevOps::builder() or
AzureDevOpsBuilder.
§Example
use azure_devops::AzureDevOps;
let client = AzureDevOps::builder()
.organization("my-company")
.pat("my-token")
.build()
.unwrap();Implementations§
Source§impl AzureDevOps
impl AzureDevOps
Sourcepub fn builder() -> AzureDevOpsBuilder
pub fn builder() -> AzureDevOpsBuilder
Create a new [AzureDevOpsBuilder].
Sourcepub fn projects(&self) -> ProjectsClient<'_>
pub fn projects(&self) -> ProjectsClient<'_>
Access the Projects API.
Returns a client that provides methods for listing, getting, creating, and updating Azure DevOps projects.
Sourcepub fn work_items(&self) -> WorkItemsClient<'_>
pub fn work_items(&self) -> WorkItemsClient<'_>
Access the Work Items API.
Returns a client that provides methods for creating, reading, updating, deleting, and querying work items.
Sourcepub fn repositories(&self) -> RepositoriesClient<'_>
pub fn repositories(&self) -> RepositoriesClient<'_>
Access the Git Repositories API.
Returns a client that provides methods for creating, reading, updating, and deleting Git repositories, as well as managing refs, commits, branches, items, pushes, and statuses.
Sourcepub fn pull_requests(&self) -> PullRequestsClient<'_>
pub fn pull_requests(&self) -> PullRequestsClient<'_>
Access the Pull Requests API.
Returns a client that provides methods for creating, reading, updating pull requests, as well as managing comments, threads, reviewers, commits, and work item references.
Sourcepub fn builds(&self) -> BuildsClient<'_>
pub fn builds(&self) -> BuildsClient<'_>
Access the Build API.
Returns a client that provides methods for listing, getting, and queueing classic builds, as well as managing build definitions, artifacts, logs, timelines, tags, and changes.
Sourcepub fn pipelines(&self) -> PipelinesClient<'_>
pub fn pipelines(&self) -> PipelinesClient<'_>
Access the Pipelines (YAML) API.
Returns a client that provides methods for listing, getting, creating, and running YAML pipelines, as well as accessing pipeline runs, logs, and artifacts.