azure-native.avs.getCluster
Explore with Pulumi AI
A cluster resource Azure REST API version: 2022-05-01.
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
- 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
Size int The cluster size
- Hosts List<string>
The hosts
- Cluster
Id int The identity
- 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
Size int The cluster size
- Hosts []string
The hosts
- cluster
Id Integer The identity
- 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
Size Integer The cluster size
- hosts List<String>
The hosts
- cluster
Id number The identity
- 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
Size number The cluster size
- hosts string[]
The hosts
- cluster_
id int The identity
- 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_
size int The cluster size
- hosts Sequence[str]
The hosts
- cluster
Id Number The identity
- 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.
- cluster
Size Number The cluster size
- hosts List<String>
The hosts
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