This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi
azure-native.sql.getVirtualCluster
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi
Gets a virtual cluster.
Uses Azure REST API version 2024-11-01-preview.
Using getVirtualCluster
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 getVirtualCluster(args: GetVirtualClusterArgs, opts?: InvokeOptions): Promise<GetVirtualClusterResult>
function getVirtualClusterOutput(args: GetVirtualClusterOutputArgs, opts?: InvokeOptions): Output<GetVirtualClusterResult>
def get_virtual_cluster(resource_group_name: Optional[str] = None,
virtual_cluster_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualClusterResult
def get_virtual_cluster_output(resource_group_name: Optional[pulumi.Input[str]] = None,
virtual_cluster_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualClusterResult]
func LookupVirtualCluster(ctx *Context, args *LookupVirtualClusterArgs, opts ...InvokeOption) (*LookupVirtualClusterResult, error)
func LookupVirtualClusterOutput(ctx *Context, args *LookupVirtualClusterOutputArgs, opts ...InvokeOption) LookupVirtualClusterResultOutput
> Note: This function is named LookupVirtualCluster
in the Go SDK.
public static class GetVirtualCluster
{
public static Task<GetVirtualClusterResult> InvokeAsync(GetVirtualClusterArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualClusterResult> Invoke(GetVirtualClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualClusterResult> getVirtualCluster(GetVirtualClusterArgs args, InvokeOptions options)
public static Output<GetVirtualClusterResult> getVirtualCluster(GetVirtualClusterArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:sql:getVirtualCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Virtual
Cluster stringName - The name of the virtual cluster.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Virtual
Cluster stringName - The name of the virtual cluster.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- virtual
Cluster StringName - The name of the virtual cluster.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- virtual
Cluster stringName - The name of the virtual cluster.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- virtual_
cluster_ strname - The name of the virtual cluster.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- virtual
Cluster StringName - The name of the virtual cluster.
getVirtualCluster Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Child
Resources List<string> - List of resources in this virtual cluster.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- Resource name.
- Subnet
Id string - Subnet resource ID for the virtual cluster.
- Type string
- Resource type.
- Dictionary<string, string>
- Resource tags.
- Version string
- Virtual cluster version.
- Azure
Api stringVersion - The Azure API version of the resource.
- Child
Resources []string - List of resources in this virtual cluster.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- Resource name.
- Subnet
Id string - Subnet resource ID for the virtual cluster.
- Type string
- Resource type.
- map[string]string
- Resource tags.
- Version string
- Virtual cluster version.
- azure
Api StringVersion - The Azure API version of the resource.
- child
Resources List<String> - List of resources in this virtual cluster.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- Resource name.
- subnet
Id String - Subnet resource ID for the virtual cluster.
- type String
- Resource type.
- Map<String,String>
- Resource tags.
- version String
- Virtual cluster version.
- azure
Api stringVersion - The Azure API version of the resource.
- child
Resources string[] - List of resources in this virtual cluster.
- id string
- Resource ID.
- location string
- Resource location.
- name string
- Resource name.
- subnet
Id string - Subnet resource ID for the virtual cluster.
- type string
- Resource type.
- {[key: string]: string}
- Resource tags.
- version string
- Virtual cluster version.
- azure_
api_ strversion - The Azure API version of the resource.
- child_
resources Sequence[str] - List of resources in this virtual cluster.
- id str
- Resource ID.
- location str
- Resource location.
- name str
- Resource name.
- subnet_
id str - Subnet resource ID for the virtual cluster.
- type str
- Resource type.
- Mapping[str, str]
- Resource tags.
- version str
- Virtual cluster version.
- azure
Api StringVersion - The Azure API version of the resource.
- child
Resources List<String> - List of resources in this virtual cluster.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- Resource name.
- subnet
Id String - Subnet resource ID for the virtual cluster.
- type String
- Resource type.
- Map<String>
- Resource tags.
- version String
- Virtual cluster version.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi