Skip to content

Commit

Permalink
format the help markdown files of Az.HDInsight in generation (#18630)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainFanZzz authored Jun 28, 2022
1 parent 678c5e2 commit 5cdfc54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/HDInsight/HDInsight/help/Enable-AzHDInsightMonitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The **Enable-AzHDInsightMonitoring** cmdlet enables the Classic Azure Monitor lo

### Example 1
```powershell
Enable-AzHDInsightMonitoring -Name testcluster -WorkspaceId 1d364e89-bb71-4503-aa3d-a23535aea7bd -PrimaryKey <key for workspace 1d364e89-bb71-4503-aa3d-a23535aea7bd>
Enable-AzHDInsightMonitoring -Name testcluster -WorkspaceId 1d364e89-bb71-4503-aa3d-a23535aea7bd -PrimaryKey 'key for workspace 1d364e89-bb71-4503-aa3d-a23535aea7bd'
```

```output
Expand All @@ -36,7 +36,7 @@ Monitoring will be enabled on the HDInsight cluster and relevant logs will be se

### Example 2
```powershell
Enable-AzHDInsightMonitoring -Name testcluster -ResourceGroupName testrg -WorkspaceId 1d364e89-bb71-4503-aa3d-a23535aea7bd -PrimaryKey <key for workspace 1d364e89-bb71-4503-aa3d-a23535aea7bd>
Enable-AzHDInsightMonitoring -Name testcluster -ResourceGroupName testrg -WorkspaceId 1d364e89-bb71-4503-aa3d-a23535aea7bd -PrimaryKey 'key for workspace 1d364e89-bb71-4503-aa3d-a23535aea7bd'
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The **Get-AzHDInsightAzureMonitor** cmdlet gets the azure monitor status of a sp
# Cluster info
$clusterName = "your-hadoop-001"
$resourceGroupName = "Group"
Get-AzHDInsightAzureMonitor -ClusterName $clusterName -ResourceGroup $resourceGroupName
Get-AzHDInsightAzureMonitor -ClusterName $clusterName -ResourceGroupName $resourceGroupName
```

This cmdlet gets the azure monitor status of a specified HDInsight cluster.
Expand Down

0 comments on commit 5cdfc54

Please sign in to comment.