@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets a virtual cluster.
*
* Uses Azure REST API version 2024-11-01-preview.
*/
export declare function getVirtualCluster(args: GetVirtualClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualClusterResult>;
export interface GetVirtualClusterArgs {
/**
* The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*/
resourceGroupName: string;
/**
* The name of the virtual cluster.
*/
virtualClusterName: string;
}
/**
* An Azure SQL virtual cluster.
*/
export interface GetVirtualClusterResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* List of resources in this virtual cluster.
*/
readonly childResources: string[];
/**
* Resource ID.
*/
readonly id: string;
/**
* Resource location.
*/
readonly location: string;
/**
* Resource name.
*/
readonly name: string;
/**
* Subnet resource ID for the virtual cluster.
*/
readonly subnetId: string;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type.
*/
readonly type: string;
/**
* Virtual cluster version.
*/
readonly version?: string;
}
/**
* Gets a virtual cluster.
*
* Uses Azure REST API version 2024-11-01-preview.
*/
export declare function getVirtualClusterOutput(args: GetVirtualClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualClusterResult>;
export interface GetVirtualClusterOutputArgs {
/**
* The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the virtual cluster.
*/
virtualClusterName: pulumi.Input<string>;
}