< Back

Get-AzureRmHDInsightOperationsManagementSuite

Tue Jan 29, 2019 9:47 pm

NAME Get-AzureRmHDInsightOperationsManagementSuite



SYNOPSIS

Gets the status of Operations Management Suite (OMS) installation on the cluster.





SYNTAX

Get-AzureRmHDInsightOperationsManagementSuite [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [-ResourceGroupName <String>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmHDInsightOperationsManagementSuite cmdlet gets the status of OMS installation in an Azure HDInsight cluster. If OMS is enabled then

it will also return the OMS workspace id.





PARAMETERS

-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



-Name <String>

The name of the cluster to get the status of Operations Management Suite(OMS).



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-ResourceGroupName <String>

The resource group of the cluster.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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

System.String







OUTPUTS

Microsoft.Azure.Commands.HDInsight.Models.Management.AzureHDInsightOMS







NOTES









Example 1



PS C:\\> Get-AzureRmHDInsightOMS -Name testcluster



ClusterMonitoringEnabled



{'ClusterMonitoringEnabled':'true', 'workspaceId':'1d364e89-bb71-4503-aa3d-a23535aea7bd'}



Operations Management Suite (OMS) is enabled on the cluster because the ClusterMonitoringEnabled property is true. The OMS workspace id where the

logs are flowing is 1d364e89-bb71-4503-aa3d-a23535aea7bd





Example 2



PS C:\\> Get-AzureRmHDInsightOMS -Name testcluster -ResourceGroupName testrg



ClusterMonitoringEnabled



{'ClusterMonitoringEnabled':'true', 'workspaceId':'1d364e89-bb71-4503-aa3d-a23535aea7bd'}



Operations Management Suite (OMS) is enabled on the cluster because the ClusterMonitoringEnabled property is true. The OMS workspace id where the

logs are flowing is 1d364e89-bb71-4503-aa3d-a23535aea7bd





Example 3



PS C:\\> Get-AzureRmHDInsightOMS -Name testcluster



ClusterMonitoringEnabled



{'ClusterMonitoringEnabled':'false'}



Operations Management Suite (OMS) is disabled on the cluster because the ClusterMonitoringEnabled property is false.





Example 4



PS C:\\> Get-AzureRmHDInsightOMS -Name testcluster -ResourceGroupName testrg



ClusterMonitoringEnabled



{'ClusterMonitoringEnabled':'false'}



Operations Management Suite (OMS) is disabled on the cluster because the ClusterMonitoringEnabled property is false.







RELATED LINKS

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