diff --git a/specification/batch/Azure.Batch/common.tsp b/specification/batch/Azure.Batch/common.tsp index 4833717208b5..d8dcf315b881 100644 --- a/specification/batch/Azure.Batch/common.tsp +++ b/specification/batch/Azure.Batch/common.tsp @@ -183,7 +183,7 @@ alias FileResponseHeaders = { @header("Content-Length") @doc("The length of the file.") - contentLength: int64; + contentLength: string; ...BatchEtagResponseHeaders; diff --git a/specification/batch/Azure.Batch/examples/2024-02-01.19.0/Nodes_ListNodeFiles.json b/specification/batch/Azure.Batch/examples/2024-02-01.19.0/Nodes_ListNodeFiles.json index 3fb001868015..164111ec8a3d 100644 --- a/specification/batch/Azure.Batch/examples/2024-02-01.19.0/Nodes_ListNodeFiles.json +++ b/specification/batch/Azure.Batch/examples/2024-02-01.19.0/Nodes_ListNodeFiles.json @@ -26,7 +26,7 @@ "properties": { "creationTime": "2014-09-19T21:56:17.679195Z", "lastModified": "2014-09-19T21:56:17.679195Z", - "contentLength": 1813, + "contentLength": "1813", "contentType": "application/octet-stream" } }, @@ -37,7 +37,7 @@ "properties": { "creationTime": "2014-09-19T21:56:17.5590855Z", "lastModified": "2014-09-19T21:56:17.5590855Z", - "contentLength": 0, + "contentLength": "0", "contentType": "application/octet-stream" } } diff --git a/specification/batch/Azure.Batch/examples/2024-02-01.19.0/Tasks_ListTaskFiles.json b/specification/batch/Azure.Batch/examples/2024-02-01.19.0/Tasks_ListTaskFiles.json index 0720454f615d..9d3e580e4afb 100644 --- a/specification/batch/Azure.Batch/examples/2024-02-01.19.0/Tasks_ListTaskFiles.json +++ b/specification/batch/Azure.Batch/examples/2024-02-01.19.0/Tasks_ListTaskFiles.json @@ -21,7 +21,7 @@ "properties": { "creationTime": "2014-09-19T21:56:17.679195Z", "lastModified": "2014-09-19T21:56:17.679195Z", - "contentLength": 1813, + "contentLength": "1813", "contentType": "application/octet-stream" } }, @@ -32,7 +32,7 @@ "properties": { "creationTime": "2014-09-19T21:56:17.5590855Z", "lastModified": "2014-09-19T21:56:17.5590855Z", - "contentLength": 0, + "contentLength": "0", "contentType": "application/octet-stream" } } diff --git a/specification/batch/Azure.Batch/models.tsp b/specification/batch/Azure.Batch/models.tsp index 9b39189da35e..f39c195e83ea 100644 --- a/specification/batch/Azure.Batch/models.tsp +++ b/specification/batch/Azure.Batch/models.tsp @@ -1051,7 +1051,7 @@ model FileProperties { lastModified: utcDateTime; @doc("The length of the file.") - contentLength: int64; + contentLength: string; @doc("The content type of the file.") contentType?: string; diff --git a/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/BatchService.json b/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/BatchService.json index 41c87f76c061..6379be5574ac 100644 --- a/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/BatchService.json +++ b/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/BatchService.json @@ -2570,8 +2570,7 @@ }, "headers": { "Content-Length": { - "type": "integer", - "format": "int64", + "type": "string", "description": "The length of the file." }, "ETag": { @@ -2815,8 +2814,7 @@ "description": "The request has succeeded.", "headers": { "Content-Length": { - "type": "integer", - "format": "int64", + "type": "string", "description": "The length of the file." }, "ETag": { @@ -7031,8 +7029,7 @@ }, "headers": { "Content-Length": { - "type": "integer", - "format": "int64", + "type": "string", "description": "The length of the file." }, "ETag": { @@ -7276,8 +7273,7 @@ "description": "The request has succeeded.", "headers": { "Content-Length": { - "type": "integer", - "format": "int64", + "type": "string", "description": "The length of the file." }, "ETag": { @@ -14502,8 +14498,7 @@ "description": "The time at which the file was last modified." }, "contentLength": { - "type": "integer", - "format": "int64", + "type": "string", "description": "The length of the file." }, "contentType": { diff --git a/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/examples/Nodes_ListNodeFiles.json b/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/examples/Nodes_ListNodeFiles.json index 3fb001868015..164111ec8a3d 100644 --- a/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/examples/Nodes_ListNodeFiles.json +++ b/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/examples/Nodes_ListNodeFiles.json @@ -26,7 +26,7 @@ "properties": { "creationTime": "2014-09-19T21:56:17.679195Z", "lastModified": "2014-09-19T21:56:17.679195Z", - "contentLength": 1813, + "contentLength": "1813", "contentType": "application/octet-stream" } }, @@ -37,7 +37,7 @@ "properties": { "creationTime": "2014-09-19T21:56:17.5590855Z", "lastModified": "2014-09-19T21:56:17.5590855Z", - "contentLength": 0, + "contentLength": "0", "contentType": "application/octet-stream" } } diff --git a/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/examples/Tasks_ListTaskFiles.json b/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/examples/Tasks_ListTaskFiles.json index 0720454f615d..9d3e580e4afb 100644 --- a/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/examples/Tasks_ListTaskFiles.json +++ b/specification/batch/data-plane/Azure.Batch/preview/2024-02-01.19.0/examples/Tasks_ListTaskFiles.json @@ -21,7 +21,7 @@ "properties": { "creationTime": "2014-09-19T21:56:17.679195Z", "lastModified": "2014-09-19T21:56:17.679195Z", - "contentLength": 1813, + "contentLength": "1813", "contentType": "application/octet-stream" } }, @@ -32,7 +32,7 @@ "properties": { "creationTime": "2014-09-19T21:56:17.5590855Z", "lastModified": "2014-09-19T21:56:17.5590855Z", - "contentLength": 0, + "contentLength": "0", "contentType": "application/octet-stream" } }