Get-AzHDInsightClusterAutoscaleConfiguration

Gets the autoscale configuration of HDInsight cluster.

Syntax

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

Description

The Get-AzHDInsightClusterAutoscaleConfiguration cmdlet gets the autoscale configuration of HDInsight cluster.

Examples

Example 1: Get the autoscale configuration of HDInsight cluster.

$clusterResourceGroup="group"
$clusterName="MyCluster"
Get-AzHDInsightClusterAutoscaleConfiguration -ResourceGroupName $clusterResourceGroup -ClusterName $clusterName

This command gets the autoscale configuration of HDInsight cluster.

Parameters

-ClusterName

Gets or sets the name of the cluster.

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

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

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

-InputObject

Gets or sets the input object.

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

-ResourceGroupName

Gets or sets the name of the resource group.

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

-ResourceId

Gets or sets the resource id.

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

Inputs

String

AzureHDInsightCluster

Outputs

AzureHDInsightAutoscale