Edit

Share via


New-AzDataBoxCustomerDiskJobDetailsObject

Create an in-memory object for DataBoxCustomerDiskJobDetails.

Syntax

Default (Default)

New-AzDataBoxCustomerDiskJobDetailsObject
    -ContactDetail <IContactDetails>
    -Type <ClassDiscriminator>
    [-ImportDiskDetailsCollection <IDataBoxCustomerDiskJobDetailsImportDiskDetailsCollection>]
    [-ExportDiskDetailsCollection <IDataBoxCustomerDiskJobDetailsExportDiskDetailsCollection>]
    [-ReturnToCustomerPackageDetailCarrierAccountNumber <String>]
    [-DataExportDetail <IDataExportDetails[]>]
    [-DataImportDetail <IDataImportDetails[]>]
    [-ExpectedDataSizeInTeraByte <Int32>]
    [-KeyEncryptionKey <IKeyEncryptionKey>]
    [-Preference <IPreferences>]
    [-ReverseShippingDetail <IReverseShippingDetails>]
    [-ShippingAddress <IShippingAddress>]
    [<CommonParameters>]

Description

Create an in-memory object for DataBoxCustomerDiskJobDetails.

Examples

Example 1: DataBoxCustomerDisk details in-memory object

$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroup/providers/Microsoft.Storage/storageAccounts/YourStorageAccount"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "XXXX XXXX" -EmailList @("emailId") -Phone "0000000000"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "XXXX XXXX" -StateOrProvince "XX" -Country "XX" -City "XXXX XXXX" -PostalCode "00000" -AddressType "Commercial"
$importDiskDetailsCollection = @{"XXXXXX"= @{ManifestFile = "xyz.txt"; ManifestHash = "xxxx"; BitLockerKey = "xxx"}}

New-AzDataBoxCustomerDiskJobDetailsObject -Type "DataBoxCustomerDisk" -DataImportDetail  @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -ImportDiskDetailsCollection $importDiskDetailsCollection -ReturnToCustomerPackageDetailCarrierAccountNumber "00000"

DataBoxCustomerDisk details in-memory object

Parameters

-ContactDetail

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

Parameter properties

Type:IContactDetails
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DataExportDetail

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

Parameter properties

Type:

IDataExportDetails[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DataImportDetail

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

Parameter properties

Type:

IDataImportDetails[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ExpectedDataSizeInTeraByte

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

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ExportDiskDetailsCollection

Contains the map of disk serial number to the disk details for export jobs. To construct, see NOTES section for EXPORTDISKDETAILSCOLLECTION properties and create a hash table.

Parameter properties

Type:IDataBoxCustomerDiskJobDetailsExportDiskDetailsCollection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ImportDiskDetailsCollection

Contains the map of disk serial number to the disk details for import jobs. To construct, see NOTES section for IMPORTDISKDETAILSCOLLECTION properties and create a hash table.

Parameter properties

Type:IDataBoxCustomerDiskJobDetailsImportDiskDetailsCollection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-KeyEncryptionKey

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

Parameter properties

Type:IKeyEncryptionKey
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Preference

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

Parameter properties

Type:IPreferences
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReturnToCustomerPackageDetailCarrierAccountNumber

Carrier Account Number of customer for customer disk.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReverseShippingDetail

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

Parameter properties

Type:IReverseShippingDetails
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ShippingAddress

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

Parameter properties

Type:IShippingAddress
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Type

Indicates the type of job details.

Parameter properties

Type:ClassDiscriminator
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

DataBoxCustomerDiskJobDetails