ArmStorageModelFactory.StorageAccountMigrationData Method

Definition

Initializes a new instance of StorageAccountMigrationData.

public static Azure.ResourceManager.Storage.StorageAccountMigrationData StorageAccountMigrationData (string id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ResourceManager.Storage.Models.StorageSkuName targetSkuName = default, Azure.ResourceManager.Storage.Models.StorageAccountMigrationStatus? migrationStatus = default, string migrationFailedReason = default, string migrationFailedDetailedReason = default);
static member StorageAccountMigrationData : string * string * Nullable<Azure.Core.ResourceType> * Azure.ResourceManager.Storage.Models.StorageSkuName * Nullable<Azure.ResourceManager.Storage.Models.StorageAccountMigrationStatus> * string * string -> Azure.ResourceManager.Storage.StorageAccountMigrationData
Public Shared Function StorageAccountMigrationData (Optional id As String = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional targetSkuName As StorageSkuName = Nothing, Optional migrationStatus As Nullable(Of StorageAccountMigrationStatus) = Nothing, Optional migrationFailedReason As String = Nothing, Optional migrationFailedDetailedReason As String = Nothing) As StorageAccountMigrationData

Parameters

id
String

Migration Resource Id.

name
String

current value is 'default' for customer initiated migration.

resourceType
Nullable<ResourceType>

SrpAccountMigrationType in ARM contract which is 'accountMigrations'.

targetSkuName
StorageSkuName

Target sku name for the account.

migrationStatus
Nullable<StorageAccountMigrationStatus>

Current status of migration.

migrationFailedReason
String

Error code for migration failure.

migrationFailedDetailedReason
String

Reason for migration failure.

Returns

A new StorageAccountMigrationData instance for mocking.

Applies to