ArmStorageModelFactory.StorageAccountMigrationData 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.
Overloads
StorageAccountMigrationData(ResourceIdentifier, String, ResourceType, SystemData, StorageSkuName, Nullable<StorageAccountMigrationStatus>, String, String, String)
- Source:
- ArmStorageModelFactory.cs
public static Azure.ResourceManager.Storage.StorageAccountMigrationData StorageAccountMigrationData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Storage.Models.StorageSkuName targetSkuName = default, Azure.ResourceManager.Storage.Models.StorageAccountMigrationStatus? migrationStatus = default, string migrationFailedReason = default, string migrationFailedDetailedReason = default, string name0 = default);
static member StorageAccountMigrationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Storage.Models.StorageSkuName * Nullable<Azure.ResourceManager.Storage.Models.StorageAccountMigrationStatus> * string * string * string -> Azure.ResourceManager.Storage.StorageAccountMigrationData
Public Shared Function StorageAccountMigrationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional targetSkuName As StorageSkuName = Nothing, Optional migrationStatus As Nullable(Of StorageAccountMigrationStatus) = Nothing, Optional migrationFailedReason As String = Nothing, Optional migrationFailedDetailedReason As String = Nothing, Optional name0 As String = Nothing) As StorageAccountMigrationData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- name0
- String
The name of the Storage Account Migration. It should always be 'default'.
Returns
A new StorageAccountMigrationData instance for mocking.
Applies to
StorageAccountMigrationData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<StorageSkuName>, Nullable<StorageAccountMigrationStatus>, String, String, String)
- Source:
- ArmStorageModelFactory.cs
public static Azure.ResourceManager.Storage.StorageAccountMigrationData StorageAccountMigrationData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Storage.Models.StorageSkuName? targetSkuName = default, Azure.ResourceManager.Storage.Models.StorageAccountMigrationStatus? migrationStatus = default, string migrationFailedReason = default, string migrationFailedDetailedReason = default, string name0 = default);
static member StorageAccountMigrationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Storage.Models.StorageSkuName> * Nullable<Azure.ResourceManager.Storage.Models.StorageAccountMigrationStatus> * string * string * string -> Azure.ResourceManager.Storage.StorageAccountMigrationData
Public Shared Function StorageAccountMigrationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional targetSkuName As Nullable(Of StorageSkuName) = Nothing, Optional migrationStatus As Nullable(Of StorageAccountMigrationStatus) = Nothing, Optional migrationFailedReason As String = Nothing, Optional migrationFailedDetailedReason As String = Nothing, Optional name0 As String = Nothing) As StorageAccountMigrationData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- targetSkuName
- Nullable<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.
- name0
- String
The name of the Storage Account Migration. It should always be 'default'.
Returns
A new StorageAccountMigrationData instance for mocking.