Swap-​Azure​Rm​Web​App​Slot

Syntax

Swap-AzureRmWebAppSlot
    [-SourceSlotName] <String>
    [-ResourceGroupName] <String>
    [[-DestinationSlotName] <String>]
    [-Name] <String>
    [[-SwapWithPreviewAction] <SwapWithPreviewAction>]
    [[-PreserveVnet] <Boolean>]
    [-Confirm]
    [-WhatIf]
    [<CommonParameters>]
Swap-AzureRmWebAppSlot
    [-SourceSlotName] <String>
    [-WebApp] <Site>
    [[-DestinationSlotName] <String>]
    [[-SwapWithPreviewAction] <SwapWithPreviewAction>]
    [[-PreserveVnet] <Boolean>]
    [-Confirm]
    [-WhatIf]
    [<CommonParameters>]

Examples

1:

PS C:\>

Required Parameters

-Name
Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName
Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SourceSlotName
Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WebApp
Type:Site
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DestinationSlotName
Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PreserveVnet
Type:Boolean
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SwapWithPreviewAction
Type:SwapWithPreviewAction
Position:2
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:False
Accept pipeline input:False
Accept wildcard characters:False