Microsoft.MachineLearningServices 工作區/功能集/版本

Bicep 資源定義

工作區/功能集/版本資源類型可以使用目標作業來部署:

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

資源格式

若要建立 Microsoft.MachineLearningServices/workspaces/featuresets/versions 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/featuresets/versions@2024-07-01-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    description: 'string'
    entities: [
      'string'
    ]
    isAnonymous: bool
    isArchived: bool
    materializationSettings: {
      notification: {
        emailOn: [
          'string'
        ]
        emails: [
          'string'
        ]
        webhooks: {
          {customized property}: {
            eventType: 'string'
            webhookType: 'string'
            // For remaining properties, see Webhook objects
          }
        }
      }
      resource: {
        instanceType: 'string'
      }
      schedule: {
        endTime: 'string'
        frequency: 'string'
        interval: int
        schedule: {
          hours: [
            int
          ]
          minutes: [
            int
          ]
          monthDays: [
            int
          ]
          weekDays: [
            'string'
          ]
        }
        startTime: 'string'
        timeZone: 'string'
        triggerType: 'string'
      }
      sparkConfiguration: {
        {customized property}: 'string'
      }
      storeType: 'string'
    }
    properties: {
      {customized property}: 'string'
    }
    specification: {
      path: 'string'
    }
    stage: 'string'
    tags: {}
  }
}

Webhook 物件

設定 webhookType 屬性,以指定對象的類型。

針對 AzureDevOps,請使用:

  webhookType: 'AzureDevOps'

屬性值

workspaces/featuresets/versions

名字 描述 價值
名字 資源名稱

請參閱如何在 Bicep 中設定子資源的名稱和類型。
字串 (必要)
父母 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型的資源符號名稱:功能集
性能 [必要]實體的其他屬性。 FeaturesetVersionProperties (必要)

FeaturesetVersionProperties

名字 描述 價值
描述 資產描述文字。 字串
實體 指定實體清單 string[]
isAnonymous 如果名稱版本是系統產生的 (匿名註冊)。 bool
isArchived 資產是否已封存? bool
materializationSettings 指定具體化設定 MaterializationSettings
性能 資產屬性字典。 ResourceBaseProperties
規範 指定功能規格詳細數據 FeaturesetSpecification
階段 指定資產階段 字串
標籤 標記字典。 標記可以新增、移除和更新。 物件

MaterializationSettings

名字 描述 價值
通知 指定通知詳細數據 NotificationSetting
資源 指定計算資源設定 MaterializationComputeResource
附表 指定排程詳細數據 RecurrenceTrigger
sparkConfiguration 指定 Spark 計算設定 MaterializationSettingsSparkConfiguration
storeType 指定應該進行具體化的存放區 'None'
'Offline'
'Online'
'OnlineAndOffline'

NotificationSetting

名字 描述 價值
emailOn 在指定的通知類型上傳送電子郵件通知給使用者 包含任何的字串數組:
'JobCancelled'
'JobCompleted'
'JobFailed'
電子郵件 這是電子郵件收件者清單,其總限製為499個字元,且具有逗號分隔符 string[]
webhook 將 Webhook 回呼傳送至服務。 機碼是 Webhook 的使用者提供名稱。 NotificationSettingWebhooks

NotificationSettingWebhooks

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

Webhook

名字 描述 價值
eventType 在指定的通知事件上傳送回呼 字串
webhookType 設定物件類型 AzureDevOps (必要)

AzureDevOpsWebhook

名字 描述 價值
webhookType [必要]指定要傳送回呼的服務類型 'AzureDevOps' (必要)

MaterializationComputeResource

名字 描述 價值
instanceType 指定實例類型 字串

RecurrenceTrigger

