Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-AzureDataFactorySliceStatus

Set-AzureDataFactorySliceStatus

microsoft.azure.commands.datafactories.dll

Synopsis

Sets the status of slices for a table in Data Factory.

Syntax

Set-AzureDataFactorySliceStatus [-ResourceGroupName] [-DataFactoryName] [-TableName] [-StartDateTime] [-EndDateTime] [-Status] [-UpdateType] [<CommonParameters>]

Set-AzureDataFactorySliceStatus [-DataFactory] [-TableName] [-StartDateTime] [-EndDateTime] [-Status] [-UpdateType] [<CommonParameters>]

Detailed Description

The Set-AzureDataFactorySliceStatus cmdlet sets the status of slices for a table in Azure Data Factory.

You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.

Parameters

-DataFactory <PSDataFactory>

Specifies a PSDataFactory object. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-DataFactoryName <String>

Specifies the name of a data factory. This cmdlet modifies the status of slices that belong to the data factory that this parameter specifies.

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-EndDateTime <DateTime>

Specifies the end of a time period as a DateTime object. This time is the end of a data slice. For more information about DateTime objects, type Get-Help Get-Date.

EndDateTime must be specified in the ISO8601 format. 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. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z.

Aliases

None

Required?

false

Position

5

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ResourceGroupName <String>

Specifies the name of an Azure resource group. This cmdlet modifies the status of slices that belong to the group that this parameter specifies.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-StartDateTime <DateTime>

Specifies the start of a time period as a DateTime object. This time is the beginning of a data slice.

StartDateTime must be specified in the ISO8601 format. 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. If the time zone designator is omitted (ex: 2014-10-01), it is considered as an UTC time 2014-10-01T00:00:00Z.

Aliases

None

Required?

true

Position

4

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Status <String>

Specifies a status to assign to the data slice. Valid values are: -- Ready. Data processing has completed and the data slice is ready. -- PendingExecution. Data processing has not started yet. -- PendingValidation. Data slice is waiting for pending validation on whether it fulfills the against validation policies before being processed. -- Skip. Skip processing of the slice.

Aliases

None

Required?

true

Position

6

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-TableName <String>

Specifies the name of the table for which this cmdlet modifies slices.

Aliases

None

Required?

true

Position

3

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-UpdateType <String>

Specifies the type of update to the slice. Valid values are: -- Individual. Sets the status of each slice for the table in the specified time range. -- UpstreamInPipeline. Sets the status of each slice for the table and all the dependent tables, which are used as input tables for activities in the pipeline.

Aliases

None

Required?

false

Position

7

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

System.Boolean

Notes

None

Examples

Example 1: Set the status of all slices

This command sets the status of all slices for the table named DAWikiAggregatedData to PendingExecution in the data factory named WikiADF. The UpdateType parameter has a value of UpstreamInPipeline, and so the command sets the status of each slice for the table and all dependent tables. Dependent tables are used as input tables for activities in the pipeline. This command returns a value of $True.

                    PS C:\> Set-AzureDataFactorySliceStatus -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TableName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-21T20:00:00Z -Status "PendingExecution" -UpdateType "UpstreamInPipeline"
                    True
                

Get-AzureDataFactorySlice