共用方式為


Get-AzOperationalInsightsDeletedWorkspace

列出已刪除的工作區。

語法

Get-AzOperationalInsightsDeletedWorkspace
   [-ResourceGroupName <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

列出已刪除的工作區。

範例

範例 1

$workspace = New-AzOperationalInsightsWorkspace -ResourceGroupName "RG-NAME" -Name "WORKSPACE-NAME" -Location "LOCATION-VALUE"
$workspace | Remove-AzOperationalInsightsWorkspace
Get-AzOperationalInsightsDeletedWorkspace -ResourceGroupName "RG-NAME"

列出已刪除的工作區。

參數

-DefaultProfile

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

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

-ResourceGroupName

資源組名。

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

輸入

String

輸出

PSWorkspace