Skip to content

Commit df297c8

Browse files
authored
Fixed FileClient.GetRangeListDiff (#10896)
1 parent 196d5c1 commit df297c8

File tree

1 file changed

+44
-11
lines changed
  • specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10

1 file changed

+44
-11
lines changed

specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json

Lines changed: 44 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4418,7 +4418,7 @@
44184418
}
44194419
},
44204420
"schema": {
4421-
"$ref": "#/definitions/RangeList"
4421+
"$ref": "#/definitions/ShareFileRangeList"
44224422
}
44234423
},
44244424
"default": {
@@ -5262,7 +5262,7 @@
52625262
"name": "Multichannel"
52635263
}
52645264
},
5265-
"Range": {
5265+
"FileRange": {
52665266
"description": "An Azure Storage file range.",
52675267
"type": "object",
52685268
"required": [
@@ -5285,6 +5285,32 @@
52855285
"name": "Range"
52865286
}
52875287
},
5288+
"ClearRange": {
5289+
"type": "object",
5290+
"required": [
5291+
"Start",
5292+
"End"
5293+
],
5294+
"properties": {
5295+
"Start": {
5296+
"type": "integer",
5297+
"format": "int64",
5298+
"xml": {
5299+
"name": "Start"
5300+
}
5301+
},
5302+
"End": {
5303+
"type": "integer",
5304+
"format": "int64",
5305+
"xml": {
5306+
"name": "End"
5307+
}
5308+
}
5309+
},
5310+
"xml": {
5311+
"name": "ClearRange"
5312+
}
5313+
},
52885314
"ShareProtocolSettings": {
52895315
"description": "Protocol settings",
52905316
"type": "object",
@@ -5298,15 +5324,22 @@
52985324
}
52995325
}
53005326
},
5301-
"RangeList": {
5302-
"description": "A list of non-overlapping valid ranges, sorted by increasing address range.",
5303-
"type": "array",
5304-
"items": {
5305-
"$ref": "#/definitions/Range"
5306-
},
5307-
"xml": {
5308-
"wrapped": true,
5309-
"name": "Ranges"
5327+
"ShareFileRangeList": {
5328+
"description": "The list of file ranges",
5329+
"type": "object",
5330+
"properties": {
5331+
"Ranges": {
5332+
"type": "array",
5333+
"items": {
5334+
"$ref": "#/definitions/FileRange"
5335+
}
5336+
},
5337+
"ClearRanges": {
5338+
"type": "array",
5339+
"items": {
5340+
"$ref": "#/definitions/ClearRange"
5341+
}
5342+
}
53105343
}
53115344
},
53125345
"StorageError": {

0 commit comments

Comments
 (0)