UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

77 lines (76 loc) 2.02 kB
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>; }