Microsoft.HealthBot healthBots 2020-10-20-預覽版

Bicep 資源定義

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

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

使用範例

Bicep 範例

部署 Healthbot 服務的基本範例。

param location string = 'westeurope'
param resourceName string = 'acctest0001'

resource healthBot 'Microsoft.HealthBot/healthBots@2022-08-08' = {
  name: resourceName
  location: location
  sku: {
    name: 'F0'
  }
}

Azure 已驗證的模組

下列 Azure 驗證模組 可用來部署此資源類型。

模組 描述
Azure Health 機器人 適用於 Azure Health Bot 的 AVM 資源模組

資源格式

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

resource symbolicname 'Microsoft.HealthBot/healthBots@2020-10-20-preview' = {
  location: 'string'
  name: 'string'
  properties: {}
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.HealthBot/healthBots

名字 描述 價值
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 2
最大長度 = 64
模式 = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (必要)
性能 醫療保健 Bot 資源專屬的屬性集。 HealthBotProperties
SKU HealthBot 的SKU。 SKU
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

HealthBotProperties

名字 描述 價值

SKU

名字 描述 價值
容量 如果 SKU 支援相應放大/縮小,則應該包含容量整數。 如果資源無法相應放大/縮小,可能會省略此專案。 整數 (int)
家庭 如果服務有不同世代的硬體,針對相同的 SKU,則可以在這裡擷取。 字串
名字 HealthBot SKU 的名稱 'F0'
'S1' (必要)
大小 SKU 大小。 當名稱欄位是階層和其他一些值的組合時,這會是獨立程序代碼。 字串
分層 如果服務有一個以上的層級,但 PUT 上不需要此欄位,則資源提供者必須實作此字段。 “免費”
“標準”

TrackedResourceTags

名字 描述 價值

ARM 樣本資源定義

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

使用範例

資源格式

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

{
  "type": "Microsoft.HealthBot/healthBots",
  "apiVersion": "2020-10-20-preview",
  "name": "string",
  "location": "string",
  "properties": {
  },
  "sku": {
    "capacity": "int",
    "family": "string",
    "name": "string",
    "size": "string",
    "tier": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.HealthBot/healthBots

名字 描述 價值
apiVersion API 版本 “2020-10-20-預覽版”
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 2
最大長度 = 64
模式 = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (必要)
性能 醫療保健 Bot 資源專屬的屬性集。 HealthBotProperties
SKU HealthBot 的SKU。 SKU
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 “Microsoft.HealthBot/healthBots”

HealthBotProperties

名字 描述 價值

SKU

名字 描述 價值
容量 如果 SKU 支援相應放大/縮小,則應該包含容量整數。 如果資源無法相應放大/縮小,可能會省略此專案。 整數 (int)
家庭 如果服務有不同世代的硬體,針對相同的 SKU,則可以在這裡擷取。 字串
名字 HealthBot SKU 的名稱 'F0'
'S1' (必要)
大小 SKU 大小。 當名稱欄位是階層和其他一些值的組合時,這會是獨立程序代碼。 字串
分層 如果服務有一個以上的層級,但 PUT 上不需要此欄位,則資源提供者必須實作此字段。 “免費”
“標準”

TrackedResourceTags

名字 描述 價值

Terraform (AzAPI 提供者) 資源定義

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

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

使用範例

Terraform 範例

部署 Healthbot 服務的基本範例。

terraform {
  required_providers {
    azapi = {
      source = "Azure/azapi"
    }
  }
}

provider "azapi" {
  skip_provider_registration = false
}

variable "resource_name" {
  type    = string
  default = "acctest0001"
}

variable "location" {
  type    = string
  default = "westeurope"
}

resource "azapi_resource" "resourceGroup" {
  type     = "Microsoft.Resources/resourceGroups@2020-06-01"
  name     = var.resource_name
  location = var.location
}

resource "azapi_resource" "healthBot" {
  type      = "Microsoft.HealthBot/healthBots@2022-08-08"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    sku = {
      name = "F0"
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.HealthBot/healthBots@2020-10-20-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
    }
    sku = {
      capacity = int
      family = "string"
      name = "string"
      size = "string"
      tier = "string"
    }
  }
}

屬性值

Microsoft.HealthBot/healthBots

名字 描述 價值
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 2
最大長度 = 64
模式 = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (必要)
性能 醫療保健 Bot 資源專屬的屬性集。 HealthBotProperties
SKU HealthBot 的SKU。 SKU
標籤 資源標籤 標記名稱和值的字典。
型別 資源類型 “Microsoft.HealthBot/healthBots@2020-10-20-preview”

HealthBotProperties

名字 描述 價值

SKU

名字 描述 價值
容量 如果 SKU 支援相應放大/縮小,則應該包含容量整數。 如果資源無法相應放大/縮小,可能會省略此專案。 整數 (int)
家庭 如果服務有不同世代的硬體,針對相同的 SKU,則可以在這裡擷取。 字串
名字 HealthBot SKU 的名稱 'F0'
'S1' (必要)
大小 SKU 大小。 當名稱欄位是階層和其他一些值的組合時,這會是獨立程序代碼。 字串
分層 如果服務有一個以上的層級,但 PUT 上不需要此欄位,則資源提供者必須實作此字段。 “免費”
“標準”

TrackedResourceTags

名字 描述 價值