Remove-AzHDInsightCluster
從目前的訂用帳戶中移除指定的 HDInsight 叢集。
語法
Remove-AzHDInsightCluster
[-ClusterName] <String>
[-ResourceGroupName <String>]
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Remove-AzHDInsightCluster Cmdlet 會從訂用帳戶中移除指定的 HDInsight 服務叢集。 此作業也會刪除叢集上 Hadoop 分散式檔案系統 (HDFS) 中儲存的任何數據。 不會刪除儲存在相關聯 Azure 記憶體帳戶中的數據。 不會刪除儲存在外部中繼存放區中的數據。
範例
範例 1:刪除 Azure HDInsight 叢集
Remove-AzHDInsightCluster -ClusterName "your-hadoop-001"
此命令會移除名為your-hadoop-001的叢集。
參數
-ClusterName
指定叢集的名稱。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-PassThru
如果 PassThru 存在,則輸出結果
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
指定資源群組的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
None