Microsoft.MachineLearningServices 工作區 2020-03-01

Bicep 資源定義

工作區資源類型可以使用目標作業進行部署:

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

資源格式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces@2020-03-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    name: 'string'
    tier: 'string'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  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 與資源相關聯的使用者指派身分識別。 UserAssignedIdentities

UserAssignedIdentities

名稱 描述
{自定義屬性} UserAssignedIdentity

UserAssignedIdentity

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

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 私人鏈接資源群組識別碼。 字串
privateLinkResourceId 私人連結所連結的資源標識碼。 字串
requestMessage 要求訊息。 字串
status 指出服務擁有者是否已核准/拒絕/移除連線。 'Approved'
'Disconnected'
'Pending'
「已拒絕」
'Timeout'

SKU

名稱 描述
NAME SKU 的名稱 字串
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。 此參考實作包括 Workspace、計算叢集、計算實例和附加的私人 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-03-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "name": "string",
    "tier": "string"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {}
    }
  },
  "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-03-01'
NAME 資源名稱 需要字串 ()

字元限制:3-33

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

Identity

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

UserAssignedIdentities

名稱 描述
{自定義屬性} UserAssignedIdentity

UserAssignedIdentity

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

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 私人鏈接資源群組識別碼。 字串
privateLinkResourceId 私人連結所連結的資源標識碼。 字串
requestMessage 要求訊息。 字串
status 指出服務擁有者是否已核准/拒絕/移除連線。 'Approved'
'Disconnected'
'Pending'
「已拒絕」
'Timeout'

SKU

名稱 描述
NAME SKU 的名稱 字串
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。 此參考實作包括 Workspace、計算叢集、計算實例和附加的私人 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-03-01"
  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-03-01”
NAME 資源名稱 需要字串 ()

字元限制:3-33

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

Identity

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

UserAssignedIdentities

名稱 描述
{自定義屬性} UserAssignedIdentity

UserAssignedIdentity

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

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”
「已啟用」 (必要)

KeyVaultProperties

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

SharedPrivateLinkResource

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

SharedPrivateLinkResourceProperty

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

SKU

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