Get-AzHDInsightAzureMonitor
Gets the azure monitor status of a specified HDInsight cluster.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzHDInsightAzureMonitor
[[-ResourceGroupName] <String>]
[-ClusterName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzHDInsightAzureMonitor
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzHDInsightAzureMonitor
[-InputObject] <AzureHDInsightCluster>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzHDInsightAzureMonitor cmdlet gets the azure monitor status of a specified HDInsight cluster.
Examples
Example 1
# Cluster info
$clusterName = "your-hadoop-001"
$resourceGroupName = "Group"
Get-AzHDInsightAzureMonitor -ClusterName $clusterName -ResourceGroup $resourceGroupName
This cmdlet gets the azure monitor status of a specified HDInsight cluster.
Example 2
# Cluster info
$clusterName = "your-hadoop-001"
$cluster=Get-AzHDInsightCluster -ClusterName $clusterName
$cluster | Get-AzHDInsightAzureMonitor
This cmdlet gets the azure monitor with pipeline.
Parameters
Gets or sets the name of the cluster.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Gets or sets the input object.
| Type: | AzureHDInsightCluster |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Gets or sets the name of the resource group.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Gets or sets the resource id.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |