Bicep 資源定義
排程器資源類型可以使用目標作業來部署:
- 資源群組 - 請參見 資源群組部署指令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.DurableTask/schedulers 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.DurableTask/schedulers@2026-07-01-preview' = {
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
ipAllowlist: [
'string'
]
publicNetworkAccess: 'string'
sku: {
capacity: int
name: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
屬性值
Microsoft.DurableTask/schedulers
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| 身分識別 | 指派給此資源的受控服務識別。 | ManagedServiceIdentity |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名稱 | 資源名稱 | 字串 約束: 模式 = ^[a-zA-Z0-9-]{3,64}$ (必要) |
| 屬性 | 此資源的資源特定屬性。 | SchedulerProperties |
| 標記 | 資源標籤 | 標記名稱和值的字典。 請參考模板中的標籤 |
ManagedServiceIdentity
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| 型別 | 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 | “無” “系統分配” 'SystemAssigned,UserAssigned' 'UserAssigned' (必要) |
| userAssignedIdentities | 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| 名稱 | 說明 | 價值觀 |
|---|
SchedulerProperties
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| ipAllowlist | 長期工作排程器的IP允許清單。 值可以是 IPv4、IPv6 或 CIDR | string[] (必要) |
| 公共網路存取 | 允許或禁止公共網路access至持久任務排程器 | 'Disabled' 'Enabled' |
| SKU | 長期工作排程器的 SKU | SchedulerSku (必要) |
SchedulerSku
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| 容量 | SKU 容量。 這允許資源的 scale out/in 並影響區域冗餘 | 整數 (int) |
| 名稱 | SKU 的名稱 | 「取用」 「專用」(必填) |
TrackedResourceTags
| 名稱 | 說明 | 價值觀 |
|---|
UserAssignedIdentity
| 名稱 | 說明 | 價值觀 |
|---|
ARM 樣本資源定義
排程器資源類型可以使用目標作業來部署:
使用範例
資源格式
若要建立 Microsoft.DurableTask/schedulers 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.DurableTask/schedulers",
"apiVersion": "2026-07-01-preview",
"name": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"ipAllowlist": [ "string" ],
"publicNetworkAccess": "string",
"sku": {
"capacity": "int",
"name": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
屬性值
Microsoft.DurableTask/schedulers
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| apiVersion | API 版本 | 『2026-07-01-預覽』 |
| 身分識別 | 指派給此資源的受控服務識別。 | ManagedServiceIdentity |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名稱 | 資源名稱 | 字串 約束: 模式 = ^[a-zA-Z0-9-]{3,64}$ (必要) |
| 屬性 | 此資源的資源特定屬性。 | SchedulerProperties |
| 標記 | 資源標籤 | 標記名稱和值的字典。 請參考模板中的標籤 |
| 型別 | 資源類型 | 'Microsoft.DurableTask/schedulers' |
ManagedServiceIdentity
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| 型別 | 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 | “無” “系統分配” 'SystemAssigned,UserAssigned' 'UserAssigned' (必要) |
| userAssignedIdentities | 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| 名稱 | 說明 | 價值觀 |
|---|
SchedulerProperties
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| ipAllowlist | 長期工作排程器的IP允許清單。 值可以是 IPv4、IPv6 或 CIDR | string[] (必要) |
| 公共網路存取 | 允許或禁止公共網路access至持久任務排程器 | 'Disabled' 'Enabled' |
| SKU | 長期工作排程器的 SKU | SchedulerSku (必要) |
SchedulerSku
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| 容量 | SKU 容量。 這允許資源的 scale out/in 並影響區域冗餘 | 整數 (int) |
| 名稱 | SKU 的名稱 | 「取用」 「專用」(必填) |
TrackedResourceTags
| 名稱 | 說明 | 價值觀 |
|---|
UserAssignedIdentity
| 名稱 | 說明 | 價值觀 |
|---|
Terraform (AzAPI 提供者) 資源定義
排程器資源類型可以使用目標作業來部署:
- 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
資源格式
若要建立 Microsoft.DurableTask/schedulers 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DurableTask/schedulers@2026-07-01-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
ipAllowlist = [
"string"
]
publicNetworkAccess = "string"
sku = {
capacity = int
name = "string"
}
}
}
}
屬性值
Microsoft.DurableTask/schedulers
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| 身分識別 | 指派給此資源的受控服務識別。 | ManagedServiceIdentity |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名稱 | 資源名稱 | 字串 約束: 模式 = ^[a-zA-Z0-9-]{3,64}$ (必要) |
| 屬性 | 此資源的資源特定屬性。 | SchedulerProperties |
| 標記 | 資源標籤 | 標記名稱和值的字典。 |
| 型別 | 資源類型 | 「Microsoft。DurableTask/schedulers@2026-07-01-預覽」 |
ManagedServiceIdentity
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| 型別 | 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 | “無” “系統分配” 'SystemAssigned,UserAssigned' 'UserAssigned' (必要) |
| userAssignedIdentities | 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| 名稱 | 說明 | 價值觀 |
|---|
SchedulerProperties
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| ipAllowlist | 長期工作排程器的IP允許清單。 值可以是 IPv4、IPv6 或 CIDR | string[] (必要) |
| 公共網路存取 | 允許或禁止公共網路access至持久任務排程器 | 'Disabled' 'Enabled' |
| SKU | 長期工作排程器的 SKU | SchedulerSku (必要) |
SchedulerSku
| 名稱 | 說明 | 價值觀 |
|---|---|---|
| 容量 | SKU 容量。 這允許資源的 scale out/in 並影響區域冗餘 | 整數 (int) |
| 名稱 | SKU 的名稱 | 「取用」 「專用」(必填) |
TrackedResourceTags
| 名稱 | 說明 | 價值觀 |
|---|
UserAssignedIdentity
| 名稱 | 說明 | 價值觀 |
|---|