Microsoft.MachineLearningServices 工作區 2020-05-15-preview

Bicep 資源定義

工作區資源類型可以部署到:

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

資源格式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces@2020-05-15-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    name: 'string'
    tier: 'string'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {}
  }
  properties: {
    allowPublicAccessWhenBehindVnet: bool
    applicationInsights: 'string'
    containerRegistry: 'string'
    description: 'string'
    discoveryUrl: 'string'
    encryption: {
      keyVaultProperties: {
        identityClientId: 'string'
        keyIdentifier: 'string'
        keyVaultArmId: 'string'
      }
      status: 'string'
    }
    friendlyName: 'string'
    hbiWorkspace: bool
    imageBuildCompute: 'string'
    keyVault: 'string'
    sharedPrivateLinkResources: [
      {
        name: 'string'
        properties: {
          groupId: 'string'
          privateLinkResourceId: 'string'
          requestMessage: 'string'
          status: 'string'
        }
      }
    ]
    storageAccount: 'string'
  }
}

屬性值

workspaces

名稱 描述
NAME 資源名稱 需要字串 ()

字元限制:3-33

有效字元:
英數字元和連字號。
location 指定資源的位置。 字串
tags 包含定義為索引鍵/值組的資源標記。 標記名稱和值的字典。 請參閱 範本中的標籤
sku 工作區的 SKU。 Sku
身分識別 資源的身分識別。 身分識別
properties 機器學習工作區的屬性。 WorkspaceProperties

Identity

名称 描述
類型 識別類型。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'
userAssignedIdentities 與資源相關聯的使用者指派身分識別。 object

WorkspaceProperties

名稱 描述
allowPublicAccessWhenBehindVnet 旗標,指出是否要在 VNet 後方允許公用存取。 bool
applicationInsights 與此工作區相關聯的 Application Insights ARM 識別碼。 建立工作區之後,就無法變更此專案 字串
containerRegistry 與此工作區相關聯的容器登錄 ARM 識別碼。 建立工作區之後,就無法變更此專案 字串
description 此工作區的描述。 字串
discoveryUrl 探索服務的 URL,用來識別機器學習測試服務的區域端點 字串
加密 Azure ML 工作區的加密設定。 EncryptionProperty
friendlyName 此工作區的易記名稱。 這個名稱在可變中 字串
hbiWorkspace 指示工作區中 HBI 資料的旗標,並減少服務所收集的診斷資料 bool
imageBuildCompute 映射組建的計算名稱 字串
keyVault 與此工作區相關聯的金鑰保存庫 ARM 識別碼。 建立工作區之後,就無法變更此專案 字串
sharedPrivateLinkResources 此工作區中的共用私人連結資源清單。 SharedPrivateLinkResource[]
storageAccount 與此工作區相關聯的儲存體帳戶 ARM 識別碼。 建立工作區之後,就無法變更此專案 字串

EncryptionProperty

