pub struct Client(_);Implementations§
source§impl Client
impl Client
sourcepub fn list(
&self,
organization: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get a list of deployment groups by name or IDs.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
sourcepub fn add(
&self,
organization: impl Into<String>,
body: impl Into<DeploymentGroupCreateParameter>,
project: impl Into<String>
) -> RequestBuilder
pub fn add( &self, organization: impl Into<String>, body: impl Into<DeploymentGroupCreateParameter>, project: impl Into<String> ) -> RequestBuilder
Create a deployment group.
Arguments:
organization: The name of the Azure DevOps organization.body: Deployment group to create.project: Project ID or project name
sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
deployment_group_id: i32
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, project: impl Into<String>, deployment_group_id: i32 ) -> RequestBuilder
Get a deployment group by its ID.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namedeployment_group_id: ID of the deployment group.
sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<DeploymentGroupUpdateParameter>,
project: impl Into<String>,
deployment_group_id: i32
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<DeploymentGroupUpdateParameter>, project: impl Into<String>, deployment_group_id: i32 ) -> RequestBuilder
Update a deployment group.
Arguments:
organization: The name of the Azure DevOps organization.body: Deployment group to update.project: Project ID or project namedeployment_group_id: ID of the deployment group.
sourcepub fn delete(
&self,
organization: impl Into<String>,
project: impl Into<String>,
deployment_group_id: i32
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, project: impl Into<String>, deployment_group_id: i32 ) -> RequestBuilder
Delete a deployment group.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namedeployment_group_id: ID of the deployment group to be deleted.