共用方式為


StorageExtensions.GetDeletedAccounts Method

Definition

Overloads

GetDeletedAccounts(SubscriptionResource, 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
GetDeletedAccounts(SubscriptionResource)

Gets a collection of DeletedAccountResources in the SubscriptionResource. MockingTo mock this method, please mock GetDeletedAccounts() instead.

GetDeletedAccounts(SubscriptionResource, CancellationToken)

Source:
StorageExtensions.cs
Source:
StorageExtensions.cs

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 static Azure.Pageable<Azure.ResourceManager.Storage.DeletedAccountResource> GetDeletedAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedAccounts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.DeletedAccountResource>
<Extension()>
Public Function GetDeletedAccounts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeletedAccountResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to

GetDeletedAccounts(SubscriptionResource)

Source:
StorageExtensions.cs
Source:
StorageExtensions.cs

Gets a collection of DeletedAccountResources in the SubscriptionResource. MockingTo mock this method, please mock GetDeletedAccounts() instead.

public static Azure.ResourceManager.Storage.DeletedAccountCollection GetDeletedAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetDeletedAccounts : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.Storage.DeletedAccountCollection
<Extension()>
Public Function GetDeletedAccounts (subscriptionResource As SubscriptionResource) As DeletedAccountCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

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

Exceptions

subscriptionResource is null.

Applies to