import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Virtual Machine Scale Set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.compute.getVirtualMachineScaleSet({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2024-11-01, 2024-03-01, 2023-09-01 */ export declare function getVirtualMachineScaleSet(args: GetVirtualMachineScaleSetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVirtualMachineScaleSet. */ export interface GetVirtualMachineScaleSetArgs { /** * The name of this Virtual Machine Scale Set. */ name: string; /** * The name of the Resource Group where the Virtual Machine Scale Set exists. */ resourceGroupName: string; } /** * A collection of values returned by getVirtualMachineScaleSet. */ export interface GetVirtualMachineScaleSetResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A `identity` block as defined below. */ readonly identities: outputs.compute.GetVirtualMachineScaleSetIdentity[]; /** * A list of `instances` blocks as defined below. */ readonly instances: outputs.compute.GetVirtualMachineScaleSetInstance[]; /** * The Azure Region in which this Virtual Machine Scale Set exists. */ readonly location: string; /** * The name of the public IP address configuration */ readonly name: string; /** * A list of `networkInterface` blocks as defined below. */ readonly networkInterfaces: outputs.compute.GetVirtualMachineScaleSetNetworkInterface[]; readonly resourceGroupName: string; } /** * Use this data source to access information about an existing Virtual Machine Scale Set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.compute.getVirtualMachineScaleSet({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Compute` - 2024-11-01, 2024-03-01, 2023-09-01 */ export declare function getVirtualMachineScaleSetOutput(args: GetVirtualMachineScaleSetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVirtualMachineScaleSet. */ export interface GetVirtualMachineScaleSetOutputArgs { /** * The name of this Virtual Machine Scale Set. */ name: pulumi.Input; /** * The name of the Resource Group where the Virtual Machine Scale Set exists. */ resourceGroupName: pulumi.Input; }