共用方式為


Microsoft.MachineLearningServices 工作區/數據存放區 2020-05-01-preview

Bicep 資源定義

工作區/資料存放區資源類型可以使用目標作業來部署:

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

資源格式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/datastores@2020-05-01-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  accountKey: 'string'
  accountName: 'string'
  adlsResourceGroup: 'string'
  adlsSubscriptionId: 'string'
  authorityUrl: 'string'
  clientId: 'string'
  clientSecret: 'string'
  containerName: 'string'
  databaseName: 'string'
  dataStoreType: 'string'
  description: 'string'
  endpoint: 'string'
  enforceSSL: bool
  fileSystem: 'string'
  includeSecret: bool
  password: 'string'
  port: 'string'
  protocol: 'string'
  resourceUrl: 'string'
  sasToken: 'string'
  serverName: 'string'
  shareName: 'string'
  skipValidation: bool
  storageAccountResourceGroup: 'string'
  storageAccountSubscriptionId: 'string'
  storeName: 'string'
  tenantId: 'string'
  userId: 'string'
  userName: 'string'
  workspaceSystemAssignedIdentity: bool
}

屬性值

workspaces/datastores

名稱 描述
NAME 資源名稱

瞭解如何在 Bicep 中設定子資源的名稱和類型。
字串 (必要)

字元限制:數據存放區名稱最多 255 個字元

合法字元:
數據存放區名稱只包含小寫字母、數位和底線。
父系 (parent) 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源之外宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型資源的符號名稱: 工作區
accountKey 儲存體帳戶的帳戶金鑰。 字串
accountName 儲存體帳戶的名稱。 字串
adlsResourceGroup ADLS 存放區所屬的資源群組。 預設為選取的資源群組。 字串
adlsSubscriptionId ADLS 存放區所屬的訂用帳戶標識碼。 默認為選取的訂用帳戶。 字串
authorityUrl 用來驗證用戶的授權單位 URL。 字串
clientId 服務主體的用戶端/應用程式識別碼。 字串
clientSecret 服務主體的秘密。 字串
containerName Azure Blob 容器的名稱。 字串
databaseName 資料庫名稱。 字串
dataStoreType 指定資料存放區類型。 'adls'
'adls-gen2'
'blob'
'dbfs'
'file'
'mysqldb'
'psqldb'
'sqldb' (必要)
description 數據存放區的描述。 字串
端點 伺服器的端點。 字串
enforceSSL 這會設定伺服器的ssl值。 如果未設定,則預設為 true。 bool
fileSystem ADLS Gen2 的文件系統名稱。 字串
includeSecret 在回應中包含數據存放區秘密。 bool
password 密碼。 string
連接埠 連接埠號碼。 字串
protocol 要使用的通訊協定 字串
resourceUrl 決定將執行的作業。 字串
sasToken 記憶體帳戶的 Sas 令牌。 字串
serverName SQL/MySQL/PostgreSQL 伺服器名稱 字串
shareName 檔案共享的名稱。 字串
skipValidation 略過驗證,以確保數據可以在註冊之前從數據集載入。 bool
storageAccountResourceGroup 記憶體帳戶的資源群組。 預設為選取的資源群組 字串
storageAccountSubscriptionId 記憶體帳戶的訂用帳戶標識碼。 默認為選取的訂用帳戶 字串
storeName ADLS 存放區名稱。 字串
tenantId 服務主體租用戶標識碼。 字串
userId 使用者識別碼。 字串
userName 資料庫使用者的用戶名稱。 字串
workspaceSystemAssignedIdentity 如果設定為 true,數據存放區支援使用工作區 MSI 驗證的數據存取。 bool

快速入門範本

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

範本 描述
& 數據存放區建立具有多個數據集的 AML 工作區

部署至 Azure
此範本會建立具有多個數據集的 Azure Machine Learning 工作區,& 數據存放區。
建立 Azure ADLS 資料存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 ADLS 資料存放區。
建立 Azure ADLS Gen2 資料存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 ADLS Gen2 資料存放區。
建立 Blob 記憶體數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 Blob 記憶體資料存放區。
建立 Databricks 文件系統數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 Databricks 檔系統數據存放區。
建立檔案共享數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立檔案共用數據存放區。
建立 Azure MySQL 資料存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 MySQL 資料存放區。
建立 Azure PostgreSQL 數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 PostgreSQL 資料存放區。
建立 Azure SQL 數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 SQL 資料存放區。

