Resume-AzsUpdateRun

Resumes a previously started update run that failed.

Syntax

Resume-AzsUpdateRun
      -Name <String>
      [-Location <String>]
      [-ResourceGroupName <String>]
      -UpdateName <String>
      [-AsJob]
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Resume-AzsUpdateRun
      [-AsJob]
      -ResourceId <String>
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Resumes a previously started update run that failed. Resumeed update runs will resume at the point they last failed.

Examples

EXAMPLE 1

Get-AzsUpdateRun -Name 5173e9f4-3040-494f-b7a7-738a6331d55c -UpdateName Microsoft1.0.180305.1 | Resume-AzsUpdateRun

Resumes a previously started update run that failed.

Parameters

-AsJob

Run asynchronous as a job and return the job object.

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

Flag to remove the item without confirmation.

Type:SwitchParameter
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Location

The name of the update location.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Update run identifier.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

The resource group the resource is located under.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceId

The resource id.

Type:String
Aliases:id
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-UpdateName

Display name of the update.

Type:String
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:None
Accept pipeline input:False
Accept wildcard characters:False