Dela via


ServicesOperationsExtensions.CheckStatusAsync Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. This action performs a health check and returns the status of the service and virtual machine size.

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

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