Struct azure_mgmt_scheduler::package_2016_01::jobs::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn get(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>,
job_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>, job_name: impl Into<String> ) -> RequestBuilder
Gets a job.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.job_name
: The job 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_name: impl Into<String>,
job: impl Into<JobDefinition>
) -> 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_name: impl Into<String>, job: impl Into<JobDefinition> ) -> RequestBuilder
Provisions a new job or updates an existing job.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.job_name
: The job name.job
: The job definition.
sourcepub fn patch(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>,
job_name: impl Into<String>,
job: impl Into<JobDefinition>
) -> RequestBuilder
pub fn patch( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String>, job_name: impl Into<String>, job: impl Into<JobDefinition> ) -> RequestBuilder
Patches an existing job.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.job_name
: The job name.job
: The job definition.
sourcepub fn delete(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>,
job_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>, job_name: impl Into<String> ) -> RequestBuilder
Deletes a job.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.job_name
: The job name.
sourcepub fn run(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>,
job_name: impl Into<String>
) -> RequestBuilder
pub fn run( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String>, job_name: impl Into<String> ) -> RequestBuilder
Runs a job.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.job_name
: The job name.
sourcepub fn list(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>
) -> RequestBuilder
pub fn list( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String> ) -> RequestBuilder
Lists all jobs under the specified job collection.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.
sourcepub fn list_job_history(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
job_collection_name: impl Into<String>,
job_name: impl Into<String>
) -> RequestBuilder
pub fn list_job_history( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String>, job_collection_name: impl Into<String>, job_name: impl Into<String> ) -> RequestBuilder
Lists job history.
Arguments:
subscription_id
: The subscription id.resource_group_name
: The resource group name.job_collection_name
: The job collection name.job_name
: The job 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