Skip to content

Commit 426a3c2

Browse files
committed
pr comment fixes
1 parent 3ea167d commit 426a3c2

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Gets a Log Analytics workspace table.
7070
### Example 1: List tables for a given workspace name
7171
```powershell
7272
Get-AzOperationalInsightsTable -ResourceGroupName {RG-Name} -WorkspaceName {WS-Name}
73-
```
73+
7474
7575
Name Id RetentionInDays
7676
---- -- ---------------
@@ -79,9 +79,8 @@ BlockchainProxyLog /subscriptions/{SUB-id}/resourcegro
7979
BlockchainApplicationLog /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/BlockchainApplicationLog 30
8080
AADDomainServicesAccountLogon /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/AADDomainServicesAccountLogon 30
8181
AADDomainServicesAccountManagement /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/AADDomainServicesAccountManagement 30
82-
.
83-
.
84-
.
82+
83+
```
8584

8685
### Example 2: Get a table by name
8786
```powershell

src/OperationalInsights/OperationalInsights.Autorest/docs/Move-AzOperationalInsightsTable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Migrate a Log Analytics table from support of the Data Collector API and Custom
3333
```powershell
3434
PS C:\> Move-AzOperationalInsightsTable -ResourceGroupName {RG-name} -Name {Table-name} -WorkspaceName {WS-name}
3535
36-
no output if command is successfull
36+
no output if command is successful
3737
```
3838

3939
Migrate classic table

src/OperationalInsights/OperationalInsights.Autorest/examples/Get-AzOperationalInsightsDeletedWorkspace.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ ForceCmkForQuery :
4343
WorkspaceFeatures : Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceFeatures
4444
```
4545

46-
{Please add a description here}
46+
Get all deleted workspaces for a given resource group
4747

48-
### Example 2: Get a deleted workspace by resorce group and name
48+
### Example 2: Get a deleted workspace by resource group and name
4949
```powershell
5050
Get-AzOperationalInsightsDeletedWorkspace -ResourceGroupName {RG-Name} -Name {WS-Name1}
5151
@@ -70,4 +70,4 @@ ForceCmkForQuery :
7070
WorkspaceFeatures : Microsoft.Azure.Commands.OperationalInsights.Models.PSWorkspaceFeatures
7171
```
7272

73-
{Please add a description here}
73+
Get a specific deleted workspace by resource group and name

src/OperationalInsights/OperationalInsights.Autorest/examples/Get-AzOperationalInsightsTable.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Example 1: List tables for a given workspace name
22
```powershell
33
Get-AzOperationalInsightsTable -ResourceGroupName {RG-Name} -WorkspaceName {WS-Name}
4-
```
4+
55
66
Name Id RetentionInDays
77
---- -- ---------------
@@ -10,9 +10,8 @@ BlockchainProxyLog /subscriptions/{SUB-id}/resourcegro
1010
BlockchainApplicationLog /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/BlockchainApplicationLog 30
1111
AADDomainServicesAccountLogon /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/AADDomainServicesAccountLogon 30
1212
AADDomainServicesAccountManagement /subscriptions/{SUB-id}/resourcegroups/{RG-Name}/providers/Microsoft.OperationalInsights/workspaces/{WS-Name}/tables/AADDomainServicesAccountManagement 30
13-
.
14-
.
15-
.
13+
14+
```
1615

1716
### Example 2: Get a table by name
1817
```powershell
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
### Example 1: Get a worksapce by resource group and worksapce name
22
```powershell
33
Get-AzOperationalInsightsWorkspace -name {WS_Name} -ResourceGroupName {RG_Name}
4-
```
4+
55
66
Location Name ETag
77
-------- ---- ----
88
eastus WS_Name
99
10+
```
11+
1012
### Example 2: List all worksapces for a given resource group name
1113
```powershell
1214
Get-AzOperationalInsightsWorkspace -ResourceGroupName {RG_Name}
13-
```
15+
1416
1517
Location Name ETag
1618
-------- ---- ----
1719
eastus WS_Name1
1820
eastus WS_Name2
19-
eastus WS_Name3
21+
eastus WS_Name3
22+
23+
```

src/OperationalInsights/OperationalInsights.Autorest/examples/New-AzOperationalInsightsTableColumnObject.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
### Example 1: Create a new Column which is used for New-AzOperationalInsightsTable cmdlet
22
```powershell
3-
PS C:\>
4-
New-AzOperationalInsightsTableColumnObject -Name 'SourceSystem' -Description 'Type of agent the data was collected from. Possible values are OpsManager (Windows agent) or Linux.' -Type 'string'
3+
PS C:\> New-AzOperationalInsightsTableColumnObject -Name 'SourceSystem' -Description 'Type of agent the data was collected from. Possible values are OpsManager (Windows agent) or Linux.' -Type 'string'
54
65
DataTypeHint Description DisplayName IsDefaultDisplay IsHidden Name
76
------------ ----------- ----------- ---------------- -------- ----
87
Type of agent the data was collected from. Possible values are OpsManager (Windows agent) or Linux. SourceSystem
98
109
```
1110

12-
1311
### Example 2: Create a new Column which is used for New-AzOperationalInsightsTable cmdlet
1412
```powershell
1513
PS C:\> New-AzOperationalInsightsTableColumnObject -Name 'TimeGenerated' -Description 'Date and time the record was created.' -Type 'datetime'

src/OperationalInsights/OperationalInsights.Autorest/examples/Update-AzOperationalInsightsWorkspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PS C:\> $workspace.RetentionInDay
1010
42
1111
```
1212

13-
{{ Add description here }}
13+
Update a custom property - retention for a workspace
1414

1515
### Example 2: Update a workspace that does not exist
1616
```powershell

0 commit comments

Comments
 (0)