Web Apps - Migrate My Sql
Beschrijving voor Migreert een lokale (in-app) MySql-database naar een externe MySql-database.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql?api-version=2023-12-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
Naam van web-app. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API-versie |
Aanvraagbody
Name | Vereist | Type | Description |
---|---|---|---|
properties.connectionString | True |
string |
Verbindingsreeks met de externe MySQL-database. |
properties.migrationType | True |
Het type migratiebewerking dat moet worden uitgevoerd |
|
kind |
string |
Soort resource. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
App Service foutreactie. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Definities
Name | Description |
---|---|
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Error |
Hoofdtekst van het foutbericht dat is geretourneerd door de API. |
Migrate |
MySQL-migratieaanvraag. |
My |
Het type migratiebewerking dat moet worden uitgevoerd |
Operation |
Een bewerking op een resource. |
Operation |
Status van de migratietaak. |
DefaultErrorResponse
App Service foutreactie.
Name | Type | Description |
---|---|---|
error |
Foutmodel. |
Details
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
Error
Foutmodel.
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
details |
Details[] |
Gedetailleerde fouten. |
innererror |
string |
Meer informatie over foutopsporing. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
ErrorEntity
Hoofdtekst van het foutbericht dat is geretourneerd door de API.
Name | Type | Description |
---|---|---|
code |
string |
Basisfoutcode. |
details |
Foutdetails. |
|
extendedCode |
string |
Type fout. |
innerErrors |
Interne fouten. |
|
message |
string |
Eventuele details van de fout. |
messageTemplate |
string |
Berichtsjabloon. |
parameters |
string[] |
Parameters voor de sjabloon. |
target |
string |
Het foutdoel. |
MigrateMySqlRequest
MySQL-migratieaanvraag.
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Soort resource. |
name |
string |
Resourcenaam. |
properties.connectionString |
string |
Verbindingsreeks met de externe MySQL-database. |
properties.migrationType |
Het type migratiebewerking dat moet worden uitgevoerd |
|
type |
string |
Resourcetype. |
MySqlMigrationType
Het type migratiebewerking dat moet worden uitgevoerd
Name | Type | Description |
---|---|---|
LocalToRemote |
string |
|
RemoteToLocal |
string |
Operation
Een bewerking op een resource.
Name | Type | Description |
---|---|---|
createdTime |
string |
Tijdstip waarop de bewerking is gestart. |
errors |
Eventuele fouten die aan de bewerking zijn gekoppeld. |
|
expirationTime |
string |
Het tijdstip waarop de bewerking verloopt. |
geoMasterOperationId |
string |
Alleen van toepassing op zegelbewerkings-id's. |
id |
string |
Bewerkings-id. |
modifiedTime |
string |
Tijdstip waarop de bewerking is bijgewerkt. |
name |
string |
naam van bewerking. |
status |
De huidige status van de bewerking. |
OperationStatus
Status van de migratietaak.
Name | Type | Description |
---|---|---|
Created |
string |
|
Failed |
string |
|
InProgress |
string |
|
Succeeded |
string |
|
TimedOut |
string |