Wait-AzureRmDataLakeAnalyticsJob

Waits for a job to complete.

Warning

The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.

Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.

Syntax

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

Description

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

Examples

Example 1: Wait for a job to complete

PS C:\>Wait-AzureRmDataLakeAnalyticsJob -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: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