ArmStorageModelFactory.DeletedAccountData 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.
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
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.