Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR regionmove] [PublicPreviewReadiness] The errors property in the MoveResourceProperties should be readonly. #126

Closed
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
60 changes: 0 additions & 60 deletions schemas/2019-10-01-preview/Microsoft.Migrate.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,55 +391,6 @@
},
"description": "Defines the dependency override of the move resource."
},
"MoveResourceError": {
"type": "object",
"properties": {
"properties": {
"oneOf": [
{
"$ref": "#/definitions/MoveResourceErrorBody"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An error response from the Azure Migrate service."
}
},
"description": "An error response from the azure region move service."
},
"MoveResourceErrorBody": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"details": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/MoveResourceErrorBody"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "A list of additional details about the error."
},
"message": {
"type": "string",
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target of the particular error. For example, the name of the property in error."
}
},
"description": "An error response from the Azure Migrate service."
},
"MoveResourceProperties": {
"type": "object",
"properties": {
Expand All @@ -457,17 +408,6 @@
],
"description": "Gets or sets the move resource dependencies overrides."
},
"errors": {
"oneOf": [
{
"$ref": "#/definitions/MoveResourceError"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An error response from the azure region move service."
},
"existingTargetId": {
"type": "string",
"description": "Gets or sets the existing target ARM Id of the resource."
Expand Down