ARM 範本資源定義

工作區/資料存放區資源類型可以使用目標作業來部署:

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

資源格式

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

{
  "type": "Microsoft.MachineLearningServices/workspaces/datastores",
  "apiVersion": "2020-05-01-preview",
  "name": "string",
  "accountKey": "string",
  "accountName": "string",
  "adlsResourceGroup": "string",
  "adlsSubscriptionId": "string",
  "authorityUrl": "string",
  "clientId": "string",
  "clientSecret": "string",
  "containerName": "string",
  "databaseName": "string",
  "dataStoreType": "string",
  "description": "string",
  "endpoint": "string",
  "enforceSSL": "bool",
  "fileSystem": "string",
  "includeSecret": "bool",
  "password": "string",
  "port": "string",
  "protocol": "string",
  "resourceUrl": "string",
  "sasToken": "string",
  "serverName": "string",
  "shareName": "string",
  "skipValidation": "bool",
  "storageAccountResourceGroup": "string",
  "storageAccountSubscriptionId": "string",
  "storeName": "string",
  "tenantId": "string",
  "userId": "string",
  "userName": "string",
  "workspaceSystemAssignedIdentity": "bool"
}

屬性值

workspaces/datastores

名稱 描述
類型 資源類型 'Microsoft.MachineLearningServices/workspaces/datastores'
apiVersion 資源 API 版本 '2020-05-01-preview'
NAME 資源名稱

瞭解如何在 JSON ARM 範本中設定子資源的名稱和類型。
需要字串 ()

字元限制:數據存放區名稱最多 255 個字元

合法字元:
數據存放區名稱只包含小寫字母、數位和底線。
accountKey 儲存體帳戶的帳戶金鑰。 字串
accountName 儲存體帳戶的名稱。 字串
adlsResourceGroup ADLS 存放區所屬的資源群組。 預設為選取的資源群組。 字串
adlsSubscriptionId ADLS 存放區所屬的訂用帳戶標識碼。 默認為選取的訂用帳戶。 字串
authorityUrl 用來驗證用戶的授權單位 URL。 字串
clientId 服務主體的用戶端/應用程式識別碼。 字串
clientSecret 服務主體的秘密。 字串
containerName Azure Blob 容器的名稱。 字串
databaseName 資料庫名稱。 字串
dataStoreType 指定資料存放區類型。 'adls'
'adls-gen2'
'blob'
'dbfs'
'file'
'mysqldb'
'psqldb'
需要 『sqldb』 ()
description 數據存放區的描述。 字串
端點 伺服器的端點。 字串
enforceSSL 這會設定伺服器的ssl值。 如果未設定,則預設為 true。 bool
fileSystem ADLS Gen2 的文件系統名稱。 字串
includeSecret 在回應中包含數據存放區秘密。 bool
password 密碼。 string
連接埠 連接埠號碼。 字串
protocol 要使用的通訊協定 字串
resourceUrl 決定將執行的作業。 字串
sasToken 記憶體帳戶的 Sas 令牌。 字串
serverName SQL/MySQL/PostgreSQL 伺服器名稱 字串
shareName 檔案共享的名稱。 字串
skipValidation 略過驗證,以確保數據可以在註冊之前從數據集載入。 bool
storageAccountResourceGroup 記憶體帳戶的資源群組。 預設為選取的資源群組 字串
storageAccountSubscriptionId 記憶體帳戶的訂用帳戶標識碼。 默認為選取的訂用帳戶 字串
storeName ADLS 存放區名稱。 字串
tenantId 服務主體租用戶標識碼。 字串
userId 使用者識別碼。 字串
userName 資料庫使用者的用戶名稱。 字串
workspaceSystemAssignedIdentity 如果設定為 true,數據存放區支援使用工作區 MSI 驗證的數據存取。 bool

快速入門範本

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

範本 描述
& 數據存放區建立具有多個數據集的 AML 工作區

