Share via


DeletedAccount Class

Definition

Deleted storage account

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.DeletedAccountTypeConverter))]
public class DeletedAccount : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IDeletedAccount, Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.DeletedAccountTypeConverter))>]
type DeletedAccount = class
    interface IDeletedAccount
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class DeletedAccount
Implements IDeletedAccount, IValidates
Inheritance
DeletedAccount
Attributes
Implements

Constructors

DeletedAccount()

Creates an new DeletedAccount instance.

Properties

CreationTime

Creation time of the deleted account.

DeletionTime

Deletion time of the deleted account.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location

Location of the deleted account.

Name

The name of the resource

ResourceGroupName

Gets the resource group name

RestoreReference

Can be used to attempt recovering this deleted account via PutStorageAccount API.

StorageAccountResourceId

Full resource id of the original storage account.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeletedAccount.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeletedAccount.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IDeletedAccount.

FromJsonString(String)

Creates a new instance of DeletedAccount, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeletedAccount into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to