These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.avs.getCluster
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
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:
- Cluster
Name string - Name of the cluster in the private cloud
- Private
Cloud stringName - Name of the private cloud
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Cluster
Name string - Name of the cluster in the private cloud
- Private
Cloud stringName - Name of the private cloud
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- cluster
Name String - Name of the cluster in the private cloud
- private
Cloud StringName - Name of the private cloud
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- cluster
Name string - Name of the cluster in the private cloud
- private
Cloud stringName - Name of the private cloud
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- cluster_
name str - Name of the cluster in the private cloud
- private_
cloud_ strname - Name of the private cloud
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- cluster
Name String - Name of the cluster in the private cloud
- private
Cloud StringName - Name of the private cloud
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getCluster Result
The following output properties are available:
- Cluster
Id int - The identity
- Cluster
Size int - The cluster size
- Hosts List<string>
- The hosts
- Id string
- Resource ID.
- Name string
- Resource name.
- Provisioning
State string - The state of the cluster provisioning
- Sku
Pulumi.
Azure Native. AVS. Outputs. Sku Response - The cluster SKU
- Type string
- Resource type.
- Cluster
Id int - The identity
- Cluster
Size int - The cluster size
- Hosts []string
- The hosts
- Id string
- Resource ID.
- Name string
- Resource name.
- Provisioning
State string - The state of the cluster provisioning
- Sku
Sku
Response - The cluster SKU
- Type string
- Resource type.
- cluster
Id Integer - The identity
- cluster
Size Integer - The cluster size
- hosts List<String>
- The hosts
- id String
- Resource ID.
- name String
- Resource name.
- provisioning
State String - The state of the cluster provisioning
- sku
Sku
Response - The cluster SKU
- type String
- Resource type.
- cluster
Id number - The identity
- cluster
Size number - The cluster size
- hosts string[]
- The hosts
- id string
- Resource ID.
- name string
- Resource name.
- provisioning
State string - The state of the cluster provisioning
- sku
Sku
Response - 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
Sku
Response - The cluster SKU
- type str
- Resource type.
- cluster
Id Number - The identity
- cluster
Size Number - The cluster size
- hosts List<String>
- The hosts
- id String
- Resource ID.
- name String
- Resource name.
- provisioning
State 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-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi