共用方式為


Remove-AzBatchApplication

從 Batch 帳戶刪除應用程式。

語法

Remove-AzBatchApplication
      [-AccountName] <String>
      [-ResourceGroupName] <String>
      [-ApplicationName] <String>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

Remove-AzBatchApplication Cmdlet 會從 Azure Batch 帳戶刪除應用程式。

範例

範例 1:從 Batch 帳戶刪除應用程式

Remove-AzBatchApplication -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationName "Litware"

此命令會從 ContosoBatch 帳戶刪除 Litware 應用程式。 如果應用程式包含任何套件,命令就會失敗。

參數

-AccountName

指定此 Cmdlet 從中移除應用程式的 Batch 帳戶名稱。

類型:String
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-ApplicationName

指定應用程式的名稱。

類型:String
別名:ApplicationId
Position:2
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-DefaultProfile

用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

指定包含 Batch 帳戶的資源群組名稱。

類型:String
Position:1
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

輸入

String

輸出

Void