Microsoft.AzureStackHCI edgeMachines/disks/privilegedJobs 2026-10-01

Bicep 資源定義

edgeMachines/disks/privilegedJobs 資源類型可部署為以下操作:

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

資源格式

創造一個 Microsoft。AzureStackHCI/edgeMachines/disks/privilegedJobs 資源,請將以下 Bicep 加入你的範本。

resource symbolicname 'Microsoft.AzureStackHCI/edgeMachines/disks/privilegedJobs@2026-10-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    deploymentMode: 'string'
    jobType: 'string'
    // For remaining properties, see EdgeMachineDiskPrivilegedJobProperties objects
  }
}

EdgeMachineDiskPrivilegedJobProperties objects

設置 jobType 屬性以指定物件的類型。

對於 DeleteVolume,請使用:

{
  confirmDeletion: bool
  jobType: 'DeleteVolume'
  volumePath: 'string'
}

屬性值

Microsoft。AzureStackHCI/edgeMachines/disks/privilegedJobs

Name Description Value
名字 資源名稱 string

約束:
模式 = ^[a-zA-Z0-9-_]{3,63}$ (必要)
父代 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源。
資源的符號名稱為: edgeMachines/disks
properties 此資源的資源特定屬性。 EdgeMachineDiskPrivilegedJobProperties

DeleteVolumeJobProperties

Name Description Value
確認刪除 確認標記必須設為 true,才能繼續刪除。 布爾 (bool)
jobType 特權工作類型以支援多型資源。 「刪除卷」(必填)
volumePath 磁碟區要刪除的掛載路徑。 字串 (必要)

EdgeMachineDiskPrivilegedJobProperties

Name Description Value
部署模式 部署模式以觸發工作。 “部署”
“驗證”
jobType 設定為 DeleteVolumeJobProperties 的 DeleteVolume。 「刪除卷」(必填)

ARM 樣本資源定義

edgeMachines/disks/privilegedJobs 資源類型可部署為以下操作:

使用範例

資源格式

創造一個 Microsoft。AzureStackHCI/edgeMachines/disks/privilegedJobs resource,將以下 JSON 加入你的範本。

{
  "type": "Microsoft.AzureStackHCI/edgeMachines/disks/privilegedJobs",
  "apiVersion": "2026-10-01",
  "name": "string",
  "properties": {
    "deploymentMode": "string",
    "jobType": "string"
    // For remaining properties, see EdgeMachineDiskPrivilegedJobProperties objects
  }
}

EdgeMachineDiskPrivilegedJobProperties objects

設置 jobType 屬性以指定物件的類型。

對於 DeleteVolume,請使用:

{
  "confirmDeletion": "bool",
  "jobType": "DeleteVolume",
  "volumePath": "string"
}

屬性值

Microsoft。AzureStackHCI/edgeMachines/disks/privilegedJobs

Name Description Value
apiVersion API 版本 '2026-10-01'
名字 資源名稱 string

約束:
模式 = ^[a-zA-Z0-9-_]{3,63}$ (必要)
properties 此資源的資源特定屬性。 EdgeMachineDiskPrivilegedJobProperties
型別 資源類型 「Microsoft。AzureStackHCI/edgeMachines/disks/privilegedJobs'

DeleteVolumeJobProperties

Name Description Value
確認刪除 確認標記必須設為 true,才能繼續刪除。 布爾 (bool)
jobType 特權工作類型以支援多型資源。 「刪除卷」(必填)
volumePath 磁碟區要刪除的掛載路徑。 字串 (必要)

EdgeMachineDiskPrivilegedJobProperties

Name Description Value
部署模式 部署模式以觸發工作。 “部署”
“驗證”
jobType 設定為 DeleteVolumeJobProperties 的 DeleteVolume。 「刪除卷」(必填)

Terraform (AzAPI 提供者) 資源定義

edgeMachines/disks/privilegedJobs 資源類型可部署為以下操作:

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

創造一個 Microsoft。AzureStackHCI/edgeMachines/disks/privilegedJobs resource,將以下 Terraform 加入你的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AzureStackHCI/edgeMachines/disks/privilegedJobs@2026-10-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      deploymentMode = "string"
      jobType = "string"
      // For remaining properties, see EdgeMachineDiskPrivilegedJobProperties objects
    }
  }
}

EdgeMachineDiskPrivilegedJobProperties objects

設置 jobType 屬性以指定物件的類型。

對於 DeleteVolume,請使用:

{
  confirmDeletion = bool
  jobType = "DeleteVolume"
  volumePath = "string"
}

屬性值

Microsoft。AzureStackHCI/edgeMachines/disks/privilegedJobs

Name Description Value
名字 資源名稱 string

約束:
模式 = ^[a-zA-Z0-9-_]{3,63}$ (必要)
parent_id 此資源為父系之資源的標識碼。 資源類型的 ID: edgeMachines/disks
properties 此資源的資源特定屬性。 EdgeMachineDiskPrivilegedJobProperties
型別 資源類型 “Microsoft.AzureStackHCI/edgeMachines/disks/privilegedJobs@2026-10-01”

DeleteVolumeJobProperties

Name Description Value
確認刪除 確認標記必須設為 true,才能繼續刪除。 布爾 (bool)
jobType 特權工作類型以支援多型資源。 「刪除卷」(必填)
volumePath 磁碟區要刪除的掛載路徑。 字串 (必要)

EdgeMachineDiskPrivilegedJobProperties

Name Description Value
部署模式 部署模式以觸發工作。 “部署”
“驗證”
jobType 設定為 DeleteVolumeJobProperties 的 DeleteVolume。 「刪除卷」(必填)