Wait-AzDataLakeAnalyticsJob

Waits for a job to complete.

Syntax

Wait-AzDataLakeAnalyticsJob
    [-Account] <String>
    [-JobId] <Guid>
    [[-WaitIntervalInSeconds] <Int32>]
    [[-TimeoutInSeconds] <Int32>]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Wait-AzDataLakeAnalyticsJob cmdlet waits for an Azure Data Lake Analytics job to complete.

Examples

Example 1: Wait for a job to complete

Wait-AzDataLakeAnalyticsJob -Account "ContosoAdlAccount" -JobId "a0a78d72-3fa8-4564-9b18-6becb3fda48a"

The following command waits for the job with the specified ID to complete.

Parameters

-Account

Specifies the Data Lake Analytics account name.

Type:String
Aliases:AccountName
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-JobId

Specifies the ID of the job for which to wait.

Type:Guid
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-TimeoutInSeconds

Specifies the number of seconds to wait before exiting the wait operation.

Type:Int32
Position:3
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-WaitIntervalInSeconds

Specify the number of seconds that elapse between each check of the job state.

Type:Int32
Position:2
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Guid

Int32

Outputs

JobInformation