Microsoft.SqlVirtualMachine sqlVirtualMachineGroups

Bicep リソース定義

sqlVirtualMachineGroups リソースの種類は、次のようにデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups@2022-07-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    sqlImageOffer: 'string'
    sqlImageSku: 'string'
    wsfcDomainProfile: {
      clusterBootstrapAccount: 'string'
      clusterOperatorAccount: 'string'
      clusterSubnetType: 'string'
      domainFqdn: 'string'
      fileShareWitnessPath: 'string'
      ouPath: 'string'
      sqlServiceAccount: 'string'
      storageAccountPrimaryKey: 'string'
      storageAccountUrl: 'string'
    }
  }
}

プロパティの値

sqlVirtualMachineGroups

名前 説明
name リソース名 string (必須)
location リソースの場所。 string (必須)
tags リソース タグ。 タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください
properties リソースのプロパティ。 SqlVirtualMachineGroupProperties

SqlVirtualMachineGroupProperties

名前 説明
sqlImageOffer SQL イメージ オファー。 例としては、SQL2016-WS2016、SQL2017-WS2016 などがあります。 string
sqlImageSku SQL イメージ SKU。 'Developer'
'Enterprise'
wsfcDomainProfile クラスター Active Directory ドメイン プロファイル。 WsfcDomainProfile

WsfcDomainProfile

名前 説明
clusterBootstrapAccount クラスターの作成に使用されるアカウント名 (少なくとも、ドメイン内の "コンピューター オブジェクトの作成" に対するアクセス許可が必要です)。 string
clusterOperatorAccount クラスターの運用に使用されるアカウント名。つまり、クラスター内のすべての参加している仮想マシンの管理者グループの一部になります。 string
clusterSubnetType クラスター サブネットの種類。 'MultiSubnet'
'SingleSubnet'
domainFqdn ドメインの完全修飾名。 string
fileShareWitnessPath ファイル共有監視の省略可能なパス。 string
ouPath ノードとクラスターが存在する組織単位のパス。 string
sqlServiceAccount クラスター内のすべての参加している SQL 仮想マシンで SQL サービスを実行するアカウント名。 string
storageAccountPrimaryKey ミラーリング監視ストレージ アカウントの主キー。 string
storageAccountUrl ミラーリング監視ストレージ アカウントの完全修飾 ARM リソース ID。 string

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
既存の SQL Virtual Machinesを使用して SQL Always ON セットアップをデプロイする

Azure へのデプロイ
既存の SQL Virtual Machinesを使用して SQL Always ON セットアップをデプロイします。 仮想マシンは既に既存のドメインに参加しており、エンタープライズ バージョンのSQL Serverを実行している必要があります。

ARM テンプレート リソース定義

sqlVirtualMachineGroups リソースの種類は、次のようにデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups",
  "apiVersion": "2022-07-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "sqlImageOffer": "string",
    "sqlImageSku": "string",
    "wsfcDomainProfile": {
      "clusterBootstrapAccount": "string",
      "clusterOperatorAccount": "string",
      "clusterSubnetType": "string",
      "domainFqdn": "string",
      "fileShareWitnessPath": "string",
      "ouPath": "string",
      "sqlServiceAccount": "string",
      "storageAccountPrimaryKey": "string",
      "storageAccountUrl": "string"
    }
  }
}

プロパティの値

sqlVirtualMachineGroups

名前 説明
type リソースの種類 'Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups'
apiVersion リソース API のバージョン '2022-07-01-preview'
name リソース名 string (必須)
location リソースの場所。 string (必須)
tags リソース タグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
properties リソースのプロパティ。 SqlVirtualMachineGroupProperties

SqlVirtualMachineGroupProperties

名前 説明
sqlImageOffer SQL イメージ オファー。 例としては、SQL2016-WS2016、SQL2017-WS2016 などがあります。 string
sqlImageSku SQL イメージ SKU。 'Developer'
'Enterprise'
wsfcDomainProfile クラスター Active Directory ドメイン プロファイル。 WsfcDomainProfile

