< Back

Get-AzureRmResourceGroupDeploymentOperation

Tue Jan 29, 2019 10:05 pm

NAME Get-AzureRmResourceGroupDeploymentOperation



SYNOPSIS

Gets the resource group deployment operation





SYNTAX

Get-AzureRmResourceGroupDeploymentOperation [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] -DeploymentName <String>

[-InformationAction <ActionPreference>] [-InformationVariable <String>] [-Pre] -ResourceGroupName <String> [-SubscriptionId <Guid>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmResourceGroupDeploymentOperation cmdlet lists all the operations that were part of a deployment to help you identify and give more

information about the exact operations that failed for a particular deployment. It can also show the response and the request content for each

deployment operation. This is the same information provided in the deployment details on the portal.



To get the request and the response content, enable the setting when submitting a deployment through New-AzureRmResourceGroupDeployment . It can

potentially log and expose secrets like passwords used in the resource property or listKeys operations that are then returned when you retrieve

the deployment operations. For more on this setting and how to enable it, see New-AzureRmResourceGroupDeployment and Debugging ARM template

deployments





PARAMETERS

-ApiVersion <String>

When set, indicates the version of the resource provider API to use. If not specified, the API version is automatically determined as the

latest available.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DeploymentName <String>

The deployment name.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-InformationAction <ActionPreference>

Specifies how this cmdlet responds to an information event.



The acceptable values for this parameter are:



- Continue



- Ignore



- Inquire



- SilentlyContinue



- Stop



- Suspend



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>

Specifies an information variable.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Pre [<SwitchParameter>]

When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

The resource group name.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-SubscriptionId <Guid>

The subscription to use.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Guid

Parameter 'SubscriptionId' accepts value of type 'Guid' from the pipeline





OUTPUTS

System.Management.Automation.PSObject







NOTES









Get1



PS C:\\>Get-AzureRmResourceGroupDeploymentOperation -DeploymentName test -ResourceGroupName test



Gets deployment operation with name "test" under resource group "test"







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... toperation