名稱 描述
keyVaultProperties 客戶金鑰保存庫屬性。 KeyVaultProperties (必要)
status 指出是否為工作區啟用加密。 'Disabled'
必要) ('Enabled'

KeyVaultProperties

名稱 描述
identityClientId 未來使用 - 將用來存取金鑰保存庫之身分識別的用戶端識別碼。 字串
keyIdentifier 用來存取加密金鑰的金鑰保存庫 URI。 字串 (必要)
keyVaultArmId 客戶擁有加密金鑰所在之 keyVault 的 ArmId。 字串 (必要)

SharedPrivateLinkResource

名稱 描述
NAME 私人連結的唯一名稱。 字串
properties 資源屬性。 SharedPrivateLinkResourceProperty

SharedPrivateLinkResourceProperty

名稱 描述
groupId 私人連結資源群組識別碼。 string
privateLinkResourceId 私人連結所連結的資源識別碼。 字串
requestMessage 要求訊息。 字串
status 指出連線是否已由服務的擁有者核准/拒絕/移除。 「已核准」
'Disconnected'
'Pending'
「已拒絕」
'Timeout'

SKU

名稱 描述
NAME SKU 的名稱 string
tier 基本或企業等 SKU 層 字串

快速入門範本

下列快速入門範本會部署此資源類型。

[範本] 描述
Azure Machine Learning 工作區

部署至 Azure
此範本會建立新的 Azure Machine Learning 工作區,以及加密的儲存體帳戶、KeyVault 和 Applications Insights 記錄
建立具有多個資料集資料存放區的 & AML 工作區

部署至 Azure
此範本會建立具有多個資料集資料存放區的 & Azure Machine Learning 工作區。
Azure Machine Learning 端對端安全設定

部署至 Azure
這組 Bicep 範本示範如何在安全設定中設定 Azure Machine Learning 端對端。 此參考實作包括工作區、計算叢集、計算實例和連結的私人 AKS 叢集。
Azure Machine Learning 端對端安全設定 (舊版)

部署至 Azure
這組 Bicep 範本示範如何在安全設定中端對端設定 Azure Machine Learning。 此參考實作包括 Workspace、計算叢集、計算實例和附加的私人 AKS 叢集。
使用私人 IP 位址建立 AKS 計算目標

部署至 Azure
此範本會在具有私人 IP 位址的指定 Azure Machine Learning 服務工作區中建立 AKS 計算目標。
建立 Azure Machine Learning 服務工作區

部署至 Azure
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述開始使用 Azure Machine Learning 所需的最少資源集。
(CMK) 建立 Azure Machine Learning 服務工作區

部署至 Azure
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此範例示範如何設定 Azure Machine Learning 以使用客戶管理的加密金鑰進行加密。
(vnet) 建立 Azure Machine Learning 服務工作區

部署至 Azure
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述在網路隔離設定中開始使用 Azure Machine Learning 所需的一組資源。
(舊版) 建立 Azure Machine Learning 服務工作區

部署至 Azure
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述在網路隔離設定中開始使用 Azure Machine Learning 所需的一組資源。

ARM 範本資源定義

工作區資源類型可以部署到:

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

資源格式

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

{
  "type": "Microsoft.MachineLearningServices/workspaces",
  "apiVersion": "2020-05-15-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "name": "string",
    "tier": "string"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {}
  },
  "properties": {
    "allowPublicAccessWhenBehindVnet": "bool",
    "applicationInsights": "string",
    "containerRegistry": "string",
    "description": "string",
    "discoveryUrl": "string",
    "encryption": {
      "keyVaultProperties": {
        "identityClientId": "string",
        "keyIdentifier": "string",
        "keyVaultArmId": "string"
      },
      "status": "string"
    },
    "friendlyName": "string",
    "hbiWorkspace": "bool",
    "imageBuildCompute": "string",
    "keyVault": "string",
    "sharedPrivateLinkResources": [
      {
        "name": "string",
        "properties": {
          "groupId": "string",
          "privateLinkResourceId": "string",
          "requestMessage": "string",
          "status": "string"
        }
      }
    ],
    "storageAccount": "string"
  }
}

屬性值

workspaces

名稱 描述
類型 資源類型 'Microsoft.MachineLearningServices/workspaces'
apiVersion 資源 API 版本 '2020-05-15-preview'
NAME 資源名稱 需要字串 ()

字元限制:3-33

有效字元:
英數字元和連字號。
location 指定資源的位置。 字串
tags 包含定義為索引鍵/值組的資源標記。 標記名稱和值的字典。 請參閱 範本中的標籤
sku 工作區的 SKU。 Sku
身分識別 資源的身分識別。 身分識別
properties 機器學習工作區的屬性。 WorkspaceProperties

Identity

名称 描述
類型 識別類型。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'
userAssignedIdentities 與資源相關聯的使用者指派身分識別。 object

WorkspaceProperties

