Edit

New-AzSubscriptionDeploymentStackWhatIfResult

Creates a subscription scoped deployment stack WhatIf result.

Syntax

ByTemplateFileWithNoParameters (Default)

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateFile <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateFileWithParameterFile

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateFile <String>
    -TemplateParameterFile <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateFileWithParameterUri

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateFile <String>
    -TemplateParameterUri <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateFileWithParameterObject

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateFile <String>
    -TemplateParameterObject <Hashtable>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateUriWithParameterFile

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateUri <String>
    -TemplateParameterFile <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateUriWithParameterUri

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateUri <String>
    -TemplateParameterUri <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateUriWithParameterObject

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateUri <String>
    -TemplateParameterObject <Hashtable>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateUriWithNoParameters

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateUri <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateSpecWithParameterFile

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateSpecId <String>
    -TemplateParameterFile <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateSpecWithParameterUri

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateSpecId <String>
    -TemplateParameterUri <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateSpecWithParameterObject

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateSpecId <String>
    -TemplateParameterObject <Hashtable>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByTemplateSpecWithNoParameters

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateSpecId <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

ByParameterFileWithNoTemplate

New-AzSubscriptionDeploymentStackWhatIfResult
    -Name <String>
    -StackResourceId <String>
    -RetentionInterval <String>
    -Location <String>
    -TemplateParameterFile <String>
    [-Description <String>]
    [-DeploymentScope <String>]
    [-ActionOnUnmanage <PSActionOnUnmanage>]
    [-DenySettingsMode <PSDenySettingsMode>]
    [-DenySettingsExcludedPrincipal <String[]>]
    [-DenySettingsExcludedAction <String[]>]
    [-DenySettingsApplyToChildScope]
    [-ValidationLevel <String>]
    [-DebugSettingDetailLevel <String>]
    [-BypassStackOutOfSyncError]
    [-Force]
    [-AsJob]
    [-SkipTemplateParameterPrompt]
    [-QueryString <String>]
    [-Pre]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Creates a subscription scoped deployment stack WhatIf result resource. This cmdlet works with persisted deployment stack WhatIf result resources.

Examples

Example 1: Use New-AzSubscriptionDeploymentStackWhatIfResult

New-AzSubscriptionDeploymentStackWhatIfResult -Name MyWhatIfResult -Location westus2 -StackResourceId <stack-resource-id> -RetentionInterval P1D -TemplateFile ./main.json -ActionOnUnmanage DetachAll -DenySettingsMode None

Creates a deployment stack WhatIf result named MyWhatIfResult.

Example 2: Create a subscription scoped deployment stack WhatIf result with template parameters

New-AzSubscriptionDeploymentStackWhatIfResult -Name MyWhatIfResult -Location westus2 -StackResourceId <stack-resource-id> -RetentionInterval P1D -TemplateFile ./main.json -TemplateParameterObject @{ location = "westus2" } -ActionOnUnmanage DetachAll -DenySettingsMode None

Creates a deployment stack WhatIf result named MyWhatIfResult using inline template parameters.

Example 3: Create a subscription scoped deployment stack WhatIf result for a resource group deployment scope

$deploymentScope = "/subscriptions/$((Get-AzContext).Subscription.Id)/resourceGroups/MyResourceGroup"
New-AzSubscriptionDeploymentStackWhatIfResult -Name MyWhatIfResult -Location westus2 -StackResourceId <stack-resource-id> -DeploymentScope $deploymentScope -RetentionInterval P1D -TemplateFile ./main.json -ActionOnUnmanage DetachAll -DenySettingsMode None

Creates a subscription scoped deployment stack WhatIf result that targets a resource group deployment scope.

Parameters

-ActionOnUnmanage

Action to take on resources that become unmanaged. Possible values include: 'detachAll', 'deleteResources', and 'deleteAll'.

Parameter properties

Type:PSActionOnUnmanage
Default value:None
Accepted values:DetachAll, DeleteResources, DeleteAll
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AsJob

Run cmdlet in the background.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BypassStackOutOfSyncError

Flag to bypass stack out-of-sync error.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DebugSettingDetailLevel

Debug setting detail level (e.g. RequestContent, ResponseContent).

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-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

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DenySettingsApplyToChildScope

Apply to child scopes.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DenySettingsExcludedAction

List of role-based management operations excluded from the denySettings. Up to 200 actions are permitted.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DenySettingsExcludedPrincipal

List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DenySettingsMode

Mode for DenySettings. Possible values include: 'denyDelete', 'denyWriteAndDelete', and 'none'.

Parameter properties

Type:PSDenySettingsMode
Default value:None
Accepted values:None, DenyDelete, DenyWriteAndDelete
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DeploymentScope

The scope for the deployment stack. Determines where managed resources can be deployed.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

Description for the WhatIf result.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Force

Do not ask for confirmation when an existing WhatIf result will be overwritten.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Location

The location to store deployment data.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Name

The name of the WhatIf result resource.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-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

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-QueryString

The query string (for example, a SAS token) to be used with the TemplateUri parameter. Would be used in case of linked templates

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RetentionInterval

The interval to persist the WhatIf result in ISO 8601 format (e.g. P1D for 1 day).

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-SkipTemplateParameterPrompt

Skips the PowerShell dynamic parameter processing that checks if the provided template parameter contains all necessary parameters used by the template. This check would prompt the user to provide a value for the missing parameters, but providing the -SkipTemplateParameterPrompt will ignore this prompt and error out immediately if a parameter was found not to be bound in the template. For non-interactive scripts, -SkipTemplateParameterPrompt can be provided to provide a better error message in the case where not all required parameters are satisfied.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StackResourceId

The fully-qualified resource ID of the deployment stack to use as the basis for comparison.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TemplateFile

TemplateFile to be used to create the stack.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByTemplateFileWithNoParameters
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateFileWithParameterFile
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateFileWithParameterUri
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateFileWithParameterObject
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TemplateParameterFile

Parameter file to use for the template.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByTemplateFileWithParameterFile
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateUriWithParameterFile
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateSpecWithParameterFile
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByParameterFileWithNoTemplate
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TemplateParameterObject

A hash table which represents the parameters.

Parameter properties

Type:Hashtable
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByTemplateFileWithParameterObject
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateUriWithParameterObject
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateSpecWithParameterObject
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TemplateParameterUri

Location of the Parameter file to use for the template.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByTemplateFileWithParameterUri
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateUriWithParameterUri
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateSpecWithParameterUri
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TemplateSpecId

ResourceId of the TemplateSpec to be used to create the stack.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByTemplateSpecWithParameterFile
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateSpecWithParameterUri
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateSpecWithParameterObject
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateSpecWithNoParameters
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TemplateUri

Location of the Template to be used to create the stack.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByTemplateUriWithParameterFile
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateUriWithParameterUri
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateUriWithParameterObject
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
ByTemplateUriWithNoParameters
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-ValidationLevel

Validation level. Possible values: Template, Provider, ProviderNoRbac.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

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

String

Hashtable

Outputs

PSDeploymentStackWhatIfResult