Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Restores a previously deleted container. This API is only functional is Container Soft Delete is enabled for the storage account associated with the container.
public virtual Azure.Response<Azure.Storage.Blobs.BlobContainerClient> UndeleteBlobContainer(string deletedContainerName, string deletedContainerVersion, System.Threading.CancellationToken cancellationToken = default);
abstract member UndeleteBlobContainer : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.BlobContainerClient>
override this.UndeleteBlobContainer : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.BlobContainerClient>
Public Overridable Function UndeleteBlobContainer (deletedContainerName As String, deletedContainerVersion As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BlobContainerClient)
The name of the previously deleted container.
The version of the previously deleted container.
Optional CancellationToken to propagate notifications that the operation should be cancelled.
A Response<T> pointed at the undeleted container.
A RequestFailedException will be thrown if a failure occurs. If multiple failures occur, an AggregateException will be thrown, containing each failure instance.
Product | Versions |
---|---|
Azure SDK for .NET | Latest, Preview |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in