Remove-AzureRmServiceFabricNodeType
從叢集移除完整的節點類型。
警告
自 2024 年 2 月 29 日起,AzureRM PowerShell 模組已正式淘汰。 建議使用者從 AzureRM 遷移至 Az PowerShell 模組,以確保持續支援和更新。
雖然 AzureRM 模組可能仍可運作,但不再維護或支援它,但會根據用戶的判斷權和風險放置任何繼續使用。 如需轉換至 Az 模組的指引,請參閱我們的 移轉資源 。
Syntax
Remove-AzureRmServiceFabricNodeType
[-ResourceGroupName] <String>
[-Name] <String>
-NodeType <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
使用 Remove-AzureRmServiceFabricNodeType,從特定節點類型和叢集的節點類型中移除所有節點。 此命令無法用來刪除主要節點類型。
範例
範例 1
PS c:> Remove-AzureRmServiceFabricNodeType -ResourceGroupName 'Group1' -Name 'Contoso01SFCluster' -NodeTypeName 'nt1'
此命令會從叢集移除 NodeType 'nt1'。
參數
-Confirm
執行 Cmdlet 之前先提示您確認。
類型: | SwitchParameter |
Aliases: | cf |
Position: | Named |
預設值: | None |
必要: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定叢集的名稱。
類型: | String |
Aliases: | ClusterName |
Position: | 1 |
預設值: | None |
必要: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NodeType
節點類型名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
指定資源群組的名稱。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
顯示執行 Cmdlet 後會發生的情況。 未執行 Cmdlet。
類型: | SwitchParameter |
Aliases: | wi |
Position: | Named |
預設值: | None |
必要: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
參數:NodeType (ByValue)