MockableStorageSubscriptionResource.GetDeletedAccounts Method
Definition
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.
Overloads
GetDeletedAccounts() |
Gets a collection of DeletedAccountResources in the SubscriptionResource. |
GetDeletedAccounts(CancellationToken) |
Lists deleted accounts under the subscription.
|
GetDeletedAccounts()
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)
Lists deleted accounts under the subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts
- Operation Id: DeletedAccounts_List
- Default Api Version: 2023-05-01
- Resource: DeletedAccountResource
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
Azure SDK for .NET