共用方式為


DataMigrationServiceResource.CheckStatus(CancellationToken) 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.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus
  • Operation Id: Services_CheckStatus
public virtual Azure.Response<Azure.ResourceManager.DataMigration.Models.DataMigrationServiceStatusResponse> CheckStatus (System.Threading.CancellationToken cancellationToken = default);
abstract member CheckStatus : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataMigration.Models.DataMigrationServiceStatusResponse>
override this.CheckStatus : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataMigration.Models.DataMigrationServiceStatusResponse>
Public Overridable Function CheckStatus (Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataMigrationServiceStatusResponse)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to