Import-AzureStorSimpleLegacyApplianceConfig
Importerar en konfigurationsfil.
Kommentar
De cmdletar som refereras i den här dokumentationen är till för att hantera äldre Azure-resurser som använder Service Management-API:er. Se Az PowerShell-modulen för cmdletar för att hantera Azure Resource Manager-resurser.
Syntax
Import-AzureStorSimpleLegacyApplianceConfig
-ConfigFilePath <String>
-TargetDeviceName <String>
-ConfigDecryptionKey <String>
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
Cmdleten Import-AzureStorSimpleLegacyApplianceConfig importerar konfigurationsfilen från den äldre installationen. Filen innehåller information om volymcontainrar, säkerhetskopieringsprinciper och autentiseringsuppgifter för lagringskontot för Azure StorSimple-tjänsten. Den här cmdleten returnerar konfigurationsmetadata för äldre installationer.
Exempel
Exempel 1: Importera en konfigurationsfil
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.
Det här kommandot importerar konfigurationsfilen på den angivna sökvägen. Kommandot innehåller nyckeln för att dekryptera filen.
Parametrar
-ConfigDecryptionKey
Anger dekrypteringsnyckeln för konfigurationen av den äldre installationen.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ConfigFilePath
Anger den absoluta sökvägen till konfigurationsfilen som ska hämtas.
Type: | String |
Aliases: | FilePath |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Profile
Anger en Azure-profil.
Type: | AzureSMProfile |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetDeviceName
Anger namnet på målenheten som visas i portalen.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indata
None
Utdata
LegacyApplianceConfiguration
Den här cmdleten returnerar information om konfigurationen. Objektet LegacyApplianceConfiguration innehåller följande information: konfigurations-ID, volymcontainernamn, åtkomstkontrollposter, säkerhetskopieringsprinciper, bandbreddsinställningar, volymcontainrar, autentiseringsuppgifter för lagringskonto och volymer.