diff --git a/specification/storage/data-plane/Microsoft.FileStorage/stable/2026-02-06/file.json b/specification/storage/data-plane/Microsoft.FileStorage/stable/2026-02-06/file.json index 7e3dff013463..dd0423da39b5 100644 --- a/specification/storage/data-plane/Microsoft.FileStorage/stable/2026-02-06/file.json +++ b/specification/storage/data-plane/Microsoft.FileStorage/stable/2026-02-06/file.json @@ -288,6 +288,9 @@ }, { "$ref": "#/parameters/ShareProvisionedBandwidthMibps" + }, + { + "$ref": "#/parameters/EnableSmbDirectoryLease" } ], "responses": { @@ -574,6 +577,11 @@ "description": "Returns the current share next allowed provisioned bandwidth downgrade time.", "type": "string", "format": "date-time-rfc1123" + }, + "x-ms-enable-smb-directory-lease": { + "x-ms-client-name": "enableSmbDirectoryLease", + "description": "Specifies whether granting of new directory leases for directories present in a share is enabled(allowed) or disabled(blocked). Header is only returned for a SMB Share.", + "type": "boolean" } } }, @@ -1598,6 +1606,9 @@ }, { "$ref": "#/parameters/ShareProvisionedBandwidthMibps" + }, + { + "$ref": "#/parameters/EnableSmbDirectoryLease" } ], "responses": { @@ -7476,6 +7487,9 @@ "NextAllowedProvisionedBandwidthDowngradeTime": { "type": "string", "format": "date-time-rfc1123" + }, + "EnableSmbDirectoryLease": { + "type": "boolean" } } }, @@ -8676,6 +8690,15 @@ "description": "NFS only. Required. Specifies the path of the target file to which the link will be created, up to 2 KiB in length. It should be full path of the target from the root.The target file must be in the same share and hence the same storage account.", "type": "string", "x-ms-parameter-location": "method" + }, + "EnableSmbDirectoryLease": { + "name": "x-ms-enable-smb-directory-lease", + "x-ms-client-name": "enableSmbDirectoryLease", + "in": "header", + "required": false, + "description": "SMB only, default is true. Specifies whether granting of new directory leases for directories present in a share are to be enabled or disabled. An input of true specifies that granting of new directory leases is to be allowed. An input of false specifies that granting of new directory leases is to be blocked.", + "type": "boolean", + "x-ms-parameter-location": "method" } } }