pub struct Client(/* private fields */);Implementations§
Source§impl Client
impl Client
Sourcepub fn list(&self, organization: impl Into<String>) -> RequestBuilder
pub fn list(&self, organization: impl Into<String>) -> RequestBuilder
Get a list of all Elastic Pools.
Arguments:
organization: The name of the Azure DevOps organization.
Sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<ElasticPool>,
pool_name: impl Into<String>,
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<ElasticPool>, pool_name: impl Into<String>, ) -> RequestBuilder
Create a new elastic pool. This will create a new TaskAgentPool at the organization level. If a project id is provided, this will create a new TaskAgentQueue in the specified project.
Arguments:
organization: The name of the Azure DevOps organization.body: Elastic pool to create. Contains the properties necessary for configuring a new ElasticPool.pool_name: Name to use for the new TaskAgentPool
Sourcepub fn get(
&self,
organization: impl Into<String>,
pool_id: i32,
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, pool_id: i32, ) -> RequestBuilder
Returns the Elastic Pool with the specified Pool Id.
Arguments:
organization: The name of the Azure DevOps organization.pool_id: Pool Id of the associated TaskAgentPool
Sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<ElasticPoolSettings>,
pool_id: i32,
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<ElasticPoolSettings>, pool_id: i32, ) -> RequestBuilder
Update settings on a specified Elastic Pool.
Arguments:
organization: The name of the Azure DevOps organization.body: New Elastic Pool settings data
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