你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DataLakeServiceClient.UndeleteFileSystem 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
还原以前删除的文件系统。 此 API 仅在为与文件系统关联的存储帐户启用容器软删除时有效。
public virtual Azure.Response<Azure.Storage.Files.DataLake.DataLakeFileSystemClient> UndeleteFileSystem(string deletedFileSystemName, string deleteFileSystemVersion, System.Threading.CancellationToken cancellationToken = default);
abstract member UndeleteFileSystem : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.DataLakeFileSystemClient>
override this.UndeleteFileSystem : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.DataLakeFileSystemClient>
Public Overridable Function UndeleteFileSystem (deletedFileSystemName As String, deleteFileSystemVersion As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataLakeFileSystemClient)
参数
- deletedFileSystemName
- String
以前删除的文件系统的名称。
- deleteFileSystemVersion
- String
以前删除的文件系统的版本。
- cancellationToken
- CancellationToken
可选 CancellationToken ,用于传播应取消操作的通知。
返回
指向 Response<T> 未删除的文件系统的 。
注解
RequestFailedException如果失败,将引发 。