名字 描述 價值
endTime 指定 ISO 8601 中的排程結束時間,但不含 UTC 位移。 請參閱 https://en.wikipedia.org/wiki/ISO_8601.
重新批注的格式會是 “2022-06-01T00:00:01”
如果沒有,排程將會無限期執行
字串
頻率 [必要]觸發排程的頻率。 'Day'
'Hour'
'Minute'
'Month'
'Week' (必要)
間隔 [必要]指定排程間隔與頻率 int (必要)
附表 週期排程。 RecurrenceSchedule
startTime 以 ISO 8601 格式指定排程的開始時間,但不含 UTC 位移。 字串
timeZone 指定排程執行所在的時區。
TimeZone應遵循 Windows 時區格式。 請參閱:/windows-hardware/manufacture/desktop/default-time-zones
字串
triggerType [必要] 'Cron'
'週期' (必要)

RecurrenceSchedule

名字 描述 價值
小時 [必要]排程的時數清單。 int[] (必要)
紀要 [必要]排程的分鐘數清單。 int[] (必要)
monthDays 排程的月份天數清單 int[]
平日 排程的天數清單。 包含任何的字串數組:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'

MaterializationSettingsSparkConfiguration

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

ResourceBaseProperties

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

FeaturesetSpecification

名字 描述 價值
路徑 指定規格路徑 字串

ARM 樣本資源定義

工作區/功能集/版本資源類型可以使用目標作業來部署:

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

資源格式

若要建立 Microsoft.MachineLearningServices/workspaces/featuresets/versions 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.MachineLearningServices/workspaces/featuresets/versions",
  "apiVersion": "2024-07-01-preview",
  "name": "string",
  "properties": {
    "description": "string",
    "entities": [ "string" ],
    "isAnonymous": "bool",
    "isArchived": "bool",
    "materializationSettings": {
      "notification": {
        "emailOn": [ "string" ],
        "emails": [ "string" ],
        "webhooks": {
          "{customized property}": {
            "eventType": "string",
            "webhookType": "string"
            // For remaining properties, see Webhook objects
          }
        }
      },
      "resource": {
        "instanceType": "string"
      },
      "schedule": {
        "endTime": "string",
        "frequency": "string",
        "interval": "int",
        "schedule": {
          "hours": [ "int" ],
          "minutes": [ "int" ],
          "monthDays": [ "int" ],
          "weekDays": [ "string" ]
        },
        "startTime": "string",
        "timeZone": "string",
        "triggerType": "string"
      },
      "sparkConfiguration": {
        "{customized property}": "string"
      },
      "storeType": "string"
    },
    "properties": {
      "{customized property}": "string"
    },
    "specification": {
      "path": "string"
    },
    "stage": "string",
    "tags": {}
  }
}

Webhook 物件

設定 webhookType 屬性,以指定對象的類型。

針對 AzureDevOps,請使用:

  "webhookType": "AzureDevOps"

屬性值

workspaces/featuresets/versions

名字 描述 價值
類型 資源類型 'Microsoft.MachineLearningServices/workspaces/featuresets/versions'
apiVersion 資源 API 版本 '2024-07-01-preview'
名字 資源名稱

請參閱如何在JSON ARM 範本中設定子資源的名稱和類型。
字串 (必要)
性能 [必要]實體的其他屬性。 FeaturesetVersionProperties (必要)

FeaturesetVersionProperties

名字 描述 價值
描述 資產描述文字。 字串
實體 指定實體清單 string[]
isAnonymous 如果名稱版本是系統產生的 (匿名註冊)。 bool
isArchived 資產是否已封存? bool
materializationSettings 指定具體化設定 MaterializationSettings
性能 資產屬性字典。 ResourceBaseProperties
規範 指定功能規格詳細數據 FeaturesetSpecification
階段 指定資產階段 字串
標籤 標記字典。 標記可以新增、移除和更新。 物件

MaterializationSettings

