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
 

Restore-AzureWebsiteDeployment

Restore-AzureWebsiteDeployment

microsoft.windowsazure.commands.dll

Synopsis

Redeploy a previous deployment for an Azure website

Syntax

Restore-AzureWebsiteDeployment [-CommitId] [-Force] [-Name] [-WhatIf] [-Confirm] [-Slot] [<CommonParameters>]

Detailed Description

Redeploy a previous deployment for an Azure website. This replaces the current deployment with the selected deployment.

Parameters

-CommitId <String>

The identifier of the deployment to redeploy

Aliases

None

Required?

false

Position

2

Default value

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Force <SwitchParameter>

Skip any confirmation prompts

Aliases

None

Required?

false

Position

named

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Name <String>

The name of the website to redeploy

Aliases

None

Required?

false

Position

1

Default value

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Slot <>

The slot name

Aliases

None

Required?

false

Position

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------- Redeploy --------------

C:\PS>

Redeploy the deployment with id "f876543210" for the website named "mySite"

Restore-AzureWebsiteDeployment mySite -CommitId f876543210

Get-AzureWebsiteDeployment