pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn list_by_subscription(
&self,
subscription_id: impl Into<String>
) -> RequestBuilder
pub fn list_by_subscription( &self, subscription_id: impl Into<String> ) -> RequestBuilder
Gets all job collections under specified subscription.
Arguments:
subscription_id
: The subscription id.
sourcepub fn list_by_resource_group(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>
) -> RequestBuilder
pub fn list_by_resource_group( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String> ) -> RequestBuilder
Gets all job collections under specified resource group.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.
sourcepub fn get(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>
) -> RequestBuilder
pub fn get( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String> ) -> RequestBuilder
Gets a job collection.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.
sourcepub fn create_or_update(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>,
job_collection: impl Into<JobCollectionDefinition>
) -> RequestBuilder
pub fn create_or_update( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String>, job_collection: impl Into<JobCollectionDefinition> ) -> RequestBuilder
Provisions a new job collection or updates an existing job collection.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.job_collection
: The job collection definition.
sourcepub fn patch(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>,
job_collection: impl Into<JobCollectionDefinition>
) -> RequestBuilder
pub fn patch( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String>, job_collection: impl Into<JobCollectionDefinition> ) -> RequestBuilder
Patches an existing job collection.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.job_collection
: The job collection definition.
sourcepub fn delete(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>
) -> RequestBuilder
pub fn delete( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String> ) -> RequestBuilder
Deletes a job collection.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.
sourcepub fn enable(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>
) -> RequestBuilder
pub fn enable( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String> ) -> RequestBuilder
Enables all of the jobs in the job collection.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.
sourcepub fn disable(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>
) -> RequestBuilder
pub fn disable( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String> ) -> RequestBuilder
Disables all of the jobs in the job collection.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection 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