名字 描述 價值
通知 指定通知詳細數據 NotificationSetting
資源 指定計算資源設定 MaterializationComputeResource
附表 指定排程詳細數據 RecurrenceTrigger
sparkConfiguration 指定 Spark 計算設定 MaterializationSettingsSparkConfiguration
storeType 指定應該進行具體化的存放區 'None'
'Offline'
'Online'
'OnlineAndOffline'

NotificationSetting

名字 描述 價值
emailOn 在指定的通知類型上傳送電子郵件通知給使用者 包含任何的字串數組:
'JobCancelled'
'JobCompleted'
'JobFailed'
電子郵件 這是電子郵件收件者清單,其總限製為499個字元,且具有逗號分隔符 string[]
webhook 將 Webhook 回呼傳送至服務。 機碼是 Webhook 的使用者提供名稱。 NotificationSettingWebhooks

NotificationSettingWebhooks

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

Webhook

名字 描述 價值
eventType 在指定的通知事件上傳送回呼 字串
webhookType 設定物件類型 AzureDevOps (必要)

AzureDevOpsWebhook

名字 描述 價值
webhookType [必要]指定要傳送回呼的服務類型 'AzureDevOps' (必要)

MaterializationComputeResource

名字 描述 價值
instanceType 指定實例類型 字串

RecurrenceTrigger

名字 描述 價值
endTime 指定 ISO 8601 中的排程結束時間,但不含 UTC 位移。 請參閱 https://en.wikipedia.org/wiki/ISO_8601.
重新批注的格式會是 “2022-06-01T00:00:01”
如果沒有,排程將會無限期執行
字串
頻率 [必要]觸發排程的頻率。 'Day'
'Hour'
'Minute'
'Month'
'Week' (必要)
間隔 [必要]指定排程間隔與頻率 int (必要)
附表 週期排程。 RecurrenceSchedule
startTime 以 ISO 8601 格式指定排程的開始時間,但不含 UTC 位移。 字串
timeZone 指定排程執行所在的時區。
TimeZone應遵循 Windows 時區格式。 請參閱:/windows-hardware/manufacture/desktop/default-time-zones
字串
triggerType [必要] 'Cron'
'週期' (必要)

RecurrenceSchedule

名字 描述 價值
小時 [必要]排程的時數清單。 int[] (必要)
紀要 [必要]排程的分鐘數清單。 int[] (必要)
monthDays 排程的月份天數清單 int[]
平日 排程的天數清單。 包含任何的字串數組:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'

MaterializationSettingsSparkConfiguration

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

ResourceBaseProperties

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

FeaturesetSpecification

名字 描述 價值
路徑 指定規格路徑 字串

Terraform (AzAPI 提供者) 資源定義

工作區/功能集/版本資源類型可以使用目標作業來部署:

  • 資源群組

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

資源格式

若要建立 Microsoft.MachineLearningServices/workspaces/featuresets/versions 資源,請將下列 Terraform 新增至您的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/featuresets/versions@2024-07-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      description = "string"
      entities = [
        "string"
      ]
      isAnonymous = bool
      isArchived = bool
      materializationSettings = {
        notification = {
          emailOn = [
            "string"
          ]
          emails = [
            "string"
          ]
          webhooks = {
            {customized property} = {
              eventType = "string"
              webhookType = "string"
              // For remaining properties, see Webhook objects
            }
          }
        }
        resource = {
          instanceType = "string"
        }
        schedule = {
          endTime = "string"
          frequency = "string"
          interval = int
          schedule = {
            hours = [
              int
            ]
            minutes = [
              int
            ]
            monthDays = [
              int
            ]
            weekDays = [
              "string"
            ]
          }
          startTime = "string"
          timeZone = "string"
          triggerType = "string"
        }
        sparkConfiguration = {
          {customized property} = "string"
        }
        storeType = "string"
      }
      properties = {
        {customized property} = "string"
      }
      specification = {
        path = "string"
      }
      stage = "string"
      tags = {}
    }
  })
}

Webhook 物件

