Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@
}
],
"responses": {
"200": {
"description": "Ok."
},
"202": {
"description": "Accepted and the operation will complete asynchronously.",
"headers": {
Expand Down Expand Up @@ -2773,18 +2776,6 @@
"modelAsString": true
}
},
"errors": {
"readOnly": true,
"description": "List of validation errors",
"$ref": "#/definitions/MigrationErrorsListResponse"
}
},
"x-ms-azure-resource": true
},
"MigrationErrorsListResponse": {
"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": {
"items": {
"description": "List of migration errors",
Expand All @@ -2793,7 +2784,8 @@
"type": "array",
"x-ms-identifiers": []
}
}
},
"x-ms-azure-resource": true
},
"MigrationErrorType": {
"description": "Error response indicates CDN service is not able to process the incoming request. The reason is provided in the error message.",
Expand Down Expand Up @@ -2824,6 +2816,9 @@
"CanMigrateParameters": {
"type": "object",
"description": "Request body for CanMigrate operation.",
"required": [
"classicResourceReference"
],
"properties": {
"classicResourceReference": {
"description": "Resource reference of the classic cdn profile or classic frontdoor that need to be migrated.",
Expand All @@ -2835,6 +2830,11 @@
"MigrationParameters": {
"type": "object",
"description": "Request body for Migrate operation.",
"required": [
"classicResourceReference",
"sku",
"profileName"
],
"properties": {
"sku": {
"description": "Sku for the migration",
Expand Down Expand Up @@ -2884,9 +2884,12 @@
"$ref": "#/definitions/ResourceReference"
},
"errors": {
"readOnly": true,
"description": "List of validation errors",
"$ref": "#/definitions/MigrationErrorsListResponse"
"items": {
"description": "List of migration errors",
"$ref": "#/definitions/MigrationErrorType"
},
"type": "array",
"x-ms-identifiers": []
}
},
"x-ms-azure-resource": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"profileName": "profile1"
},
"responses": {
"200": {},
"202": {
"headers": {
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2021-06-01"
Expand Down