From bbb7986063b2d5f3e248d3c57c8664ad5625e5b1 Mon Sep 17 00:00:00 2001 From: Sean McCullough Date: Wed, 20 Mar 2024 20:13:34 -0500 Subject: [PATCH] NFS Share Snapshot --- .../stable/2024-08-04/file.json | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/specification/storage/data-plane/Microsoft.FileStorage/stable/2024-08-04/file.json b/specification/storage/data-plane/Microsoft.FileStorage/stable/2024-08-04/file.json index e2876c4f4b95..00e48bd14aea 100644 --- a/specification/storage/data-plane/Microsoft.FileStorage/stable/2024-08-04/file.json +++ b/specification/storage/data-plane/Microsoft.FileStorage/stable/2024-08-04/file.json @@ -258,6 +258,9 @@ }, { "$ref": "#/parameters/ShareRootSquash" + }, + { + "$ref": "#/parameters/EnableSnapshotVirtualDirectoryAccess" } ], "responses": { @@ -465,6 +468,11 @@ "name": "ShareRootSquash", "modelAsString": false } + }, + "x-ms-enable-snapshot-virtual-directory-access": { + "x-ms-client-name": "EnableSnapshotVirtualDirectoryAccess", + "description": "Version 2023-08-03 and newer. Specifies whether the snapshot virtual directory should be accessible at the root of share mount point when NFS is enabled. This header is only returned for shares, not for snapshots.", + "type": "boolean" } } }, @@ -1434,6 +1442,9 @@ }, { "$ref": "#/parameters/ShareRootSquash" + }, + { + "$ref": "#/parameters/EnableSnapshotVirtualDirectoryAccess" } ], "responses": { @@ -6428,6 +6439,9 @@ }, "RootSquash": { "$ref": "#/definitions/ShareRootSquash" + }, + "EnableSnapshotVirtualDirectoryAccess": { + "type": "boolean" } } }, @@ -6809,6 +6823,14 @@ }, "description": "Required if the destination file has an active infinite lease. The lease ID specified for this header must match the lease ID of the destination file. If the request does not include the lease ID or it is not valid, the operation fails with status code 412 (Precondition Failed). If this header is specified and the destination file does not currently have an active lease, the operation will also fail with status code 412 (Precondition Failed)." }, + "EnableSnapshotVirtualDirectoryAccess": { + "name": "x-ms-enable-snapshot-virtual-directory-access", + "x-ms-client-name": "enableSnapshotVirtualDirectoryAccess", + "in": "header", + "required": false, + "type": "boolean", + "x-ms-parameter-location": "method" + }, "FileAttributes": { "name": "x-ms-file-attributes", "x-ms-client-name": "FileAttributes",