WsfcDomainProfile

名前 説明
clusterBootstrapAccount クラスターの作成に使用されるアカウント名 (少なくとも、ドメイン内の "コンピューター オブジェクトの作成" に対するアクセス許可が必要です)。 string
clusterOperatorAccount クラスターの運用に使用されるアカウント名 (つまり、クラスター内のすべての参加している仮想マシンの管理者グループの一部になります)。 string
clusterSubnetType クラスター サブネットの種類。 'MultiSubnet'
'SingleSubnet'
domainFqdn ドメインの完全修飾名。 string
fileShareWitnessPath ファイル共有監視の省略可能なパス。 string
ouPath ノードとクラスターが存在する組織単位のパス。 string
sqlServiceAccount クラスター内のすべての参加している SQL 仮想マシンで SQL サービスが実行されるアカウント名。 string
storageAccountPrimaryKey ミラーリング監視ストレージ アカウントの主キー。 string
storageAccountUrl ミラーリング監視ストレージ アカウントの完全修飾 ARM リソース ID。 string

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
既存の SQL Virtual Machinesを使用して SQL Always ON セットアップをデプロイする

Azure へのデプロイ
既存の SQL Virtual Machinesを使用して SQL Always ON セットアップをデプロイします。 仮想マシンは既に既存のドメインに参加している必要があり、エンタープライズ バージョンのSQL Serverを実行している必要があります。

Terraform (AzAPI プロバイダー) リソース定義

sqlVirtualMachineGroups リソースの種類は、次の対象にデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups@2022-07-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      sqlImageOffer = "string"
      sqlImageSku = "string"
      wsfcDomainProfile = {
        clusterBootstrapAccount = "string"
        clusterOperatorAccount = "string"
        clusterSubnetType = "string"
        domainFqdn = "string"
        fileShareWitnessPath = "string"
        ouPath = "string"
        sqlServiceAccount = "string"
        storageAccountPrimaryKey = "string"
        storageAccountUrl = "string"
      }
    }
  })
}

プロパティの値

sqlVirtualMachineGroups

名前 説明
type リソースの種類 "Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups@2022-07-01-preview"
name リソース名 string (必須)
location リソースの場所。 string (必須)
parent_id リソース グループにデプロイするには、そのリソース グループの ID を使用します。 string (必須)
tags リソース タグ。 タグの名前と値のディクショナリ。
properties リソースのプロパティ。 SqlVirtualMachineGroupProperties

SqlVirtualMachineGroupProperties

名前 説明
sqlImageOffer SQL イメージ オファー。 例としては、SQL2016-WS2016、SQL2017-WS2016 などがあります。 string
sqlImageSku SQL イメージ SKU。 "Developer"
"エンタープライズ"
wsfcDomainProfile クラスター Active Directory ドメイン プロファイル。 WsfcDomainProfile

WsfcDomainProfile

名前 説明
clusterBootstrapAccount クラスターの作成に使用されるアカウント名 (少なくとも、ドメイン内の "コンピューター オブジェクトの作成" に対するアクセス許可が必要です)。 string
clusterOperatorAccount クラスターの運用に使用されるアカウント名 (つまり、クラスター内のすべての参加している仮想マシンの管理者グループの一部になります)。 string
clusterSubnetType クラスター サブネットの種類。 "MultiSubnet"
"SingleSubnet"
domainFqdn ドメインの完全修飾名。 string
fileShareWitnessPath ファイル共有監視の省略可能なパス。 string
ouPath ノードとクラスターが存在する組織単位のパス。 string
sqlServiceAccount クラスター内のすべての参加している SQL 仮想マシンで SQL サービスが実行されるアカウント名。 string
storageAccountPrimaryKey ミラーリング監視ストレージ アカウントの主キー。 string
storageAccountUrl ミラーリング監視ストレージ アカウントの完全修飾 ARM リソース ID。 string