1. Packages
  2. Azure Classic
  3. API Docs
  4. mssql
  5. VirtualMachineGroup

We recommend using Azure Native.

Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi

azure.mssql.VirtualMachineGroup

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi

    Manages a Microsoft SQL Virtual Machine Group.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var exampleVirtualMachineGroup = new Azure.MSSql.VirtualMachineGroup("exampleVirtualMachineGroup", new()
        {
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            SqlImageOffer = "SQL2017-WS2016",
            SqlImageSku = "Developer",
            WsfcDomainProfile = new Azure.MSSql.Inputs.VirtualMachineGroupWsfcDomainProfileArgs
            {
                Fqdn = "testdomain.com",
                ClusterSubnetType = "SingleSubnet",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/mssql"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = mssql.NewVirtualMachineGroup(ctx, "exampleVirtualMachineGroup", &mssql.VirtualMachineGroupArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			SqlImageOffer:     pulumi.String("SQL2017-WS2016"),
    			SqlImageSku:       pulumi.String("Developer"),
    			WsfcDomainProfile: &mssql.VirtualMachineGroupWsfcDomainProfileArgs{
    				Fqdn:              pulumi.String("testdomain.com"),
    				ClusterSubnetType: pulumi.String("SingleSubnet"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.mssql.VirtualMachineGroup;
    import com.pulumi.azure.mssql.VirtualMachineGroupArgs;
    import com.pulumi.azure.mssql.inputs.VirtualMachineGroupWsfcDomainProfileArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .location("West Europe")
                .build());
    
            var exampleVirtualMachineGroup = new VirtualMachineGroup("exampleVirtualMachineGroup", VirtualMachineGroupArgs.builder()        
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.location())
                .sqlImageOffer("SQL2017-WS2016")
                .sqlImageSku("Developer")
                .wsfcDomainProfile(VirtualMachineGroupWsfcDomainProfileArgs.builder()
                    .fqdn("testdomain.com")
                    .clusterSubnetType("SingleSubnet")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_virtual_machine_group = azure.mssql.VirtualMachineGroup("exampleVirtualMachineGroup",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        sql_image_offer="SQL2017-WS2016",
        sql_image_sku="Developer",
        wsfc_domain_profile=azure.mssql.VirtualMachineGroupWsfcDomainProfileArgs(
            fqdn="testdomain.com",
            cluster_subnet_type="SingleSubnet",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleVirtualMachineGroup = new azure.mssql.VirtualMachineGroup("exampleVirtualMachineGroup", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        sqlImageOffer: "SQL2017-WS2016",
        sqlImageSku: "Developer",
        wsfcDomainProfile: {
            fqdn: "testdomain.com",
            clusterSubnetType: "SingleSubnet",
        },
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      exampleVirtualMachineGroup:
        type: azure:mssql:VirtualMachineGroup
        properties:
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
          sqlImageOffer: SQL2017-WS2016
          sqlImageSku: Developer
          wsfcDomainProfile:
            fqdn: testdomain.com
            clusterSubnetType: SingleSubnet
    

    Create VirtualMachineGroup Resource

    new VirtualMachineGroup(name: string, args: VirtualMachineGroupArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualMachineGroup(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            location: Optional[str] = None,
                            name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            sql_image_offer: Optional[str] = None,
                            sql_image_sku: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            wsfc_domain_profile: Optional[VirtualMachineGroupWsfcDomainProfileArgs] = None)
    @overload
    def VirtualMachineGroup(resource_name: str,
                            args: VirtualMachineGroupArgs,
                            opts: Optional[ResourceOptions] = None)
    func NewVirtualMachineGroup(ctx *Context, name string, args VirtualMachineGroupArgs, opts ...ResourceOption) (*VirtualMachineGroup, error)
    public VirtualMachineGroup(string name, VirtualMachineGroupArgs args, CustomResourceOptions? opts = null)
    public VirtualMachineGroup(String name, VirtualMachineGroupArgs args)
    public VirtualMachineGroup(String name, VirtualMachineGroupArgs args, CustomResourceOptions options)
    
    type: azure:mssql:VirtualMachineGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args VirtualMachineGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VirtualMachineGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VirtualMachineGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualMachineGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualMachineGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VirtualMachineGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The VirtualMachineGroup resource accepts the following input properties:

    ResourceGroupName string
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    SqlImageOffer string
    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.
    SqlImageSku string
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    WsfcDomainProfile VirtualMachineGroupWsfcDomainProfile
    A wsfc_domain_profile block as defined below.
    Location string
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    ResourceGroupName string
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    SqlImageOffer string
    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.
    SqlImageSku string
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    WsfcDomainProfile VirtualMachineGroupWsfcDomainProfileArgs
    A wsfc_domain_profile block as defined below.
    Location string
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    resourceGroupName String
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    sqlImageOffer String
    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.
    sqlImageSku String
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    wsfcDomainProfile VirtualMachineGroupWsfcDomainProfile
    A wsfc_domain_profile block as defined below.
    location String
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    resourceGroupName string
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    sqlImageOffer string
    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.
    sqlImageSku string
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    wsfcDomainProfile VirtualMachineGroupWsfcDomainProfile
    A wsfc_domain_profile block as defined below.
    location string
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    name string
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    resource_group_name str
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    sql_image_offer str
    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.
    sql_image_sku str
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    wsfc_domain_profile VirtualMachineGroupWsfcDomainProfileArgs
    A wsfc_domain_profile block as defined below.
    location str
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    name str
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    resourceGroupName String
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    sqlImageOffer String
    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.
    sqlImageSku String
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    wsfcDomainProfile Property Map
    A wsfc_domain_profile block as defined below.
    location String
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualMachineGroup resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VirtualMachineGroup Resource

    Get an existing VirtualMachineGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VirtualMachineGroupState, opts?: CustomResourceOptions): VirtualMachineGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            sql_image_offer: Optional[str] = None,
            sql_image_sku: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            wsfc_domain_profile: Optional[VirtualMachineGroupWsfcDomainProfileArgs] = None) -> VirtualMachineGroup
    func GetVirtualMachineGroup(ctx *Context, name string, id IDInput, state *VirtualMachineGroupState, opts ...ResourceOption) (*VirtualMachineGroup, error)
    public static VirtualMachineGroup Get(string name, Input<string> id, VirtualMachineGroupState? state, CustomResourceOptions? opts = null)
    public static VirtualMachineGroup get(String name, Output<String> id, VirtualMachineGroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Location string
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    SqlImageOffer string
    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.
    SqlImageSku string
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    WsfcDomainProfile VirtualMachineGroupWsfcDomainProfile
    A wsfc_domain_profile block as defined below.
    Location string
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    SqlImageOffer string
    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.
    SqlImageSku string
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    Tags map[string]string
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    WsfcDomainProfile VirtualMachineGroupWsfcDomainProfileArgs
    A wsfc_domain_profile block as defined below.
    location String
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    sqlImageOffer String
    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.
    sqlImageSku String
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    wsfcDomainProfile VirtualMachineGroupWsfcDomainProfile
    A wsfc_domain_profile block as defined below.
    location string
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    name string
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    sqlImageOffer string
    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.
    sqlImageSku string
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    wsfcDomainProfile VirtualMachineGroupWsfcDomainProfile
    A wsfc_domain_profile block as defined below.
    location str
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    name str
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    sql_image_offer str
    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.
    sql_image_sku str
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    wsfc_domain_profile VirtualMachineGroupWsfcDomainProfileArgs
    A wsfc_domain_profile block as defined below.
    location String
    The Azure Region where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for the Microsoft SQL Virtual Machine Group. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
    sqlImageOffer String
    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.
    sqlImageSku String
    The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are Developer and Enterprise.
    tags Map<String>
    A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
    wsfcDomainProfile Property Map
    A wsfc_domain_profile block as defined below.

    Supporting Types

    VirtualMachineGroupWsfcDomainProfile, VirtualMachineGroupWsfcDomainProfileArgs

    ClusterSubnetType string
    The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnet and SingleSubnet. Changing this forces a new resource to be created.
    Fqdn string
    The fully qualified name of the domain. Changing this forces a new resource to be created.
    ClusterBootstrapAccountName string
    The account name used for creating cluster. Changing this forces a new resource to be created.
    ClusterOperatorAccountName string
    The account name used for operating cluster. Changing this forces a new resource to be created.
    OrganizationalUnitPath string
    The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
    SqlServiceAccountName string
    The account name under which SQL service will run on all participating SQL virtual machines in the cluster. Changing this forces a new resource to be created.
    StorageAccountPrimaryKey string
    The primary key of the Storage Account.
    StorageAccountUrl string
    The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
    ClusterSubnetType string
    The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnet and SingleSubnet. Changing this forces a new resource to be created.
    Fqdn string
    The fully qualified name of the domain. Changing this forces a new resource to be created.
    ClusterBootstrapAccountName string
    The account name used for creating cluster. Changing this forces a new resource to be created.
    ClusterOperatorAccountName string
    The account name used for operating cluster. Changing this forces a new resource to be created.
    OrganizationalUnitPath string
    The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
    SqlServiceAccountName string
    The account name under which SQL service will run on all participating SQL virtual machines in the cluster. Changing this forces a new resource to be created.
    StorageAccountPrimaryKey string
    The primary key of the Storage Account.
    StorageAccountUrl string
    The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
    clusterSubnetType String
    The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnet and SingleSubnet. Changing this forces a new resource to be created.
    fqdn String
    The fully qualified name of the domain. Changing this forces a new resource to be created.
    clusterBootstrapAccountName String
    The account name used for creating cluster. Changing this forces a new resource to be created.
    clusterOperatorAccountName String
    The account name used for operating cluster. Changing this forces a new resource to be created.
    organizationalUnitPath String
    The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
    sqlServiceAccountName String
    The account name under which SQL service will run on all participating SQL virtual machines in the cluster. Changing this forces a new resource to be created.
    storageAccountPrimaryKey String
    The primary key of the Storage Account.
    storageAccountUrl String
    The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
    clusterSubnetType string
    The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnet and SingleSubnet. Changing this forces a new resource to be created.
    fqdn string
    The fully qualified name of the domain. Changing this forces a new resource to be created.
    clusterBootstrapAccountName string
    The account name used for creating cluster. Changing this forces a new resource to be created.
    clusterOperatorAccountName string
    The account name used for operating cluster. Changing this forces a new resource to be created.
    organizationalUnitPath string
    The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
    sqlServiceAccountName string
    The account name under which SQL service will run on all participating SQL virtual machines in the cluster. Changing this forces a new resource to be created.
    storageAccountPrimaryKey string
    The primary key of the Storage Account.
    storageAccountUrl string
    The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
    cluster_subnet_type str
    The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnet and SingleSubnet. Changing this forces a new resource to be created.
    fqdn str
    The fully qualified name of the domain. Changing this forces a new resource to be created.
    cluster_bootstrap_account_name str
    The account name used for creating cluster. Changing this forces a new resource to be created.
    cluster_operator_account_name str
    The account name used for operating cluster. Changing this forces a new resource to be created.
    organizational_unit_path str
    The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
    sql_service_account_name str
    The account name under which SQL service will run on all participating SQL virtual machines in the cluster. Changing this forces a new resource to be created.
    storage_account_primary_key str
    The primary key of the Storage Account.
    storage_account_url str
    The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
    clusterSubnetType String
    The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnet and SingleSubnet. Changing this forces a new resource to be created.
    fqdn String
    The fully qualified name of the domain. Changing this forces a new resource to be created.
    clusterBootstrapAccountName String
    The account name used for creating cluster. Changing this forces a new resource to be created.
    clusterOperatorAccountName String
    The account name used for operating cluster. Changing this forces a new resource to be created.
    organizationalUnitPath String
    The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
    sqlServiceAccountName String
    The account name under which SQL service will run on all participating SQL virtual machines in the cluster. Changing this forces a new resource to be created.
    storageAccountPrimaryKey String
    The primary key of the Storage Account.
    storageAccountUrl String
    The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.

    Import

    Microsoft SQL Virtual Machine Groups can be imported using the resource id, e.g.

    $ pulumi import azure:mssql/virtualMachineGroup:VirtualMachineGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/vmgroup1
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi