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

We recommend using Azure Native.

Azure Classic v5.74.0 published on Monday, Apr 29, 2024 by Pulumi

azure.mssql.VirtualMachineGroup

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.74.0 published on Monday, Apr 29, 2024 by Pulumi

    Manages a Microsoft SQL Virtual Machine Group.

    Example Usage

    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",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_virtual_machine_group = azure.mssql.VirtualMachineGroup("example",
        name="examplegroup",
        resource_group_name=example.name,
        location=example.location,
        sql_image_offer="SQL2017-WS2016",
        sql_image_sku="Developer",
        wsfc_domain_profile=azure.mssql.VirtualMachineGroupWsfcDomainProfileArgs(
            fqdn="testdomain.com",
            cluster_subnet_type="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 {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = mssql.NewVirtualMachineGroup(ctx, "example", &mssql.VirtualMachineGroupArgs{
    			Name:              pulumi.String("examplegroup"),
    			ResourceGroupName: example.Name,
    			Location:          example.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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleVirtualMachineGroup = new Azure.MSSql.VirtualMachineGroup("example", new()
        {
            Name = "examplegroup",
            ResourceGroupName = example.Name,
            Location = example.Location,
            SqlImageOffer = "SQL2017-WS2016",
            SqlImageSku = "Developer",
            WsfcDomainProfile = new Azure.MSSql.Inputs.VirtualMachineGroupWsfcDomainProfileArgs
            {
                Fqdn = "testdomain.com",
                ClusterSubnetType = "SingleSubnet",
            },
        });
    
    });
    
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleVirtualMachineGroup = new VirtualMachineGroup("exampleVirtualMachineGroup", VirtualMachineGroupArgs.builder()        
                .name("examplegroup")
                .resourceGroupName(example.name())
                .location(example.location())
                .sqlImageOffer("SQL2017-WS2016")
                .sqlImageSku("Developer")
                .wsfcDomainProfile(VirtualMachineGroupWsfcDomainProfileArgs.builder()
                    .fqdn("testdomain.com")
                    .clusterSubnetType("SingleSubnet")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleVirtualMachineGroup:
        type: azure:mssql:VirtualMachineGroup
        name: example
        properties:
          name: examplegroup
          resourceGroupName: ${example.name}
          location: ${example.location}
          sqlImageOffer: SQL2017-WS2016
          sqlImageSku: Developer
          wsfcDomainProfile:
            fqdn: testdomain.com
            clusterSubnetType: SingleSubnet
    

    Create VirtualMachineGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VirtualMachineGroup(name: string, args: VirtualMachineGroupArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualMachineGroup(resource_name: str,
                            args: VirtualMachineGroupArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualMachineGroup(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            resource_group_name: Optional[str] = None,
                            sql_image_offer: Optional[str] = None,
                            sql_image_sku: Optional[str] = None,
                            wsfc_domain_profile: Optional[VirtualMachineGroupWsfcDomainProfileArgs] = None,
                            location: Optional[str] = None,
                            name: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = 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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var virtualMachineGroupResource = new Azure.MSSql.VirtualMachineGroup("virtualMachineGroupResource", new()
    {
        ResourceGroupName = "string",
        SqlImageOffer = "string",
        SqlImageSku = "string",
        WsfcDomainProfile = new Azure.MSSql.Inputs.VirtualMachineGroupWsfcDomainProfileArgs
        {
            ClusterSubnetType = "string",
            Fqdn = "string",
            ClusterBootstrapAccountName = "string",
            ClusterOperatorAccountName = "string",
            OrganizationalUnitPath = "string",
            SqlServiceAccountName = "string",
            StorageAccountPrimaryKey = "string",
            StorageAccountUrl = "string",
        },
        Location = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := mssql.NewVirtualMachineGroup(ctx, "virtualMachineGroupResource", &mssql.VirtualMachineGroupArgs{
    	ResourceGroupName: pulumi.String("string"),
    	SqlImageOffer:     pulumi.String("string"),
    	SqlImageSku:       pulumi.String("string"),
    	WsfcDomainProfile: &mssql.VirtualMachineGroupWsfcDomainProfileArgs{
    		ClusterSubnetType:           pulumi.String("string"),
    		Fqdn:                        pulumi.String("string"),
    		ClusterBootstrapAccountName: pulumi.String("string"),
    		ClusterOperatorAccountName:  pulumi.String("string"),
    		OrganizationalUnitPath:      pulumi.String("string"),
    		SqlServiceAccountName:       pulumi.String("string"),
    		StorageAccountPrimaryKey:    pulumi.String("string"),
    		StorageAccountUrl:           pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var virtualMachineGroupResource = new VirtualMachineGroup("virtualMachineGroupResource", VirtualMachineGroupArgs.builder()        
        .resourceGroupName("string")
        .sqlImageOffer("string")
        .sqlImageSku("string")
        .wsfcDomainProfile(VirtualMachineGroupWsfcDomainProfileArgs.builder()
            .clusterSubnetType("string")
            .fqdn("string")
            .clusterBootstrapAccountName("string")
            .clusterOperatorAccountName("string")
            .organizationalUnitPath("string")
            .sqlServiceAccountName("string")
            .storageAccountPrimaryKey("string")
            .storageAccountUrl("string")
            .build())
        .location("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    virtual_machine_group_resource = azure.mssql.VirtualMachineGroup("virtualMachineGroupResource",
        resource_group_name="string",
        sql_image_offer="string",
        sql_image_sku="string",
        wsfc_domain_profile=azure.mssql.VirtualMachineGroupWsfcDomainProfileArgs(
            cluster_subnet_type="string",
            fqdn="string",
            cluster_bootstrap_account_name="string",
            cluster_operator_account_name="string",
            organizational_unit_path="string",
            sql_service_account_name="string",
            storage_account_primary_key="string",
            storage_account_url="string",
        ),
        location="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const virtualMachineGroupResource = new azure.mssql.VirtualMachineGroup("virtualMachineGroupResource", {
        resourceGroupName: "string",
        sqlImageOffer: "string",
        sqlImageSku: "string",
        wsfcDomainProfile: {
            clusterSubnetType: "string",
            fqdn: "string",
            clusterBootstrapAccountName: "string",
            clusterOperatorAccountName: "string",
            organizationalUnitPath: "string",
            sqlServiceAccountName: "string",
            storageAccountPrimaryKey: "string",
            storageAccountUrl: "string",
        },
        location: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:mssql:VirtualMachineGroup
    properties:
        location: string
        name: string
        resourceGroupName: string
        sqlImageOffer: string
        sqlImageSku: string
        tags:
            string: string
        wsfcDomainProfile:
            clusterBootstrapAccountName: string
            clusterOperatorAccountName: string
            clusterSubnetType: string
            fqdn: string
            organizationalUnitPath: string
            sqlServiceAccountName: string
            storageAccountPrimaryKey: string
            storageAccountUrl: string
    

    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
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.74.0 published on Monday, Apr 29, 2024 by Pulumi