Set-AzManagementGroupDeploymentStackWhatIfResult

更新管理群組範圍的部署堆疊 WhatIf 結果。

語法

ByTemplateFileWithNoParameters (預設值)

Set-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

Set-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

Set-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

Set-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

Set-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

Set-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

Set-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

Set-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

Set-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

Set-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

Set-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

Set-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

Set-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

更新管理群組範圍的部署堆疊 WhatIf 結果資源。 此指令檔適用於持久部署堆疊的 WhatIf 結果資源。

範例

範例一:使用 Set-AzManagementGroupDeploymentStackWhatIfResult

Set-AzManagementGroupDeploymentStackWhatIfResult -Name MyWhatIfResult -ManagementGroupId MyManagementGroup -Location westus2 -StackResourceId <stack-resource-id> -RetentionInterval P1D -TemplateFile ./main.json -ActionOnUnmanage DetachAll -DenySettingsMode None

更新部署堆疊的 WhatIf 結果,名稱為 MyWhatIfResult。

範例 2:更新管理群組範圍的部署堆疊 WhatIf 結果與繞過確認

Set-AzManagementGroupDeploymentStackWhatIfResult -Name MyWhatIfResult -ManagementGroupId MyManagementGroup -Location westus2 -StackResourceId <stack-resource-id> -RetentionInterval P1D -TemplateFile ./main.json -TemplateParameterObject @{ location = "westus2" } -ActionOnUnmanage DeleteAll -DenySettingsMode None -Force

用內嵌範本參數更新部署堆疊 WhatIf 結果, MyWhatIfResult 並繞過確認程序。

參數

-ActionOnUnmanage

採取行動,接管那些變得無法管理的資源。 可能的值包括:『detachAll』、『deleteResources』和『deleteAll』。

參數屬性

類型:PSActionOnUnmanage
預設值:None
接受的值:DetachAll, DeleteResources, DeleteAll
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-AsJob

在背景中執行 cmdlet。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-BypassStackOutOfSyncError

標記以繞過堆疊不同步錯誤。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Confirm

在執行 Cmdlet 之前,提示您進行確認。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False
別名:cf

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-DebugSettingDetailLevel

除錯設定細節層級(例如 RequestContent、ResponseContent)。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-DefaultProfile

用於與 Azure 通訊的憑證、帳號、租戶和訂閱。

參數屬性

類型:IAzureContextContainer
預設值:None
支援萬用字元:False
不要顯示:False
別名:AzContext, AzureRmContext, AzureCredential

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-DenySettingsApplyToChildScopes

套用至子範圍。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False
別名:拒絕設定應用到兒童範圍

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-DenySettingsExcludedAction

不包含在 denySettings 之外的角色基礎管理操作清單。 最多允許 200 個動作。

參數屬性

類型:

String[]

預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-DenySettingsExcludedPrincipal

從鎖定排除的 AAD 主體標識碼清單。 最多允許5個主體。

參數屬性

類型:

String[]

預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-DenySettingsMode

DenySettings的模式。 可能的值包括:「denyDelete」、「denyWriteAndDelete」和「none」。

參數屬性

類型:PSDenySettingsMode
預設值:None
接受的值:None, DenyDelete, DenyWriteAndDelete
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-DeploymentScope

部署堆疊的範圍。 決定管理資源可部署於何處。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Description

WhatIf 結果的描述。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-Force

不要詢問何時會覆寫現有的 WhatIf 結果。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Location

儲存部署資料的位置。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-ManagementGroupId

目標管理團隊的識別碼。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-Name

WhatIf 結果資源的名稱。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-Pre

設定時,表示 Cmdlet 在自動決定要使用的版本時,應該使用發行前 API 版本。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-QueryString

查詢字串 (例如,SAS 權杖) 要與 TemplateUri 參數搭配使用。 將用於鏈接模板的情況

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-ResourcesWithoutDeleteSupport

當資源從部署堆疊中移除時,負責接收不支援刪除的資源。 可能的值包括:「失敗」(預設)和「分離」。

參數屬性

類型:PSResourcesWithoutDeleteSupport
預設值:None
接受的值:Fail, Detach
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-RetentionInterval

持續執行 WhatIf 的間隔會產生 ISO 8601 格式(例如 P1D 持續一天)。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-SkipTemplateParameterPrompt

略過 PowerShell 動態參數處理,以檢查提供的範本參數是否包含範本所使用的所有必要參數。 此檢查會提示使用者提供遺漏參數的值,但提供 -SkipTemplateParameterPrompt 會忽略此提示,並在發現參數未繫結在範本中時立即出錯。 對於非互動式指令碼,可以提供 -SkipTemplateParameterPrompt,以便在未滿足所有必要參數的情況下提供更好的錯誤訊息。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-StackResourceId

部署堆疊的完整限定資源 ID 作為比較基礎。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-Tag

部署堆疊 WhatIf 的標籤結果。

參數屬性

類型:Hashtable
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-TemplateFile

TemplateFile 來建立堆疊。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

ByTemplateFileWithNoParameters
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateFileWithParameterFile
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateFileWithParameterUri
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateFileWithParameterObject
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-TemplateParameterFile

要用於範本的參數檔案。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

ByTemplateFileWithParameterFile
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateUriWithParameterFile
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateSpecWithParameterFile
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByParameterFileWithNoTemplate
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-TemplateParameterObject

代表參數的雜湊表。

參數屬性

類型:Hashtable
預設值:None
支援萬用字元:False
不要顯示:False

參數集

ByTemplateFileWithParameterObject
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateUriWithParameterObject
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateSpecWithParameterObject
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-TemplateParameterUri

要用於範本的參數檔案的位置。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

ByTemplateFileWithParameterUri
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateUriWithParameterUri
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateSpecWithParameterUri
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-TemplateSpecId

ResourceId 要用來建立堆疊的 TemplateSpec。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

ByTemplateSpecWithParameterFile
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateSpecWithParameterUri
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateSpecWithParameterObject
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateSpecWithNoParameters
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-TemplateUri

要用來建立堆疊的範本位置。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

ByTemplateUriWithParameterFile
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateUriWithParameterUri
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateUriWithParameterObject
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False
ByTemplateUriWithNoParameters
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

-ValidationLevel

驗證層級。 可能的值:範本、提供者、providerNoRbac。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-WhatIf

顯示 Cmdlet 執行時會發生什麼事。 指令未執行。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False
別名:無線

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援常見參數: -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。

輸入

String

Hashtable

輸出

PSDeploymentStackWhatIfResult