func GetHadoopCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HadoopClusterState, opts ...pulumi.ResourceOption) (*HadoopCluster, error) {
	var resource HadoopCluster
	err := ctx.ReadResource("azure:hdinsight/hadoopCluster:HadoopCluster", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetHadoopCluster gets an existing HadoopCluster resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetHadoopCluster gets an existing HadoopCluster resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetHadoopCluster gets an existing HadoopCluster resource ' s state with the given name ID and optional // state properties that are used to uniquely qualify the lookup ( nil if not required ) .
func GetHadoopCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HadoopClusterState, opts ...pulumi.ResourceOption) (*HadoopCluster, error) {
	var resource HadoopCluster
	err := ctx.ReadResource("azure:hdinsight/hadoopCluster:HadoopCluster", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetHadoopCluster ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * HadoopClusterState , opts ... pulumi . ResourceOption ) ( * HadoopCluster , error ) { var resource HadoopCluster err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetHadoopCluster gets an existing HadoopCluster resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetHadoopCluster gets an existing HadoopCluster resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .