Microsoft.MachineLearningServices 工作區/連線 2022-10-01-preview
- 最新
- 2023-10-01
- 2023-08-01-preview
- 2023-06-01-preview
- 2023-04-01
- 2023-04-01-preview
- 2023-02-01-preview
- 2022-12-01-preview
- 2022-10-01
- 2022-10-01-preview
- 2022-06-01-preview
- 2022-05-01
- 2022-02-01-preview
- 2022-01-01-preview
- 2021-07-01
- 2021-04-01
- 2021-03-01-preview
- 2021-01-01
- 2020-09-01-preview
- 2020-08-01
- 2020-06-01
Bicep 資源定義
工作區/連線資源類型可以使用目標作業進行部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.MachineLearningServices/workspaces/connections 資源,請將下列 Bicep 新增至您的範本。
resource symbolicname 'Microsoft.MachineLearningServices/workspaces/connections@2022-10-01-preview' = {
name: 'string'
parent: resourceSymbolicName
properties: {
category: 'string'
target: 'string'
value: 'string'
valueFormat: 'JSON'
authType: 'string'
// For remaining properties, see WorkspaceConnectionPropertiesV2 objects
}
}
WorkspaceConnectionPropertiesV2 物件
設定 authType 屬性以指定物件的類型。
針對 AccessKey,請使用:
authType: 'AccessKey'
credentials: {
accessKeyId: 'string'
secretAccessKey: 'string'
}
針對 ManagedIdentity,請使用:
authType: 'ManagedIdentity'
credentials: {
clientId: 'string'
resourceId: 'string'
}
針對 [無],請使用:
authType: 'None'
針對 PAT,請使用:
authType: 'PAT'
credentials: {
pat: 'string'
}
針對 SAS,請使用:
authType: 'SAS'
credentials: {
sas: 'string'
}
針對 ServicePrincipal,請使用:
authType: 'ServicePrincipal'
credentials: {
clientId: 'string'
clientSecret: 'string'
tenantId: 'string'
}
針對 UsernamePassword,請使用:
authType: 'UsernamePassword'
credentials: {
password: 'string'
username: 'string'
}
屬性值
workspaces/connections
名稱 | 描述 | 值 |
---|---|---|
NAME | 資源名稱 瞭解如何在 Bicep 中設定子資源的名稱和類型。 |
需要字串 () |
父系 (parent) | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增此屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型資源的符號名稱: 工作區 |
properties | WorkspaceConnectionPropertiesV2 (必要) |
WorkspaceConnectionPropertiesV2
名稱 | 描述 | 值 |
---|---|---|
category | 線上的類別 | 字串 |
目標 | 字串 | |
value | 工作區聯機的值詳細數據。 | 字串 |
valueFormat | 工作區連接值的格式 | 'JSON' |
authType | 設定物件類型 | AccessKey ManagedIdentity 無 PAT SAS ServicePrincipal 需要 UsernamePassword () |
AccessKeyAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 需要 『AccessKey』 () |
認證 | WorkspaceConnectionAccessKey |
WorkspaceConnectionAccessKey
名稱 | 描述 | 值 |
---|---|---|
accessKeyId | 字串 | |
secretAccessKey | 字串 約束: 敏感性值。 以安全參數的形式傳入。 |
ManagedIdentityAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 必要) 'ManagedIdentity' ( |
認證 | WorkspaceConnectionManagedIdentity |
WorkspaceConnectionManagedIdentity
名稱 | 描述 | 值 |
---|---|---|
clientId | 字串 | |
resourceId | 字串 |
NoneAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 必要 『None』 () |
PATAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 需要 『PAT』 () |
認證 | WorkspaceConnectionPersonalAccessToken |
WorkspaceConnectionPersonalAccessToken
名稱 | 描述 | 值 |
---|---|---|
派特 | 字串 |
SASAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 需要 『SAS』 () |
認證 | WorkspaceConnectionSharedAccessSignature |
WorkspaceConnectionSharedAccessSignature
名稱 | 描述 | 值 |
---|---|---|
Sas | 字串 |
ServicePrincipalAuthTypeWorkspaceConnectionPropertie...
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 'ServicePrincipal' (必要) |
認證 | WorkspaceConnectionServicePrincipal |
WorkspaceConnectionServicePrincipal
名稱 | 描述 | 值 |
---|---|---|
clientId | 字串 | |
clientSecret | 字串 約束: 敏感性值。 以安全參數的形式傳入。 |
|
tenantId | 字串 |
UsernamePasswordAuthTypeWorkspaceConnectionPropertie...
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 'UsernamePassword' (必要) |
認證 | WorkspaceConnectionUsernamePassword |
WorkspaceConnectionUsernamePassword
名稱 | 描述 | 值 |
---|---|---|
密碼 | 字串 | |
username | 字串 |
ARM 範本資源定義
工作區/連線資源類型可以使用目標作業進行部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.MachineLearningServices/workspaces/connections 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.MachineLearningServices/workspaces/connections",
"apiVersion": "2022-10-01-preview",
"name": "string",
"properties": {
"category": "string",
"target": "string",
"value": "string",
"valueFormat": "JSON",
"authType": "string"
// For remaining properties, see WorkspaceConnectionPropertiesV2 objects
}
}
WorkspaceConnectionPropertiesV2 物件
設定 authType 屬性以指定物件的類型。
針對 AccessKey,請使用:
"authType": "AccessKey",
"credentials": {
"accessKeyId": "string",
"secretAccessKey": "string"
}
針對 ManagedIdentity,請使用:
"authType": "ManagedIdentity",
"credentials": {
"clientId": "string",
"resourceId": "string"
}
針對 [無],請使用:
"authType": "None"
針對 PAT,請使用:
"authType": "PAT",
"credentials": {
"pat": "string"
}
針對 SAS,請使用:
"authType": "SAS",
"credentials": {
"sas": "string"
}
針對 ServicePrincipal,請使用:
"authType": "ServicePrincipal",
"credentials": {
"clientId": "string",
"clientSecret": "string",
"tenantId": "string"
}
針對 UsernamePassword,請使用:
"authType": "UsernamePassword",
"credentials": {
"password": "string",
"username": "string"
}
屬性值
workspaces/connections
名稱 | 描述 | 值 |
---|---|---|
類型 | 資源類型 | 'Microsoft.MachineLearningServices/workspaces/connections' |
apiVersion | 資源 API 版本 | '2022-10-01-preview' |
NAME | 資源名稱 請參閱如何在 JSON ARM 樣本中設定子資源的名稱和類型。 |
字串 (必要) |
properties | WorkspaceConnectionPropertiesV2 (必要) |
WorkspaceConnectionPropertiesV2
名稱 | 描述 | 值 |
---|---|---|
category | 線上的類別 | 字串 |
目標 | 字串 | |
value | 工作區聯機的值詳細數據。 | 字串 |
valueFormat | 工作區連接值的格式 | 'JSON' |
authType | 設定物件類型 | AccessKey ManagedIdentity 無 PAT SAS ServicePrincipal usernamePassword (必要) |
AccessKeyAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 必要 ('AccessKey') |
認證 | WorkspaceConnectionAccessKey |
WorkspaceConnectionAccessKey
名稱 | 描述 | 值 |
---|---|---|
accessKeyId | 字串 | |
secretAccessKey | 字串 約束: 敏感性值。 以安全參數的形式傳入。 |
ManagedIdentityAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 'ManagedIdentity' (必要) |
認證 | WorkspaceConnectionManagedIdentity |
WorkspaceConnectionManagedIdentity
名稱 | 描述 | 值 |
---|---|---|
clientId | 字串 | |
resourceId | 字串 |
NoneAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 必要) ('None' |
PATAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 需要 『PAT』 () |
認證 | WorkspaceConnectionPersonalAccessToken |
WorkspaceConnectionPersonalAccessToken
名稱 | 描述 | 值 |
---|---|---|
派特 | 字串 |
SASAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 需要 『SAS』 () |
認證 | WorkspaceConnectionSharedAccessSignature |
WorkspaceConnectionSharedAccessSignature
名稱 | 描述 | 值 |
---|---|---|
Sas | 字串 |
ServicePrincipalAuthTypeWorkspaceConnectionPropertie...
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 'ServicePrincipal' (必要) |
認證 | WorkspaceConnectionServicePrincipal |
WorkspaceConnectionServicePrincipal
名稱 | 描述 | 值 |
---|---|---|
clientId | 字串 | |
clientSecret | 字串 約束: 敏感性值。 以安全參數的形式傳入。 |
|
tenantId | 字串 |
UsernamePasswordAuthTypeWorkspaceConnectionPropertie...
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 必要) 'UsernamePassword' ( |
認證 | WorkspaceConnectionUsernamePassword |
WorkspaceConnectionUsernamePassword
名稱 | 描述 | 值 |
---|---|---|
密碼 | 字串 | |
username | 字串 |
Terraform (AzAPI 提供者) 資源定義
工作區/連線資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.MachineLearningServices/workspaces/connections 資源,請將下列 Terraform 新增至您的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.MachineLearningServices/workspaces/connections@2022-10-01-preview"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
category = "string"
target = "string"
value = "string"
valueFormat = "JSON"
authType = "string"
// For remaining properties, see WorkspaceConnectionPropertiesV2 objects
}
})
}
WorkspaceConnectionPropertiesV2 物件
設定 authType 屬性以指定物件的類型。
針對 AccessKey,請使用:
authType = "AccessKey"
credentials = {
accessKeyId = "string"
secretAccessKey = "string"
}
針對 ManagedIdentity,請使用:
authType = "ManagedIdentity"
credentials = {
clientId = "string"
resourceId = "string"
}
針對 [無],請使用:
authType = "None"
針對 PAT,請使用:
authType = "PAT"
credentials = {
pat = "string"
}
針對 SAS,請使用:
authType = "SAS"
credentials = {
sas = "string"
}
針對 ServicePrincipal,請使用:
authType = "ServicePrincipal"
credentials = {
clientId = "string"
clientSecret = "string"
tenantId = "string"
}
針對 UsernamePassword,請使用:
authType = "UsernamePassword"
credentials = {
password = "string"
username = "string"
}
屬性值
workspaces/connections
名稱 | 描述 | 值 |
---|---|---|
類型 | 資源類型 | “Microsoft.MachineLearningServices/workspaces/connections@2022-10-01-preview” |
NAME | 資源名稱 | 字串 (必要) |
parent_id | 此資源之父系的資源標識碼。 | 類型資源的標識碼: 工作區 |
properties | WorkspaceConnectionPropertiesV2 (必要) |
WorkspaceConnectionPropertiesV2
名稱 | 描述 | 值 |
---|---|---|
category | 線上的類別 | 字串 |
目標 | 字串 | |
value | 工作區聯機的值詳細數據。 | 字串 |
valueFormat | 工作區連接值的格式 | “JSON” |
authType | 設定物件類型 | AccessKey ManagedIdentity 無 PAT SAS ServicePrincipal usernamePassword (必要) |
AccessKeyAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 必要) 的 「AccessKey」 ( |
認證 | WorkspaceConnectionAccessKey |
WorkspaceConnectionAccessKey
名稱 | 描述 | 值 |
---|---|---|
accessKeyId | 字串 | |
secretAccessKey | 字串 約束: 敏感性值。 以安全參數的形式傳入。 |
ManagedIdentityAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | “ManagedIdentity” (必要) |
認證 | WorkspaceConnectionManagedIdentity |
WorkspaceConnectionManagedIdentity
名稱 | 描述 | 值 |
---|---|---|
clientId | 字串 | |
resourceId | 字串 |
NoneAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 必要) (“None” |
PATAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 必要) “PAT” ( |
認證 | WorkspaceConnectionPersonalAccessToken |
WorkspaceConnectionPersonalAccessToken
名稱 | 描述 | 值 |
---|---|---|
派特 | 字串 |
SASAuthTypeWorkspaceConnectionProperties
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | 必要) “SAS” ( |
認證 | WorkspaceConnectionSharedAccessSignature |
WorkspaceConnectionSharedAccessSignature
名稱 | 描述 | 值 |
---|---|---|
Sas | 字串 |
ServicePrincipalAuthTypeWorkspaceConnectionPropertie...
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | “ServicePrincipal” (必要) |
認證 | WorkspaceConnectionServicePrincipal |
WorkspaceConnectionServicePrincipal
名稱 | 描述 | 值 |
---|---|---|
clientId | 字串 | |
clientSecret | 字串 約束: 敏感性值。 以安全參數的形式傳入。 |
|
tenantId | 字串 |
UsernamePasswordAuthTypeWorkspaceConnectionPropertie...
名稱 | 描述 | 值 |
---|---|---|
authType | 線上目標的驗證類型 | “UsernamePassword” (必要) |
認證 | WorkspaceConnectionUsernamePassword |
WorkspaceConnectionUsernamePassword
名稱 | 描述 | 值 |
---|---|---|
密碼 | 字串 | |
username | 字串 |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應