Update-AzImportExport
Updates specific properties of a job. You can call this operation to notify the Import/Export service that the hard drives comprising the import or export job have been shipped to the Microsoft data center. It can also be used to cancel an existing job.
Syntax
Update-AzImportExport
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[-AcceptLanguage <String>]
[-BackupDriveManifest]
[-CancelRequested]
[-DeliveryPackageCarrierName <String>]
[-DeliveryPackageDriveCount <Int64>]
[-DeliveryPackageShipDate <String>]
[-DeliveryPackageTrackingNumber <String>]
[-DriveList <IDriveStatus[]>]
[-LogLevel <String>]
[-ReturnAddressCity <String>]
[-ReturnAddressCountryOrRegion <String>]
[-ReturnAddressEmail <String>]
[-ReturnAddressPhone <String>]
[-ReturnAddressPostalCode <String>]
[-ReturnAddressRecipientName <String>]
[-ReturnAddressStateOrProvince <String>]
[-ReturnAddressStreetAddress1 <String>]
[-ReturnAddressStreetAddress2 <String>]
[-ReturnShippingCarrierAccountNumber <String>]
[-ReturnShippingCarrierName <String>]
[-State <String>]
[-Tag <Hashtable>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzImportExport
-InputObject <IImportExportIdentity>
[-AcceptLanguage <String>]
[-BackupDriveManifest]
[-CancelRequested]
[-DeliveryPackageCarrierName <String>]
[-DeliveryPackageDriveCount <Int64>]
[-DeliveryPackageShipDate <String>]
[-DeliveryPackageTrackingNumber <String>]
[-DriveList <IDriveStatus[]>]
[-LogLevel <String>]
[-ReturnAddressCity <String>]
[-ReturnAddressCountryOrRegion <String>]
[-ReturnAddressEmail <String>]
[-ReturnAddressPhone <String>]
[-ReturnAddressPostalCode <String>]
[-ReturnAddressRecipientName <String>]
[-ReturnAddressStateOrProvince <String>]
[-ReturnAddressStreetAddress1 <String>]
[-ReturnAddressStreetAddress2 <String>]
[-ReturnShippingCarrierAccountNumber <String>]
[-ReturnShippingCarrierName <String>]
[-State <String>]
[-Tag <Hashtable>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Updates specific properties of a job. You can call this operation to notify the Import/Export service that the hard drives comprising the import or export job have been shipped to the Microsoft data center. It can also be used to cancel an existing job.
Examples
Example 1: Update ImportExport job by resource group and server name
Update-AzImportExport -Name test-job -ResourceGroupName ImportTestRG -DeliveryPackageCarrierName pwsh -DeliveryPackageTrackingNumber pwsh20200000
Location Name Type
-------- ---- ----
East US test-job Microsoft.ImportExport/jobs
This cmdlet updates ImportExport job by resource group and server name.
Example 2: Update ImportExport job by identity.
Get-AzImportExport -Name test-job -ResourceGroupName ImportTestRG | Update-AzImportExport -CancelRequested
Location Name Type
-------- ---- ----
East US test-job Microsoft.ImportExport/jobs
This cmdlet updates ImportExport job by identity.
Parameters
-AcceptLanguage
Specifies the preferred language for the response.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BackupDriveManifest
Indicates whether the manifest files on the drives should be copied to block blobs.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CancelRequested
If specified, the value must be true. The service will attempt to cancel the job.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeliveryPackageCarrierName
The name of the carrier that is used to ship the import or export drives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeliveryPackageDriveCount
The number of drives included in the package.
Type: | Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeliveryPackageShipDate
The date when the package is shipped.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeliveryPackageTrackingNumber
The tracking number of the package.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DriveList
List of drives that comprise the job. To construct, see NOTES section for DRIVELIST properties and create a hash table.
Type: | IDriveStatus[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IImportExportIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-LogLevel
Indicates whether error logging or verbose logging is enabled.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name of the import/export job.
Type: | String |
Aliases: | JobName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group name uniquely identifies the resource group within the user subscription.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnAddressCity
The city name to use when returning the drives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnAddressCountryOrRegion
The country or region to use when returning the drives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnAddressEmail
Email address of the recipient of the returned drives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnAddressPhone
Phone number of the recipient of the returned drives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnAddressPostalCode
The postal code to use when returning the drives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnAddressRecipientName
The name of the recipient who will receive the hard drives when they are returned.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnAddressStateOrProvince
The state or province to use when returning the drives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnAddressStreetAddress1
The first line of the street address to use when returning the drives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnAddressStreetAddress2
The second line of the street address to use when returning the drives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnShippingCarrierAccountNumber
The customer's account number with the carrier.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReturnShippingCarrierName
The carrier's name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-State
If specified, the value must be Shipping, which tells the Import/Export service that the package for the job has been shipped. The ReturnAddress and DeliveryPackage properties must have been set either in this request or in a previous request, otherwise the request will fail.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The subscription ID for the Azure user.
Type: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Tag
Specifies the tags that will be assigned to the job.
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell