Skip to content

Latest commit

 

History

History
146 lines (106 loc) · 3.15 KB

Start-AzureRmWebAppSlot.md

File metadata and controls

146 lines (106 loc) · 3.15 KB
external help file Module Name ms.assetid online version schema
Microsoft.Azure.Commands.Websites.dll-Help.xml
AzureRM.Websites
0FDDDEE1-CEAD-46DA-A7EB-EE477ED59749
2.0.0

Start-AzureRmWebAppSlot

SYNOPSIS

Starts an Azure Web App slot.

SYNTAX

S1

Start-AzureRmWebAppSlot [-ResourceGroupName] <String> [-Name] <String> [-Slot] <String>
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

S2

Start-AzureRmWebAppSlot [-WebApp] <PSSite> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

DESCRIPTION

The Start-AzureRmWebAppSlot cmdlet starts an Azure Web App Slot.

EXAMPLES

Example 1

PS C:\>Start-AzureRmWebAppSlot -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp" -Slot "Slot001"

This command starts the Slot named Slot001 pertaining to the Web App named ContosoWebApp that belongs to the resource group named Default-Web-WestUS.

PARAMETERS

-DefaultProfile

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

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

WebApp Name

Type: System.String
Parameter Sets: S1
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ResourceGroupName

Resource Group Name

Type: System.String
Parameter Sets: S1
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Slot

WebApp Slot Name

Type: System.String
Parameter Sets: S1
Aliases:

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

-WebApp

WebApp Object

Type: Microsoft.Azure.Commands.WebApps.Models.PSSite
Parameter Sets: S2
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

System.String

Microsoft.Azure.Management.WebSites.Models.Site

Parameters: WebApp (ByValue)

OUTPUTS

Microsoft.Azure.Management.WebSites.Models.Site

NOTES

RELATED LINKS

Get-AzureRMWebAppSlot

New-AzureRMWebAppSlot

Remove-AzureRMWebAppSlot

Restart-AzureRMWebAppSlot

Set-AzureRMWebAppSlot

Stop-AzureRMWebAppSlot

Get-AzureRmWebApp