Microsoft.OperationalInsights 叢集 2021-06-01

Bicep 資源定義

叢集資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.OperationalInsights/clusters 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.OperationalInsights/clusters@2021-06-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    capacity: int
    name: 'CapacityReservation'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  properties: {
    associatedWorkspaces: [
      {
      }
    ]
    billingType: 'string'
    capacityReservationProperties: {}
    isAvailabilityZonesEnabled: bool
    isDoubleEncryptionEnabled: bool
    keyVaultProperties: {
      keyName: 'string'
      keyRsaSize: int
      keyVaultUri: 'string'
      keyVersion: 'string'
    }
  }
}

屬性值

集群

名字 描述 價值
名字 資源名稱 字串 (必要)

字元限制:4-63

合法字元:
英數位元和連字元。

以英數位元開頭和結尾。
位置 資源所在的地理位置 字串 (必要)
標籤 資源標籤。 標記名稱和值的字典。 請參閱範本中的 標籤
sku SKU 屬性。 ClusterSku
身份 資源的身分識別。 身分識別
性能 Log Analytics 叢集屬性。 ClusterProperties

身份

名字 描述 價值
類型 受控服務識別的類型。 'None'
'SystemAssigned'
'UserAssigned' (必要)
userAssignedIdentities 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 IdentityUserAssignedIdentities

IdentityUserAssignedIdentities

名字 描述 價值
{自定義屬性} UserIdentityProperties

UserIdentityProperties

此物件不包含在部署期間設定的任何屬性。 所有屬性都是 ReadOnly。

ClusterProperties

名字 描述 價值
associatedWorkspaces 與叢集相關聯的Log Analytics工作區清單 AssociatedWorkspace[]
billingType 叢集的計費類型。 'Cluster'
'Workspaces'
capacityReservationProperties 容量保留的其他屬性 CapacityReservationProperties
isAvailabilityZonesEnabled 設定叢集是否支援可用性區域。 這隻能在 Azure 資料總管支援可用性區域的區域中設定為 true。 建立叢集之後,就無法修改這個屬性。 如果區域支援可用性區域,預設值為 'true'。 bool
isDoubleEncryptionEnabled 設定叢集是否會使用雙重加密。 建立叢集之後,就無法修改這個屬性。 默認值為 'true' bool
keyVaultProperties 相關聯的索引鍵屬性。 KeyVaultProperties

AssociatedWorkspace

此物件不包含在部署期間設定的任何屬性。 所有屬性都是 ReadOnly。

CapacityReservationProperties

此物件不包含在部署期間設定的任何屬性。 所有屬性都是 ReadOnly。

KeyVaultProperties

名字 描述 價值
keyName 與 Log Analytics 叢集相關聯的金鑰名稱。 字串
keyRsaSize 選取的金鑰大小下限。 int
keyVaultUri 保存與 Log Analytics 叢集相關聯的金鑰保存庫 URI。 字串
keyVersion 與 Log Analytics 叢集相關聯的金鑰版本。 字串

ClusterSku

名字 描述 價值
能力 容量值 int
名字 SKU 的名稱。 'CapacityReservation'

ARM 樣本資源定義

叢集資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.OperationalInsights/clusters 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.OperationalInsights/clusters",
  "apiVersion": "2021-06-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "capacity": "int",
    "name": "CapacityReservation"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {}
    }
  },
  "properties": {
    "associatedWorkspaces": [
      {
      }
    ],
    "billingType": "string",
    "capacityReservationProperties": {},
    "isAvailabilityZonesEnabled": "bool",
    "isDoubleEncryptionEnabled": "bool",
    "keyVaultProperties": {
      "keyName": "string",
      "keyRsaSize": "int",
      "keyVaultUri": "string",
      "keyVersion": "string"
    }
  }
}

屬性值

集群

名字 描述 價值
類型 資源類型 'Microsoft.OperationalInsights/clusters'
apiVersion 資源 API 版本 '2021-06-01'
名字 資源名稱 字串 (必要)

字元限制:4-63

合法字元:
英數位元和連字元。

以英數位元開頭和結尾。
位置 資源所在的地理位置 字串 (必要)
標籤 資源標籤。 標記名稱和值的字典。 請參閱範本中的 標籤
sku SKU 屬性。 ClusterSku
身份 資源的身分識別。 身分識別
性能 Log Analytics 叢集屬性。 ClusterProperties

身份

名字 描述 價值
類型 受控服務識別的類型。 'None'
'SystemAssigned'
'UserAssigned' (必要)
userAssignedIdentities 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 IdentityUserAssignedIdentities

IdentityUserAssignedIdentities

名字 描述 價值
{自定義屬性} UserIdentityProperties

UserIdentityProperties

此物件不包含在部署期間設定的任何屬性。 所有屬性都是 ReadOnly。

