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

StorageSubscriptionMockingExtension.GetDeletedAccounts 方法

定义

重载

GetDeletedAccounts()

获取 SubscriptionResource 中 DeletedAccountResources 的集合。

GetDeletedAccounts(CancellationToken)

列出订阅下已删除的帐户。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts
  • 操作IdDeletedAccounts_List

GetDeletedAccounts()

获取 SubscriptionResource 中 DeletedAccountResources 的集合。

public virtual Azure.ResourceManager.Storage.DeletedAccountCollection GetDeletedAccounts ();
abstract member GetDeletedAccounts : unit -> Azure.ResourceManager.Storage.DeletedAccountCollection
override this.GetDeletedAccounts : unit -> Azure.ResourceManager.Storage.DeletedAccountCollection
Public Overridable Function GetDeletedAccounts () As DeletedAccountCollection

返回

一个 对象,表示 DeletedAccountResources 的集合及其在 DeletedAccountResource 上的操作。

适用于

GetDeletedAccounts(CancellationToken)

列出订阅下已删除的帐户。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts
  • 操作IdDeletedAccounts_List
public virtual Azure.Pageable<Azure.ResourceManager.Storage.DeletedAccountResource> GetDeletedAccounts (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedAccounts : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.DeletedAccountResource>
override this.GetDeletedAccounts : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.DeletedAccountResource>
Public Overridable Function GetDeletedAccounts (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeletedAccountResource)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

的集合 DeletedAccountResource ,可能需要多个服务请求才能循环访问。

适用于