Skip to content

Commit 3f0e903

Browse files
authored
NFS Share Snapshot (#28362)
1 parent 37132c7 commit 3f0e903

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

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

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@
258258
},
259259
{
260260
"$ref": "#/parameters/ShareRootSquash"
261+
},
262+
{
263+
"$ref": "#/parameters/EnableSnapshotVirtualDirectoryAccess"
261264
}
262265
],
263266
"responses": {
@@ -465,6 +468,11 @@
465468
"name": "ShareRootSquash",
466469
"modelAsString": false
467470
}
471+
},
472+
"x-ms-enable-snapshot-virtual-directory-access": {
473+
"x-ms-client-name": "EnableSnapshotVirtualDirectoryAccess",
474+
"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.",
475+
"type": "boolean"
468476
}
469477
}
470478
},
@@ -1434,6 +1442,9 @@
14341442
},
14351443
{
14361444
"$ref": "#/parameters/ShareRootSquash"
1445+
},
1446+
{
1447+
"$ref": "#/parameters/EnableSnapshotVirtualDirectoryAccess"
14371448
}
14381449
],
14391450
"responses": {
@@ -6431,6 +6442,9 @@
64316442
},
64326443
"RootSquash": {
64336444
"$ref": "#/definitions/ShareRootSquash"
6445+
},
6446+
"EnableSnapshotVirtualDirectoryAccess": {
6447+
"type": "boolean"
64346448
}
64356449
}
64366450
},
@@ -6812,6 +6826,14 @@
68126826
},
68136827
"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)."
68146828
},
6829+
"EnableSnapshotVirtualDirectoryAccess": {
6830+
"name": "x-ms-enable-snapshot-virtual-directory-access",
6831+
"x-ms-client-name": "enableSnapshotVirtualDirectoryAccess",
6832+
"in": "header",
6833+
"required": false,
6834+
"type": "boolean",
6835+
"x-ms-parameter-location": "method"
6836+
},
68156837
"FileAttributes": {
68166838
"name": "x-ms-file-attributes",
68176839
"x-ms-client-name": "FileAttributes",

0 commit comments

Comments
 (0)