共用方式為


ArmStorageModelFactory.DeletedAccountData Method

Definition

Initializes a new instance of DeletedAccountData.

public static Azure.ResourceManager.Storage.DeletedAccountData DeletedAccountData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier storageAccountResourceId = default, Azure.Core.AzureLocation? location = default, string restoreReference = default, DateTimeOffset? createdOn = default, DateTimeOffset? deletedOn = default);
static member DeletedAccountData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Storage.DeletedAccountData
Public Shared Function DeletedAccountData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional storageAccountResourceId As ResourceIdentifier = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional restoreReference As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing) As DeletedAccountData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

storageAccountResourceId
ResourceIdentifier

Full resource id of the original storage account.

location
Nullable<AzureLocation>

Location of the deleted account.

restoreReference
String

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

createdOn
Nullable<DateTimeOffset>

Creation time of the deleted account.

deletedOn
Nullable<DateTimeOffset>

Deletion time of the deleted account.

Returns

A new DeletedAccountData instance for mocking.

Applies to