From 253ce1a2419bb2f1913787044e1923f608256946 Mon Sep 17 00:00:00 2001 From: Gauri Prasad Date: Thu, 17 Sep 2020 13:04:54 -0700 Subject: [PATCH 1/2] Removed lease duration from response headers for all lease APIs except break lease --- .../preview/2020-02-10/file.json | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json b/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json index ca0f8575afb4..c0c1edcd0159 100644 --- a/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json +++ b/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json @@ -532,11 +532,6 @@ "format": "date-time-rfc1123", "description": "Returns the date and time the share was last modified. Any operation that modifies the share or its properties updates the last modified time. Operations on files do not affect the last modified time of the share." }, - "x-ms-lease-time": { - "x-ms-client-name": "LeaseTime", - "type": "integer", - "description": "Approximate time remaining in the lease period, in seconds." - }, "x-ms-lease-id": { "x-ms-client-name": "LeaseId", "type": "string", @@ -653,11 +648,6 @@ "format": "date-time-rfc1123", "description": "Returns the date and time the share was last modified. Any operation that modifies the share or its properties updates the last modified time. Operations on files do not affect the last modified time of the share." }, - "x-ms-lease-time": { - "x-ms-client-name": "LeaseTime", - "type": "integer", - "description": "Approximate time remaining in the lease period, in seconds." - }, "x-ms-client-request-id": { "x-ms-client-name": "ClientRequestId", "type": "string", @@ -772,11 +762,6 @@ "format": "date-time-rfc1123", "description": "Returns the date and time the share was last modified. Any operation that modifies the share or its properties updates the last modified time. Operations on files do not affect the last modified time of the share." }, - "x-ms-lease-time": { - "x-ms-client-name": "LeaseTime", - "type": "integer", - "description": "Approximate time remaining in the lease period, in seconds." - }, "x-ms-lease-id": { "x-ms-client-name": "LeaseId", "type": "string", @@ -893,11 +878,6 @@ "format": "date-time-rfc1123", "description": "Returns the date and time the share was last modified. Any operation that modifies the share or its properties updates the last modified time. Operations on files do not affect the last modified time of the share." }, - "x-ms-lease-time": { - "x-ms-client-name": "LeaseTime", - "type": "integer", - "description": "Approximate time remaining in the lease period, in seconds." - }, "x-ms-lease-id": { "x-ms-client-name": "LeaseId", "type": "string", From c3b78d3059fb04ae4c7302f73cddfebfa9b88394 Mon Sep 17 00:00:00 2001 From: Gauri Prasad Date: Thu, 17 Sep 2020 13:23:17 -0700 Subject: [PATCH 2/2] Modified names according to arch board review --- .../preview/2020-02-10/file.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json b/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json index c0c1edcd0159..1880eafc4b31 100644 --- a/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json +++ b/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json @@ -5285,13 +5285,13 @@ "name": "Range" } }, - "ProtocolSettings": { + "ShareProtocolSettings": { "description": "Protocol settings", "type": "object", "properties": { - "SmbSettings": { + "Smb": { "description": "Settings for SMB protocol.", - "$ref": "#/definitions/SmbSettings", + "$ref": "#/definitions/ShareSmbSettings", "xml": { "name": "SMB" } @@ -5462,7 +5462,7 @@ "name": "SignedIdentifiers" } }, - "SmbSettings": { + "ShareSmbSettings": { "description": "Settings for SMB protocol.", "type": "object", "properties": { @@ -5494,9 +5494,12 @@ "wrapped": true } }, - "ProtocolSettings": { + "Protocol": { "description": "Protocol settings", - "$ref":"#/definitions/ProtocolSettings" + "$ref":"#/definitions/ShareProtocolSettings", + "xml": { + "name": "ProtocolSettings" + } } } },