Import-AzureStorSimpleLegacyApplianceConfig
匯入組態檔。
注意
本檔中參考的 Cmdlet 用於管理使用服務管理 API 的舊版 Azure 資源。 如需管理 Azure Resource Manager 資源的 Cmdlet,請參閱 Az PowerShell 模組 。
Syntax
Import-AzureStorSimpleLegacyApplianceConfig
-ConfigFilePath <String>
-TargetDeviceName <String>
-ConfigDecryptionKey <String>
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
Import-AzureStorSimpleLegacyApplianceConfig Cmdlet 會從舊版設備匯入組態檔。 該檔案包含 Azure StorSimple 服務磁片區容器、備份原則和儲存體帳號憑證的相關資訊。 此 Cmdlet 會傳回舊版設備組態中繼資料。
範例
範例 1:匯入組態檔
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.
此命令會在指定的路徑匯入組態檔。 命令包含解密檔案的金鑰。
參數
-ConfigDecryptionKey
指定舊版設備的組態解密金鑰。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ConfigFilePath
指定要取得之組態檔的絕對路徑。
Type: | String |
Aliases: | FilePath |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Profile
指定 Azure 設定檔。
Type: | AzureSMProfile |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetDeviceName
指定入口網站中顯示的目標裝置名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
None
輸出
LegacyApplianceConfiguration
此 Cmdlet 會傳回組態的詳細資料。 LegacyApplianceConfiguration 物件包含下列資訊:組態識別碼、磁片區容器名稱、存取控制記錄、備份原則、頻寬設定、磁片區容器、儲存體帳號憑證和磁片區。