Get-AzHDInsightHost

Mencantumkan host kluster HDInsight.

Sintaks

Get-AzHDInsightHost
   [[-ResourceGroupName] <String>]
   [-ClusterName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzHDInsightHost
   [-ResourceId] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzHDInsightHost
   [-InputObject] <AzureHDInsightCluster>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Deskripsi

Cmdlet Get-AzHDInsightHost mencantumkan host kluster HDInsight.

Contoh

Contoh 1

# Cluster info
$clusterName = "your-hadoop-001"
Get-AzHDInsightHost -ClusterName $clusterName

Perintah ini mencantumkan host kluster dengan nama kluster.

Contoh 2

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

Perintah ini mencantumkan host kluster dengan alur.

Parameter

-ClusterName

Mendapatkan atau mengatur nama kluster.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultProfile

Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Mendapatkan atau mengatur objek input.

Type:AzureHDInsightCluster
Position:0
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-ResourceGroupName

Mendapatkan atau mengatur nama grup sumber daya.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceId

Mendapatkan atau mengatur id sumber daya.

Type:String
Position:0
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

Input

AzureHDInsightCluster

Output

AzureHDInsightHostInfo