Remove-AzManagedCassandraDataCenter
刪除 Apache Cassandra 數據中心的 Azure 受控實例。
語法
Remove-AzManagedCassandraDataCenter
-ResourceGroupName <String>
-ClusterName <String>
-DataCenterName <String>
[-AsJob]
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzManagedCassandraDataCenter
-ResourceId <String>
[-AsJob]
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzManagedCassandraDataCenter
-InputObject <PSDataCenterResource>
[-AsJob]
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzManagedCassandraDataCenter
[-AsJob]
[-PassThru]
-ParentObject <PSClusterResource>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Remove-AzManagedCassandraDataCenter Cmdlet 會刪除受控 Cassandra 數據中心。
範例
範例 1
Remove-AzManagedCassandraDataCenter `
-ResourceGroupName "resourceGroupName" `
-ClusterName "clusterName" `
-DataCenterName "dataCenterName"
範例 2
Remove-AzManagedCassandraDataCenter -ResourceId "dataCenterResourceId"
範例 3
$dataCenterResource | Remove-AzManagedCassandraDataCenter
參數
-AsJob
在背景執行 Cmdlet
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ClusterName
受控 Cassandra 叢集的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Confirm
在執行 Cmdlet 之前,提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DataCenterName
受控 Cassandra 資料中心的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
受控 Cassandra 資料中心物件
類型: | PSDataCenterResource |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-ParentObject
Managed Cassandra Cluster 物件
類型: | PSClusterResource |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-PassThru
如果使用者想要接收輸出,則設定為 true。 如果作業成功,而且如果不是,則會擲回錯誤,則輸出為 true。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
受控 Cassandra DataCenter 的資源標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-WhatIf
顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |