azure-native.avs.getCluster

A cluster resource API Version: 2020-03-20.

Using getCluster

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
def get_cluster(cluster_name: Optional[str] = None,
                private_cloud_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None,
                private_cloud_name: Optional[pulumi.Input[str]] = None,
                resource_group_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput

> Note: This function is named LookupCluster in the Go SDK.

public static class GetCluster 
{
    public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure-native:avs:getCluster
  arguments:
    # arguments dictionary

The following arguments are supported:

ClusterName string

Name of the cluster in the private cloud

PrivateCloudName string

Name of the private cloud

ResourceGroupName string

The name of the resource group. The name is case insensitive.

ClusterName string

Name of the cluster in the private cloud

PrivateCloudName string

Name of the private cloud

ResourceGroupName string

The name of the resource group. The name is case insensitive.

clusterName String

Name of the cluster in the private cloud

privateCloudName String

Name of the private cloud

resourceGroupName String

The name of the resource group. The name is case insensitive.

clusterName string

Name of the cluster in the private cloud

privateCloudName string

Name of the private cloud

resourceGroupName string

The name of the resource group. The name is case insensitive.

cluster_name str

Name of the cluster in the private cloud

private_cloud_name str

Name of the private cloud

resource_group_name str

The name of the resource group. The name is case insensitive.

clusterName String

Name of the cluster in the private cloud

privateCloudName String

Name of the private cloud

resourceGroupName String

The name of the resource group. The name is case insensitive.

getCluster Result

The following output properties are available:

ClusterId int

The identity

ClusterSize int

The cluster size

Hosts List<string>

The hosts

Id string

Resource ID.

Name string

Resource name.

ProvisioningState string

The state of the cluster provisioning

Sku Pulumi.AzureNative.AVS.Outputs.SkuResponse

The cluster SKU

Type string

Resource type.

ClusterId int

The identity

ClusterSize int

The cluster size

Hosts []string

The hosts

Id string

Resource ID.

Name string

Resource name.

ProvisioningState string

The state of the cluster provisioning

Sku SkuResponse

The cluster SKU

Type string

Resource type.

clusterId Integer

The identity

clusterSize Integer

The cluster size

hosts List<String>

The hosts

id String

Resource ID.

name String

Resource name.

provisioningState String

The state of the cluster provisioning

sku SkuResponse

The cluster SKU

type String

Resource type.

clusterId number

The identity

clusterSize number

The cluster size

hosts string[]

The hosts

id string

Resource ID.

name string

Resource name.

provisioningState string

The state of the cluster provisioning

sku SkuResponse

The cluster SKU

type string

Resource type.

cluster_id int

The identity

cluster_size int

The cluster size

hosts Sequence[str]

The hosts

id str

Resource ID.

name str

Resource name.

provisioning_state str

The state of the cluster provisioning

sku SkuResponse

The cluster SKU

type str

Resource type.

clusterId Number

The identity

clusterSize Number

The cluster size

hosts List<String>

The hosts

id String

Resource ID.

name String

Resource name.

provisioningState String

The state of the cluster provisioning

sku Property Map

The cluster SKU

type String

Resource type.

Supporting Types

SkuResponse

Name string

The name of the SKU.

Name string

The name of the SKU.

name String

The name of the SKU.

name string

The name of the SKU.

name str

The name of the SKU.

name String

The name of the SKU.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0