Struct azure_devops_rust_api::distributed_task::queues::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn get_agent_queues_by_names(
&self,
organization: impl Into<String>,
queue_names: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_agent_queues_by_names( &self, organization: impl Into<String>, queue_names: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get a list of agent queues by their names
Arguments:
organization
: The name of the Azure DevOps organization.queue_names
: A comma-separated list of agent names to retrieveproject
: Project ID or project name
sourcepub fn get_agent_queues_by_ids(
&self,
organization: impl Into<String>,
queue_ids: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_agent_queues_by_ids( &self, organization: impl Into<String>, queue_ids: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get a list of agent queues by their IDs
Arguments:
organization
: The name of the Azure DevOps organization.queue_ids
: A comma-separated list of agent queue IDs to retrieveproject
: Project ID or project name
sourcepub fn get_agent_queues(
&self,
organization: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_agent_queues( &self, organization: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get a list of agent queues.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project name
sourcepub fn get_agent_queues_for_pools(
&self,
organization: impl Into<String>,
pool_ids: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_agent_queues_for_pools( &self, organization: impl Into<String>, pool_ids: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get a list of agent queues by pool ids
Arguments:
organization
: The name of the Azure DevOps organization.pool_ids
: A comma-separated list of pool ids to get the corresponding queues forproject
: Project ID or project name
sourcepub fn add(
&self,
organization: impl Into<String>,
body: impl Into<TaskAgentQueue>,
project: impl Into<String>
) -> RequestBuilder
pub fn add( &self, organization: impl Into<String>, body: impl Into<TaskAgentQueue>, project: impl Into<String> ) -> RequestBuilder
Create a new agent queue to connect a project to an agent pool.
Arguments:
organization
: The name of the Azure DevOps organization.body
: Details about the queue to createproject
: Project ID or project name
sourcepub fn get(
&self,
organization: impl Into<String>,
queue_id: i32,
project: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, queue_id: i32, project: impl Into<String> ) -> RequestBuilder
Get information about an agent queue.
Arguments:
organization
: The name of the Azure DevOps organization.queue_id
: The agent queue to get information aboutproject
: Project ID or project name
sourcepub fn delete(
&self,
organization: impl Into<String>,
queue_id: i32,
project: impl Into<String>
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, queue_id: i32, project: impl Into<String> ) -> RequestBuilder
Removes an agent queue from a project.
Arguments:
organization
: The name of the Azure DevOps organization.queue_id
: The agent queue to removeproject
: Project ID or project name
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