部署至 Azure
此範本會建立具有多個數據集的 Azure Machine Learning 工作區,& 數據存放區。
建立 Azure ADLS 資料存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 ADLS 資料存放區。
建立 Azure ADLS Gen2 資料存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 ADLS Gen2 資料存放區。
建立 Blob 記憶體數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 Blob 記憶體資料存放區。
建立 Databricks 文件系統數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 Databricks 檔系統數據存放區。
建立檔案共享數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立檔案共用數據存放區。
建立 Azure MySQL 資料存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 MySQL 資料存放區。
建立 Azure PostgreSQL 數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 PostgreSQL 資料存放區。
建立 Azure SQL 數據存放區

部署至 Azure
此範本會在 Azure Machine Learning 工作區中建立 SQL 資料存放區。

Terraform (AzAPI 提供者) 資源定義

工作區/資料存放區資源類型可以使用目標作業來部署:

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/datastores@2020-05-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    accountKey = "string"
    accountName = "string"
    adlsResourceGroup = "string"
    adlsSubscriptionId = "string"
    authorityUrl = "string"
    clientId = "string"
    clientSecret = "string"
    containerName = "string"
    databaseName = "string"
    dataStoreType = "string"
    description = "string"
    endpoint = "string"
    enforceSSL = bool
    fileSystem = "string"
    includeSecret = bool
    password = "string"
    port = "string"
    protocol = "string"
    resourceUrl = "string"
    sasToken = "string"
    serverName = "string"
    shareName = "string"
    skipValidation = bool
    storageAccountResourceGroup = "string"
    storageAccountSubscriptionId = "string"
    storeName = "string"
    tenantId = "string"
    userId = "string"
    userName = "string"
    workspaceSystemAssignedIdentity = bool
  })
}

屬性值

workspaces/datastores

名稱 描述
類型 資源類型 “Microsoft.MachineLearningServices/workspaces/datastores@2020-05-01-preview”
NAME 資源名稱 需要字串 ()

字元限制:數據存放區名稱最多 255 個字元

合法字元:
數據存放區名稱只包含小寫字母、數位和底線。
parent_id 此資源父系之資源的標識碼。 類型資源的標識碼: 工作區
accountKey 儲存體帳戶的帳戶金鑰。 字串
accountName 儲存體帳戶的名稱。 字串
adlsResourceGroup ADLS 存放區所屬的資源群組。 預設為選取的資源群組。 字串
adlsSubscriptionId ADLS 存放區所屬的訂用帳戶標識碼。 默認為選取的訂用帳戶。 字串
authorityUrl 用來驗證用戶的授權單位 URL。 字串
clientId 服務主體的用戶端/應用程式識別碼。 字串
clientSecret 服務主體的秘密。 字串
containerName Azure Blob 容器的名稱。 字串
databaseName 資料庫名稱。 字串
dataStoreType 指定資料存放區類型。 “adls”
“adls-gen2”
“blob”
“dbfs”
“file”
“mysqldb”
“psqldb”
“sqldb” (必要)
description 數據存放區的描述。 字串
端點 伺服器的端點。 字串
enforceSSL 這會設定伺服器的ssl值。 如果未設定,則預設為 true。 bool
fileSystem ADLS Gen2 的文件系統名稱。 字串
includeSecret 在回應中包含數據存放區秘密。 bool
password 密碼。 string
連接埠 連接埠號碼。 字串
protocol 要使用的通訊協定 字串
resourceUrl 決定將執行的作業。 字串
sasToken 記憶體帳戶的 Sas 令牌。 字串
serverName SQL/MySQL/PostgreSQL 伺服器名稱 字串
shareName 檔案共享的名稱。 字串
skipValidation 略過驗證,以確保數據可以在註冊之前從數據集載入。 bool
storageAccountResourceGroup 記憶體帳戶的資源群組。 預設為選取的資源群組 字串
storageAccountSubscriptionId 記憶體帳戶的訂用帳戶標識碼。 默認為選取的訂用帳戶 字串
storeName ADLS 存放區名稱。 字串
tenantId 服務主體租用戶標識碼。 字串
userId 使用者識別碼。 字串
userName 資料庫使用者的用戶名稱。 字串
workspaceSystemAssignedIdentity 如果設定為 true,數據存放區支援使用工作區 MSI 進行驗證的數據存取。 bool