名稱 描述
allowPublicAccessWhenBehindVnet 旗標,指出是否要在 VNet 後方允許公用存取。 bool
applicationInsights 與此工作區相關聯的 Application Insights ARM 識別碼。 建立工作區之後,就無法變更此專案 string
containerRegistry 與此工作區相關聯的容器登錄 ARM 識別碼。 建立工作區之後,就無法變更此專案 string
description 此工作區的描述。 字串
discoveryUrl 探索服務的 URL,用來識別機器學習測試服務的區域端點 string
加密 Azure ML 工作區的加密設定。 EncryptionProperty
friendlyName 此工作區的易記名稱。 這個名稱在可變中 字串
hbiWorkspace 指示工作區中 HBI 資料的旗標,並減少服務所收集的診斷資料 bool
imageBuildCompute 映射組建的計算名稱 string
keyVault 與此工作區相關聯的金鑰保存庫 ARM 識別碼。 建立工作區之後,就無法變更此專案 字串
sharedPrivateLinkResources 此工作區中的共用私人連結資源清單。 SharedPrivateLinkResource[]
storageAccount 與此工作區相關聯的儲存體帳戶 ARM 識別碼。 建立工作區之後,就無法變更此專案 字串

EncryptionProperty

名稱 描述
keyVaultProperties 客戶金鑰保存庫屬性。 KeyVaultProperties (必要)
status 指出是否為工作區啟用加密。 'Disabled'
必要) ('Enabled'

KeyVaultProperties

名稱 描述
identityClientId 未來使用 - 將用來存取金鑰保存庫之身分識別的用戶端識別碼。 string
keyIdentifier 用來存取加密金鑰的金鑰保存庫 URI。 字串 (必要)
keyVaultArmId 客戶擁有加密金鑰所在之 keyVault 的 ArmId。 字串 (必要)

SharedPrivateLinkResource

名稱 描述
NAME 私人連結的唯一名稱。 string
properties 資源屬性。 SharedPrivateLinkResourceProperty

SharedPrivateLinkResourceProperty

名稱 描述
groupId 私人連結資源群組識別碼。 string
privateLinkResourceId 私人連結所連結的資源識別碼。 字串
requestMessage 要求訊息。 string
status 指出連線是否已由服務的擁有者核准/拒絕/移除。 「已核准」
'Disconnected'
'Pending'
「已拒絕」
'Timeout'

SKU

名稱 描述
NAME SKU 的名稱 string
tier 基本或企業等 SKU 層 字串

快速入門範本

下列快速入門範本會部署此資源類型。

[範本] 描述
Azure Machine Learning 工作區

部署至 Azure
此範本會建立新的 Azure Machine Learning 工作區,以及加密的儲存體帳戶、KeyVault 和 Applications Insights 記錄
建立具有多個資料集資料存放區的 & AML 工作區

部署至 Azure
此範本會建立具有多個資料集資料存放區的 & Azure Machine Learning 工作區。
Azure Machine Learning 端對端安全設定

部署至 Azure
這組 Bicep 範本示範如何在安全設定中設定 Azure Machine Learning 端對端。 此參考實作包括工作區、計算叢集、計算實例和連結的私人 AKS 叢集。
Azure Machine Learning 端對端安全設定 (舊版)

部署至 Azure
這組 Bicep 範本示範如何在安全設定中設定 Azure Machine Learning 端對端。 此參考實作包括 Workspace、計算叢集、計算實例和附加的私人 AKS 叢集。
使用私人 IP 位址建立 AKS 計算目標

部署至 Azure
此範本會在具有私人 IP 位址的指定 Azure Machine Learning 服務工作區中建立 AKS 計算目標。
建立 Azure Machine Learning 服務工作區

部署至 Azure
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述開始使用 Azure Machine Learning 所需的最少資源集。
(CMK) 建立 Azure Machine Learning 服務工作區

部署至 Azure
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此範例示範如何設定 Azure Machine Learning 以使用客戶管理的加密金鑰進行加密。
(vnet) 建立 Azure Machine Learning 服務工作區

部署至 Azure
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述在網路隔離設定中開始使用 Azure Machine Learning 所需的一組資源。
(舊版) 建立 Azure Machine Learning 服務工作區

部署至 Azure
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述在網路隔離設定中開始使用 Azure Machine Learning 所需的一組資源。

Terraform (AzAPI 提供者) 資源定義

工作區資源類型可以部署到:

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces@2020-05-15-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      allowPublicAccessWhenBehindVnet = bool
      applicationInsights = "string"
      containerRegistry = "string"
      description = "string"
      discoveryUrl = "string"
      encryption = {
        keyVaultProperties = {
          identityClientId = "string"
          keyIdentifier = "string"
          keyVaultArmId = "string"
        }
        status = "string"
      }
      friendlyName = "string"
      hbiWorkspace = bool
      imageBuildCompute = "string"
      keyVault = "string"
      sharedPrivateLinkResources = [
        {
          name = "string"
          properties = {
            groupId = "string"
            privateLinkResourceId = "string"
            requestMessage = "string"
            status = "string"
          }
        }
      ]
      storageAccount = "string"
    }
    sku = {
      name = "string"
      tier = "string"
    }
  })
}

