Set-​Azure​Rm​Data​Factory​Pipeline​Active​Period

Configures the active period for data slices.

Syntax

Set-AzureRmDataFactoryPipelineActivePeriod
   [-DataFactory] <PSDataFactory>
   [-PipelineName] <String>
   [-StartDateTime] <DateTime>
   [[-EndDateTime] <DateTime>]
   [-AutoResolve]
   [-ForceRecalculate]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]
Set-AzureRmDataFactoryPipelineActivePeriod
   [-ResourceGroupName] <String>
   [-DataFactoryName] <String>
   [-PipelineName] <String>
   [-StartDateTime] <DateTime>
   [[-EndDateTime] <DateTime>]
   [-AutoResolve]
   [-ForceRecalculate]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Description

The Set-AzureRmDataFactoryPipelineActivePeriod cmdlet configures the active period for the data slices that are processed by a pipeline in Azure Data Factory. If you use the Set-AzureRmDataFactorySliceStatus cmdlet to modify the status of slices for a dataset, make sure that the start time and end time for a slice are in the active period of the pipeline.

After you create a pipeline, you can specify the period in which data processing occurs. Specifying the active period for a pipeline defines the time duration in which the data slices are processed based on the Availability properties that were defined for each Data Factory dataset.

Examples

Example 1: Configure the active period

PS C:\>Set-AzureRmDataFactoryPipelineActivePeriod -ResourceGroupName "ADF" -PipelineName "DPWikisample" -DataFactoryName "WikiADF" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-22T16:00:00Z
Confirm
Are you sure you want to set pipeline 'DPWikisample' active period from '05/21/2014 16:00:00' to
'05/22/2014 16:00:00'? 
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y
True

This command configures the active period for the data slices that the pipeline named DPWikisample processes. The command provides beginning and end points for the data slices as values. The command returns a value of $True.

Required Parameters

-DataFactory

Specifies a PSDataFactory object. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies.

Type:PSDataFactory
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DataFactoryName

Specifies the name of a data factory. This cmdlet modifies the active period for a pipeline that belongs to the data factory that this parameter specifies.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PipelineName

Specifies the name of the pipeline. This cmdlet sets the active period for the pipeline that this parameter specifies.

Type:String
Aliases:Name
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of an Azure resource group. This cmdlet modifies the active period for a pipeline that belongs to the group that this parameter specifies.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-StartDateTime

Specifies the start of a time period as a DateTime object. Data processing occurs or data slices are processed within this period.

StartDateTime must be specified in the ISO8601 format.

Type:DateTime
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-AutoResolve

Indicates that this cmdlet uses auto resolve.

Type:SwitchParameter
Position:Named
Default value:None
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:False
Accept pipeline input:False
Accept wildcard characters:False
-EndDateTime

Specifies the end of a time period as a DateTime object. Data processing occurs or data slices are processed within this period. For more information about DateTime objects, type Get-Help Get-Date.

EndDateTime must be specified in the ISO8601 format as in the following examples:

2015-01-01Z 2015-01-01T00:00:00Z 2015-01-01T00:00:00.000Z (UTC) 2015-01-01T00:00:00-08:00 (Pacific Standard Time)

The default time zone designator is UTC.

Type:DateTime
Position:4
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceRecalculate

Indicates that this cmdlet uses force recalculate.

Type:SwitchParameter
Position:Named
Default value:None
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:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

System.Boolean

Notes

  • Keywords: azure, azurerm, arm, resource, management, manager, data, factories