Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Get-AzTenantDeploymentOperation
- Module:
- Az.Resources Module
Get deployment operation for deployment at tenant scope
Syntax
GetByDeploymentName (Default)
Get-AzTenantDeploymentOperation
-DeploymentName <String>
[-OperationId <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
GetByDeploymentObject
Get-AzTenantDeploymentOperation
-DeploymentObject <PSDeployment>
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzTenantDeploymentOperation cmdlet lists all the operations that were part of deployment at the current tenant scope to help you identify and give more information about the exact operations that failed for a particular deployment.
Examples
Example 1: Get deployment operations given a deployment name
Get-AzTenantDeploymentOperation -DeploymentName Deploy01
Gets deployment operations with name "Deploy01" at the current tenant scope.
Example 2: Get a deployment and get its deployment operations
Get-AzTenantDeployment -Name Deploy01 | Get-AzTenantDeploymentOperation
This command gets the deployment "Deploy01" at the current tenant scope and get its deployment operations.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
-DeploymentName
The deployment name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-DeploymentObject
The deployment object.
Parameter properties
| Type: | PSDeployment |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-OperationId
The deployment operation Id.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Pre
When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
PSDeployment
Outputs
PSDeploymentOperation
Azure PowerShell
Feedback
Was this page helpful?
