Delen via


Import-AzureStorSimpleLegacyApplianceConfig

Hiermee importeert u een configuratiebestand.

Notitie

De cmdlets waarnaar in deze documentatie wordt verwezen, zijn bedoeld voor het beheren van verouderde Azure-resources die gebruikmaken van ASM-API's (Azure Service Manager). Deze verouderde PowerShell-module wordt niet aanbevolen bij het maken van nieuwe resources, omdat ASM is gepland voor buitengebruikstelling. Zie Buitengebruikstelling van Azure Service Manager voor meer informatie.

De Az PowerShell-module is de aanbevolen PowerShell-module voor het beheren van ARM-resources (Azure Resource Manager) met PowerShell.

Syntax

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

Description

De cmdlet Import-AzureStorSimpleLegacyApplianceConfig importeert het configuratiebestand van het verouderde apparaat. Dit bestand bevat informatie over volumecontainers, back-upbeleid en opslagaccountreferenties voor de Azure StorSimple-service. Met deze cmdlet worden de metagegevens van de configuratie van het verouderde apparaat geretourneerd.

Voorbeelden

Voorbeeld 1: Een configuratiebestand importeren

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.

Met deze opdracht importeert u het configuratiebestand op het opgegeven pad. De opdracht bevat de sleutel voor het ontsleutelen van het bestand.

Parameters

-ConfigDecryptionKey

Hiermee geeft u de ontsleutelingssleutel op voor de configuratie van het verouderde apparaat.

Type:String
Position:Named
standaardwaarde:None
Vereist:True
Accept pipeline input:False
Accept wildcard characters:False

-ConfigFilePath

Hiermee geeft u het absolute pad van het configuratiebestand dat moet worden get.

Type:String
Aliases:FilePath
Position:Named
standaardwaarde:None
Vereist:True
Accept pipeline input:False
Accept wildcard characters:False

-Profile

Hiermee geeft u een Azure-profiel op.

Type:AzureSMProfile
Position:Named
standaardwaarde:None
Vereist:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetDeviceName

Hiermee geeft u de naam van het doelapparaat zoals weergegeven in de portal.

Type:String
Position:Named
standaardwaarde:None
Vereist:True
Accept pipeline input:False
Accept wildcard characters:False

Invoerwaarden

None

Uitvoerwaarden

LegacyApplianceConfiguration

Deze cmdlet retourneert de details van de configuratie. Het LegacyApplianceConfiguration-object bevat de volgende informatie: configuratie-id, volumecontainernamen, toegangsbeheerrecords, back-upbeleid, bandbreedte-instellingen, volumecontainers, opslagaccountreferenties en volumes.