Get-AzHDInsightAzureMonitor
Hiermee haalt u de Azure Monitor-status van een opgegeven HDInsight-cluster op.
Syntaxis
Get-AzHDInsightAzureMonitor
[[-ResourceGroupName] <String>]
[-ClusterName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzHDInsightAzureMonitor
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzHDInsightAzureMonitor
[-InputObject] <AzureHDInsightCluster>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
De cmdlet Get-AzHDInsightAzureMonitor haalt de azure Monitor-status van een opgegeven HDInsight-cluster op.
Voorbeelden
Voorbeeld 1
# Cluster info
$clusterName = "your-hadoop-001"
$resourceGroupName = "Group"
Get-AzHDInsightAzureMonitor -ClusterName $clusterName -ResourceGroupName $resourceGroupName
Met deze cmdlet wordt de Azure Monitor-status van een opgegeven HDInsight-cluster opgehaald.
Voorbeeld 2
# Cluster info
$clusterName = "your-hadoop-001"
$cluster=Get-AzHDInsightCluster -ClusterName $clusterName
$cluster | Get-AzHDInsightAzureMonitor
Met deze cmdlet wordt de Azure Monitor met pijplijn ophaalt.
Parameters
-ClusterName
Hiermee haalt u de naam van het cluster op of stelt u deze in.
Type: | String |
Position: | 1 |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliassen: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-InputObject
Hiermee wordt het invoerobject opgehaald of ingesteld.
Type: | AzureHDInsightCluster |
Position: | 0 |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-ResourceGroupName
Hiermee haalt u de naam van de resourcegroep op of stelt u deze in.
Type: | String |
Position: | 0 |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ResourceId
Hiermee haalt u de resource-id op of stelt u deze in.
Type: | String |
Position: | 0 |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
Invoerwaarden
Uitvoerwaarden
Verwante koppelingen
Azure PowerShell