Skip to content

Latest commit

 

History

History
153 lines (116 loc) · 3.63 KB

Get-AzHDInsightAzureMonitor.md

File metadata and controls

153 lines (116 loc) · 3.63 KB
external help file Module Name online version schema
Microsoft.Azure.PowerShell.Cmdlets.HDInsight.dll-Help.xml
Az.HDInsight
2.0.0

Get-AzHDInsightAzureMonitor

SYNOPSIS

Gets the azure monitor status of a specified HDInsight cluster.

SYNTAX

GetByNameParameterSet (Default)

Get-AzHDInsightAzureMonitor [[-ResourceGroupName] <String>] [-ClusterName] <String>
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

GetByResourceIdParameterSet

Get-AzHDInsightAzureMonitor [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

GetByInputObjectParameterSet

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 -ResourceGroupName $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

-ClusterName

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

-DefaultProfile

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

-InputObject

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

-ResourceGroupName

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

-ResourceId

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightCluster

OUTPUTS

Microsoft.Azure.Commands.HDInsight.Models.Management.AzureHDInsightMonitoring

NOTES

RELATED LINKS

Enable-AzHDInsightAzureMonitor Disable-AzHDInsightAzureMonitor