Get-AzWebAppSlot
Hämtar ett Azure Web App-fack.
Syntax
Get-AzWebAppSlot
[-ResourceGroupName] <String>
[-Name] <String>
[[-Slot] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzWebAppSlot
[[-Slot] <String>]
[-WebApp] <PSSite>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Cmdleten Get-AzWebAppSlot hämtar information om en Azure Web App Slot.
Exempel
Exempel 1
Get-AzWebAppSlot -ResourceGroupName "Default-Web-WestUS" -Name "WebAppStandard" -Slot "Slot001"
Det här kommandot hämtar facket Slot001 från webbappen med namnet WebAppStandard som tillhör resursgruppen Default-Web-WestUS.
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-Name
WebApp-namn
Typ: | String |
Position: | 1 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-ResourceGroupName
Namn på resursgrupp
Typ: | String |
Position: | 0 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-Slot
Namn på WebApp-fack
Typ: | String |
Position: | 2 |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-WebApp
WebApp-objekt
Typ: | PSSite |
Position: | 0 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |