Class GetCluster
Inheritance
System.Object
GetCluster
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.HDInsight
Assembly: Pulumi.Azure.dll
Syntax
public static class GetCluster
Methods
View SourceInvokeAsync(GetClusterArgs, InvokeOptions)
Use this data source to access information about an existing HDInsight Cluster.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.HDInsight.GetCluster.InvokeAsync(new Azure.HDInsight.GetClusterArgs
{
Name = "example",
ResourceGroupName = "example-resources",
}));
this.HttpsEndpoint = example.Apply(example => example.HttpsEndpoint);
}
[Output("httpsEndpoint")]
public Output<string> HttpsEndpoint { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetClusterArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetClusterResult> |