Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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 @@ -469,7 +469,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
"final-state-via": "location"
}
}
},
Expand Down Expand Up @@ -2880,6 +2880,16 @@
"CanMigrateResult": {
"type": "object",
"description": "Result for canMigrate operation.",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/CanMigrateProperties"
}
},
"x-ms-azure-resource": true
},
"CanMigrateProperties": {
"type": "object",
"properties": {
"canMigrate": {
"readOnly": true,
Expand Down Expand Up @@ -2907,8 +2917,7 @@
"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 @@ -3000,22 +3009,23 @@
"MigrateResult": {
"type": "object",
"description": "Result for migrate operation.",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/MigrateResultProperties"
}
},
"x-ms-azure-resource": true
},
"MigrateResultProperties": {
"type": "object",
"properties": {
"migratedProfileResourceId": {
"readOnly": true,
"description": "Arm resource id of the migrated profile",
"$ref": "#/definitions/ResourceReference"
},
"errors": {
"items": {
"description": "List of migration errors",
"$ref": "#/definitions/MigrationErrorType"
},
"type": "array",
"x-ms-identifiers": []
}
},
"x-ms-azure-resource": true
}
},
"SsoUri": {
"description": "The URI required to login to the supplemental portal from the Azure portal.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@
"responses": {
"200": {
"body": {
"canMigrate": true,
"defaultSku": "Standard_AzureFrontDoor",
"errors": null
"id": "/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourcegroups/yaoshitest/providers/Microsoft.Cdn/operationresults/e0da7b89-5a5d-4e10-b1d7-2fd0dbd52315/profileresults/DummyProfile/canmigrateresults/DummyProfile",
Comment thread
TracyYaoYao marked this conversation as resolved.
Outdated
"type": "Microsoft.Cdn/canmigrate",
"properties": {
"canMigrate": true,
"defaultSku": "Standard_AzureFrontDoor",
"errors": null
}
}
},
"202": {
"headers": {
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2022-05-01-preview"
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2023-05-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"body": {
"migratedProfileResourceId": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1"
},
"errors": null
}
}
},
"202": {
Expand All @@ -29,8 +28,7 @@
"body": {
"migratedProfileResourceId": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1"
},
"errors": null
}
}
}
}
Expand Down