編輯

共用方式為


New-AzDataBoxHeavyJobDetailsObject

Create an in-memory object for DataBoxHeavyJobDetails.

Syntax

New-AzDataBoxHeavyJobDetailsObject
   -ContactDetail <IContactDetails>
   -Type <ClassDiscriminator>
   [-DevicePassword <String>]
   [-DataExportDetail <IDataExportDetails[]>]
   [-DataImportDetail <IDataImportDetails[]>]
   [-ExpectedDataSizeInTeraByte <Int32>]
   [-KeyEncryptionKey <IKeyEncryptionKey>]
   [-Preference <IPreferences>]
   [-ReverseShippingDetail <IReverseShippingDetails>]
   [-ShippingAddress <IShippingAddress>]
   [<CommonParameters>]

Description

Create an in-memory object for DataBoxHeavyJobDetails.

Examples

Example 1: Create a in-memory object for DataBoxHeavyJobDetails

$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"

New-AzDataBoxHeavyJobDetailsObject -Type "DataBoxHeavy"  -DataImportDetail  @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -DevicePassword $password -ExpectedDataSizeInTeraByte 10

Action ChainOfCustodySasKey ExpectedDataSizeInTeraByte ReverseShipmentLabelSasKey Type        Passkey        
------ -------------------- -------------------------- -------------------------- ----        -------        
                            18                                                    DataBoxDisk $password

Create a in-memory object for DataBoxHeavyJobDetails

Parameters

-ContactDetail

Contact details for notification and shipping. To construct, see NOTES section for CONTACTDETAIL properties and create a hash table.

Type:IContactDetails
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DataExportDetail

Details of the data to be exported from azure. To construct, see NOTES section for DATAEXPORTDETAIL properties and create a hash table.

Type:IDataExportDetails[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DataImportDetail

Details of the data to be imported into azure. To construct, see NOTES section for DATAIMPORTDETAIL properties and create a hash table.

Type:IDataImportDetails[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DevicePassword

Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#-$%^!+=;:_()]+.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ExpectedDataSizeInTeraByte

The expected size of the data, which needs to be transferred in this job, in terabytes.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-KeyEncryptionKey

Details about which key encryption type is being used. To construct, see NOTES section for KEYENCRYPTIONKEY properties and create a hash table.

Type:IKeyEncryptionKey
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Preference

Preferences for the order. To construct, see NOTES section for PREFERENCE properties and create a hash table.

Type:IPreferences
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ReverseShippingDetail

Optional Reverse Shipping details for order. To construct, see NOTES section for REVERSESHIPPINGDETAIL properties and create a hash table.

Type:IReverseShippingDetails
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ShippingAddress

Shipping address of the customer. To construct, see NOTES section for SHIPPINGADDRESS properties and create a hash table.

Type:IShippingAddress
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Type

Indicates the type of job details.

Type:ClassDiscriminator
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

DataBoxHeavyJobDetails