Edit

Share via


New-AzDataBoxTransferConfigurationObject

Create an in-memory object for TransferConfiguration.

Syntax

Default (Default)

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.

Parameter properties

Type:ITransferConfigurationTransferAllDetails
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

-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.

Parameter properties

Type:ITransferConfigurationTransferFilterDetails
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

Type of the configuration for transfer.

Parameter properties

Type:TransferConfigurationType
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

TransferConfiguration