New-AzManagementGroupDeploymentStackWhatIfResult
Creates a management group scoped deployment stack WhatIf result.
Syntax
ByTemplateFileWithNoParameters (Default)
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateFile <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateFileWithParameterFile
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateFile <String>
-TemplateParameterFile <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateFileWithParameterUri
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateFile <String>
-TemplateParameterUri <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateFileWithParameterObject
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateFile <String>
-TemplateParameterObject <Hashtable>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateUriWithParameterFile
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateUri <String>
-TemplateParameterFile <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateUriWithParameterUri
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateUri <String>
-TemplateParameterUri <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateUriWithParameterObject
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateUri <String>
-TemplateParameterObject <Hashtable>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateUriWithNoParameters
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateUri <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateSpecWithParameterFile
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateSpecId <String>
-TemplateParameterFile <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateSpecWithParameterUri
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateSpecId <String>
-TemplateParameterUri <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateSpecWithParameterObject
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateSpecId <String>
-TemplateParameterObject <Hashtable>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByTemplateSpecWithNoParameters
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateSpecId <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByParameterFileWithNoTemplate
New-AzManagementGroupDeploymentStackWhatIfResult
-Name <String>
-StackResourceId <String>
-RetentionInterval <String>
-ManagementGroupId <String>
-Location <String>
-TemplateParameterFile <String>
[-Description <String>]
[-DeploymentScope <String>]
[-ActionOnUnmanage <PSActionOnUnmanage>]
[-DenySettingsMode <PSDenySettingsMode>]
[-DenySettingsExcludedPrincipal <String[]>]
[-DenySettingsExcludedAction <String[]>]
[-DenySettingsApplyToChildScopes]
[-ValidationLevel <String>]
[-DebugSettingDetailLevel <String>]
[-BypassStackOutOfSyncError]
[-ResourcesWithoutDeleteSupport <PSResourcesWithoutDeleteSupport>]
[-Tag <Hashtable>]
[-Force]
[-AsJob]
[-SkipTemplateParameterPrompt]
[-QueryString <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Creates a management group scoped deployment stack WhatIf result resource. This cmdlet works with persisted deployment stack WhatIf result resources.
Examples
Example 1: Use New-AzManagementGroupDeploymentStackWhatIfResult
New-AzManagementGroupDeploymentStackWhatIfResult -Name MyWhatIfResult -ManagementGroupId MyManagementGroup -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 management group scoped deployment stack WhatIf result with template parameters
New-AzManagementGroupDeploymentStackWhatIfResult -Name MyWhatIfResult -ManagementGroupId MyManagementGroup -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 management group scoped deployment stack WhatIf result for a subscription deployment scope
$deploymentScope = "/subscriptions/$((Get-AzContext).Subscription.Id)"
New-AzManagementGroupDeploymentStackWhatIfResult -Name MyWhatIfResult -ManagementGroupId MyManagementGroup -Location westus2 -StackResourceId <stack-resource-id> -DeploymentScope $deploymentScope -RetentionInterval P1D -TemplateFile ./main.json -ActionOnUnmanage DetachAll -DenySettingsMode None
Creates a management group scoped deployment stack WhatIf result that targets a subscription 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
-DenySettingsApplyToChildScopes
Apply to child scopes.
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Aliases: DenySettingsApplyToChildScope
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
-ManagementGroupId
The ID of the target management group.
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
-ResourcesWithoutDeleteSupport
The action to take on resources that do not support deletion when they are removed from the deployment stack. Possible values include: 'Fail' (default) and 'Detach'.
Parameter properties
Type: PSResourcesWithoutDeleteSupport
Default value: None
Accepted values: Fail, Detach
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
-Tag
The tags to put on the deployment stack WhatIf result.
Parameter properties
Type: Hashtable
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
-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 .
Outputs