ClusterProperties

名字 描述 價值
associatedWorkspaces 與叢集相關聯的Log Analytics工作區清單 AssociatedWorkspace[]
billingType 叢集的計費類型。 'Cluster'
'Workspaces'
capacityReservationProperties 容量保留的其他屬性 CapacityReservationProperties
isAvailabilityZonesEnabled 設定叢集是否支援可用性區域。 這隻能在 Azure 資料總管支援可用性區域的區域中設定為 true。 建立叢集之後,就無法修改這個屬性。 如果區域支援可用性區域,預設值為 'true'。 bool
isDoubleEncryptionEnabled 設定叢集是否會使用雙重加密。 建立叢集之後,就無法修改這個屬性。 默認值為 'true' bool
keyVaultProperties 相關聯的索引鍵屬性。 KeyVaultProperties

AssociatedWorkspace

此物件不包含在部署期間設定的任何屬性。 所有屬性都是 ReadOnly。

CapacityReservationProperties

此物件不包含在部署期間設定的任何屬性。 所有屬性都是 ReadOnly。

KeyVaultProperties

名字 描述 價值
keyName 與 Log Analytics 叢集相關聯的金鑰名稱。 字串
keyRsaSize 選取的金鑰大小下限。 int
keyVaultUri 保存與 Log Analytics 叢集相關聯的金鑰保存庫 URI。 字串
keyVersion 與 Log Analytics 叢集相關聯的金鑰版本。 字串

ClusterSku

名字 描述 價值
能力 容量值 int
名字 SKU 的名稱。 'CapacityReservation'

Terraform (AzAPI 提供者) 資源定義

叢集資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.OperationalInsights/clusters 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.OperationalInsights/clusters@2021-06-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      associatedWorkspaces = [
        {
        }
      ]
      billingType = "string"
      capacityReservationProperties = {}
      isAvailabilityZonesEnabled = bool
      isDoubleEncryptionEnabled = bool
      keyVaultProperties = {
        keyName = "string"
        keyRsaSize = int
        keyVaultUri = "string"
        keyVersion = "string"
      }
    }
    sku = {
      capacity = int
      name = "CapacityReservation"
    }
  })
}

屬性值

集群

名字 描述 價值
類型 資源類型 “Microsoft.OperationalInsights/clusters@2021-06-01”
名字 資源名稱 字串 (必要)

字元限制:4-63

合法字元:
英數位元和連字元。

以英數位元開頭和結尾。
位置 資源所在的地理位置 字串 (必要)
parent_id 若要部署至資源群組,請使用該資源群組的標識碼。 字串 (必要)
標籤 資源標籤。 標記名稱和值的字典。
sku SKU 屬性。 ClusterSku
身份 資源的身分識別。 身分識別
性能 Log Analytics 叢集屬性。 ClusterProperties

身份

名字 描述 價值
類型 受控服務識別的類型。 “SystemAssigned”
“UserAssigned” (必要)
identity_ids 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 使用者身分識別標識碼的陣列。

IdentityUserAssignedIdentities

名字 描述 價值
{自定義屬性} UserIdentityProperties

UserIdentityProperties

此物件不包含在部署期間設定的任何屬性。 所有屬性都是 ReadOnly。

ClusterProperties

名字 描述 價值
associatedWorkspaces 與叢集相關聯的Log Analytics工作區清單 AssociatedWorkspace[]
billingType 叢集的計費類型。 “Cluster”
“Workspaces”
capacityReservationProperties 容量保留的其他屬性 CapacityReservationProperties
isAvailabilityZonesEnabled 設定叢集是否支援可用性區域。 這隻能在 Azure 資料總管支援可用性區域的區域中設定為 true。 建立叢集之後,就無法修改這個屬性。 如果區域支援可用性區域,預設值為 'true'。 bool
isDoubleEncryptionEnabled 設定叢集是否會使用雙重加密。 建立叢集之後,就無法修改這個屬性。 默認值為 'true' bool
keyVaultProperties 相關聯的索引鍵屬性。 KeyVaultProperties

AssociatedWorkspace

此物件不包含在部署期間設定的任何屬性。 所有屬性都是 ReadOnly。

CapacityReservationProperties

此物件不包含在部署期間設定的任何屬性。 所有屬性都是 ReadOnly。

KeyVaultProperties

名字 描述 價值
keyName 與 Log Analytics 叢集相關聯的金鑰名稱。 字串
keyRsaSize 選取的金鑰大小下限。 int
keyVaultUri 保存與 Log Analytics 叢集相關聯的金鑰保存庫 URI。 字串
keyVersion 與 Log Analytics 叢集相關聯的金鑰版本。 字串

ClusterSku

名字 描述 價值
能力 容量值 int
名字 SKU 的名稱。 “CapacityReservation”