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>
) -> RequestBuilder
pub fn list( &self, subscription_id: impl Into<String>, group_name: impl Into<String>, service_name: impl Into<String> ) -> RequestBuilder
Get service level tasks for a service The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of service level 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 service
sourcepub fn get(
&self,
subscription_id: impl Into<String>,
group_name: impl Into<String>,
service_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>, task_name: impl Into<String> ) -> RequestBuilder
Get service task information The service tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The GET method retrieves information about a service task.
Arguments:
subscription_id
: Identifier of the subscriptiongroup_name
: Name of the resource groupservice_name
: Name of the servicetask_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>,
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>, task_name: impl Into<String>, parameters: impl Into<ProjectTask> ) -> RequestBuilder
Create or update service task The service tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PUT method creates a new service task or updates an existing one, although since service 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 servicetask_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>,
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>, task_name: impl Into<String>, parameters: impl Into<ProjectTask> ) -> RequestBuilder
Create or update service task The service tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PATCH method updates an existing service task, but since service 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 servicetask_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>,
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>, task_name: impl Into<String> ) -> RequestBuilder
Delete service task The service tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The DELETE method deletes a service 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 servicetask_name
: Name of the Task
sourcepub fn cancel(
&self,
subscription_id: impl Into<String>,
group_name: impl Into<String>,
service_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>, task_name: impl Into<String> ) -> RequestBuilder
Cancel a service task The service tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method cancels a service 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 servicetask_name
: Name of the Task