次の方法で共有


Get-AzHDInsightAzureMonitorAgent

指定した HDInsight クラスターの Azure Monitor エージェントの状態を取得します。

構文

GetByNameParameterSet (既定)

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

GetByResourceIdParameterSet

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

GetByInputObjectParameterSet

Get-AzHDInsightAzureMonitorAgent
    [-InputObject] <AzureHDInsightCluster>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

説明

Get-AzHDInsightAzureMonitorAgent コマンドレットは、指定された HDInsight クラスターの Azure Monitor エージェントの状態を取得します。

例 1

# Cluster info
$clusterName = "your-hadoop-001"
$resourceGroupName = "Group"
Get-AzHDInsightAzureMonitorAgent -ClusterName $clusterName -ResourceGroupName $resourceGroupName

このコマンドレットは、指定された HDInsight クラスターの Azure Monitor エージェントの状態を取得します。

例 2

# Cluster info
$clusterName = "your-hadoop-001"
$cluster=Get-AzHDInsightCluster -ClusterName $clusterName
$cluster | Get-AzHDInsightAzureMonitorAgent

このコマンドレットは、パイプラインを含む Azure Monitor を取得します。

パラメーター

-ClusterName

クラスターの名前を取得または設定します。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

GetByNameParameterSet
配置:1
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

パラメーターのプロパティ

型:IAzureContextContainer
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-InputObject

入力オブジェクトを取得または設定します。

パラメーターのプロパティ

型:AzureHDInsightCluster
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

GetByInputObjectParameterSet
配置:0
必須:True
パイプラインからの値:True
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-ResourceGroupName

リソース グループの名前を取得または設定します。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

GetByNameParameterSet
配置:0
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-ResourceId

リソース ID を取得または設定します。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

GetByResourceIdParameterSet
配置:0
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

入力

String

AzureHDInsightCluster

出力

AzureHDInsightMonitoring