< Back
Test-AzureRmResourceGroupDeployment
Post
NAME Test-AzureRmResourceGroupDeployment
SYNOPSIS
Validates a resource group deployment.
SYNTAX
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateFile <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateFile <String> -TemplateParameterObject <Hashtable> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateFile <String> -TemplateParameterFile <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateFile <String> -TemplateParameterUri <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateParameterFile <String> -TemplateUri <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateParameterObject <Hashtable> -TemplateUri <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateParameterUri <String> -TemplateUri <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateUri <String> [<CommonParameters>]
DESCRIPTION
The Test-AzureRmResourceGroupDeployment cmdlet determines whether an Azure resource group deployment template and its parameter values are valid.
PARAMETERS
-ApiVersion <String>
Specifies the API version that is supported by the resource Provider. You can specify a different version than the default version.
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
-Mode <DeploymentMode>
Specifies the deployment mode. The acceptable values for this parameter are:
- Incremental
- Complete
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Pre [<SwitchParameter>]
Indicates that this cmdlet considers pre-release API versions when it automatically determines which version to use.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group to test.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateFile <String>
Specifies the full path of a JSON template file.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateParameterFile <String>
Specifies the full path of a JSON file that contains the names and values of the template parameters.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateParameterObject <Hashtable>
Specifies a hash table of template parameter names and values.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateParameterUri <String>
Specifies the URI of a template parameters file.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateUri <String>
Specifies the URI of a JSON template file.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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
None
This cmdlet does not accept any input.
OUTPUTS
System.Collections.Generic.List`1[Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceManagerError]
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... deployment
Get-AzureRmResourceGroupDeployment
New-AzureRmResourceGroupDeployment
Remove-AzureRmResourceGroupDeployment
Stop-AzureRmResourceGroupDeployment
SYNOPSIS
Validates a resource group deployment.
SYNTAX
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateFile <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateFile <String> -TemplateParameterObject <Hashtable> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateFile <String> -TemplateParameterFile <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateFile <String> -TemplateParameterUri <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateParameterFile <String> -TemplateUri <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateParameterObject <Hashtable> -TemplateUri <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateParameterUri <String> -TemplateUri <String> [<CommonParameters>]
Test-AzureRmResourceGroupDeployment [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Mode <DeploymentMode>] [-Pre]
-ResourceGroupName <String> -TemplateUri <String> [<CommonParameters>]
DESCRIPTION
The Test-AzureRmResourceGroupDeployment cmdlet determines whether an Azure resource group deployment template and its parameter values are valid.
PARAMETERS
-ApiVersion <String>
Specifies the API version that is supported by the resource Provider. You can specify a different version than the default version.
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
-Mode <DeploymentMode>
Specifies the deployment mode. The acceptable values for this parameter are:
- Incremental
- Complete
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Pre [<SwitchParameter>]
Indicates that this cmdlet considers pre-release API versions when it automatically determines which version to use.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group to test.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateFile <String>
Specifies the full path of a JSON template file.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateParameterFile <String>
Specifies the full path of a JSON file that contains the names and values of the template parameters.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateParameterObject <Hashtable>
Specifies a hash table of template parameter names and values.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateParameterUri <String>
Specifies the URI of a template parameters file.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TemplateUri <String>
Specifies the URI of a JSON template file.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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
None
This cmdlet does not accept any input.
OUTPUTS
System.Collections.Generic.List`1[Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceManagerError]
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... deployment
Get-AzureRmResourceGroupDeployment
New-AzureRmResourceGroupDeployment
Remove-AzureRmResourceGroupDeployment
Stop-AzureRmResourceGroupDeployment