@@ -31,17 +31,74 @@ Gets recently deleted workspaces in a subscription, available for recovery.
3131
3232### -------------------------- EXAMPLE 1 --------------------------
3333``` powershell
34- {{ Add code here } }
34+ Get-AzOperationalInsightsDeletedWorkspace -ResourceGroupName {RG-Name }
3535```
3636
37- {{ Add output here }}
37+ Name : {WS-Name1}
38+ ResourceId : /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/microsoft.operationalinsights/workspaces/{WS-Name1}
39+ ResourceGroupName : {RG-Name}
40+ Location : eastus2euap
41+ Tags : {}
42+ Sku : pergb2018
43+ CapacityReservationLevel :
44+ LastSkuUpdate : Tue, 12 Jan 2021 11:25:15 GMT
45+ retentionInDays : 30
46+ CustomerId : 43eda0ea-004a-48e8-9c40-1219418083de
47+ ProvisioningState : Succeeded
48+ PublicNetworkAccessForIngestion : Enabled
49+ PublicNetworkAccessForQuery : Enabled
50+ PrivateLinkScopedResources :
51+ WorkspaceCapping : Microsoft.Azure.Management.OperationalInsights.Models.WorkspaceCapping
52+ CreatedDate : Tue, 12 Jan 2021 11:25:15 GMT
53+ ModifiedDate : Wed, 19 Jan 2022 20:50:32 GMT
54+ ForceCmkForQuery :
55+ WorkspaceFeatures : Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceFeatures
56+
57+ Name : {WS-Name2}
58+ ResourceId : /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/microsoft.operationalinsights/workspaces/{WS-Name2}
59+ ResourceGroupName : {RG-Name}
60+ Location : eastus2euap
61+ Tags : {}
62+ Sku : pergb2018
63+ CapacityReservationLevel :
64+ LastSkuUpdate : Tue, 12 Jan 2021 11:25:15 GMT
65+ retentionInDays : 30
66+ CustomerId : 43eda0ea-004a-48e8-9c40-1219418083de
67+ ProvisioningState : Succeeded
68+ PublicNetworkAccessForIngestion : Enabled
69+ PublicNetworkAccessForQuery : Enabled
70+ PrivateLinkScopedResources :
71+ WorkspaceCapping : Microsoft.Azure.Management.OperationalInsights.Models.WorkspaceCapping
72+ CreatedDate : Tue, 12 Jan 2021 11:25:15 GMT
73+ ModifiedDate : Wed, 19 Jan 2022 20:50:32 GMT
74+ ForceCmkForQuery :
75+ WorkspaceFeatures : Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceFeatures
76+
3877
3978### -------------------------- EXAMPLE 2 --------------------------
4079``` powershell
41- {{ Add code here } }
80+ Get-AzOperationalInsightsDeletedWorkspace -ResourceGroupName {RG-Name} -Name {WS-Name1 }
4281```
4382
44- {{ Add output here }}
83+ Name : {WS-Name1}
84+ ResourceId : /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/microsoft.operationalinsights/workspaces/{WS-Name1}
85+ ResourceGroupName : {RG-Name}
86+ Location : eastus2euap
87+ Tags : {}
88+ Sku : pergb2018
89+ CapacityReservationLevel :
90+ LastSkuUpdate : Tue, 12 Jan 2021 11:25:15 GMT
91+ retentionInDays : 30
92+ CustomerId : 43eda0ea-004a-48e8-9c40-1219418083de
93+ ProvisioningState : Succeeded
94+ PublicNetworkAccessForIngestion : Enabled
95+ PublicNetworkAccessForQuery : Enabled
96+ PrivateLinkScopedResources :
97+ WorkspaceCapping : Microsoft.Azure.Management.OperationalInsights.Models.WorkspaceCapping
98+ CreatedDate : Tue, 12 Jan 2021 11:25:15 GMT
99+ ModifiedDate : Wed, 19 Jan 2022 20:50:32 GMT
100+ ForceCmkForQuery :
101+ WorkspaceFeatures : Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceFeatures
45102
46103## PARAMETERS
47104
0 commit comments