external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.HDInsight.dll-Help.xml |
Az.HDInsight |
2.0.0 |
Gets the azure monitor status of a specified HDInsight cluster.
Get-AzHDInsightAzureMonitor [[-ResourceGroupName] <String>] [-ClusterName] <String>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzHDInsightAzureMonitor [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzHDInsightAzureMonitor [-InputObject] <AzureHDInsightCluster> [-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
The Get-AzHDInsightAzureMonitor cmdlet gets the azure monitor status of a specified HDInsight cluster.
# Cluster info
$clusterName = "your-hadoop-001"
$resourceGroupName = "Group"
Get-AzHDInsightAzureMonitor -ClusterName $clusterName -ResourceGroupName $resourceGroupName
This cmdlet gets the azure monitor status of a specified HDInsight cluster.
# Cluster info
$clusterName = "your-hadoop-001"
$cluster=Get-AzHDInsightCluster -ClusterName $clusterName
$cluster | Get-AzHDInsightAzureMonitor
This cmdlet gets the azure monitor with pipeline.
Gets or sets the name of the cluster.
Type: System.String
Parameter Sets: GetByNameParameterSet
Aliases:
Required: True
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: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Gets or sets the input object.
Type: Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightCluster
Parameter Sets: GetByInputObjectParameterSet
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Gets or sets the name of the resource group.
Type: System.String
Parameter Sets: GetByNameParameterSet
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Gets or sets the resource id.
Type: System.String
Parameter Sets: GetByResourceIdParameterSet
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Enable-AzHDInsightAzureMonitor Disable-AzHDInsightAzureMonitor