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={
"clusterSubnetType": "string",
"fqdn": "string",
"clusterBootstrapAccountName": "string",
"clusterOperatorAccountName": "string",
"organizationalUnitPath": "string",
"sqlServiceAccountName": "string",
"storageAccountPrimaryKey": "string",
"storageAccountUrl": "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:
- Resource
Group 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.
- Sql
Image 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.
- Sql
Image stringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - Wsfc
Domain VirtualProfile Machine Group Wsfc Domain Profile - 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.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- Resource
Group 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.
- Sql
Image 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.
- Sql
Image stringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - Wsfc
Domain VirtualProfile Machine Group Wsfc Domain Profile Args - 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.
- map[string]string
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- resource
Group 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.
- sql
Image 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.
- sql
Image StringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - wsfc
Domain VirtualProfile Machine Group Wsfc Domain Profile - 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.
- Map<String,String>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- resource
Group 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.
- sql
Image 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.
- sql
Image stringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - wsfc
Domain VirtualProfile Machine Group Wsfc Domain Profile - 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.
- {[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
Developer
andEnterprise
. - wsfc_
domain_ Virtualprofile Machine Group Wsfc Domain Profile Args - 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.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- resource
Group 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.
- sql
Image 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.
- sql
Image StringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - wsfc
Domain Property MapProfile - 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.
- 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.
- 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.
- Resource
Group 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.
- Sql
Image 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.
- Sql
Image stringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- Wsfc
Domain VirtualProfile Machine Group Wsfc Domain Profile - 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.
- Resource
Group 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.
- Sql
Image 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.
- Sql
Image stringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - map[string]string
- 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_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.
- resource
Group 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.
- sql
Image 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.
- sql
Image StringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - Map<String,String>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- wsfc
Domain VirtualProfile Machine Group Wsfc Domain Profile - 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.
- resource
Group 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.
- sql
Image 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.
- sql
Image stringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - {[key: string]: string}
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- wsfc
Domain VirtualProfile Machine Group Wsfc Domain Profile - 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_ 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
Developer
andEnterprise
. - 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_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.
- resource
Group 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.
- sql
Image 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.
- sql
Image StringSku - The sku type of the marketplace image cluster to be used by the SQL Virtual Machine Group. Possible values are
Developer
andEnterprise
. - Map<String>
- A mapping of tags which should be assigned to the Microsoft SQL Virtual Machine Group.
- wsfc
Domain Property MapProfile - A
wsfc_domain_profile
block as defined below.
Supporting Types
VirtualMachineGroupWsfcDomainProfile, VirtualMachineGroupWsfcDomainProfileArgs
- Cluster
Subnet stringType - The subnet type of the SQL Virtual Machine cluster. Possible values are
MultiSubnet
andSingleSubnet
. 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.
- Cluster
Bootstrap stringAccount Name - The account name used for creating cluster. Changing this forces a new resource to be created.
- Cluster
Operator stringAccount Name - The account name used for operating cluster. Changing this forces a new resource to be created.
- Organizational
Unit stringPath - The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- Sql
Service 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.
- Storage
Account stringPrimary Key - The primary key of the Storage Account.
- Storage
Account stringUrl - The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
- Cluster
Subnet stringType - The subnet type of the SQL Virtual Machine cluster. Possible values are
MultiSubnet
andSingleSubnet
. 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.
- Cluster
Bootstrap stringAccount Name - The account name used for creating cluster. Changing this forces a new resource to be created.
- Cluster
Operator stringAccount Name - The account name used for operating cluster. Changing this forces a new resource to be created.
- Organizational
Unit stringPath - The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- Sql
Service 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.
- Storage
Account stringPrimary Key - The primary key of the Storage Account.
- Storage
Account stringUrl - The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
- cluster
Subnet StringType - The subnet type of the SQL Virtual Machine cluster. Possible values are
MultiSubnet
andSingleSubnet
. 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.
- cluster
Bootstrap StringAccount Name - The account name used for creating cluster. Changing this forces a new resource to be created.
- cluster
Operator StringAccount Name - The account name used for operating cluster. Changing this forces a new resource to be created.
- organizational
Unit StringPath - The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- sql
Service 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.
- storage
Account StringPrimary Key - The primary key of the Storage Account.
- storage
Account StringUrl - The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
- cluster
Subnet stringType - The subnet type of the SQL Virtual Machine cluster. Possible values are
MultiSubnet
andSingleSubnet
. 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.
- cluster
Bootstrap stringAccount Name - The account name used for creating cluster. Changing this forces a new resource to be created.
- cluster
Operator stringAccount Name - The account name used for operating cluster. Changing this forces a new resource to be created.
- organizational
Unit stringPath - The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- sql
Service 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.
- storage
Account stringPrimary Key - The primary key of the Storage Account.
- storage
Account 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
MultiSubnet
andSingleSubnet
. 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.
- cluster
Subnet StringType - The subnet type of the SQL Virtual Machine cluster. Possible values are
MultiSubnet
andSingleSubnet
. 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.
- cluster
Bootstrap StringAccount Name - The account name used for creating cluster. Changing this forces a new resource to be created.
- cluster
Operator StringAccount Name - The account name used for operating cluster. Changing this forces a new resource to be created.
- organizational
Unit StringPath - The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
- sql
Service 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.
- storage
Account StringPrimary Key - The primary key of the Storage Account.
- storage
Account 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
azurerm
Terraform Provider.