Services - Check Status
Check service health status
The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This action performs a health check and returns the status of the service and virtual machine size.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus?api-version=2022-03-30-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
group
|
path | True |
string |
Name of the resource group |
service
|
path | True |
string |
Name of the service |
subscription
|
path | True |
string |
Subscription ID that identifies an Azure subscription. |
api-version
|
query | True |
string |
Version of the API |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Health checked |
|
Other Status Codes |
Error |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Services_CheckStatus
Sample Request
Sample Response
{
"agentVersion": "3.3.3871.6",
"status": "Online",
"vmSize": "Standard_A4_v2",
"supportedTaskTypes": [
"diagnostic.count",
"diagnostic.echo",
"diagnostic.error",
"diagnostic.fastCount",
"ConnectToSource.SqlServer.Sync",
"SyncMigrationOperationalTelemetry.LogCollector",
"GetUserTables.AzureSqlDb.Sync",
"ConnectToTarget.SqlDb.Sync",
"Migrate.MySql.AzureDbForMySql.Sync",
"Migrate.SqlServer.AzureSqlDb.Sync",
"ValidateMigrationInput.SqlServer.SqlDb.Sync",
"DataMigration.AzureSqlDbPostMigrationValidationScenarioId",
"GetTDECertificates.Sql",
"Migrate.SqlServer.AzureSqlDbMI",
"ValidateMigrationInput.SqlServer.AzureSqlDbMI",
"ConnectToTarget.AzureDbForMySql",
"ConnectToSource.SqlServer",
"GetUserTables.Sql",
"ConnectToTarget.AzureSqlDbMI",
"ConnectToTarget.SqlDb",
"Migrate.SqlServer.SqlDb",
"ConnectToSource.MySql"
]
}
Definitions
Name | Description |
---|---|
Api |
Error information. |
created |
|
Data |
Service health status |
OData |
Error information in OData format. |
System |
ApiError
Error information.
Name | Type | Description |
---|---|---|
error |
Error information in OData format |
|
systemData |
Metadata pertaining to creation and last modification of the resource. |
createdByType
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
DataMigrationServiceStatusResponse
Service health status
Name | Type | Description |
---|---|---|
agentConfiguration |
object |
Agent Configuration |
agentVersion |
string |
The DMS instance agent version |
status |
string |
The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed' |
supportedTaskTypes |
string[] |
The list of supported task types |
vmSize |
string |
The services virtual machine size, such as 'Standard_D2_v2' |
ODataError
Error information in OData format.
Name | Type | Description |
---|---|---|
code |
string |
The machine-readable description of the error, such as 'InvalidRequest' or 'InternalServerError' |
details |
Inner errors that caused this error |
|
message |
string |
The human-readable description of the error |
SystemData
Name | Type | Description |
---|---|---|
createdAt |
string |
|
createdBy |
string |
|
createdByType | ||
lastModifiedAt |
string |
|
lastModifiedBy |
string |
|
lastModifiedByType |