Delen via


Web Apps - Migrate Storage

Beschrijving voor Herstelt een web-app.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate?subscriptionName={subscriptionName}&api-version=2023-12-01

URI-parameters

Name In Vereist Type Description
name
path True

string

Naam van web-app.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

Regex-patroon: ^[-\w\._\(\)]+[^\.]$

subscriptionId
path True

string

Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000).

api-version
query True

string

API-versie

subscriptionName
query True

string

Azure-abonnement.

Aanvraagbody

Name Vereist Type Description
properties.azurefilesConnectionString True

string

AzureFiles verbindingsreeks.

properties.azurefilesShare True

string

AzureFiles-share.

kind

string

Soort resource.

properties.blockWriteAccessToSite

boolean

true als de app tijdens de kopieerbewerking alleen moet worden gelezen; anders, false.

properties.switchSiteAfterMigration

boolean

trueals de app moet worden overgeschakeld; anders, false.

Antwoorden

Name Type Description
200 OK

StorageMigrationResponse

OK

Other Status Codes

DefaultErrorResponse

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
DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

StorageMigrationOptions

Opties voor migratie van app-inhoud.

StorageMigrationResponse

Antwoord voor een migratie van app-inhoudsaanvraag.

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

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.

StorageMigrationOptions

Opties voor migratie van app-inhoud.

Name Type Default value Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.azurefilesConnectionString

string

AzureFiles verbindingsreeks.

properties.azurefilesShare

string

AzureFiles-share.

properties.blockWriteAccessToSite

boolean

False

true als de app tijdens de kopieerbewerking alleen moet worden gelezen; anders, false.

properties.switchSiteAfterMigration

boolean

False

trueals de app moet worden overgeschakeld; anders, false.

type

string

Resourcetype.

StorageMigrationResponse

Antwoord voor een migratie van app-inhoudsaanvraag.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.operationId

string

Wanneer de server het migratieproces start, retourneert deze een bewerkings-id die die specifieke migratiebewerking identificeert.

type

string

Resourcetype.