Share via


DeletedAccountCollection Class

Definition

A class representing a collection of DeletedAccountResource and their operations. Each DeletedAccountResource in the collection will belong to the same instance of SubscriptionResource. To get a DeletedAccountCollection instance call the GetDeletedAccounts method from an instance of SubscriptionResource.

public class DeletedAccountCollection : Azure.ResourceManager.ArmCollection
type DeletedAccountCollection = class
    inherit ArmCollection
Public Class DeletedAccountCollection
Inherits ArmCollection
Inheritance
DeletedAccountCollection

Constructors

DeletedAccountCollection()

Initializes a new instance of the DeletedAccountCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(AzureLocation, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}
  • Operation Id: DeletedAccounts_Get
  • Default Api Version: 2022-09-01
  • Resource: DeletedAccountResource
ExistsAsync(AzureLocation, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}
  • Operation Id: DeletedAccounts_Get
  • Default Api Version: 2022-09-01
  • Resource: DeletedAccountResource
Get(AzureLocation, String, CancellationToken)

Get properties of specified deleted account resource.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}
  • Operation Id: DeletedAccounts_Get
  • Default Api Version: 2022-09-01
  • Resource: DeletedAccountResource
GetAsync(AzureLocation, String, CancellationToken)

Get properties of specified deleted account resource.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}
  • Operation Id: DeletedAccounts_Get
  • Default Api Version: 2022-09-01
  • Resource: DeletedAccountResource
GetIfExists(AzureLocation, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}
  • Operation Id: DeletedAccounts_Get
  • Default Api Version: 2022-09-01
  • Resource: DeletedAccountResource
GetIfExistsAsync(AzureLocation, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}
  • Operation Id: DeletedAccounts_Get
  • Default Api Version: 2022-09-01
  • Resource: DeletedAccountResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to