- Latest
- 2026-09-01
- 2026-07-15-預覽
- 2026-07-01
- 2026-05-15-預覽
- 2026-05-01
- 2026-03-15-預覽
- 2026-03-01
- 2026-01-15-預覽
- 2025-12-01
- 2025-10-01-預覽
- 2025-09-01
- 2025-07-01-preview
- 2025-06-01
- 2025-04-01
- 2025-04-01-預覽版
- 2025-01-01-preview
- 2024-10-01
- 2024-10-01-預覽版
- 2024-07-01-preview
- 2024-04-01
- 2024-04-01-preview
- 2024-01-01-預覽版
- 2023-08-01-preview
Bicep 資源定義
工作區/serverlessEndpoints 資源類型可以使用目標作業來部署:
- 資源群組 - 請參見 資源群組部署指令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.MachineLearningServices/workspaces/serverlessEndpoints 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.MachineLearningServices/workspaces/serverlessEndpoints@2026-07-01' = {
parent: resourceSymbolicName
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
kind: 'string'
location: 'string'
name: 'string'
properties: {
authMode: 'string'
contentSafety: {
contentSafetyStatus: 'string'
}
modelSettings: {
modelId: 'string'
}
}
sku: {
capacity: int
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
tags: {
{customized property}: 'string'
}
}
屬性值
Microsoft.MachineLearningServices/workspaces/serverlessEndpoints
| Name | Description | 價值觀 |
|---|---|---|
| 身分識別 | 受控服務識別(系統指派和/或使用者指派的身分識別) | ManagedServiceIdentity |
| kind | 入口網站/工具等用來轉譯相同類型資源的不同UX體驗的元數據。 | 字串 |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名字 | 資源名稱 | 字串 (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型為:workspaces 的資源的符號名稱 |
| properties | [必要]實體的其他屬性。 | ServerlessEndpointProperties (必要) |
| sku | 自動調整之 ARM 合約所需的 SKU 詳細數據。 | Sku |
| tags | 資源標籤 | 標記名稱和值的字典。 請參考模板中的標籤 |
內容安全
| Name | Description | 價值觀 |
|---|---|---|
| contentSafetyStatus | [必要]指定內容安全性的狀態。 | “已禁用” 'Enabled' (必要) |
ManagedServiceIdentity
| Name | Description | 價值觀 |
|---|---|---|
| 型別 | 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 | “無” “系統分配” 'SystemAssigned,UserAssigned' “UserAssigned”(必需) |
| userAssignedIdentities | 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 | UserAssignedIdentities |
ModelSettings 模型設置
| Name | Description | 價值觀 |
|---|---|---|
| modelId | 此 ServerlessEndpoint 應布建的唯一模型標識碼。 | 字串 |
ServerlessEndpointProperties
| Name | Description | 價值觀 |
|---|---|---|
| authMode | [必要]指定無伺服器端點的驗證模式。 | “AAD” 'Key' 'KeyAndAAD' (必要) |
| contentSafety | 指定內容安全性選項。 如果省略,則會設定預設內容安全性設定 | 內容安全 |
| modelSettings | ServerlessEndpoint 上所服務之模型的模型設定(模型標識符)。 | ModelSettings 模型設置 |
Sku
| Name | Description | 價值觀 |
|---|---|---|
| 容量 | 如果 SKU 支援相應放大/縮小,則應該包含容量整數。 如果資源無法相應放大/縮小,可能會省略此專案。 | 整數 (int) |
| family | 如果服務有不同世代的硬體,針對相同的 SKU,則可以在這裡擷取。 | 字串 |
| 名字 | SKU 的名稱。 例如 - P3。 通常是字母+數位碼 | 字串 (必要) |
| size | SKU 大小。 當名稱欄位是階層和其他一些值的組合時,這會是獨立程序代碼。 | 字串 |
| 分層 | 如果服務有一個以上的層級,但 PUT 上不需要此欄位,則資源提供者必須實作此字段。 | “基本” 'Free' 'Premium' 'Standard' |
TrackedResourceTags
| Name | Description | 價值觀 |
|---|
UserAssignedIdentities
| Name | Description | 價值觀 |
|---|
UserAssignedIdentity
| Name | Description | 價值觀 |
|---|
ARM 樣本資源定義
工作區/serverlessEndpoints 資源類型可以使用目標作業來部署:
使用範例
資源格式
若要建立 Microsoft.MachineLearningServices/workspaces/serverlessEndpoints 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.MachineLearningServices/workspaces/serverlessEndpoints",
"apiVersion": "2026-07-01",
"name": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"kind": "string",
"location": "string",
"properties": {
"authMode": "string",
"contentSafety": {
"contentSafetyStatus": "string"
},
"modelSettings": {
"modelId": "string"
}
},
"sku": {
"capacity": "int",
"family": "string",
"name": "string",
"size": "string",
"tier": "string"
},
"tags": {
"{customized property}": "string"
}
}
屬性值
Microsoft.MachineLearningServices/workspaces/serverlessEndpoints
| Name | Description | 價值觀 |
|---|---|---|
| apiVersion | API 版本 | '2026-07-01' |
| 身分識別 | 受控服務識別(系統指派和/或使用者指派的身分識別) | ManagedServiceIdentity |
| kind | 入口網站/工具等用來轉譯相同類型資源的不同UX體驗的元數據。 | 字串 |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名字 | 資源名稱 | 字串 (必要) |
| properties | [必要]實體的其他屬性。 | ServerlessEndpointProperties (必要) |
| sku | 自動調整之 ARM 合約所需的 SKU 詳細數據。 | Sku |
| tags | 資源標籤 | 標記名稱和值的字典。 請參考模板中的標籤 |
| 型別 | 資源類型 | “Microsoft.MachineLearningServices/workspaces/serverlessEndpoints” |
內容安全
| Name | Description | 價值觀 |
|---|---|---|
| contentSafetyStatus | [必要]指定內容安全性的狀態。 | “已禁用” 'Enabled' (必要) |
ManagedServiceIdentity
| Name | Description | 價值觀 |
|---|---|---|
| 型別 | 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 | “無” “系統分配” 'SystemAssigned,UserAssigned' “UserAssigned”(必需) |
| userAssignedIdentities | 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 | UserAssignedIdentities |
ModelSettings 模型設置
| Name | Description | 價值觀 |
|---|---|---|
| modelId | 此 ServerlessEndpoint 應布建的唯一模型標識碼。 | 字串 |
ServerlessEndpointProperties
| Name | Description | 價值觀 |
|---|---|---|
| authMode | [必要]指定無伺服器端點的驗證模式。 | “AAD” 'Key' 'KeyAndAAD' (必要) |
| contentSafety | 指定內容安全性選項。 如果省略,則會設定預設內容安全性設定 | 內容安全 |
| modelSettings | ServerlessEndpoint 上所服務之模型的模型設定(模型標識符)。 | ModelSettings 模型設置 |
Sku
| Name | Description | 價值觀 |
|---|---|---|
| 容量 | 如果 SKU 支援相應放大/縮小,則應該包含容量整數。 如果資源無法相應放大/縮小,可能會省略此專案。 | 整數 (int) |
| family | 如果服務有不同世代的硬體,針對相同的 SKU,則可以在這裡擷取。 | 字串 |
| 名字 | SKU 的名稱。 例如 - P3。 通常是字母+數位碼 | 字串 (必要) |
| size | SKU 大小。 當名稱欄位是階層和其他一些值的組合時,這會是獨立程序代碼。 | 字串 |
| 分層 | 如果服務有一個以上的層級,但 PUT 上不需要此欄位,則資源提供者必須實作此字段。 | “基本” 'Free' 'Premium' 'Standard' |
TrackedResourceTags
| Name | Description | 價值觀 |
|---|
UserAssignedIdentities
| Name | Description | 價值觀 |
|---|
UserAssignedIdentity
| Name | Description | 價值觀 |
|---|
Terraform (AzAPI 提供者) 資源定義
工作區/serverlessEndpoints 資源類型可以使用目標作業來部署:
- 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
資源格式
若要建立 Microsoft.MachineLearningServices/workspaces/serverlessEndpoints 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.MachineLearningServices/workspaces/serverlessEndpoints@2026-07-01"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
kind = "string"
properties = {
authMode = "string"
contentSafety = {
contentSafetyStatus = "string"
}
modelSettings = {
modelId = "string"
}
}
sku = {
capacity = int
family = "string"
name = "string"
size = "string"
tier = "string"
}
}
}
屬性值
Microsoft.MachineLearningServices/workspaces/serverlessEndpoints
| Name | Description | 價值觀 |
|---|---|---|
| 身分識別 | 受控服務識別(系統指派和/或使用者指派的身分識別) | ManagedServiceIdentity |
| kind | 入口網站/工具等用來轉譯相同類型資源的不同UX體驗的元數據。 | 字串 |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名字 | 資源名稱 | 字串 (必要) |
| parent_id | 此資源為父系之資源的標識碼。 | 類型為:workspaces 的資源的 ID |
| properties | [必要]實體的其他屬性。 | ServerlessEndpointProperties (必要) |
| sku | 自動調整之 ARM 合約所需的 SKU 詳細數據。 | Sku |
| tags | 資源標籤 | 標記名稱和值的字典。 |
| 型別 | 資源類型 | 「Microsoft。機器學習服務/工作空間/serverlessEndpoints@2026-07-01」 |
內容安全
| Name | Description | 價值觀 |
|---|---|---|
| contentSafetyStatus | [必要]指定內容安全性的狀態。 | “已禁用” 'Enabled' (必要) |
ManagedServiceIdentity
| Name | Description | 價值觀 |
|---|---|---|
| 型別 | 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 | “無” “系統分配” 'SystemAssigned,UserAssigned' “UserAssigned”(必需) |
| userAssignedIdentities | 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 | UserAssignedIdentities |
ModelSettings 模型設置
| Name | Description | 價值觀 |
|---|---|---|
| modelId | 此 ServerlessEndpoint 應布建的唯一模型標識碼。 | 字串 |
ServerlessEndpointProperties
| Name | Description | 價值觀 |
|---|---|---|
| authMode | [必要]指定無伺服器端點的驗證模式。 | “AAD” 'Key' 'KeyAndAAD' (必要) |
| contentSafety | 指定內容安全性選項。 如果省略,則會設定預設內容安全性設定 | 內容安全 |
| modelSettings | ServerlessEndpoint 上所服務之模型的模型設定(模型標識符)。 | ModelSettings 模型設置 |
Sku
| Name | Description | 價值觀 |
|---|---|---|
| 容量 | 如果 SKU 支援相應放大/縮小,則應該包含容量整數。 如果資源無法相應放大/縮小,可能會省略此專案。 | 整數 (int) |
| family | 如果服務有不同世代的硬體,針對相同的 SKU,則可以在這裡擷取。 | 字串 |
| 名字 | SKU 的名稱。 例如 - P3。 通常是字母+數位碼 | 字串 (必要) |
| size | SKU 大小。 當名稱欄位是階層和其他一些值的組合時,這會是獨立程序代碼。 | 字串 |
| 分層 | 如果服務有一個以上的層級,但 PUT 上不需要此欄位,則資源提供者必須實作此字段。 | “基本” 'Free' 'Premium' 'Standard' |
TrackedResourceTags
| Name | Description | 價值觀 |
|---|
UserAssignedIdentities
| Name | Description | 價值觀 |
|---|
UserAssignedIdentity
| Name | Description | 價值觀 |
|---|