Import-​Azure​Stor​Simple​Legacy​Volume​Container

Starts the migration of volume containers.

Syntax

Import-AzureStorSimpleLegacyVolumeContainer
      [-All]
      [-Force]
      -LegacyConfigId <String>
      [-Profile <AzureSMProfile>]
      [-SkipACRs]
      [<CommonParameters>]
Import-AzureStorSimpleLegacyVolumeContainer
      [-Force]
      -LegacyConfigId <String>
      -LegacyContainerNames <String[]>
      [-Profile <AzureSMProfile>]
      [-SkipACRs]
      [<CommonParameters>]

Description

The Import-AzureStorSimpleLegacyVolumeContainer cmdlet starts the migration of volume containers from a legacy appliance to the target appliance.

Examples

Example 1: Import a legacy volume container

PS C:\>Import-AzureStorSimpleLegacyVolumeContainer -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud"
Import started, Please check status with Get-AzureStorSimpleLegacyVolumeContainerStatus commandlet

This command imports a legacy volume container for the named container. The cmdlet starts the import, and then returns a message.

Example 2: Import all legacy volume containers

PS C:\>Import-AzureStorSimpleLegacyVolumeContainer -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -All
Import started, Please check status with Get-AzureStorSimpleLegacyVolumeContainerStatus commandlet

This command imports all legacy volume containers from configuration file imported. The cmdlet starts the import, and then returns a message.

Required Parameters

-All

Indicates that this cmdlet imports all volume containers in the imported configuration file to the target device.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LegacyConfigId

Specifies the unique ID of the configuration of the legacy appliance.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LegacyContainerNames

Specifies an array of volume container names for which the migration plan applies.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Force

Indicates that this cmdlet imports volume container on a different device, even if volume container has been imported on a different device.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SkipACRs

Indicates that the import process skips access control records for migration.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

String

This command returns the status of the migration import volume container job if it has been successfully started in the appliance.