Remove-AzHDInsightPersistedScriptAction
從 HDInsight 叢集移除保存的腳本動作。
語法
Remove-AzHDInsightPersistedScriptAction
[-ClusterName] <String>
[-Name] <String>
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Remove-AzHDInsightPersistedScriptAction Cmdlet 會從指定的 Azure HDInsight 叢集持續性腳本動作清單中移除保存的腳本動作。 當叢集相應增加時,將不會再執行移除的腳本。
範例
範例 1:從叢集上保存的腳本動作清單中移除腳本動作
Remove-AzHDInsightPersistedScriptAction `
-ClusterName "your-hadoop-001" `
-Name "Scriptaction"
此命令會從指定叢集上保存的腳本動作清單中移除名為 Scriptaction 的腳本動作。
參數
-ClusterName
指定叢集的名稱。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
指定要移除的保存文稿動作名稱。
類型: | String |
Position: | 1 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
指定資源群組的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
None