你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StorageSubscriptionMockingExtension.GetDeletedAccount 方法

定义

获取指定已删除帐户资源的属性。

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}
  • 操作IdDeletedAccounts_Get
public virtual Azure.Response<Azure.ResourceManager.Storage.DeletedAccountResource> GetDeletedAccount (Azure.Core.AzureLocation location, string deletedAccountName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedAccount : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.DeletedAccountResource>
override this.GetDeletedAccount : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.DeletedAccountResource>
Public Overridable Function GetDeletedAccount (location As AzureLocation, deletedAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeletedAccountResource)

参数

location
AzureLocation

已删除的存储帐户的位置。

deletedAccountName
String

已删除的存储帐户的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

deletedAccountName 是一个空字符串,预期为非空。

deletedAccountName 为 null。

适用于