Düzenle

Aracılığıyla paylaş


Get-AzOperationalInsightsDeletedWorkspace

List deleted workspaces.

Syntax

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

Description

List deleted workspaces.

Examples

Example 1

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

List deleted workspaces.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

The resource group name.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

PSWorkspace