Skip to content

Commit

Permalink
update properties schema
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoshi committed May 25, 2023
1 parent ebb04e9 commit 071e8f1
Showing 1 changed file with 33 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2881,42 +2881,44 @@
"type": "object",
"description": "Result for canMigrate operation.",
"properties": {
"migratedProfileResourceId": {
"readOnly": true,
"description": "Arm resource id of the migrated profile",
"$ref": "#/definitions/ResourceReference"
},
"properties": {
"canMigrate": {
"readOnly": true,
"description": "Flag that says if the profile can be migrated",
"type": "boolean"
},
"defaultSku": {
"readOnly": true,
"description": "Recommended sku for the migration",
"type": "string",
"enum": [
"Standard_AzureFrontDoor",
"Premium_AzureFrontDoor"
],
"x-ms-enum": {
"name": "CanMigrateDefaultSku",
"modelAsString": true
}
},
"errors": {
"items": {
"description": "List of migration errors",
"$ref": "#/definitions/MigrationErrorType"
},
"type": "array",
"x-ms-identifiers": []
}
"x-ms-client-flatten": true,
"$ref": "#/definitions/CanMigrateProperties"
}
},
"x-ms-azure-resource": true
},
"CanMigrateProperties": {
"type": "object",
"properties": {
"canMigrate": {
"readOnly": true,
"description": "Flag that says if the profile can be migrated",
"type": "boolean"
},
"defaultSku": {
"readOnly": true,
"description": "Recommended sku for the migration",
"type": "string",
"enum": [
"Standard_AzureFrontDoor",
"Premium_AzureFrontDoor"
],
"x-ms-enum": {
"name": "CanMigrateDefaultSku",
"modelAsString": true
}
},
"errors": {
"items": {
"description": "List of migration errors",
"$ref": "#/definitions/MigrationErrorType"
},
"type": "array",
"x-ms-identifiers": []
}
}
},
"MigrationErrorType": {
"description": "Error response indicates CDN service is not able to process the incoming request. The reason is provided in the error message.",
"type": "object",
Expand Down

0 comments on commit 071e8f1

Please sign in to comment.