Struct azure_devops_rust_api::release::releases::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn get_release(
&self,
organization: impl Into<String>,
project: impl Into<String>,
release_id: i32
) -> RequestBuilder
pub fn get_release( &self, organization: impl Into<String>, project: impl Into<String>, release_id: i32 ) -> RequestBuilder
Get a Release
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namerelease_id
: Id of the release.
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 releases
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project name
sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<ReleaseStartMetadata>,
project: impl Into<String>
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<ReleaseStartMetadata>, project: impl Into<String> ) -> RequestBuilder
Create a release.
Arguments:
organization
: The name of the Azure DevOps organization.body
: Metadata to create a release.project
: Project ID or project name
sourcepub fn get_release_revision(
&self,
organization: impl Into<String>,
project: impl Into<String>,
release_id: i32,
definition_snapshot_revision: i32
) -> RequestBuilder
pub fn get_release_revision( &self, organization: impl Into<String>, project: impl Into<String>, release_id: i32, definition_snapshot_revision: i32 ) -> RequestBuilder
Get release for a given revision number.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namerelease_id
: Id of the release.definition_snapshot_revision
: Definition snapshot revision number.
sourcepub fn update_release(
&self,
organization: impl Into<String>,
body: impl Into<Release>,
project: impl Into<String>,
release_id: i32
) -> RequestBuilder
pub fn update_release( &self, organization: impl Into<String>, body: impl Into<Release>, project: impl Into<String>, release_id: i32 ) -> RequestBuilder
Update a complete release object.
Arguments:
organization
: The name of the Azure DevOps organization.body
: Release object for update.project
: Project ID or project namerelease_id
: Id of the release to update.
sourcepub fn update_release_resource(
&self,
organization: impl Into<String>,
body: impl Into<ReleaseUpdateMetadata>,
project: impl Into<String>,
release_id: i32
) -> RequestBuilder
pub fn update_release_resource( &self, organization: impl Into<String>, body: impl Into<ReleaseUpdateMetadata>, project: impl Into<String>, release_id: i32 ) -> RequestBuilder
Update few properties of a release.
Arguments:
organization
: The name of the Azure DevOps organization.body
: Properties of release to update.project
: Project ID or project namerelease_id
: Id of the release to update.
sourcepub fn get_release_environment(
&self,
organization: impl Into<String>,
project: impl Into<String>,
release_id: i32,
environment_id: i32
) -> RequestBuilder
pub fn get_release_environment( &self, organization: impl Into<String>, project: impl Into<String>, release_id: i32, environment_id: i32 ) -> RequestBuilder
Get a release environment.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namerelease_id
: Id of the release.environment_id
: Id of the release environment.
sourcepub fn update_release_environment(
&self,
organization: impl Into<String>,
body: impl Into<ReleaseEnvironmentUpdateMetadata>,
project: impl Into<String>,
release_id: i32,
environment_id: i32
) -> RequestBuilder
pub fn update_release_environment( &self, organization: impl Into<String>, body: impl Into<ReleaseEnvironmentUpdateMetadata>, project: impl Into<String>, release_id: i32, environment_id: i32 ) -> RequestBuilder
Update the status of a release environment
Arguments:
organization
: The name of the Azure DevOps organization.body
: Environment update meta data.project
: Project ID or project namerelease_id
: Id of the release.environment_id
: Id of release environment.
sourcepub fn get_task_log(
&self,
organization: impl Into<String>,
project: impl Into<String>,
release_id: i32,
environment_id: i32,
release_deploy_phase_id: i32,
task_id: i32
) -> RequestBuilder
pub fn get_task_log( &self, organization: impl Into<String>, project: impl Into<String>, release_id: i32, environment_id: i32, release_deploy_phase_id: i32, task_id: i32 ) -> RequestBuilder
Gets the task log of a release as a plain text file.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namerelease_id
: Id of the release.environment_id
: Id of release environment.release_deploy_phase_id
: Release deploy phase Id.task_id
: ReleaseTask Id for the log.
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more