Edit

Share via


Import-AzureStorSimpleLegacyApplianceConfig

Imports a configuration file.

Note

The cmdlets referenced in this documentation are for managing legacy Azure resources that use Azure Service Manager (ASM) APIs. This legacy PowerShell module isn't recommended when creating new resources since ASM is scheduled for retirement. For more information, see Azure Service Manager retirement.

The Az PowerShell module is the recommended PowerShell module for managing Azure Resource Manager (ARM) resources with PowerShell.

Syntax

Default (Default)

Import-AzureStorSimpleLegacyApplianceConfig
    -ConfigFilePath <String>
    -TargetDeviceName <String>
    -ConfigDecryptionKey <String>
    [-Profile <AzureSMProfile>]
    [<CommonParameters>]

Description

The Import-AzureStorSimpleLegacyApplianceConfig cmdlet imports the configuration file from the legacy appliance. That file contains information about volume containers, backup policies, and storage account credentials for the Azure StorSimple service. This cmdlet returns the legacy appliance configuration metadata.

Examples

Example 1: Import a configuration file

PS C:\>Import-AzureStorSimpleLegacyApplianceConfig -ConfigFilePath "C:\MigrationData\LegacyStorSimpleConfig.sse" -TargetDeviceName "8100-123456789" -ConfigDecryptionKey "fWs793hHVhR90NKdDYTeNq"
LegacyConfigId      : e2d5c9b1-b528-4c21-b8ae-533feefc8a41
ImportedOn          : 4/8/2015 7:23:04 PM
ConfigFile          : D:\configs\StorSimpleConfig_27_Mar_15_12_19.xml.sse
TargetApplianceName : Arunkm-N4
Details             : Available Cloud Configuration(s) for migration :
                          Cloud Configuration(s) 1    : TC8Cloud[Stingray19-FP6]
                          Cloud Configuration(s) 2    : fulle_cc4
                          Cloud Configuration(s) 3    : fulle_cc2
                          Cloud Configuration(s) 4    : fulle_cc3
                          Cloud Configuration(s) 5    : TC9Cloud[Stingray18-FP3]
                          Cloud Configuration(s) 6    : fulle_cc1
                          Cloud Configuration(s) 7    : Container-New[Stingray19-FP6]
                          Cloud Configuration(s) 8    : TC6Cloud[Stingray19-FP6]
                          Cloud Configuration(s) 9    : TC7Cloud[Stingray18-FP3]

Result              : Successfully imported config from the legacy appliance!
Save the legacy config id and cloud configuration(s) for future reference.

This command imports the configuration file at the specified path. The command includes the key to decrypt the file.

Parameters

-ConfigDecryptionKey

Specifies the decryption key for the configuration of the legacy appliance.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ConfigFilePath

Specifies the absolute path of the configuration file to get.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:FilePath

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Profile

Specifies an Azure profile.

Parameter properties

Type:AzureSMProfile
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TargetDeviceName

Specifies the name of the target device as presented in the portal.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

LegacyApplianceConfiguration

This cmdlet returns the details of the configuration. The LegacyApplianceConfiguration object contains the following information: configuration ID, volume container names, access control records, backup policies, bandwidth settings, volume containers, storage account credentials, and volumes.