Skip to content

Commit 55c205c

Browse files
committed
update documentation
1 parent 580d1ba commit 55c205c

File tree

4 files changed

+83
-19
lines changed

4 files changed

+83
-19
lines changed

src/OperationalInsights/docs/exports/Get-AzOperationalInsightsDeletedWorkspace.md

Lines changed: 61 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

src/OperationalInsights/docs/exports/Get-AzOperationalInsightsTable.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,29 @@ Gets a Log Analytics workspace table.
3737

3838
### -------------------------- EXAMPLE 1 --------------------------
3939
```powershell
40-
{{ Add code here }}
40+
Get-AzOperationalInsightsTable -ResourceGroupName {RG-Name} -WorkspaceName {WS-Name}
4141
```
4242

43-
{{ Add output here }}
43+
Name Id RetentionInDays
44+
---- -- ---------------
45+
DatabricksTables /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/DatabricksTables 30
46+
BlockchainProxyLog /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/BlockchainProxyLog 30
47+
BlockchainApplicationLog /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/BlockchainApplicationLog 30
48+
AADDomainServicesAccountLogon /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/AADDomainServicesAccountLogon 30
49+
AADDomainServicesAccountManagement /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/AADDomainServicesAccountManagement 30
50+
.
51+
.
52+
.
4453

4554
### -------------------------- EXAMPLE 2 --------------------------
4655
```powershell
47-
{{ Add code here }}
56+
Get-AzOperationalInsightsTable -ResourceGroupName {RG-Name} -WorkspaceName {WS-Name} -TableName {Table-Name}
4857
```
4958

50-
{{ Add output here }}
59+
Name Id RetentionInDays
60+
---- -- ---------------
61+
{Table-Name} /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/{Table-Name} 90
62+
5163

5264
## PARAMETERS
5365

src/OperationalInsights/docs/exports/Get-AzOperationalInsightsWorkspace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ Gets a workspace instance.
4444
### -------------------------- EXAMPLE 1 --------------------------
4545
```powershell
4646
Get-AzOperationalInsightsWorkspace -name {WS_Name} -ResourceGroupName {RG_Name}
47+
```
4748

4849
Location Name ETag
4950
-------- ---- ----
5051
eastus WS_Name
51-
```
5252

5353
### -------------------------- EXAMPLE 2 --------------------------
5454
```powershell
5555
Get-AzOperationalInsightsWorkspace -ResourceGroupName {RG_Name}
56+
```
5657

5758
Location Name ETag
5859
-------- ---- ----
5960
eastus WS_Name1
6061
eastus WS_Name2
6162
eastus WS_Name3
62-
```
6363

6464
## PARAMETERS
6565

src/OperationalInsights/docs/exports/Remove-AzOperationalInsightsWorkspace.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,12 @@ To remove the workspace completely and release the name, use the force flag.
3838

3939
### -------------------------- EXAMPLE 1 --------------------------
4040
```powershell
41-
{{ Add code here }}
41+
Remove-AzOperationalInsightsWorkspace -ResourceGroupName {RG-Name} -Name {WS-Name}
4242
```
4343

44-
{{ Add output here }}
45-
46-
### -------------------------- EXAMPLE 2 --------------------------
47-
```powershell
48-
{{ Add code here }}
49-
```
50-
51-
{{ Add output here }}
44+
Confirm
45+
Are you sure you want to remove workspace '{WS-Name}' in resource group '{RG-Name}'?
46+
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y
5247

5348
## PARAMETERS
5449

0 commit comments

Comments
 (0)