Microsoft.Web sites/slots/config 'pushsettings' 2021-01-15

Bicep 資源定義

月臺/位置/設定資源類型可以使用目標作業來部署:

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

name 屬性的選項

sites/slots/config 資源會根據 name 屬性的值接受不同的屬性。 本文說明設定 name: 'pushsettings' 時可用的屬性。

如需其他選項,請參閱:

資源格式

若要建立 Microsoft.Web/sites/slots/config 資源,請將下列 Bicep 新增至您的範本。

resource symbolicname 'Microsoft.Web/sites/slots/config@2021-01-15' = {
  name: 'pushsettings'
  kind: 'string'
  parent: resourceSymbolicName
  properties: {
    dynamicTagsJson: 'string'
    isPushEnabled: bool
    tagsRequiringAuth: 'string'
    tagWhitelistJson: 'string'
  }
}

屬性值

sites/slots/config-pushsettings

名稱 描述 值
NAME 資源名稱

瞭解如何在 Bicep中設定子資源的名稱和類型。
'pushsettings'
kind 資源種類。 字串
父系 (parent) 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源之外宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源。
類型資源的符號名稱: 位置
properties PushSettings 資源特定屬性 PushSettingsProperties

PushSettingsProperties

名稱 描述 值
dynamicTagsJson 取得或設定 JSON 字串,其中包含將從推送註冊端點中的使用者宣告評估的動態標記清單。 字串
isPushEnabled 取得或設定旗標,指出是否啟用推送端點。 bool (必要)
tagsRequiringAuth 取得或設定 JSON 字串,其中包含需要在推送註冊端點中使用使用者驗證的標籤清單。
標記可以包含英數位元和下列專案:
'_', '@', '#', '.', ':', '-'.
驗證應該在 PushRequestHandler 上執行。
string
tagWhitelistJson 取得或設定 JSON 字串,其中包含允許清單中可供推送註冊端點使用的標籤清單。 string

ARM 範本資源定義

月臺/位置/設定資源類型可以使用目標作業來部署:

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

name 屬性的選項

sites/slots/config 資源會根據 name 屬性的值接受不同的屬性。 本文說明設定 name: 'pushsettings' 時可用的屬性。

如需其他選項,請參閱:

資源格式

若要建立 Microsoft.Web/sites/slots/config 資源,請將下列 JSON 新增至您的範本。

{
  "type": "Microsoft.Web/sites/slots/config",
  "apiVersion": "2021-01-15",
  "name": "pushsettings",
  "kind": "string",
  "properties": {
    "dynamicTagsJson": "string",
    "isPushEnabled": "bool",
    "tagsRequiringAuth": "string",
    "tagWhitelistJson": "string"
  }
}

屬性值

sites/slots/config-pushsettings

名稱 描述 值
type 資源類型 'Microsoft.Web/sites/slots/config'
apiVersion 資源 API 版本 '2021-01-15'
NAME 資源名稱

瞭解如何在 JSON ARM 範本中設定子資源的名稱和類型。
'pushsettings'
kind 資源種類。 字串
properties PushSettings 資源特定屬性 PushSettingsProperties

PushSettingsProperties

名稱 描述 值
dynamicTagsJson 取得或設定 JSON 字串,其中包含將從推送註冊端點中的使用者宣告評估的動態磁碟區標清單。 字串
isPushEnabled 取得或設定旗標,指出是否啟用推送端點。 bool (必要)
tagsRequiringAuth 取得或設定 JSON 字串,其中包含需要使用者驗證在推送註冊端點中使用的標記清單。
標記可以包含英數位元和下列專案:
'_', '@', '#', '.', ':', '-'.
驗證應該在 PushRequestHandler 上執行。
字串
tagWhitelistJson 取得或設定 JSON 字串,其中包含允許清單中可供推送註冊端點使用的標籤清單。 string

Terraform (AzAPI 提供者) 資源定義

月臺/位置/設定資源類型可以使用目標作業來部署:

  • 資源群組

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

name 屬性的選項

sites/slots/config 資源會根據 name 屬性的值接受不同的屬性。 本文說明當您設定 name: 'pushsettings' 時可用的屬性。

如需其他選項,請參閱:

資源格式

若要建立 Microsoft.Web/sites/slots/config 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Web/sites/slots/config@2021-01-15"
  name = "pushsettings"
  parent_id = "string"
  body = jsonencode({
    properties = {
      dynamicTagsJson = "string"
      isPushEnabled = bool
      tagsRequiringAuth = "string"
      tagWhitelistJson = "string"
    }
    kind = "string"
  })
}

屬性值

sites/slots/config-pushsettings

名稱 描述 值
type 資源類型 「Microsoft.Web/sites/slots/config@2021-01-15」
NAME 資源名稱 「pushsettings」
parent_id 此資源父系之資源的識別碼。 類型資源的識別碼: 位置
kind 資源種類。 字串
properties PushSettings 資源特定屬性 PushSettingsProperties

PushSettingsProperties

名稱 描述 值
dynamicTagsJson 取得或設定 JSON 字串,其中包含將從推送註冊端點中的使用者宣告評估的動態磁碟區標清單。 字串
isPushEnabled 取得或設定旗標,指出是否啟用推送端點。 bool (必要)
tagsRequiringAuth 取得或設定 JSON 字串,其中包含需要使用者驗證在推送註冊端點中使用的標記清單。
標記可以包含英數位元和下列專案:
'_', '@', '#', '.', ':', '-'.
驗證應該在 PushRequestHandler 上執行。
string
tagWhitelistJson 取得或設定 JSON 字串,其中包含允許清單中可供推送註冊端點使用的標籤清單。 string