Skip to content

Commit 300c5bb

Browse files
Update Az.OperationalInsights examples (Azure#16762)
1 parent 662bbec commit 300c5bb

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

src/OperationalInsights/OperationalInsights/help/Get-AzOperationalInsightsAvailableServiceTier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get-AzOperationalInsightsAvailableServiceTier [-ResourceGroupName] <String> [-Wo
1818
```
1919

2020
## DESCRIPTION
21-
{{ Fill in the Description }}
21+
This command gets all available service tiers for a given worksapce.
2222

2323
## EXAMPLES
2424

src/OperationalInsights/OperationalInsights/help/New-AzOperationalInsightsAzureActivityLogDataSource.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,23 @@ New-AzOperationalInsightsAzureActivityLogDataSource [-Workspace] <PSWorkspace> [
2828
```
2929

3030
## DESCRIPTION
31-
The New-AzOperationalInsightsAzureActivityLogDataSource enable Log Analytics to collect Azure activity log from given subscription.
31+
The New-AzOperationalInsightsAzureActivityLogDataSource cmdlet enables Log Analytics to collect Azure activity log from given subscription.
3232

3333
## EXAMPLES
3434

3535
### Example 1
3636
```
37-
PS C:\> {{ Add example code here }}
37+
PS C:\> New-AzOperationalInsightsAzureActivityLogDataSource -ResourceGroupName testrg -WorkspaceName LogAnalyticsworkspace -Name test -SubscriptionId 0b1f6471-1bf0-4dda-aec3-cb9272f09590
38+
39+
Name : test
40+
ResourceGroupName : testrg
41+
WorkspaceName : LogAnalyticsworkspace
42+
ResourceId : /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/testrg/providers/Microsoft.OperationalInsights/workspaces/LogAnalyticsworkspace/datasources/test
43+
Kind : AzureActivityLog
44+
Properties : {"linkedResourceId":"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/microsoft.insights/eventtypes/management","backfillStartTime":"0001-01-01T00:00:00+00:00"}
3845
```
3946

40-
{{ Add example description here }}
47+
This command enables Log Analytics to collect Azure activity log from given subscription.
4148

4249
## PARAMETERS
4350

0 commit comments

Comments
 (0)