屬性值

workspaces

名稱 描述
類型 資源類型 「Microsoft.MachineLearningServices/workspaces@2020-05-15-preview」
NAME 資源名稱 需要字串 ()

字元限制:3-33

有效字元:
英數字元和連字號。
location 指定資源的位置。 字串
parent_id 若要部署至資源群組,請使用該資源群組的識別碼。 需要字串 ()
tags 包含定義為索引鍵/值組的資源標記。 標記名稱和值的字典。
sku 工作區的 SKU。 Sku
身分識別 資源的身分識別。 身分識別
properties 機器學習工作區的屬性。 WorkspaceProperties

Identity

名称 描述
類型 識別類型。 「SystemAssigned」
「SystemAssigned,UserAssigned」
「UserAssigned」
identity_ids 與資源相關聯的使用者指派身分識別。 使用者身分識別識別碼的陣列。

WorkspaceProperties

名稱 描述
allowPublicAccessWhenBehindVnet 旗標,指出是否要在 VNet 後方允許公用存取。 bool
applicationInsights 與此工作區相關聯的 Application Insights ARM 識別碼。 建立工作區之後,就無法變更此專案 string
containerRegistry 與此工作區相關聯的容器登錄 ARM 識別碼。 建立工作區之後,就無法變更此專案 字串
description 此工作區的描述。 字串
discoveryUrl 探索服務的 URL,用來識別機器學習測試服務的區域端點 字串
加密 Azure ML 工作區的加密設定。 EncryptionProperty
friendlyName 此工作區的易記名稱。 此名稱可變動 字串
hbiWorkspace 向工作區中的 HBI 資料發出訊號的旗標,並減少服務所收集的診斷資料 bool
imageBuildCompute 映射組建的計算名稱 字串
keyVault 與此工作區相關聯的金鑰保存庫 ARM 識別碼。 建立工作區之後,就無法變更此專案 字串
sharedPrivateLinkResources 此工作區中的共用私人連結資源清單。 SharedPrivateLinkResource[]
storageAccount 與此工作區相關聯的儲存體帳戶 ARM 識別碼。 建立工作區之後,就無法變更此專案 字串

EncryptionProperty

名稱 描述
keyVaultProperties 客戶金鑰保存庫屬性。 KeyVaultProperties (必要)
status 指出是否為工作區啟用加密。 「Disabled」
「已啟用」 (必要)

KeyVaultProperties

名稱 描述
identityClientId 未來使用 - 將用來存取金鑰保存庫之身分識別的用戶端識別碼。 字串
keyIdentifier 用來存取加密金鑰的金鑰保存庫 URI。 字串 (必要)
keyVaultArmId 客戶擁有加密金鑰所在之 keyVault 的 ArmId。 字串 (必要)

SharedPrivateLinkResource

名稱 描述
NAME 私人連結的唯一名稱。 字串
properties 資源屬性。 SharedPrivateLinkResourceProperty

SharedPrivateLinkResourceProperty

名稱 描述
groupId 私人連結資源群組識別碼。 字串
privateLinkResourceId 私人連結所連結的資源識別碼。 string
requestMessage 要求訊息。 字串
status 指出連線是否已由服務的擁有者核准/拒絕/移除。 「已核准」
「已中斷連線」
「Pending」
「Rejected」
「Timeout」

SKU

名稱 描述
NAME SKU 的名稱 string
tier 基本或企業等 SKU 層 字串