New-AzImportExportDriveListObject
Create a DriverList Object for ImportExport.
Syntax
New-AzImportExportDriveListObject
[-BitLockerKey <String>]
[-BytesSucceeded <Int64>]
[-CopyStatus <String>]
[-DriveHeaderHash <String>]
[-DriveId <String>]
[-ErrorLogUri <String>]
[-ManifestFile <String>]
[-ManifestHash <String>]
[-ManifestUri <String>]
[-PercentComplete <Int32>]
[-State <DriveState>]
[-VerboseLogUri <String>]
[<CommonParameters>]
Description
Create a DriverList Object for ImportExport.
Examples
Example 1: Create a new DriveList for ImportExport job
$driveList = New-AzImportExportDriveListObject -DriveId "9CA995BA" -BitLockerKey "238810-662376-448998-450120-652806-203390-606320-483076" -ManifestFile "\\DriveManifest.xml" -ManifestHash "109B21108597EF36D5785F08303F3638"
New-AzImportExport -Name test-job -ResourceGroupName ImportTestRG -Location eastus -StorageAccountId "/subscriptions/<SubscriptionId>/resourcegroups/ImportTestRG/providers/Microsoft.Storage/storageAccounts/teststorageforimport" -JobType Import -ReturnAddressRecipientName "Some name" -ReturnAddressStreetAddress1 "Street1" -ReturnAddressCity "Redmond" -ReturnAddressStateOrProvince "WA" -ReturnAddressPostalCode "98008" -ReturnAddressCountryOrRegion "USA" -ReturnAddressPhone "4250000000" -ReturnAddressEmail test@contoso.com -DiagnosticsPath "waimportexport" -BackupDriveManifest -DriveList $driveList
Location Name Type
-------- ---- ----
eastus test-job Microsoft.ImportExport/jobs
These cmdlets create a new DriveList for ImportExport job.
Parameters
-BitLockerKey
The BitLocker key used to encrypt the drive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BytesSucceeded
Bytes successfully transferred for the drive.
Type: | Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CopyStatus
Detailed status about the data transfer process. This field is not returned in the response until the drive is in the Transferring state.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DriveHeaderHash
The drive header hash value.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DriveId
The drive's hardware serial number, without spaces.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ErrorLogUri
A URI that points to the blob containing the error log for the data transfer operation.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManifestFile
The relative path of the manifest file on the drive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManifestHash
The Base16-encoded MD5 hash of the manifest file on the drive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManifestUri
A URI that points to the blob containing the drive manifest file.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PercentComplete
Percentage completed for the drive.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-State
The drive's current state.
Type: | DriveState |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VerboseLogUri
A URI that points to the blob containing the verbose log for the data transfer operation.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Azure PowerShell