We recommend using Azure Native.
azure.mssql.VirtualMachineGroup
Explore with Pulumi AI
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={
        "fqdn": "testdomain.com",
        "cluster_subnet_type": "SingleSubnet",
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/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.
Constructor 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={
        "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VirtualMachineGroup resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- SqlImage stringOffer 
- 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.
- SqlImage stringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- WsfcDomain VirtualProfile Machine Group Wsfc Domain Profile 
- A wsfc_domain_profileblock 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.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- ResourceGroup stringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- SqlImage stringOffer 
- 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.
- SqlImage stringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- WsfcDomain VirtualProfile Machine Group Wsfc Domain Profile Args 
- A wsfc_domain_profileblock 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.
- map[string]string
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- resourceGroup StringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- sqlImage StringOffer 
- 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.
- sqlImage StringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- wsfcDomain VirtualProfile Machine Group Wsfc Domain Profile 
- A wsfc_domain_profileblock 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.
- Map<String,String>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- resourceGroup stringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- sqlImage stringOffer 
- 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.
- sqlImage stringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- wsfcDomain VirtualProfile Machine Group Wsfc Domain Profile 
- A wsfc_domain_profileblock 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.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- resource_group_ strname 
- 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_ stroffer 
- 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_ strsku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- wsfc_domain_ Virtualprofile Machine Group Wsfc Domain Profile Args 
- A wsfc_domain_profileblock 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.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- resourceGroup StringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- sqlImage StringOffer 
- 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.
- sqlImage StringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- wsfcDomain Property MapProfile 
- A wsfc_domain_profileblock 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.
- 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) -> VirtualMachineGroupfunc 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)resources:  _:    type: azure:mssql:VirtualMachineGroup    get:      id: ${id}- 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.
- 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.
- ResourceGroup stringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- SqlImage stringOffer 
- 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.
- SqlImage stringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- WsfcDomain VirtualProfile Machine Group Wsfc Domain Profile 
- A wsfc_domain_profileblock 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.
- ResourceGroup stringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- SqlImage stringOffer 
- 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.
- SqlImage stringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- map[string]string
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- WsfcDomain VirtualProfile Machine Group Wsfc Domain Profile Args 
- A wsfc_domain_profileblock 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.
- resourceGroup StringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- sqlImage StringOffer 
- 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.
- sqlImage StringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- Map<String,String>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- wsfcDomain VirtualProfile Machine Group Wsfc Domain Profile 
- A wsfc_domain_profileblock 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.
- resourceGroup stringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- sqlImage stringOffer 
- 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.
- sqlImage stringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- wsfcDomain VirtualProfile Machine Group Wsfc Domain Profile 
- A wsfc_domain_profileblock 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_ strname 
- 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_ stroffer 
- 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_ strsku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- wsfc_domain_ Virtualprofile Machine Group Wsfc Domain Profile Args 
- A wsfc_domain_profileblock 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.
- resourceGroup StringName 
- The name of the Resource Group where the Microsoft SQL Virtual Machine Group should exist. Changing this forces a new resource to be created.
- sqlImage StringOffer 
- 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.
- sqlImage StringSku 
- The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are DeveloperandEnterprise.
- Map<String>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- wsfcDomain Property MapProfile 
- A wsfc_domain_profileblock as defined below.
Supporting Types
VirtualMachineGroupWsfcDomainProfile, VirtualMachineGroupWsfcDomainProfileArgs            
- ClusterSubnet stringType 
- The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnetandSingleSubnet. 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.
- ClusterBootstrap stringAccount Name 
- The account name used for creating cluster. Changing this forces a new resource to be created.
- ClusterOperator stringAccount Name 
- The account name used for operating cluster. Changing this forces a new resource to be created.
- OrganizationalUnit stringPath 
- The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- SqlService stringAccount Name 
- 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.
- StorageAccount stringPrimary Key 
- The primary key of the Storage Account.
- StorageAccount stringUrl 
- The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
- ClusterSubnet stringType 
- The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnetandSingleSubnet. 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.
- ClusterBootstrap stringAccount Name 
- The account name used for creating cluster. Changing this forces a new resource to be created.
- ClusterOperator stringAccount Name 
- The account name used for operating cluster. Changing this forces a new resource to be created.
- OrganizationalUnit stringPath 
- The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- SqlService stringAccount Name 
- 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.
- StorageAccount stringPrimary Key 
- The primary key of the Storage Account.
- StorageAccount stringUrl 
- The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
- clusterSubnet StringType 
- The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnetandSingleSubnet. 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.
- clusterBootstrap StringAccount Name 
- The account name used for creating cluster. Changing this forces a new resource to be created.
- clusterOperator StringAccount Name 
- The account name used for operating cluster. Changing this forces a new resource to be created.
- organizationalUnit StringPath 
- The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- sqlService StringAccount Name 
- 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.
- storageAccount StringPrimary Key 
- The primary key of the Storage Account.
- storageAccount StringUrl 
- The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
- clusterSubnet stringType 
- The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnetandSingleSubnet. 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.
- clusterBootstrap stringAccount Name 
- The account name used for creating cluster. Changing this forces a new resource to be created.
- clusterOperator stringAccount Name 
- The account name used for operating cluster. Changing this forces a new resource to be created.
- organizationalUnit stringPath 
- The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- sqlService stringAccount Name 
- 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.
- storageAccount stringPrimary Key 
- The primary key of the Storage Account.
- storageAccount stringUrl 
- The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
- cluster_subnet_ strtype 
- The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnetandSingleSubnet. 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_ straccount_ name 
- The account name used for creating cluster. Changing this forces a new resource to be created.
- cluster_operator_ straccount_ name 
- The account name used for operating cluster. Changing this forces a new resource to be created.
- organizational_unit_ strpath 
- The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- sql_service_ straccount_ name 
- 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_ strprimary_ key 
- The primary key of the Storage Account.
- storage_account_ strurl 
- The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
- clusterSubnet StringType 
- The subnet type of the SQL Virtual Machine cluster. Possible values are MultiSubnetandSingleSubnet. 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.
- clusterBootstrap StringAccount Name 
- The account name used for creating cluster. Changing this forces a new resource to be created.
- clusterOperator StringAccount Name 
- The account name used for operating cluster. Changing this forces a new resource to be created.
- organizationalUnit StringPath 
- The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- sqlService StringAccount Name 
- 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.
- storageAccount StringPrimary Key 
- The primary key of the Storage Account.
- storageAccount StringUrl 
- 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 azurermTerraform Provider.