Skip to content

Commit 8b14ba4

Browse files
authored
Storage Error Codes for Copies (Azure#28359)
1 parent 08d1b5a commit 8b14ba4

File tree

2 files changed

+92
-0
lines changed
  • specification/storage/data-plane
    • Microsoft.BlobStorage/stable/2024-08-04
    • Microsoft.FileStorage/stable/2024-08-04

2 files changed

+92
-0
lines changed

specification/storage/data-plane/Microsoft.BlobStorage/stable/2024-08-04/blob.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4489,6 +4489,15 @@
44894489
"x-ms-error-code": {
44904490
"x-ms-client-name": "ErrorCode",
44914491
"type": "string"
4492+
},
4493+
"x-ms-copy-source-error-code": {
4494+
"x-ms-client-name": "CopySourceErrorCode",
4495+
"type": "string"
4496+
},
4497+
"x-ms-copy-source-status-code": {
4498+
"x-ms-client-name": "CopySourceStatusCode",
4499+
"type": "integer",
4500+
"format": "int64"
44924501
}
44934502
},
44944503
"schema": {
@@ -6110,6 +6119,15 @@
61106119
"x-ms-error-code": {
61116120
"x-ms-client-name": "ErrorCode",
61126121
"type": "string"
6122+
},
6123+
"x-ms-copy-source-error-code": {
6124+
"x-ms-client-name": "CopySourceErrorCode",
6125+
"type": "string"
6126+
},
6127+
"x-ms-copy-source-status-code": {
6128+
"x-ms-client-name": "CopySourceStatusCode",
6129+
"type": "integer",
6130+
"format": "int64"
61136131
}
61146132
},
61156133
"schema": {
@@ -6286,6 +6304,15 @@
62866304
"x-ms-error-code": {
62876305
"x-ms-client-name": "ErrorCode",
62886306
"type": "string"
6307+
},
6308+
"x-ms-copy-source-error-code": {
6309+
"x-ms-client-name": "CopySourceErrorCode",
6310+
"type": "string"
6311+
},
6312+
"x-ms-copy-source-status-code": {
6313+
"x-ms-client-name": "CopySourceStatusCode",
6314+
"type": "integer",
6315+
"format": "int64"
62896316
}
62906317
},
62916318
"schema": {
@@ -6900,6 +6927,15 @@
69006927
"x-ms-error-code": {
69016928
"x-ms-client-name": "ErrorCode",
69026929
"type": "string"
6930+
},
6931+
"x-ms-copy-source-error-code": {
6932+
"x-ms-client-name": "CopySourceErrorCode",
6933+
"type": "string"
6934+
},
6935+
"x-ms-copy-source-status-code": {
6936+
"x-ms-client-name": "CopySourceStatusCode",
6937+
"type": "integer",
6938+
"format": "int64"
69036939
}
69046940
},
69056941
"schema": {
@@ -7731,6 +7767,15 @@
77317767
"x-ms-error-code": {
77327768
"x-ms-client-name": "ErrorCode",
77337769
"type": "string"
7770+
},
7771+
"x-ms-copy-source-error-code": {
7772+
"x-ms-client-name": "CopySourceErrorCode",
7773+
"type": "string"
7774+
},
7775+
"x-ms-copy-source-status-code": {
7776+
"x-ms-client-name": "CopySourceStatusCode",
7777+
"type": "integer",
7778+
"format": "int64"
77347779
}
77357780
},
77367781
"schema": {
@@ -8731,6 +8776,15 @@
87318776
"x-ms-error-code": {
87328777
"x-ms-client-name": "ErrorCode",
87338778
"type": "string"
8779+
},
8780+
"x-ms-copy-source-error-code": {
8781+
"x-ms-client-name": "CopySourceErrorCode",
8782+
"type": "string"
8783+
},
8784+
"x-ms-copy-source-status-code": {
8785+
"x-ms-client-name": "CopySourceStatusCode",
8786+
"type": "integer",
8787+
"format": "int64"
87348788
}
87358789
},
87368790
"schema": {
@@ -9675,6 +9729,16 @@
96759729
"properties": {
96769730
"Message": {
96779731
"type": "string"
9732+
},
9733+
"CopySourceStatusCode": {
9734+
"type": "integer",
9735+
"format": "int64"
9736+
},
9737+
"CopySourceErrorCode": {
9738+
"type": "string"
9739+
},
9740+
"CopySourceErrorMessage": {
9741+
"type": "string"
96789742
}
96799743
}
96809744
},

specification/storage/data-plane/Microsoft.FileStorage/stable/2024-08-04/file.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4931,6 +4931,15 @@
49314931
"x-ms-error-code": {
49324932
"x-ms-client-name": "ErrorCode",
49334933
"type": "string"
4934+
},
4935+
"x-ms-copy-source-error-code": {
4936+
"x-ms-client-name": "CopySourceErrorCode",
4937+
"type": "string"
4938+
},
4939+
"x-ms-copy-source-status-code": {
4940+
"x-ms-client-name": "CopySourceStatusCode",
4941+
"type": "integer",
4942+
"format": "int64"
49344943
}
49354944
},
49364945
"schema": {
@@ -5193,6 +5202,15 @@
51935202
"x-ms-error-code": {
51945203
"x-ms-client-name": "ErrorCode",
51955204
"type": "string"
5205+
},
5206+
"x-ms-copy-source-error-code": {
5207+
"x-ms-client-name": "CopySourceErrorCode",
5208+
"type": "string"
5209+
},
5210+
"x-ms-copy-source-status-code": {
5211+
"x-ms-client-name": "CopySourceStatusCode",
5212+
"type": "integer",
5213+
"format": "int64"
51965214
}
51975215
},
51985216
"schema": {
@@ -6321,6 +6339,16 @@
63216339
"Message": {
63226340
"type": "string"
63236341
},
6342+
"CopySourceStatusCode": {
6343+
"type": "integer",
6344+
"format": "int64"
6345+
},
6346+
"CopySourceErrorCode": {
6347+
"type": "string"
6348+
},
6349+
"CopySourceErrorMessage": {
6350+
"type": "string"
6351+
},
63246352
"AuthenticationErrorDetail": {
63256353
"type": "string"
63266354
}

0 commit comments

Comments
 (0)