Bicep 資源定義
publishingUsers 資源類型可以使用目標作業來部署:
- 租使用者 - 請參閱 租使用者部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.Web/publishingUsers 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.Web/publishingUsers@2025-03-01' = {
kind: 'string'
name: 'web'
properties: {
publishingPassword: 'string'
publishingPasswordHash: 'string'
publishingPasswordHashSalt: 'string'
publishingUserName: 'string'
scmUri: 'string'
}
}
屬性值
Microsoft.Web/publishing使用者
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'web' (必要) |
| 性能 | 用戶資源特定屬性 | 用戶屬性 |
用戶屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| 發佈密碼 | 用於發佈的密碼。 | 字串 |
| 發佈 PasswordHash | 用於發佈的密碼哈希。 | 字串 |
| 發佈密碼哈希鹽 | 用於發佈的密碼哈希鹽。 | 字串 |
| 發佈使用者名 | 用於發佈的用戶名稱。 | 字串 (必要) |
| scmUri | SCM 網站的 URL。 | 字串 |
ARM 樣本資源定義
publishingUsers 資源類型可以使用目標作業來部署:
使用範例
資源格式
若要建立 Microsoft.Web/publishingUsers 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.Web/publishingUsers",
"apiVersion": "2025-03-01",
"name": "string",
"kind": "string",
"properties": {
"publishingPassword": "string",
"publishingPasswordHash": "string",
"publishingPasswordHashSalt": "string",
"publishingUserName": "string",
"scmUri": "string"
}
}
屬性值
Microsoft.Web/publishing使用者
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2025-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'web' (必要) |
| 性能 | 用戶資源特定屬性 | 用戶屬性 |
| 型別 | 資源類型 | “Microsoft.Web/publishingUsers” |
用戶屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| 發佈密碼 | 用於發佈的密碼。 | 字串 |
| 發佈 PasswordHash | 用於發佈的密碼哈希。 | 字串 |
| 發佈密碼哈希鹽 | 用於發佈的密碼哈希鹽。 | 字串 |
| 發佈使用者名 | 用於發佈的用戶名稱。 | 字串 (必要) |
| scmUri | SCM 網站的 URL。 | 字串 |
Terraform (AzAPI 提供者) 資源定義
publishingUsers 資源類型可以使用目標作業來部署:
- 租戶 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
資源格式
若要建立 Microsoft.Web/publishingUsers 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Web/publishingUsers@2025-03-01"
name = "string"
parent_id = "string"
body = {
kind = "string"
properties = {
publishingPassword = "string"
publishingPasswordHash = "string"
publishingPasswordHashSalt = "string"
publishingUserName = "string"
scmUri = "string"
}
}
}
屬性值
Microsoft.Web/publishing使用者
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'web' (必要) |
| 性能 | 用戶資源特定屬性 | 用戶屬性 |
| 型別 | 資源類型 | “Microsoft.Web/publishingUsers@2025-03-01” |
用戶屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| 發佈密碼 | 用於發佈的密碼。 | 字串 |
| 發佈 PasswordHash | 用於發佈的密碼哈希。 | 字串 |
| 發佈密碼哈希鹽 | 用於發佈的密碼哈希鹽。 | 字串 |
| 發佈使用者名 | 用於發佈的用戶名稱。 | 字串 (必要) |
| scmUri | SCM 網站的 URL。 | 字串 |