Profiles - Migrate
Migrieren Sie das CDN-Profil zum Azure Frontdoor(Standard/Premium)-Profil. Die Änderung muss danach festgelegt werden.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/migrate?api-version=2024-02-01
URI-Parameter
Name | In | Erforderlich | Typ | Beschreibung |
---|---|---|---|---|
resource
|
path | True |
string |
Name der Ressourcengruppe innerhalb des Azure-Abonnements. Regex pattern: |
subscription
|
path | True |
string |
Die Azure-Abonnement-ID. |
api-version
|
query | True |
string |
Version der API, die mit der Clientanforderung verwendet werden soll. Die aktuelle Version ist 2024-02-01. |
Anforderungstext
Name | Erforderlich | Typ | Beschreibung |
---|---|---|---|
classicResourceReference | True |
Ressourcenreferenz des klassischen CDN-Profils oder der klassischen Frontdoor, die migriert werden müssen. |
|
profileName | True |
string |
Name des neuen Profils, das erstellt werden muss. |
sku | True |
Sku für die Migration |
|
migrationWebApplicationFirewallMappings |
Waf-Zuordnung für das migrierte Profil |
Antworten
Name | Typ | Beschreibung |
---|---|---|
200 OK |
OK. Die Anforderung wurde erfolgreich durchgeführt. |
|
202 Accepted |
Akzeptiert: Die Anforderung wurde für die Verarbeitung akzeptiert, und der Vorgang wird asynchron abgeschlossen. Headers location: string |
|
Other Status Codes |
CDN-Fehlerantwort, die beschreibt, warum der Vorgang fehlgeschlagen ist. |
Sicherheit
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Beschreibung |
---|---|
user_impersonation | Identitätswechsel Ihres Benutzerkontos |
Beispiele
Profiles_Migrate
Sample Request
POST https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/migrate?api-version=2024-02-01
{
"sku": {
"name": "Standard_AzureFrontDoor"
},
"classicResourceReference": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Network/frontdoors/frontdoorname"
},
"profileName": "profile1"
}
Sample Response
{
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/operationresults/operationid/profileresults/profile1/migrateresults/profile1",
"type": "Microsoft.Cdn/migrate",
"properties": {
"migratedProfileResourceId": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1"
}
}
}
azure-asyncoperation: https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2024-02-01
{
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/operationresults/operationid/profileresults/profile1/migrateresults/profile1",
"type": "Microsoft.Cdn/migrate",
"properties": {
"migratedProfileResourceId": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1"
}
}
}
Definitionen
Name | Beschreibung |
---|---|
Error |
Zusätzliche Informationen zum Ressourcenverwaltungsfehler. |
Error |
Die Fehlerdetails. |
Error |
Fehlerantwort |
Migrate |
Ergebnis für den Migrationsvorgang. |
Migration |
Anforderungstext für den Migrate-Vorgang. |
Migration |
Web Application Firewall Zuordnung |
Resource |
Verweis auf eine andere Ressource. |
Sku |
Standard_Verizon = Der SKU-Name für ein Standard Verizon CDN-Profil. Premium_Verizon = Der SKU-Name für ein Premium Verizon CDN-Profil. Custom_Verizon = Der SKU-Name für ein benutzerdefiniertes Verizon-CDN-Profil. Standard_Akamai = Der SKU-Name für ein Akamai CDN-Profil. Standard_ChinaCdn = Der SKU-Name für ein China CDN-Profil für VOD-, Web- und Downloadszenarien mit GB-basiertem Abrechnungsmodell. Standard_Microsoft = Der SKU-Name für ein Microsoft CDN-Standardprofil. Standard_AzureFrontDoor = Der SKU-Name für ein Azure Front Door Standard-Profil. Premium_AzureFrontDoor = Der SKU-Name für ein Azure Front Door Premium-Profil. Standard_955BandWidth_ChinaCdn = Der SKU-Name für ein China CDN-Profil für VOD-, Web- und Downloadszenarien mit einem Abrechnungsmodell mit 95-5 Spitzenbandbreite. Standard_AvgBandWidth_ChinaCdn = Der SKU-Name für ein China CDN-Profil für VOD-, Web- und Downloadszenarien mit monatlichem Abrechnungsmodell mit durchschnittlicher Spitzenbandbreite. StandardPlus_ChinaCdn = Der SKU-Name für ein China CDN-Profil für Livestreaming mithilfe des GB-basierten Abrechnungsmodells. StandardPlus_955BandWidth_ChinaCdn = Der SKU-Name für ein China CDN-Livestreamingprofil mit einem Abrechnungsmodell mit 95-5 Spitzenbandbreite. StandardPlus_AvgBandWidth_ChinaCdn = Der SKU-Name für ein China CDN-Livestreamingprofil mit monatlichem Abrechnungsmodell mit durchschnittlicher Spitzenbandbreite. |
Sku |
Name des Tarifs. |
ErrorAdditionalInfo
Zusätzliche Informationen zum Ressourcenverwaltungsfehler.
Name | Typ | Beschreibung |
---|---|---|
info |
object |
Zusätzliche Informationen. |
type |
string |
Typ der zusätzlichen Informationen. |
ErrorDetail
Die Fehlerdetails.
Name | Typ | Beschreibung |
---|---|---|
additionalInfo |
Die zusätzlichen Fehlerinformationen. |
|
code |
string |
Der Fehlercode. |
details |
Die Fehlerdetails. |
|
message |
string |
Die Fehlermeldung. |
target |
string |
Das Fehlerziel. |
ErrorResponse
Fehlerantwort
Name | Typ | Beschreibung |
---|---|---|
error |
Das Fehlerobjekt. |
MigrateResult
Ergebnis für den Migrationsvorgang.
Name | Typ | Beschreibung |
---|---|---|
id |
string |
Ressourcen-ID |
properties.migratedProfileResourceId |
Armressourcen-ID des migrierten Profils |
|
type |
string |
Der Ressourcentyp. |
MigrationParameters
Anforderungstext für den Migrate-Vorgang.
Name | Typ | Beschreibung |
---|---|---|
classicResourceReference |
Ressourcenreferenz des klassischen CDN-Profils oder der klassischen Frontdoor, die migriert werden müssen. |
|
migrationWebApplicationFirewallMappings |
Waf-Zuordnung für das migrierte Profil |
|
profileName |
string |
Name des neuen Profils, das erstellt werden muss. |
sku |
Sku für die Migration |
MigrationWebApplicationFirewallMapping
Web Application Firewall Zuordnung
Name | Typ | Beschreibung |
---|---|---|
migratedFrom |
Richtlinie für die Migration von Waf |
|
migratedTo |
Migration zu Waf-Richtlinie |
ResourceReference
Verweis auf eine andere Ressource.
Name | Typ | Beschreibung |
---|---|---|
id |
string |
Ressourcen-ID |
Sku
Standard_Verizon = Der SKU-Name für ein Standard Verizon CDN-Profil. Premium_Verizon = Der SKU-Name für ein Premium Verizon CDN-Profil. Custom_Verizon = Der SKU-Name für ein benutzerdefiniertes Verizon-CDN-Profil. Standard_Akamai = Der SKU-Name für ein Akamai CDN-Profil. Standard_ChinaCdn = Der SKU-Name für ein China CDN-Profil für VOD-, Web- und Downloadszenarien mit GB-basiertem Abrechnungsmodell. Standard_Microsoft = Der SKU-Name für ein Microsoft CDN-Standardprofil. Standard_AzureFrontDoor = Der SKU-Name für ein Azure Front Door Standard-Profil. Premium_AzureFrontDoor = Der SKU-Name für ein Azure Front Door Premium-Profil. Standard_955BandWidth_ChinaCdn = Der SKU-Name für ein China CDN-Profil für VOD-, Web- und Downloadszenarien mit einem Abrechnungsmodell mit 95-5 Spitzenbandbreite. Standard_AvgBandWidth_ChinaCdn = Der SKU-Name für ein China CDN-Profil für VOD-, Web- und Downloadszenarien mit monatlichem Abrechnungsmodell mit durchschnittlicher Spitzenbandbreite. StandardPlus_ChinaCdn = Der SKU-Name für ein China CDN-Profil für Livestreaming mithilfe des GB-basierten Abrechnungsmodells. StandardPlus_955BandWidth_ChinaCdn = Der SKU-Name für ein China CDN-Livestreamingprofil mit einem Abrechnungsmodell mit 95-5 Spitzenbandbreite. StandardPlus_AvgBandWidth_ChinaCdn = Der SKU-Name für ein China CDN-Livestreamingprofil mit monatlichem Abrechnungsmodell mit durchschnittlicher Spitzenbandbreite.
Name | Typ | Beschreibung |
---|---|---|
name |
Name des Tarifs. |
SkuName
Name des Tarifs.
Name | Typ | Beschreibung |
---|---|---|
Custom_Verizon |
string |
|
Premium_AzureFrontDoor |
string |
|
Premium_Verizon |
string |
|
StandardPlus_955BandWidth_ChinaCdn |
string |
|
StandardPlus_AvgBandWidth_ChinaCdn |
string |
|
StandardPlus_ChinaCdn |
string |
|
Standard_955BandWidth_ChinaCdn |
string |
|
Standard_Akamai |
string |
|
Standard_AvgBandWidth_ChinaCdn |
string |
|
Standard_AzureFrontDoor |
string |
|
Standard_ChinaCdn |
string |
|
Standard_Microsoft |
string |
|
Standard_Verizon |
string |