import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Microsoft SQL Virtual Machine Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleVirtualMachineGroup = new azure.mssql.VirtualMachineGroup("example", { * name: "examplegroup", * resourceGroupName: example.name, * location: example.location, * sqlImageOffer: "SQL2017-WS2016", * sqlImageSku: "Developer", * wsfcDomainProfile: { * fqdn: "testdomain.com", * clusterSubnetType: "SingleSubnet", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.SqlVirtualMachine` - 2023-10-01 * * ## Import * * Microsoft SQL Virtual Machine Groups can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:mssql/virtualMachineGroup:VirtualMachineGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/vmgroup1 * ``` */ export declare class VirtualMachineGroup extends pulumi.CustomResource { /** * Get an existing VirtualMachineGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VirtualMachineGroupState, opts?: pulumi.CustomResourceOptions): VirtualMachineGroup; /** * Returns true if the given object is an instance of VirtualMachineGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VirtualMachineGroup; /** * The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The offer type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Changing this forces a new resource to be created. */ readonly sqlImageOffer: pulumi.Output; /** * The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are `Developer` and `Enterprise`. */ readonly sqlImageSku: pulumi.Output; /** * A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A `wsfcDomainProfile` block as defined below. */ readonly wsfcDomainProfile: pulumi.Output; /** * Create a VirtualMachineGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VirtualMachineGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VirtualMachineGroup resources. */ export interface VirtualMachineGroupState { /** * The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The offer type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Changing this forces a new resource to be created. */ sqlImageOffer?: pulumi.Input; /** * The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are `Developer` and `Enterprise`. */ sqlImageSku?: pulumi.Input; /** * A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `wsfcDomainProfile` block as defined below. */ wsfcDomainProfile?: pulumi.Input; } /** * The set of arguments for constructing a VirtualMachineGroup resource. */ export interface VirtualMachineGroupArgs { /** * The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The offer type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Changing this forces a new resource to be created. */ sqlImageOffer: pulumi.Input; /** * The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are `Developer` and `Enterprise`. */ sqlImageSku: pulumi.Input; /** * A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `wsfcDomainProfile` block as defined below. */ wsfcDomainProfile: pulumi.Input; }