< Back

Grant-AzureRmHDInsightHttpServicesAccess

Tue Jan 29, 2019 9:47 pm

NAME Grant-AzureRmHDInsightHttpServicesAccess



SYNOPSIS

Grants HTTP access to the cluster.





SYNTAX

Grant-AzureRmHDInsightHttpServicesAccess [-ClusterName] <String> [-HttpCredential] <PSCredential> [-DefaultProfile <IAzureContextContainer>]

[-ResourceGroupName <String>] [<CommonParameters>]





DESCRIPTION

The Grant-AzureRmHDInsightHttpServicesAccess cmdlet grants HTTP access to an Azure HDInsight cluster using ODBC, Ambari, Oozie and web services.





PARAMETERS

-ClusterName <String>

Specifies the name of the cluster.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-HttpCredential <PSCredential>

Specifies the cluster login (HTTP) credentials for the cluster.



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Management.HDInsight.Models.HttpConnectivitySettings







NOTES









Example 1: Grant HTTP access to an Azure HDInsight cluster



PS C:\\># Cluster info

PS C:\\> $clusterName = "your-hadoop-001"

PS C:\\> $clusterCreds = Get-Credential



PS C:\\> Grant-AzureRmHDInsightHttpServicesAccess `

-ClusterName $clusterName `

-HttpCredential $newClusterCreds



This command grants HTTP access to the cluster named your-hadoop-001.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... icesaccess

Revoke-AzureRmHDInsightHttpServicesAccess