Share via


StorageSubscriptionMockingExtension.GetDeletedAccounts Method

Definition

Overloads

GetDeletedAccounts()

Gets a collection of DeletedAccountResources in the SubscriptionResource.

GetDeletedAccounts(CancellationToken)

Lists deleted accounts under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts
  • Operation Id: DeletedAccounts_List

GetDeletedAccounts()

Source:
StorageSubscriptionMockingExtension.cs

Gets a collection of DeletedAccountResources in the SubscriptionResource.

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

Returns

An object representing collection of DeletedAccountResources and their operations over a DeletedAccountResource.

Applies to

GetDeletedAccounts(CancellationToken)

Source:
StorageSubscriptionMockingExtension.cs

Lists deleted accounts under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts
  • Operation Id: DeletedAccounts_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)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DeletedAccountResource that may take multiple service requests to iterate over.

Applies to