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

URI Parameters

Name In Required Type Description
eventName
path True

string

Unique name of an event within a migrate project.

migrateProjectName
path True

string

Name of the Azure Migrate project.

resourceGroupName
path True

string

Name of the Azure Resource Group that migrate project is part of.

subscriptionId
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.

Responses

Name Type Description
200 OK

MigrateEvent

OK

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

MigrateEvents_Get

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"
  }
}

Definitions

Name Description
DatabaseMigrateEventProperties

Properties of the database error resource.

MachineMigrateEventProperties

Properties of the machine error resource.

MigrateEvent

MigrateEvent REST resource.

DatabaseMigrateEventProperties

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.

MachineMigrateEventProperties

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

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.