Struct azure_mgmt_datamigration::package_2018_04_19::tasks::Client
source · pub struct Client(_);
Implementations§
source§impl Client
impl Client
sourcepub fn list(
&self,
subscription_id: impl Into<String>,
group_name: impl Into<String>,
service_name: impl Into<String>,
project_name: impl Into<String>
) -> RequestBuilder
pub fn list( &self, subscription_id: impl Into<String>, group_name: impl Into<String>, service_name: impl Into<String>, project_name: impl Into<String> ) -> RequestBuilder
Get tasks in a service The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task.
Arguments:
subscription_id
: Identifier of the subscriptiongroup_name
: Name of the resource groupservice_name
: Name of the serviceproject_name
: Name of the project
sourcepub fn get(
&self,
subscription_id: impl Into<String>,
group_name: impl Into<String>,
service_name: impl Into<String>,
project_name: impl Into<String>,
task_name: impl Into<String>
) -> RequestBuilder
pub fn get( &self, subscription_id: impl Into<String>, group_name: impl Into<String>, service_name: impl Into<String>, project_name: impl Into<String>, task_name: impl Into<String> ) -> RequestBuilder
Get task information The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The GET method retrieves information about a task.
Arguments:
subscription_id
: Identifier of the subscriptiongroup_name
: Name of the resource groupservice_name
: Name of the serviceproject_name
: Name of the projecttask_name
: Name of the Task
sourcepub fn create_or_update(
&self,
subscription_id: impl Into<String>,
group_name: impl Into<String>,
service_name: impl Into<String>,
project_name: impl Into<String>,
task_name: impl Into<String>,
parameters: impl Into<ProjectTask>
) -> RequestBuilder
pub fn create_or_update( &self, subscription_id: impl Into<String>, group_name: impl Into<String>, service_name: impl Into<String>, project_name: impl Into<String>, task_name: impl Into<String>, parameters: impl Into<ProjectTask> ) -> RequestBuilder
Create or update task The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PUT method creates a new task or updates an existing one, although since tasks have no mutable custom properties, there is little reason to update an existing one.
Arguments:
subscription_id
: Identifier of the subscriptiongroup_name
: Name of the resource groupservice_name
: Name of the serviceproject_name
: Name of the projecttask_name
: Name of the Taskparameters
: Information about the task
sourcepub fn update(
&self,
subscription_id: impl Into<String>,
group_name: impl Into<String>,
service_name: impl Into<String>,
project_name: impl Into<String>,
task_name: impl Into<String>,
parameters: impl Into<ProjectTask>
) -> RequestBuilder
pub fn update( &self, subscription_id: impl Into<String>, group_name: impl Into<String>, service_name: impl Into<String>, project_name: impl Into<String>, task_name: impl Into<String>, parameters: impl Into<ProjectTask> ) -> RequestBuilder
Create or update task The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PATCH method updates an existing task, but since tasks have no mutable custom properties, there is little reason to do so.
Arguments:
subscription_id
: Identifier of the subscriptiongroup_name
: Name of the resource groupservice_name
: Name of the serviceproject_name
: Name of the projecttask_name
: Name of the Taskparameters
: Information about the task
sourcepub fn delete(
&self,
subscription_id: impl Into<String>,
group_name: impl Into<String>,
service_name: impl Into<String>,
project_name: impl Into<String>,
task_name: impl Into<String>
) -> RequestBuilder
pub fn delete( &self, subscription_id: impl Into<String>, group_name: impl Into<String>, service_name: impl Into<String>, project_name: impl Into<String>, task_name: impl Into<String> ) -> RequestBuilder
Delete task The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The DELETE method deletes a task, canceling it first if it’s running.
Arguments:
subscription_id
: Identifier of the subscriptiongroup_name
: Name of the resource groupservice_name
: Name of the serviceproject_name
: Name of the projecttask_name
: Name of the Task
sourcepub fn cancel(
&self,
subscription_id: impl Into<String>,
group_name: impl Into<String>,
service_name: impl Into<String>,
project_name: impl Into<String>,
task_name: impl Into<String>
) -> RequestBuilder
pub fn cancel( &self, subscription_id: impl Into<String>, group_name: impl Into<String>, service_name: impl Into<String>, project_name: impl Into<String>, task_name: impl Into<String> ) -> RequestBuilder
Cancel a task The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method cancels a task if it’s currently queued or running.
Arguments:
subscription_id
: Identifier of the subscriptiongroup_name
: Name of the resource groupservice_name
: Name of the serviceproject_name
: Name of the projecttask_name
: Name of the Task