New-AzDataBoxTransferConfigurationObject

Create an in-memory object for TransferConfiguration.

Syntax

New-AzDataBoxTransferConfigurationObject
   -Type <TransferConfigurationType>
   [-TransferAllDetail <ITransferConfigurationTransferAllDetails>]
   [-TransferFilterDetail <ITransferConfigurationTransferFilterDetails>]
   [<CommonParameters>]

Description

Create an in-memory object for TransferConfiguration.

Examples

Example 1: In-memory object for export job transfer configuration

New-AzDataBoxTransferConfigurationObject -Type "TransferAll" -TransferAllDetail @{"IncludeDataAccountType"="StorageAccount";"IncludeTransferAllBlob"= "True"; "IncludeTransferAllFile"="True"}

Create a in-memory object for export jobs TransferConfiguration

Parameters

-TransferAllDetail

Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll. To construct, see NOTES section for TRANSFERALLDETAIL properties and create a hash table.

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

-TransferFilterDetail

Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter. To construct, see NOTES section for TRANSFERFILTERDETAIL properties and create a hash table.

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

-Type

Type of the configuration for transfer.

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

Outputs

TransferConfiguration