< Back

Get-AzureDeployment

Wed Jan 30, 2019 5:43 pm

NAME Get-AzureDeployment



SYNOPSIS

Gets details of a deployment.





SYNTAX

Get-AzureDeployment [-ServiceName] <String> [[-Slot] <String>] [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable

<String>] [<CommonParameters>]





DESCRIPTION

The Get-AzureDeployment cmdlet gets details of an Azure deployment. Specify the name of the Azure service and the slot of the deployment.





PARAMETERS

-ServiceName <String>

Specifies the name of the service.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Slot <String>

Specifies the environment of the deployment. Valid values are: Staging or Production. The default value is Production.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Profile <AzureSMProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- Example 1: Get details for a production deployment --------------------------



PS C:\\>Get-AzureDeployment -ServiceName "ContosoService"



This command returns the details of the deployment for the service named ContosoService. This command does not specify a slot. Therefore, the command

uses the default value of Production.

-------------------------- Example 2: Get details for a staging deployment --------------------------



PS C:\\>Get-AzureDeployment -ServiceName "ContosoService" -Slot "Staging"



This command returns the details of the staging deployment of ContosoService.



RELATED LINKS

Get-AzureDeploymentEvent

Remove-AzureDeployment

New-AzureDeployment

Remove-AzureDeployment

Set-AzureDeployment