Events - Get Event
Gets an event in the migrate project.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents/{eventName}?api-version=2018-09-01-preview
Name | In | Required | Type | Description |
---|---|---|---|---|
event
|
path | True |
string |
Unique name of an event within a migrate project. |
migrate
|
path | True |
string |
Name of the Azure Migrate project. |
resource
|
path | True |
string |
Name of the Azure Resource Group that migrate project is part of. |
subscription
|
path | True |
string |
Azure Subscription Id in which migrate project was created. |
api-version
|
query | True |
string |
Standard request header. Used by service to identify API version used by client. |
Name | Type | Description |
---|---|---|
200 OK |
OK |
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Sample request
GET https://management.azure.com/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/migrateProjects/project01/migrateEvents/MigrateEvent01?api-version=2018-09-01-preview
Sample response
{
"id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/MigrateEvent01",
"name": "MigrateEvent01",
"type": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
"properties": {
"instanceType": "Servers",
"machine": "myvm",
"errorCode": "600",
"errorMessage": "The message does not contain the required parameters to identify the machine.",
"recommendation": "Resolve the error and try again.",
"possibleCauses": "The mandatory fields are not provided.",
"solution": "serversolution",
"clientRequestId": "a5dd7e42-4fd1-4512-af04-83ad9864335c"
}
}
Name | Description |
---|---|
Database |
Properties of the database error resource. |
Machine |
Properties of the machine error resource. |
Migrate |
MigrateEvent REST resource. |
Properties of the database error resource.
Name | Type | Description |
---|---|---|
clientRequestId |
string |
Gets or sets the client request Id of the payload for which the event is being reported. |
database |
string |
Gets or sets the database for which the error is being reported. |
databaseInstanceId |
string |
Gets or sets the database instance for which the error is being reported. |
errorCode |
string |
Gets or sets the error code. |
errorMessage |
string |
Gets or sets the error message. |
instanceType |
string:
Databases |
Gets the Instance type. |
possibleCauses |
string |
Gets or sets the possible causes for the error. |
recommendation |
string |
Gets or sets the recommendation for the error. |
solution |
string |
Gets or sets the solution for which the error is being reported. |
Properties of the machine error resource.
Name | Type | Description |
---|---|---|
clientRequestId |
string |
Gets or sets the client request Id of the payload for which the event is being reported. |
errorCode |
string |
Gets or sets the error code. |
errorMessage |
string |
Gets or sets the error message. |
instanceType |
string:
Servers |
Gets the Instance type. |
machine |
string |
Gets or sets the machine for which the error is being reported. |
possibleCauses |
string |
Gets or sets the possible causes for the error. |
recommendation |
string |
Gets or sets the recommendation for the error. |
solution |
string |
Gets or sets the solution for which the error is being reported. |
MigrateEvent REST resource.
Name | Type | Description |
---|---|---|
id |
string |
Gets or sets the relative URL to get to this REST resource. |
name |
string |
Gets or sets the name of this REST resource. |
properties | MigrateEventProperties: |
Gets or sets the properties of the event. |
type |
string |
Gets the type of this REST resource. |