設定 webhookType 屬性,以指定對象的類型。

針對 AzureDevOps,請使用:

  webhookType = "AzureDevOps"

屬性值

workspaces/featuresets/versions

名字 描述 價值
類型 資源類型 “Microsoft.MachineLearningServices/workspaces/featuresets/versions@2024-07-01-preview”
名字 資源名稱 字串 (必要)
parent_id 此資源為父系之資源的標識碼。 類型的資源標識碼:功能集
性能 [必要]實體的其他屬性。 FeaturesetVersionProperties (必要)

FeaturesetVersionProperties

名字 描述 價值
描述 資產描述文字。 字串
實體 指定實體清單 string[]
isAnonymous 如果名稱版本是系統產生的 (匿名註冊)。 bool
isArchived 資產是否已封存? bool
materializationSettings 指定具體化設定 MaterializationSettings
性能 資產屬性字典。 ResourceBaseProperties
規範 指定功能規格詳細數據 FeaturesetSpecification
階段 指定資產階段 字串
標籤 標記字典。 標記可以新增、移除和更新。 物件

MaterializationSettings

名字 描述 價值
通知 指定通知詳細數據 NotificationSetting
資源 指定計算資源設定 MaterializationComputeResource
附表 指定排程詳細數據 RecurrenceTrigger
sparkConfiguration 指定 Spark 計算設定 MaterializationSettingsSparkConfiguration
storeType 指定應該進行具體化的存放區 “None”
“脫機”
“Online”
“OnlineAndOffline”

NotificationSetting

名字 描述 價值
emailOn 在指定的通知類型上傳送電子郵件通知給使用者 包含任何的字串數組:
“JobCancelled”
“JobCompleted”
“JobFailed”
電子郵件 這是電子郵件收件者清單,其總限製為499個字元,且具有逗號分隔符 string[]
webhook 將 Webhook 回呼傳送至服務。 機碼是 Webhook 的使用者提供名稱。 NotificationSettingWebhooks

NotificationSettingWebhooks

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

Webhook

名字 描述 價值
eventType 在指定的通知事件上傳送回呼 字串
webhookType 設定物件類型 AzureDevOps (必要)

AzureDevOpsWebhook

名字 描述 價值
webhookType [必要]指定要傳送回呼的服務類型 “AzureDevOps” (必要)

MaterializationComputeResource

名字 描述 價值
instanceType 指定實例類型 字串

RecurrenceTrigger

名字 描述 價值
endTime 指定 ISO 8601 中的排程結束時間,但不含 UTC 位移。 請參閱 https://en.wikipedia.org/wiki/ISO_8601.
重新批注的格式會是 “2022-06-01T00:00:01”
如果沒有,排程將會無限期執行
字串
頻率 [必要]觸發排程的頻率。 “Day”
“Hour”
“Minute”
“Month”
“Week” (必要)
間隔 [必要]指定排程間隔與頻率 int (必要)
附表 週期排程。 RecurrenceSchedule
startTime 以 ISO 8601 格式指定排程的開始時間,但不含 UTC 位移。 字串
timeZone 指定排程執行所在的時區。
TimeZone應遵循 Windows 時區格式。 請參閱:/windows-hardware/manufacture/desktop/default-time-zones
字串
triggerType [必要] “Cron”
“週期” (必要)

RecurrenceSchedule

名字 描述 價值
小時 [必要]排程的時數清單。 int[] (必要)
紀要 [必要]排程的分鐘數清單。 int[] (必要)
monthDays 排程的月份天數清單 int[]
平日 排程的天數清單。 包含任何的字串數組:
“Friday”
“Monday”
“Saturday”
“星期日”
“Thursday”
“Tuesday”
“星期三”

MaterializationSettingsSparkConfiguration

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

ResourceBaseProperties

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

FeaturesetSpecification

名字 描述 價值
路徑 指定規格路徑 字串