Skip to content

Commit

Permalink
Fix more validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gubalasu committed Apr 19, 2022
1 parent 24f4471 commit 1b21f79
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2744,7 +2744,7 @@
"description": "Error response indicates CDN service is not able to process the incoming request. The reason is provided in the error message.",
"type": "object",
"properties": {
"errors":{
"errors": {
"items": {
"$ref": "#/definitions/MigrationErrorType"
},
Expand Down Expand Up @@ -2826,7 +2826,7 @@
},
"MigrationWafMapping": {
"description": "Waf mapping",
"type":"object",
"type": "object",
"properties": {
"migratedFrom": {
"description": "Migration From Waf policy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"resourceGroupName": "RG",
"profileName": "profile1",
"canMigrateParameters": {
"classicResourceReference": {"id":"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Network/frontdoors/frontdoorname"}
"classicResourceReference": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Network/frontdoors/frontdoorname"
}
}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@
"api-version": "2021-06-01",
"subscriptionId": "subid",
"resourceGroupName": "RG",
"migrationParameters":{
"migrationParameters": {
"sku": "Standard_AzureFrontDoor",
"classicResourceReference": {"id":"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Network/frontdoors/frontdoorname"},
"classicResourceReference": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Network/frontdoors/frontdoorname"
},
"profileName": ""
}
},
"responses": {
"200": {
"body": {
"migratedProfileArmResourceId": {"id":"/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/migratedprofile1"},
"migratedProfileArmResourceId": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/migratedprofile1"
},
"errors": null
}
}
Expand Down

0 comments on commit 1b21f79

Please sign in to comment.