Udostępnij za pośrednictwem


ServicesOperationsExtensions.StopAsync Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. This action stops the service and the service cannot be used for data migration. The service owner won't be billed when the service is stopped.

public static System.Threading.Tasks.Task StopAsync (this Microsoft.Azure.Management.DataMigration.IServicesOperations operations, string groupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member StopAsync : Microsoft.Azure.Management.DataMigration.IServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function StopAsync (operations As IServicesOperations, groupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IServicesOperations

The operations group for this extension method.

groupName
String

Name of the resource group

serviceName
String

Name of the service

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to